summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bugs/bug76348.wsdl
blob: 43628b63b54652c5e6642ed0006a17e0eb905dc1 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<definitions
        xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://example.x-road.eu/producer/"
        xmlns:xrd="http://x-road.eu/xsd/xroad.xsd"
        targetNamespace="http://example.x-road.eu/producer/">
    <types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.x-road.eu/producer/">
            <import namespace="http://x-road.eu/xsd/x-road.xsd" schemaLocation="http://x-road.eu/xsd/x-road.xsd"/>
            <import namespace="http://www.w3.org/XML/1998/namespace"
                    schemaLocation="http://www.w3.org/2009/01/xml.xsd"/>
            <element name="exampleOperation">
                <complexType>
                    <sequence>
                        <element name="request" type="tns:exampleOperationRequest"/>
                    </sequence>
                </complexType>
            </element>
            <element name="exampleOperationResponse">
                <complexType>
                    <sequence>
                        <element name="request" type="tns:exampleOperationRequest"/>
                        <element name="response" type="tns:exampleOperationResponse"/>
                    </sequence>
                </complexType>
            </element>
            <complexType name="exampleOperationRequest">
                <sequence>
                    <element name="name">
                        <complexType>
                            <sequence>
                                <element name="id" type="integer" minOccurs="0" nillable="true" />
                            </sequence>
                        </complexType>
                    </element>
                </sequence>
            </complexType>
            <complexType name="exampleOperationResponse">
                <sequence>
                    <element name="ok" type="boolean" />
                </sequence>
            </complexType>
        </schema>
    </types>


    <message name="exampleOperationInputMessage">
        <part name="body" element="tns:exampleOperation"/>
    </message>
    <message name="exampleOperationOutputMessage">
        <part name="body" element="tns:exampleOperationResponse"/>
    </message>

    <message name="requestheader">
        <part name="id" element="xrd:id"/>
    </message>

    <portType name="example_porttype">
        <operation name="exampleOperation">
            <input message="tns:exampleOperationInputMessage"/>
            <output message="tns:exampleOperationOutputMessage"/>
        </operation>
    </portType>

    <binding name="example_binding" type="tns:example_porttype">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="exampleOperation">
            <soap:operation soapAction=""/>
            <xrd:version>v1</xrd:version>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:header message="tns:requestheader" part="id" use="literal"/>
                <soap:body use="literal"/>
            </output>
        </operation>
    </binding>

    <service name="example">
        <port name="example_porttype" binding="tns:example_binding">
            <soap:address location="http://PROXY/cgi-bin/consumer_proxy"/>
        </port>
    </service>

</definitions>