summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bug77410.wsdl
blob: fb976485d6db556e1c267d31e91209a85bdde3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8" ?>
<definitions targetNamespace="urn:test"
   xmlns="http://schemas.xmlsoap.org/wsdl/"
   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
   xmlns:test="urn:test"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <portType name="TestPortType">
      <operation name="MyMethod">
         <input message="test:MyMethodRequestMessage" />
         <output message="test:MyMethodResponseMessage" />
      </operation>
   </portType>

   <binding name="TestBinding" type="test:TestPortType">
      <operation name="MyMethod">
         <input><soap:body use="literal" /></input>
         <output><soap:body use="literal" /></output>
      </operation>
   </binding>

   <message name="MyMethodRequestMessage">
      <part name="parameters" element="test:MyMethodRequest" />
   </message>

   <message name="MyMethodResponseMessage">
      <part name="parameters" element="test:MyMethodResponse" />
   </message>

   <types>
      <schema targetNamespace="urn:test" xmlns="http://www.w3.org/2001/XMLSchema">

         <element name="MyMethodRequest">
            <complexType>
               <sequence>
                  <element name="parameter" type="test:MyMethodRequestObject" />
               </sequence>
            </complexType>
         </element>

         <element name="MyMethodResponse" />

         <complexType name="MyMethodRequestObject">
            <complexContent>
               <extension base="test:DynamicData" />
            </complexContent>
         </complexType>

         <complexType name="DynamicData" />

      </schema>
   </types>

   <service name="TestService">
      <port binding="test:TestBinding" name="TestPort">
         <soap:address location="http://localhost:8080/test-service" />
      </port>
   </service>

</definitions>