The InputOutputMessage element is being deprecated and should not be used. Instead use the InputMessage and OutputMessage elements and specify identical parameters.
Table 1 shows the attributes for MessageSpec.
| Fields | Description |
|---|---|
Attribute: name |
This attribute has no effect on generated artifacts. It is reserved for future use. |
Attribute: annotationsFile |
Specifies the absolute path to location and name in the file system of the synonym action XML file. The synonym action XML file contains the optional annotation information that can be present in the source of the data declarations. If this attribute is not specified, the default is taken from the "-annot" parameter of the xsebatch invocation. For more information, see Using source annotations to specify service interface. |
Attribute: commTypesFile |
Specifies the absolute path to location and name in the file system of the common types xml file. The common types xml file describes the common element and type information that is used in the generated XSD schema to refer to instead of imbedding and potentially duplicating the types. If this attribute is not specified, the default is taken from the "-commtypes" parameter of the xsebatch invocation. For more information, see Commonly Used Elements and Types. |
Attribute: importDirectory |
Specifies the directory for the source file. The default value is: The input directory |
Attribute: importFile |
Specifies the file name that contains the language
data definitions to be used in creating the XML data types. Note: Only
COBOL data definitions are supported and are subject to the restrictions
that are specified in the online help.
The default value is: The name provided in the xsebatch command line parameter -s. |
Attribute: nativeTypeName |
Specifies the name of the data type that is
to be imported from the importFile, such as DFHCOMMAREA for a CICS COBOL application. An error
message is generated on the console if a parse of the importFile does
not identify the nativeTypeName as a valid data type. The default value is: For COBOL, the name of the first available level 01 data item name. |
<MessageSpec name="convertThis" importDirectory="." importFile="sample.cbl"
nativeTypeName="input-struc">
<RedefinesArray>
<RedefineSelection redefine="input-msg.redParent.redefd"
useRedefinition="input-msg.redParent.redefd2"/>
</RedefinesArray>
<ItemSelectionArray>
<ItemSelection itemName="input-msg.redParent"/>
<ItemSelection itemName="input-msg.in-extn"/>
<ItemSelection itemName="input-msg.in-zip"/>
<ItemSelection itemName="input-msg.in-ll"/>
</ItemSelectionArray>
</MessageSpec>