Rational Developer for System z, Version 7.6

RouterSpec

Use this element to specify attributes and properties of the router program to route multiple operation requests for a single end point. This element will be used to name the source file and the program name for the router program. This element can be specified for multiple operations or for single operations. If the RouterSpec element is not specified for multiple operations, the default values are derived from the name element of the EISService element as shown in Figure 1. If it is not specified for single operations, no router program is generated.

Contained by

EISService

XML Schema element for EISService with RouterSpec and WSBindSpec elements

Figure 1 is and example of an XML Schema element for EISService with RouterSpec and WSBindSpec elements.

Figure 1. 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>

Contained by

None

Contains

None

Attributes

Fields Description

Attribute: fileName
Valid values: See Description
Required?: No
Default value: See Description

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
Valid values: true | false
Required?: No
Default value: true

Specifies whether to overwrite the output file if it exists.

Attribute: programName
Valid values: See Description
Required?: No
Default value: See Description

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
Valid values: WEB_SERVICES_CICS
Required?: No
Default value: WEB_SERVICES_CICS

Specifies router type. Currently, only WEB_SERVICES_CICS is supported. This type must match driverType attribute for the DriverSpec element of each Operation.

Example

<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>

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)