xref: /php-src/ext/soap/tests/gh12392.wsdl (revision 7e4a3236)
1<?xml version='1.0' encoding='UTF-8'?>
2<wsdl:definitions
3  xmlns:xs="http://www.w3.org/2001/XMLSchema"
4  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
5  xmlns="http://schemas.xmlsoap.org/wsdl/"
6  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7  targetNamespace="http://xoev.de/schemata/xzufi/2_2_0">
8  <wsdl:types>
9    <xs:schema xmlns:ns="http://php.net" targetNamespace="http://php.net">
10      <xs:attributeGroup name="c">
11        <xs:attribute name="c" type="string" />
12      </xs:attributeGroup>
13
14      <xs:attributeGroup name="b">
15        <xs:attribute name="b" type="string" />
16      </xs:attributeGroup>
17
18      <xs:attributeGroup name="a">
19        <xs:attribute name="a" type="string" />
20        <xs:attributeGroup ref="ns:b" />
21      </xs:attributeGroup>
22
23      <xs:complexType name="dummy">
24        <xs:sequence>
25          <xs:element name="foo" type="string" />
26        </xs:sequence>
27        <xs:attributeGroup ref="ns:a" />
28        <xs:attributeGroup ref="ns:c" />
29      </xs:complexType>
30    </xs:schema>
31  </wsdl:types>
32
33  <!-- Below is a shortened copy of the test.wsdl, doesn't matter, only the types matter -->
34
35  <message name="AddRequest">
36    <part name="x" type="xs:double" />
37  </message>
38
39  <portType name="TestServicePortType">
40    <operation name="Add">
41      <input message="tns:AddRequest" />
42    </operation>
43  </portType>
44
45  <binding name="TestServiceBinding" type="tns:TestServicePortType">
46    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
47    <operation name="Add">
48      <soap:operation soapAction="Add" style="rpc" />
49      <input>
50        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
51      </input>
52    </operation>
53  </binding>
54
55  <service name="TestService">
56    <port name="TestServicePort" binding="tns:TestServiceBinding">
57      <soap:address location="http://linuxsrv.home/~dmitry/soap/soap_server.php" />
58    </port>
59  </service>
60
61</wsdl:definitions>
62