Operation
Use this element to specify the type of operation and as the container for operation properties. Note that only one operation is allowed per service. Specifying more than one operation may cause an invalid WSDL to be generated.
Contained by
EISServiceContains
- OperationPropertyArray
- InputOutputMessage (Deprecated)
- InputMessage
- MessageSpec
- OutputMessage
- XseSpec
Note: Operation can contain a MessageSpec element. If Operation contains
a MessageSpec element, then Operation
CANNOT contain:
- InputMessage
- OutputMessage
- InputOutputMessage (Deprecated)
The InputOutputMessage element is being deprecated and should not be used. Instead use the InputMessage and OutputMessage elements and specify identical parameters.
Attributes
| Fields | Description |
|---|---|
Attribute: name
Valid values: See Description Required?: No Default value: See Description |
Specifies the name of the operation in the WSDL
file. The default value is: The name attribute for the EISService element concatenated with "Operation" Note: For
Web Services that use the CICS® Bottom
up interpretive case, the default operation name is CICS program name+"Operation".
|
Attribute: type
Valid values: REQUEST_RESPONSE | SOLICIT_RESPONSE | ONE_WAY | NOTIFICATION Required?: No Default value: REQUEST_RESPONSE |
Specifies whether to generate the converter set (request, response, converters, and driver). See Note. |
Note:
REQUEST_RESPONSE
and SOLICIT_RESPONSE operations cause the generation of:
A NOTIFICATION operation causes the generation of:
A ONE_WAY operation causes the generation of:
|
|
Example
Figure 1 is an example of Operation element.<Operation name="getCustomerInfo" type="REQUEST_RESPONSE">
<OperationPropertyArray>
<OperationProperty name="soapOpStyle" value="document" />
<OperationProperty name="soapBindingStyle" value="document" />
<OperationProperty name="soapBodyUse" value="literal" />
</OperationPropertyArray>
<InputOutputMessage name="CustomerDetails" importDirectory="." importFile="DFH0ACTD.cbl"
nativeTypeName="DFHCOMMAREA">
<RedefinesArray>
<RedefineSelection redefine="name.info" useRedefinition="name.last-name"/>
<RedefineSelection redefine="address.zip-code" useRedefinition="province"/>
</RedefinesArray>
</InputOutputMessage>
<XseSpec>
<DriverSpec fileName=""DFH0CSTDD.cbl" driverType="IMS SOAP Gateway"
programName="XCNVD" businessPgmName="Ex01" />
<ConverterSpecIn fileName="DFH0CSTDI.cbl" overwrite="true"
programName="XCNVI"/>
<ConverterSpecOut fileName="DFH0CSTDO.cbl" overwrite="true"
programName="XCNVO"/>
<XsdSpecIn fileName="DFH0CSTDI.xsd overwrite="true"
targetNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
xsdNamespace="http://www.w3.org/2001/XMLSchema"
localNamespace="http://www.DFH0CSTDI.com/schemas/DFH0CSTDIInterface"
xsdPrefix="cbl"
xsdElemName="dfhcommarea"/>
<XsdSpecOut fileName="DFH0CSTDO.xsd" overwrite="true"
targetNamespace="http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface"
xsdNamespace="http://www.w3.org/2001/XMLSchema"
localNamespace="http://www.DFH0CSTDO.com/schemas/DFH0CSTDOInterface"
xsdPrefix="cbl"
xsdElemName="dfhcommarea"/>
</XseSpec>
</Operation>