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

root/branches/1_5/sample/howto/documentliteral/echo.wsdl

Revision 1843, 2.1 kB (checked in by nahi, 2 years ago)
  • reorganize sampless
  • 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 targetNamespace="urn:com.example:echo"
3     xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
4     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
5     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
6     xmlns:tns="urn:com.example:echo"
7     xmlns="http://schemas.xmlsoap.org/wsdl/">
8   <types>
9     <xsd:schema targetNamespace="urn:com.example:echo"
10         elementFormDefault="qualified">
11       <xsd:complexType name="TestType">
12         <xsd:sequence>
13           <xsd:any minOccurs="0" maxOccurs="unbounded" />
14         </xsd:sequence>
15       </xsd:complexType>
16       <xsd:element name="echoRequest">
17         <xsd:complexType>
18           <xsd:sequence>
19             <xsd:element name="sampleElement"
20               minOccurs="0" maxOccurs="1" type="xsd:float" />
21           </xsd:sequence>
22           <xsd:attribute name="sampleAttr" type="xsd:int" />
23         </xsd:complexType>
24       </xsd:element>
25       <xsd:element name="echoResponse">
26         <xsd:complexType>
27           <xsd:sequence>
28             <xsd:element name="sampleMultiValue"
29               minOccurs="0" maxOccurs="unbounded" type="xsd:string" />
30           </xsd:sequence>
31         </xsd:complexType>
32       </xsd:element>
33     </xsd:schema>
34   </types>
35
36   <message name="echoIn">
37     <part name="parameters" element="tns:echoRequest" />
38   </message>
39   <message name="echoOut">
40     <part name="parameters" element="tns:echoResponse" />
41   </message>
42
43   <portType name="echoPortType">
44     <operation name="echo">
45       <input message="tns:echoIn" />
46       <output message="tns:echoOut" />
47     </operation>
48   </portType>
49
50   <binding name="echoBinding" type="tns:echoPortType">
51     <soap:binding
52       transport="http://schemas.xmlsoap.org/soap/http"
53       style="document" />
54     <operation name="echo">
55       <soap:operation soapAction="urn:com.example:echo" style="document" />
56       <input><soap:body use="literal" /></input>
57       <output><soap:body use="literal" /></output>
58     </operation>
59   </binding>
60
61   <service name="echoService">
62     <port name="echoService" binding="tns:echoBinding">
63       <soap:address location='http://localhost:8080/' />
64     </port>
65   </service>
66 </definitions>
Note: See TracBrowser for help on using the browser.