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

root/trunk/test/wsdl/soaptype/soaptype.wsdl

Revision 1731, 1.8 kB (checked in by nahi, 2 years ago)

moved @@schema_* things in classdef definition to mapping registry. Mapping registries for each classdef are defined in independent file and required from driver and server.
NOTE: old classdef files should still work but it should be re-generated by new wsdl2ruby.rb.
closes #175, #267.

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:soaptype"
6     xmlns:txd="urn:soaptype-type"
7     targetNamespace="urn:soaptype"
8     xmlns="http://schemas.xmlsoap.org/wsdl/">
9   <types>
10     <xsd:schema targetNamespace="urn:soaptype-type">
11       <xsd:complexType name="wrapper">
12         <xsd:all>
13           <xsd:element name="short" type="xsd:short" />
14           <xsd:element name="long" type="xsd:long" />
15           <xsd:element name="double" type="xsd:double" />
16         </xsd:all>
17       </xsd:complexType>
18     </xsd:schema>
19   </types>
20
21   <message name="echo_in">
22     <part name="arg" type="txd:wrapper"/>
23   </message>
24
25   <message name="echo_out">
26     <part name="return" type="txd:wrapper"/>
27   </message>
28
29   <portType name="echo_port_type">
30     <operation name="echo_soaptype">
31       <input message="tns:echo_in"/>
32       <output message="tns:echo_out"/>
33     </operation>
34
35     <operation name="echo_err">
36       <input message="tns:echo_in"/>
37       <output message="tns:echo_out"/>
38     </operation>
39   </portType>
40
41   <binding name="echo_binding" type="tns:echo_port_type">
42     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
43     <operation name="echo_soaptype">
44       <soap:operation soapAction=""/>
45       <input>
46         <soap:body use="encoded" namespace="urn:soaptype"
47             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
48       </input>
49       <output>
50         <soap:body use="encoded" namespace="urn:soaptype"
51             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
52       </output>
53     </operation>
54   </binding>
55
56   <service name="echo_service">
57     <port name="echo_port" binding="tns:echo_binding">
58       <soap:address location="http://localhost:10080"/>
59     </port>
60   </service>
61 </definitions>
Note: See TracBrowser for help on using the browser.