File: 02_port.wsdl

package info (click to toggle)
libsoap-wsdl-perl 3.003-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,856 kB
  • ctags: 610
  • sloc: perl: 8,431; xml: 1,769; java: 19; makefile: 15
file content (113 lines) | stat: -rw-r--r-- 3,668 bytes parent folder | download | duplicates (6)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0"?>
<!-- This WSDL is broken on purpose: It's used to test error handling -->
<definitions
    targetNamespace="urn:simpleType"
    xmlns:tns="urn:simpleType"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"

>
    <types>
        <xsd:schema targetNamespace="urn:simpleType">
        <xsd:simpleType name="testSimpleType">
            <xsd:annotation>
                <xsd:documentation>
                SimpleType Test
                </xsd:documentation>
            </xsd:annotation>
            <xsd:restriction base="xsd:int">

            </xsd:restriction>
        </xsd:simpleType>
        </xsd:schema>
    </types>
    <message name="testRequest">
    <!--  This one is broken on purpose: It's used to test error handling -->
        <part name="test" type="tns:testSimpleType1"/>
    </message>
    <message name="testResponse">
        <part name="test" type="tns:testSimpleType"/>
    </message>
    <portType name="testPort">
        <operation name="test">
            <documentation>
                Test-Methode
            </documentation>

            <input message="tns:testRequest"/>
            <output message="tns:testResponse"/>
        </operation>
    </portType>
    <portType name="testPort2">
        <operation name="test">
            <documentation>
                Test-Methode
            </documentation>

            <input message="tns:testRequest"/>
            <output message="tns:testResponse"/>
        </operation>
    </portType>
    <portType name="testPort3">
        <operation name="test">
            <documentation>
                Test-Methode
            </documentation>

            <input message="tns:testRequest"/>
            <output message="tns:testResponse"/>
        </operation>
    </portType>

    <binding type="tns:testPort" name="testBinding">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="test">

        <soap:operation soapAction="test"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
            </operation>
    </binding>
    <binding type="tns:testPort2" name="testBinding2">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="test">
        <soap:operation soapAction="test"/>
            <input>
                <soap:body use="literal"/>
            </input>
            <output>
                <soap:body use="literal"/>
            </output>
            </operation>
    </binding>
    <binding type="tns:testPort3" name="testBinding3">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="test">

        <soap:operation soapAction="test"/>
                <input>
                  <soap:body use="literal"/>
        </input>
        <output>
                  <soap:body use="literal"/>
        </output>
            </operation>
    </binding>
    <service name="testService">
        <port name="testPort" binding="tns:testBinding">
            <soap:address location="http://127.0.0.1/testPort" />
        </port>
        <port name="testPort2" binding="tns:testBinding2">
            <soap:address location="http://127.0.0.1/testPort2" />
        </port>
        <port name="testPort3" binding="tns:testBinding3">
            <soap:address location="http://127.0.0.1/testPort3" />
        </port>

    </service>
</definitions>