Next: PortType Description Component
Up: WSDL
Previous: Type Description Component
  Contents
In the wonderful world of widgt wade
your foreign colleagues may need to define the messages which they can input or output. They may, for example, accept a
message on which they may choose how they wish to depreciate their widgets. A checkbox on this messages might
correspond to amortization, for example.
Similarly, in the world of bits WSDL allows for a WSDL document to specify the various messages which a service can input
or output. This is done in the Message Description Component of a WSDL document. Just as your foreign colleagues
can make a list of messages which they can input or output, the Message Description Component of a WSDL document
indicates the various messages which a service can input or output. To give a flavor of what this looks like in practice lets
take a peek at a WSDL document snippet:
<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>
</message>
This snippet defines two messages. The first message GetLastTradePriceInput contains a single part which
contains a TradePriceRequest, a type which we defined above. The second message GetLastTradePriceOutput
contains a single part which contains a TradePrice, a type we also defined above. So, you can begin to see how
this process snowballs.
Next: PortType Description Component
Up: WSDL
Previous: Type Description Component
  Contents
Andre Merzky
2004-05-13
|