Figure 1 is and example of an XML Schema element for EISService with RouterSpec and WSBindSpec elements.
<xsd:element name="EISService">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" ref="ServicePropertyArray"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="ConnectionPropertyArray"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="Operation"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="WSBindSpec"/>
<xsd:element minOccurs="0" ref="RouterSpec"/>
</xsd:sequence>
<xsd:attribute name="generateConverters" type="xsd:boolean" use="optional"/>
<xsd:attribute name="generateSeparateXSD" type="xsd:boolean" use="optional"/>
<xsd:attribute name="generateWSDL" type="xsd:boolean" use="optional"/>
<xsd:attribute name="name" type="xsd:string" use="optional"/>
<xsd:attribute name="targetNamespace" type="xsd:string" use="optional"/>
<xsd:attribute name="type" type="xsd:string" use="optional"/>
<xsd:attribute name="targetFilesURI" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>
| Fields | Description |
|---|---|
Attribute: fileName |
Specifies the name of the output file. The default value is: The Service name in the generated WSDL File truncated to 8 characters and concatenated with .CBL file extension. |
Attribute: overwrite |
Specifies whether to overwrite the output file if it exists. |
Attribute: programName |
Specifies the program name of the main program
entry of the Router. Any program name longer than 8 characters will
be truncated to 8 characters. The default value is: The Service name in the generated WSDL File truncated to 7 characters and suffixed with letter "T". |
Attribute: type |
Specifies router type. Currently, only WEB_SERVICES_CICS is supported. This type must match driverType attribute for the DriverSpec element of each Operation. |
<RouterSpec fileName="ROUTER.CBL" programName="ROUTER"/>
<CodegenPropertyArray type="Cobol">
<CodegenProperty name="com.ibm.etools.xmlent.ui.GEN_PROG_NAME"
value="CWSA"/>
<CodegenProperty name=
"com.ibm.etools.xmlent.ui.GEN_CONVERSION_TYPE"
value="interpretive"/>
</CodegenPropertyArray>