3.17.3. Mapping Example WSDL Output (RPC Style)

<types>
  <xsd:schema targetNamespace="...">
    <xsd:element name="TickerException" type="tns:TickerExceptionType"/>
    ...
  </xsd:schema>
</types>

<message name="getPrice">
  <part name="tickerSymbol" type="xsd:string"/>
</message>
<message name="getPriceResponse">
  <part name="return" type="xsd:float"/>
</message>
<message name="TickerException">
  <part name="TickerException" element="tns:TickerException"/>
</message>

<portType name="StockQuoteProvider">
  <operation name="getPrice">
    <input message="tns:getPrice"/>
    <output message="tns:getPriceResponse"/>
    <fault message="tns:TickerException"/>
  </operation>
</portType>

<!-- Example adjusted from JAX-WS 2.2 Specification. -->