| 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/2001/XMLSchema" |
| 7 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
| 8 |
xmlns="http://schemas.xmlsoap.org/wsdl/"> |
| 9 |
|
| 10 |
<!-- message declns --> |
| 11 |
<message name="testRequest"/> |
| 12 |
<message name="testResponse"> |
| 13 |
<part name="testResult" type="xsd:string"/> |
| 14 |
</message> |
| 15 |
|
| 16 |
<message name="GetQuoteRequest"> |
| 17 |
<part name="symbol" type="xsd:string"/> |
| 18 |
</message> |
| 19 |
|
| 20 |
<message name="GetQuoteResponse"> |
| 21 |
<part name="result" type="xsd:float"/> |
| 22 |
</message> |
| 23 |
|
| 24 |
<!-- port type declns --> |
| 25 |
<portType name="GetQuote"> |
| 26 |
<operation name="getQuote" > |
| 27 |
<input message="tns:GetQuoteRequest"/> |
| 28 |
<output message="tns:GetQuoteResponse"/> |
| 29 |
</operation> |
| 30 |
<operation name="test" > |
| 31 |
<input message="tns:testRequest"/> |
| 32 |
<output message="tns:testResponse"/> |
| 33 |
</operation> |
| 34 |
</portType> |
| 35 |
|
| 36 |
<!-- binding declns --> |
| 37 |
<binding name="GetQuoteBinding" type="tns:GetQuote"> |
| 38 |
<soap:binding style="rpc" |
| 39 |
transport="http://schemas.xmlsoap.org/soap/http"/> |
| 40 |
<operation name="getQuote"> |
| 41 |
<soap:operation soapAction="getQuote"/> |
| 42 |
<input> |
| 43 |
<soap:body use="encoded" |
| 44 |
namespace="urn:xmltoday-delayed-quotes" |
| 45 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 46 |
</input> |
| 47 |
<output> |
| 48 |
<soap:body use="encoded" |
| 49 |
namespace="urn:xmltoday-delayed-quotes" |
| 50 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 51 |
</output> |
| 52 |
</operation> |
| 53 |
<operation name="test"> |
| 54 |
<soap:operation soapAction="test"/> |
| 55 |
<input> |
| 56 |
<soap:body use="encoded" |
| 57 |
namespace="urn:xmltoday-delayed-quotes" |
| 58 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 59 |
</input> |
| 60 |
<output> |
| 61 |
<soap:body use="encoded" |
| 62 |
namespace="urn:xmltoday-delayed-quotes" |
| 63 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> |
| 64 |
</output> |
| 65 |
</operation> |
| 66 |
</binding> |
| 67 |
|
| 68 |
<!-- service decln --> |
| 69 |
<service name="GetQuoteService"> |
| 70 |
<port name="GetQuote" binding="tns:GetQuoteBinding"> |
| 71 |
<soap:address location="http://localhost:8080/axis/servlet/AxisServlet"/> |
| 72 |
</port> |
| 73 |
<port name="GetQuoteJava" binding="tns:GetQuoteBinding"> |
| 74 |
<soap:address location="java:samples.stock.StockQuoteService"/> |
| 75 |
</port> |
| 76 |
</service> |
| 77 |
|
| 78 |
</definitions> |