Default actions for WSDL 1.1
If a WSDL 1.1 document does not contain explicitly specified <wsa:Action> properties, CICS® builds default input, output, and fault actions when the WSDL is processed by DFHWS2LS.
Default input and output actions for WSDL 1.1
The following pattern is used by CICS in WSDL 1.1 documents that follow either the recommendation
schema or the submission schema to construct a default input or output
action:
[target namespace]/[port type name]/[input|output name]Default fault actions for WSDL 1.1
If you
are following the recommendation schema, the way that CICS builds the default fault action differs
from the behavior described in the schema. The following pattern is
used by CICS, in WSDL 1.1 documents
that follow the recommendation schema, to construct a default fault
message. Notice that the fault name is omitted.
[target namespace]/[port type name]/[operation name]/Fault/If you are following the submission schema, the way that CICS builds the default fault action
follows the behavior described in the schema. The following pattern
is used by CICS, in WSDL 1.1
documents that follow the submission schema, to construct a default
fault message:
[target namespace]/[port type name]/[operation name]/Fault/[fault name]Example of the default actions generated by CICS for a WSDL 1.1 document
This example of a booking system illustrates how CICS constructs default actions from a WSDL 1.1 document:<description targetNamespace="http://example.ibm.com/namespace" ...>
...
<portType name="bookingInterface">
<operation name="makeBooking">
<input element="tns:makeBooking" name="MakeBooking"/>
<output element="tns:bookingResponse" name="BookingResponse"/>
<fault message="tns:InvalidBooking" name="InvalidBooking"/>
</operation>
</interface>
...
</definitions>The WSDL fragment has the following addressing
properties:
| Property name | Value |
|---|---|
| [targetNamespace] | http://example.ibm.com/namespace |
| [portType name] | bookingInterface |
| [operation name] | makeBooking |
| [input name] | MakeBooking |
| [output name] | BookingResponse |
| [fault name] | InvalidBooking |
| Action | Value |
|---|---|
| Input Action | http://example.ibm.com/namespace/bookingInterface/MakeBookingIf the [input name] is not specified, the value of the [operation
name] with "Request" appended is used instead. For example, in this
case the Input Action is |
| Output Action | http://example.ibm.com/namespace/bookingInterface/BookingResponseIf the [output name] is not specified, the value of the [operation
name] with "Response" appended is used instead. For example, in this
case the Output Action is |
| Fault Action | http://example.ibm.com/namespace/bookingInterface/MakeBooking/Fault/ |
| (Recommendation schema) | Notice that the [fault name] is omitted. |
| Fault Action | http://example.ibm.com/namespace/bookingInterface/MakeBooking/Fault/InvalidBooking |
| (Submission schema) |
For more information, see the W3C WS-Addressing 1.0 Metadata specification.