Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI Core Services | Summary of Elements in this Folder | wm.b2b.edi:createTemplateFromSEF
 
wm.b2b.edi:createTemplateFromSEF
WmEDI. This service is deprecated. Use wm.b2b.edi:SEFParse instead.
Creates a flat file schema object from a SEF file. The flat file schema is saved to the Integration Server namespace. The flat file schema describes the EDI document structure and validation criteria.
Input Parameters
transactionName
String The EDI transaction set name (e.g., 850) for which you want to create a flat file schema.
SEFfileName
String The full path and file name of the SEF file on your local file system. If the SEF file is located on a Web server, use wm.b2b.edi:SEFParse.
includeEnvelope
String (optional) Whether you want the createTemplateFromSEF service to create envelope segments in the output flat file schema objects. Specify false or true.
Value
Meaning
false
The createTemplateFromSEF service does not create the envelope segments (i.e., ISA/IEA, GS/GE, UNB/UNZ, UNG/UNE) in the output flat file schema object. This is the default.
true
The createTemplateFromSEF service does create the envelope segments in the output flat file schema object.
isBigDocTemplate
String (optional) Whether you will use the generated flat file schema to parse documents that are considered large. Specify false or true. For more information about large document handling, see webMethods Module for EDI Installation and User’s Guide.
Value
Meaning
false
You will not use the generated flat file schema to parse large documents. This is the default.
true
The generated flat file schema will not have any nest structures. You can use this flat file schema with iterator.
targetSchema
String The fully-qualified name that you want to assign the flat file schema that you are creating. Specify the name using the following naming convention:
EDIFFSchema.standard.Vversion:Tname
where:
*standard represents the EDI standard (e.g., X12).
*version represents the EDI standard version (e.g., 4010).
*name represents the EDI transaction (e.g., 850).
For example: EDIFFSchema.X12.V4010:T850
targetPackage
String The name of the Integration Server package in which to create the flat file schema.
targetDictionary
String The name of the flat file dictionary to hold the record, field, and composite definitions for this flat file schema.
overwriteDictionary
String (optional) Whether you want the createTemplateFromSEF service to overwrite entries in the target dictionary if they already exist. Specify false or true.
Value
Meaning
false
Do not overwrite flat file dictionary entries in the target dictionary if the entries already exist. This is the default.
true
Overwrite existing dictionary entries with values specified by this SEF file. If you specify true for overwriteDictionary, the createTemplateFromSEF service ignores the sourceDictionaries parameter.
sourceDictionaries
String List (optional) Names of flat file dictionaries in which to search for definitions of records, fields, and composites. If a definition already exists, refer to it instead of creating a new entry in the targetDictionary.
Output Parameters
None.