- An operation is an interaction between a web service consumer and provider.
- An operation is described in an operation element and consists of a set of input and output messages.
- The input and output messages are specified using the input and output child elements of the operation element.
- The syntax for the operation element is:
<operation name="OperationName">
<input message="InputMsg"/>
<output message="OutputMsg"/>
</operation>
where OperationName is the name of the operation and inputMsg and outputMsg are values for the message attribute.
In the code example, getBook is the name of the operation. The values getBookRequest and getBookResponse are names defined in the message element.
|