Step | Description |
1 | Determine where the SEF file you want to use is located, either on your local file system or on the Web. Many SEF files are provided with Module for EDI. When you install Module for EDI, the installer stores each SEF file as: WmEDI/pub/SEFs/standard/version.sef where standard represents the EDI standard (for example, X12) and version represents the EDI standard version (for example, 4010). For example: WmEDI/pub/SEFs/X12/4010.sef |
2 | Create the flat file dictionary for the EDI standard and version that you are using. |
3 | Invoke the wm.b2b.edi:SEFParse service from Designer. The inputs to the service include the location of the SEF file you want to use, the EDI transaction set (or TRADACOMS File) name, and the package name and namespace name in which you want the service to create the schema. The targetSchema input parameter specifies the name you want to give the flat file schema being created. For all supported EDI standards except TRADACOMS, use the following naming convention for targetSchema if you plan to use Trading Networks: EDIFFSchema.standard.Vversion:Tname where: standard represents the EDI standard (for example, X12), version represents the EDI standard version (for example, 4010), and name represents the EDI transaction (for example, 850). For example: EDIFFSchema.X12.V4010:T850 For the TRADACOMS EDI standard, the wm.b2b.edi:SEFParse service creates a temporary flat file schema. Use the following naming convention for targetSchema: EDIFFSchema.TRADACOMS.Vversion:Tname:TEMP_SCHEMA where: version represents the version of the TRADACOMS File document type (for example, v2) and name represents the name of the TRADACOMS File document type (for example, ORDHDR) This temporary flat file schema contains all the messages contained in the TRADACOMS file. You should then execute the wm.b2b.edi.tradacoms.ui:modifyTradacomsSchema service to split the flat file schema into one flat file schema per MHD segment in the TRADACOMS file. This temporary flat file schema will be deleted upon successful execution of the wm.b2b.edi.tradacoms.ui:modifyTradacomsSchema service. |
4 | For descriptions of all the input parameters of these services, see webMethods Module for EDI Built-In Services Reference . |
5 | From Designer, make changes to the flat file schema to meet your site's needs. For example, you might want to change some of the format services that are associated with fields or if you do not want a format service executed for a field, remove the format service for that field. |