User GuideReference ManualIntegration Scenarios
 

2.2.5. Unwrapping an Incoming Message

See: Managing Channels - Message Edit Functions

You can receive you message wrapped in a zip file or as an attachment of a PDF.

Babelway allows to receive the messages wrapped in a PDF of a zip. To process an input file in order to unwrap it you should add the properties described hereunder as new properties in the Advanced Properties of your Message In definition.

Advanced properties of the Message In definition

Figure 2.25. Advanced properties of the Message In definition


The parameter can be created directly using the link in the advanced properties or you can add it manually by the following

Enter the value in the Property name field and its value in the Value field as illustrated in the above figure. Click on the   Add command to validate this property or on the   Remove command to erase it.

The properties that should be added to dettach your file are:

zipUnwrapped

[true|false] Select true to detach (unwrap) your message from a zip file, false otherwise. Note that the message is first unzipped then could be unwrap from the PDF, the resverse is not possible in one channel. (OPTIONAL)

pdfUnwrapped

[true|false] Select true to detach (unwrap) your message from a pdf file, false otherwise. (OPTIONAL)

messageFileName

Select the name of the file in the zip or the attachment in the PDF containing the message in. (OPTIONAL, default is attachment.bin)

metadataFileName

Select the name of the file in the zip or the attachment in the PDF this metadata (OPTIONAL, default is the same name as metadataName )

metadataFileEncoding

Select the encoding for the metadata got as an attachment. (OPTIONAL)