| 1 |
<?xml version="1.0" ?> |
| 2 |
|
| 3 |
<definitions name="urn:GetQuote" |
| 4 |
targetNamespace="urn:xmltoday-delayed-quotes" |
| 5 |
xmlns:tns="urn:xmltoday-delayed-quotes" |
| 6 |
xmlns:xsd="http://www.w3.org/1999/XMLSchema" |
| 7 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 8 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 9 |
|
| 10 |
<!-- message declns --> |
| 11 |
<message name="GetQuoteRequest"> |
| 12 |
<part name="symbol" type="xsd:string"/> |
| 13 |
</message> |
| 14 |
|
| 15 |
<message name="GetQuoteResponse"> |
| 16 |
<part name="result" type="xsd:float"/> |
| 17 |
</message> |
| 18 |
|
| 19 |
<!-- port type declns --> |
| 20 |
<portType name="GetQuote"> |
| 21 |
<operation name="getQuote" > |
| 22 |
<input message="tns:GetQuoteRequest"/> |
| 23 |
<output message="tns:GetQuoteResponse"/> |
| 24 |
</operation> |
| 25 |
</portType> |
| 26 |
|
| 27 |
<!-- binding declns --> |
| 28 |
<binding name="GetQuoteBinding" type="tns:GetQuote"> |
| 29 |
<soap:binding style="rpc" |
| 30 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 31 |
<operation name="getQuote"> |
| 32 |
<soap:operation soapAction="getQuote"/> |
| 33 |
<input name="justName"> ****** here is the difference **** |
| 34 |
<soap:body use="encoded" |
| 35 |
namespace="urn:xmltoday-delayed-quotes" |
| 36 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 37 |
</input> |
| 38 |
<output> |
| 39 |
<soap:body use="encoded" |
| 40 |
namespace="urn:xmltoday-delayed-quotes" |
| 41 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 42 |
</output> |
| 43 |
</operation> |
| 44 |
</binding> |
| 45 |
|
| 46 |
<!-- service decln --> |
| 47 |
<service name="GetQuoteService"> |
| 48 |
<port name="GetQuote" binding="tns:GetQuoteBinding"> |
| 49 |
<soap:address location="http://localhost:8080/axis/servlet/AxisServlet"/> |
| 50 |
</port> |
| 51 |
</service> |
| 52 |
|
| 53 |
</definitions> |