| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<definitions |
|---|
| 3 |
name="soapbodyparts" |
|---|
| 4 |
targetNamespace="urn:www.example.com:soapbodyparts:v1" |
|---|
| 5 |
xmlns:tns="urn:www.example.com:soapbodyparts:v1" |
|---|
| 6 |
xmlns="http://schemas.xmlsoap.org/wsdl/" |
|---|
| 7 |
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
|---|
| 8 |
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 9 |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 10 |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> |
|---|
| 11 |
|
|---|
| 12 |
<types> |
|---|
| 13 |
<schema xmlns="http://www.w3.org/2001/XMLSchema" |
|---|
| 14 |
targetNamespace="urn:www.example.com:soapbodyparts:v1"> |
|---|
| 15 |
<import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/> |
|---|
| 16 |
<complexType name="StringArray"> |
|---|
| 17 |
<complexContent> |
|---|
| 18 |
<restriction base="soapenc:Array"> |
|---|
| 19 |
<attribute ref="soapenc:arrayType" wsdl:arrayType="string[]"/> |
|---|
| 20 |
</restriction> |
|---|
| 21 |
</complexContent> |
|---|
| 22 |
</complexType> |
|---|
| 23 |
</schema> |
|---|
| 24 |
</types> |
|---|
| 25 |
|
|---|
| 26 |
<message name="fooRequest"> |
|---|
| 27 |
<part name="param1" type="xsd:string"/> |
|---|
| 28 |
<part name="param2" type="xsd:string"/> |
|---|
| 29 |
<part name="param3" type="xsd:string"/> |
|---|
| 30 |
</message> |
|---|
| 31 |
|
|---|
| 32 |
<message name="fooResponse"> |
|---|
| 33 |
<part name="return" type="tns:StringArray"/> |
|---|
| 34 |
</message> |
|---|
| 35 |
|
|---|
| 36 |
<portType name="FooServicePortType"> |
|---|
| 37 |
<operation name="foo" |
|---|
| 38 |
parameterOrder="param3 param2 param1"> |
|---|
| 39 |
<input message="tns:fooRequest"/> |
|---|
| 40 |
<output message="tns:fooResponse"/> |
|---|
| 41 |
</operation> |
|---|
| 42 |
<operation name="bar" |
|---|
| 43 |
parameterOrder="param1 param2 param3"> |
|---|
| 44 |
<input message="tns:fooRequest"/> |
|---|
| 45 |
<output message="tns:fooResponse"/> |
|---|
| 46 |
</operation> |
|---|
| 47 |
<operation name="baz"> |
|---|
| 48 |
<input message="tns:fooRequest"/> |
|---|
| 49 |
<output message="tns:fooResponse"/> |
|---|
| 50 |
</operation> |
|---|
| 51 |
</portType> |
|---|
| 52 |
|
|---|
| 53 |
<binding name="FooServicePortBinding" type="tns:FooServicePortType"> |
|---|
| 54 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> |
|---|
| 55 |
<operation name="foo"> |
|---|
| 56 |
<soap:operation soapAction=""/> |
|---|
| 57 |
<input> |
|---|
| 58 |
<soap:body use="encoded" |
|---|
| 59 |
parts="param1 param3" |
|---|
| 60 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 61 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 62 |
</input> |
|---|
| 63 |
<output> |
|---|
| 64 |
<soap:body use="encoded" |
|---|
| 65 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 66 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 67 |
</output> |
|---|
| 68 |
</operation> |
|---|
| 69 |
<operation name="bar"> |
|---|
| 70 |
<soap:operation soapAction=""/> |
|---|
| 71 |
<input> |
|---|
| 72 |
<soap:body use="encoded" |
|---|
| 73 |
parts="param3 param2" |
|---|
| 74 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 75 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 76 |
</input> |
|---|
| 77 |
<output> |
|---|
| 78 |
<soap:body use="encoded" |
|---|
| 79 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 80 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 81 |
</output> |
|---|
| 82 |
</operation> |
|---|
| 83 |
<operation name="baz"> |
|---|
| 84 |
<soap:operation soapAction=""/> |
|---|
| 85 |
<input> |
|---|
| 86 |
<soap:body use="encoded" |
|---|
| 87 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 88 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 89 |
</input> |
|---|
| 90 |
<output> |
|---|
| 91 |
<soap:body use="encoded" |
|---|
| 92 |
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" |
|---|
| 93 |
namespace="urn:www.example.com:soapbodyparts:v1"/> |
|---|
| 94 |
</output> |
|---|
| 95 |
</operation> |
|---|
| 96 |
</binding> |
|---|
| 97 |
|
|---|
| 98 |
<service name="FooService"> |
|---|
| 99 |
<port name="FooServicePort" binding="tns:FooServicePortBinding"> |
|---|
| 100 |
<soap:address location="http://raa.ruby-lang.org/soap/1.0.2/"/> |
|---|
| 101 |
</port> |
|---|
| 102 |
</service> |
|---|
| 103 |
</definitions> |
|---|