summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-integration/samples/sca/echo-databinding/src/test/resources/wsdl/echo.wsdl
blob: 5749bd8aff4de4f4f5dec65bbeb2bb03d34dfbc7 (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
<?xml version="1.0"?>
<definitions name="StockQuote" targetNamespace="http://example.com/echo.wsdl" xmlns:tns="http://example.com/echo.wsdl"
    xmlns:xsd1="http://example.com/echo.xsd" xmlns="http://schemas.xmlsoap.org/wsdl/">

    <types>
        <schema targetNamespace="http://example.com/echo.xsd" xmlns:tns="http://example.com/echo.xsd"
            xmlns="http://www.w3.org/2001/XMLSchema">
            <complexType name="messageType">
                <sequence>
                    <element name="foo" type="string"></element>
                </sequence>
            </complexType>
            <element name="echo">
                <complexType>
                    <sequence>
                        <element name="message" type="tns:messageType" />
                    </sequence>
                </complexType>
            </element>
            <element name="echoResponse">
                <complexType>
                    <sequence>
                        <element name="message" type="tns:messageType" />
                    </sequence>
                </complexType>
            </element>
        </schema>
    </types>

    <message name="EchoInput">
        <part name="body" element="xsd1:echo" />
    </message>

    <message name="EchoOutput">
        <part name="body" element="xsd1:echoResponse" />
    </message>

    <portType name="EchoPortType">
        <operation name="echo">
            <input message="tns:EchoInput" />
            <output message="tns:EchoOutput" />
        </operation>
    </portType>

</definitions>