Default actions for WSDL 2.0
If a WSDL 2.0 document does not contain explicitly specified <wsa:Action> properties, CICS® build default input, output, and fault actions when the WSDL is processed by DFHWS2LS.
Default input and output actions for WSDL 2.0
The
following pattern is used by CICS,
in WSDL 2.0 documents that follow the recommendation schema, to construct
default actions for inputs and outputs:
[target namespace]/[interface name]/[operation name][direction token]Default fault actions for WSDL 2.0
If you are following the recommendation schema, the way that CICS builds the default action for WS-Addressing faults differs from the behavior described in the schema. If you are following the submission schema, the way that CICS builds the default action for WS-Addressing faults follows the behavior described in the schema.
The following
pattern is used by CICS, in
WSDL 2.0 documents that follow the recommendation schema, to construct
a default action for faults. Notice that the fault name is omitted.
[target namespace]/[interface name]/The
following pattern is used by CICS,
in WSDL 2.0 documents that follow the submission schema, to construct
a default action for faults:
[target namespace]/[interface name]/[fault name]Example of the default actions generated by CICS for a WSDL 2.0 document
This example shows how CICS constructs default actions for a WSDL 2.0 document following the recommendation schema:<description targetNamespace="http://example.ibm.com/namespace" ...>
...
<interface name="bookingInterface">
<operation name="makeBooking" pattern="http://www.w3.org/ns/wsdl/in-out">
<input element="tns:makeBooking" messageLabel="In"/>
<output element="tns:bookingResponse" messageLabel="Out"/>
</operation>
</interface>
...
</definitions>The WSDL fragment has the following addressing
properties:
| Property Name | Value |
|---|---|
| [targetNamespace] | http://example.ibm.com/namespace |
| [interface name] | bookingInterface |
| [operation name] | makeBooking |
| [direction token] | Either Request or Response. |
| Action | Value |
|---|---|
| Input Action | http://example.ibm.com/namespace/bookingInterface/makeBookingRequest |
| Output Action | http://example.ibm.com/namespace/bookingInterface/makeBookingResponse |
For more information, see the W3C WS-Addressing 1.0 Metadata specification.