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

root/trunk/test/wsdl/overload/overload.wsdl

Revision 2003, 3.2 kB (checked in by nahi, 1 year ago)
  • wsdl2ruby.rb did not generate proper definitions for overloaded method in WSDL. (#446)
  • unnecessary 's' option for CRLF trimming regexp. Thanks Nobu.
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <wsdl:definitions targetNamespace="urn:overload" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:tns="urn:overload" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3  <wsdl:types>
4   <schema targetNamespace="urn:overload" xmlns="http://www.w3.org/2001/XMLSchema">
5    <import namespace="http://xml.apache.org/xml-soap"/>
6    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
7   </schema>
8  </wsdl:types>
9
10    <wsdl:message name="methodAlphaRequest">
11       <wsdl:part name="in0" type="xsd:string"/>
12       <wsdl:part name="in1" type="xsd:string"/>
13       <wsdl:part name="in2" type="xsd:string"/>
14    </wsdl:message>
15    
16    <wsdl:message name="methodAlphaRequest1">
17       <wsdl:part name="in0" type="xsd:string"/>
18       <wsdl:part name="in1" type="xsd:string"/>
19    </wsdl:message>
20    
21    <wsdl:message name="methodAlphaResponse">
22       <wsdl:part name="methodAlphaReturn" type="xsd:long"/>
23    </wsdl:message>
24    
25    <wsdl:message name="methodAlphaResponse1">
26       <wsdl:part name="methodAlphaReturn" type="xsd:long"/>
27    </wsdl:message>
28
29    <wsdl:portType name="OverloadServicePortType">
30       <wsdl:operation name="methodAlpha" parameterOrder="in0 in1 in2">
31          <wsdl:input message="tns:methodAlphaRequest" name="methodAlphaRequest"/>
32          <wsdl:output message="tns:methodAlphaResponse" name="methodAlphaResponse"/>
33       </wsdl:operation>
34
35       <wsdl:operation name="methodAlpha" parameterOrder="in0 in1">
36          <wsdl:input message="tns:methodAlphaRequest1" name="methodAlphaRequest1"/>
37          <wsdl:output message="tns:methodAlphaResponse1" name="methodAlphaResponse1"/>
38       </wsdl:operation>
39    </wsdl:portType>
40
41    <wsdl:binding name="OverloadServiceSoap" type="tns:OverloadServicePortType">
42       <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
43       <wsdl:operation name="methodAlpha">
44          <wsdlsoap:operation soapAction="methodAlpha1"/>
45          <wsdl:input name="methodAlphaRequest">
46             <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:overload" use="encoded"/>
47          </wsdl:input>
48          <wsdl:output name="methodAlphaResponse">
49             <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:overload" use="encoded"/>
50          </wsdl:output>
51       </wsdl:operation>
52
53       <wsdl:operation name="methodAlpha">
54          <wsdlsoap:operation soapAction="methodAlpha2"/>
55          <wsdl:input name="methodAlphaRequest1">
56             <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:overload" use="encoded"/>
57          </wsdl:input>
58          <wsdl:output name="methodAlphaResponse1">
59             <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:overload" use="encoded"/>
60          </wsdl:output>
61       </wsdl:operation>
62     </wsdl:binding>
63        
64     <wsdl:service name="OverloadService">
65       <wsdl:port binding="tns:OverloadServiceSoap" name="OverloadServicePort">
66         <wsdlsoap:address location="http://localhost/"/>
67       </wsdl:port>
68    </wsdl:service>
69
70 </wsdl:definitions>
Note: See TracBrowser for help on using the browser.