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

root/trunk/test/wsdl/anonymous/lp.wsdl

Revision 1979, 4.1 kB (checked in by nahi, 1 year ago)
  • when there are 2 unqualified anonymous elements which have the same name in a SOAP message, mapper cannot decode it to the correct object. introduced :is_anonymous in mapping_registry and do not search registry with anonymous element. closes #355.
Line 
1 <?xml version="1.0" encoding="utf-8"?>
2 <definitions
3   name="lp"
4   targetNamespace="urn:lp"
5   xmlns:tns="urn:lp"
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   <types>
10     <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:lp">
11       <element name="Pack">
12         <complexType>
13           <sequence>
14             <element name="Header">
15               <complexType>
16                 <sequence>
17                   <element name="Header1" type="xsd:string"/>
18                 </sequence>
19               </complexType>
20             </element>
21           </sequence>
22         </complexType>
23       </element>
24
25       <element name="Envelope">
26         <complexType>
27           <sequence>
28             <element name="Header">
29               <complexType>
30                 <sequence>
31                   <element name="Header2" type="xsd:string"/>
32                 </sequence>
33               </complexType>
34             </element>
35           </sequence>
36         </complexType>
37       </element>
38
39       <complexType name="Header">
40         <sequence>
41           <element name="Header3" type="xsd:string"/>
42         </sequence>
43       </complexType>
44
45       <complexType name="ExtraInfo">
46         <annotation>
47           <documentation>Service specific information.</documentation>
48         </annotation>
49         <sequence>
50           <element maxOccurs="unbounded" name="Entry">
51             <complexType>
52               <sequence>
53                 <element name="Key" type="xsd:string"/>
54                 <element name="Value" type="xsd:string"/>
55               </sequence>
56             </complexType>
57           </element>
58         </sequence>
59       </complexType>
60
61       <element name="login">
62         <complexType>
63           <sequence>
64             <element name="loginRequest">
65               <complexType>
66                 <sequence>
67                   <element name="username" type="xsd:string"/>
68                   <element name="password" type="xsd:string"/>
69                   <element name="timezone" type="xsd:string" minOccurs="0" maxOccurs="1"/>
70                 </sequence>
71               </complexType>
72             </element>
73           </sequence>
74         </complexType>
75       </element>
76
77       <complexType name="loginResponse">
78         <sequence>
79           <element name="loginResult">
80             <complexType>
81               <sequence>
82                 <element name="sessionID" type="xsd:string"/>
83               </sequence>
84             </complexType>
85           </element>
86         </sequence>
87       </complexType>
88
89       <element name="loginResponse" type="tns:loginResponse"/>
90     </schema>
91   </types>
92
93   <message name="login_in">
94     <part name="parameters" element="tns:login" />
95   </message>
96   <message name="login_out">
97     <part name="parameters" element="tns:loginResponse" />
98   </message>
99
100   <message name="echo_in">
101     <part name="parameters" element="tns:Pack" />
102   </message>
103   <message name="echo_out">
104     <part name="parameters" element="tns:Envelope" />
105   </message>
106
107   <portType name="lp_porttype">
108     <operation name="login">
109       <input message="tns:login_in" />
110       <output message="tns:login_out" />
111     </operation>
112
113     <operation name="echo">
114       <input message="tns:echo_in" />
115       <output message="tns:echo_out" />
116     </operation>
117   </portType>
118
119   <binding name="lp_binding" type="tns:lp_porttype">
120     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
121     <operation name="login">
122       <soap:operation soapAction="urn:lp:login" style="document" />
123       <input>
124         <soap:body use="literal" />
125       </input>
126       <output>
127         <soap:body use="literal" />
128       </output>
129     </operation>
130
131     <operation name="echo">
132       <soap:operation soapAction="urn:lp:echo" style="document" />
133       <input>
134         <soap:body use="literal" />
135       </input>
136       <output>
137         <soap:body use="literal" />
138       </output>
139     </operation>
140   </binding>
141
142   <service name="lp_service">
143     <port name="lp_service_port" binding="tns:lp_binding">
144       <soap:address location="http://localhost:17171/" />
145     </port>
146   </service>
147 </definitions>
Note: See TracBrowser for help on using the browser.