Updated MSpec source to 1c3ee1c8.
[rbx.git] / test / mri / wsdl / rpc / rpc.wsdl
blobb0ee5c5e562a6e40eb5b8a91d3374291fd0c3bf4
1 <?xml version="1.0" encoding="utf-8"?>
2 <definitions name="echo"
3 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5 xmlns:tns="urn:rpc"
6 xmlns:txd="urn:rpc-type"
7 targetNamespace="urn:rpc"
8 xmlns="http://schemas.xmlsoap.org/wsdl/">
9 <types>
10 <xsd:schema targetNamespace="urn:rpc-type">
11 <xsd:complexType name="person">
12 <xsd:all>
13 <xsd:element name="family-name" type="xsd:string" />
14 <xsd:element name="given_name" type="xsd:string" />
15 <xsd:element name="age" type="xsd:int" />
16 <xsd:element name="link" type="txd:person" />
17 </xsd:all>
18 </xsd:complexType>
19 </xsd:schema>
20 </types>
22 <message name="echo_in">
23 <part name="arg1" type="txd:person"/>
24 <part name="arg2" type="txd:person"/>
25 </message>
27 <message name="echo_out">
28 <part name="return" type="txd:person"/>
29 </message>
31 <portType name="echo_port_type">
32 <operation name="echo">
33 <input message="tns:echo_in"/>
34 <output message="tns:echo_out"/>
35 </operation>
37 <operation name="echo_err">
38 <input message="tns:echo_in"/>
39 <output message="tns:echo_out"/>
40 </operation>
41 </portType>
43 <binding name="echo_binding" type="tns:echo_port_type">
44 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
45 <operation name="echo">
46 <soap:operation soapAction=""/>
47 <input>
48 <soap:body use="encoded" namespace="urn:rpc"
49 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
50 </input>
51 <output>
52 <soap:body use="encoded" namespace="urn:rpc"
53 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
54 </output>
55 </operation>
57 <operation name="echo_err">
58 <soap:operation soapAction=""/>
59 <input>
60 <soap:body use="encoded" namespace="urn:rpc"
61 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
62 </input>
63 <output>
64 <soap:body use="encoded" namespace="urn:rpc"
65 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
66 </output>
67 </operation>
68 </binding>
70 <service name="echo_service">
71 <port name="echo_port" binding="tns:echo_binding">
72 <soap:address location="http://localhost:10080"/>
73 </port>
74 </service>
75 </definitions>