File: 04_element.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 (72 lines) | stat: -rw-r--r-- 2,304 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
<?xml version="1.0"?>
<definitions
    targetNamespace="urn:Test"
    xmlns:tns="urn:Test"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
>
    <types>
        <xsd:schema targetNamespace="urn:Test">
            <xsd:element name="testElement1" type="xsd:string" />
            <xsd:element name="testElement2" type="xsd:int" />
            <xsd:element name="testElementRef" ref="tns:testElement1" />
        </xsd:schema>
    </types>
    <message name="testRequest">
        <part name="testAll" element="tns:testElement1"/>
    </message>
    <message name="testRefRequest">
      <part name="testAll" element="tns:testElementRef"/>
    </message>

    <message name="testResponse">
        <part name="testAll" element="tns:testElement1"/>
    </message>
    <portType name="testPort">
        <operation name="test">
            <documentation>
                Test-Methode
            </documentation>

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

          <input message="tns:testRefRequest"/>
          <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>
      <operation name="testRef">
        <soap:operation soapAction="testRef"/>
          <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>
    </service>
</definitions>