Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/test/wsdl/any/any.wsdl

Revision 1828, 3.3 kB (checked in by nahi, 2 years ago)
  • WSDLDriverFactory + rpc/encoded + anyType return caused an error. closes #353.
  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
Line 
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:example.com:echo"
6     xmlns:txd="urn:example.com:echo-type"
7     targetNamespace="urn:example.com:echo"
8     xmlns="http://schemas.xmlsoap.org/wsdl/">
9   <types>
10     <xsd:schema targetNamespace="urn:example.com:echo-type">
11       <xsd:complexType name="foo.bar">
12         <xsd:sequence>
13           <xsd:element name="before" type="xsd:string"/>
14           <xsd:any/>
15           <xsd:element name="after" type="xsd:string"/>
16         </xsd:sequence>
17       </xsd:complexType>
18       <xsd:element name="foo.bar" type="txd:foo.bar"/>
19
20       <!-- from #323 -->
21       <xsd:element name="setOutputAndCompleteRequest">
22         <xsd:complexType>
23           <xsd:sequence>
24             <xsd:element name="taskId" type="xsd:string"/>
25             <xsd:element name="data">
26               <xsd:complexType>
27                 <xsd:sequence>
28                   <xsd:any maxOccurs="unbounded" minOccurs="0" />
29                 </xsd:sequence>
30               </xsd:complexType>
31             </xsd:element>
32             <xsd:element name="participantToken" type="xsd:string">
33             </xsd:element>
34           </xsd:sequence>
35         </xsd:complexType>
36       </xsd:element>
37     </xsd:schema>
38   </types>
39
40   <message name="msg_echoitem">
41     <part name="parameters" type="txd:foo.bar"/>
42   </message>
43
44   <message name="msg_echoany_request">
45   </message>
46
47   <message name="msg_echoany_response">
48     <part name="echoany_return" type="xsd:anyType"/>
49   </message>
50
51   <message name="setOutputAndCompleteRequest">
52     <part name="parameters" element="txd:setOutputAndCompleteRequest"/>
53   </message>
54
55   <message name="okResponse">
56     <part name="parameters" element="txd:setOutputAndCompleteRequest"/>
57   </message>
58
59   <portType name="echo_port_type">
60     <operation name="echo">
61       <input message="tns:msg_echoitem"/>
62       <output message="tns:msg_echoitem"/>
63     </operation>
64
65     <operation name="echoAny">
66       <input message="tns:msg_echoany_request"/>
67       <output message="tns:msg_echoany_response"/>
68     </operation>
69
70     <operation name="setOutputAndComplete">
71       <input message="tns:setOutputAndCompleteRequest"/>
72       <output message="tns:okResponse"/>
73     </operation>
74   </portType>
75
76   <binding name="echo_binding" type="tns:echo_port_type">
77     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
78     <operation name="echo">
79       <soap:operation soapAction="urn:example.com:echo"/>
80       <input>
81         <soap:body use="literal"/>
82       </input>
83       <output>
84         <soap:body use="literal"/>
85       </output>
86     </operation>
87
88     <operation name="echoAny">
89       <soap:operation style="rpc" soapAction="urn:example.com:echoAny"/>
90       <input>
91         <soap:body use="encoded"/>
92       </input>
93       <output>
94         <soap:body use="encoded"/>
95       </output>
96     </operation>
97
98     <operation name="setOutputAndComplete">
99       <soap:operation soapAction="urn:example.com:echo"/>
100       <input>
101         <soap:body use="literal"/>
102       </input>
103       <output>
104         <soap:body use="literal"/>
105       </output>
106     </operation>
107   </binding>
108
109   <service name="echo_service">
110     <port name="echo_port" binding="tns:echo_binding">
111       <soap:address location="http://localhost:10080"/>
112     </port>
113   </service>
114 </definitions>
Note: See TracBrowser for help on using the browser.