B2B Integration 10.5 | Administering and Monitoring B2B Transactions | webMethods Module for EDI | Creating Clients that Send EDI Documents to Trading Networks | Content Type to Use | Content Types for EDI Documents that Contain Mainframe Data
 
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.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.