Content Types for EDI Documents that Contain Mainframe Data
If your EDI document contains mainframe data that have characters at certain points in the document that define the boundary of each record, use one of the content types described in this section. These boundary characters identify returns or new lines. The content handlers for the application/x-wmedi... content types remove these characters, allowing Integration Server to properly unwrap and process the mainframe documents. Use the information in the following table to determine the content type you should use:
Use this content type... | If you need to remove the... |
application/x-wmediwrap80 | 81st character from every record in the document |
application/x-wmediwrap132 | 133nd character from every record in the document |
application/x-wmedisemiwrap80 | 81st character from a record only when a segment is longer than 80 characters |
application/x-wmedisemiwrap132 | 132nd character from a record only when a segment is longer than 133 characters |
When you use one of the application/x-wmedi... content types, Integration Server passes the document to the Module for EDI content handler as an InputStream. The content handler removes the return and new line characters as specified by the content type. Then the content handler forms the pipeline with the edidata parameter and assigns this parameter as the pointer to InputStream.