Before Creating the Service to Form an EDI Document
Before you create the service to form an EDI document from an internal-format document, you must create the following:
The flat file schema that defines the structure of the EDI document that you are forming.
Optionally, the flat file schema that defines the structure of the internal-format document.
This is needed if your client passes the internal-format document to your service in String format or as an InputStream. Your service uses the flat file schema as input to the wm.b2b.edi:convertToValues service to convert the internal-format document to an IData object and optionally validate the document's structure. If your service receives the document as an IData object, a flat file schema is not needed. Use Software AG Designer to create the flat file schema. For more information, see the Flat File Schema Developer’s Guide.
Optionally, an IS document type for the structure of the internal-format document.
This is needed if 1) your client passes the internal-format document to your service as an IData object, and 2) you want to validate the internal-format document before forming the EDI document. Your service uses the IS document type as input to the pub.schema:validate service, which performs the structure validation. For instructions about how to create an IS document type, see the webMethods Service Development Help for your release.