File: complexContent.wsdl

package info (click to toggle)
ruby-soap4r 2.0.5-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,032 kB
  • sloc: ruby: 52,729; xml: 266; sh: 42; javascript: 20; makefile: 13; perl: 10
file content (83 lines) | stat: -rw-r--r-- 2,401 bytes parent folder | download | duplicates (5)
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
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="complexContent"
  targetNamespace="urn:complexContent"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:tns="urn:complexContent"
  xmlns:txd="urn:complexContent.type">

  <types>
    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="urn:complexContent.type">
      <complexType name="Base">
        <sequence>
          <element name="Id" type="xsd:string"
            nillable="false" minOccurs="0" maxOccurs="1"/>
          <element name="Type" type="xsd:string"
            nillable="true" minOccurs="0" maxOccurs="1"/>
        </sequence>
      </complexType>

      <complexType name="Derived">
        <complexContent>
          <extension base="txd:Base">
            <sequence>
              <element name="Name" type="xsd:string"/>
            </sequence>
          </extension>
        </complexContent>
      </complexType>
    </schema>

    <schema elementFormDefault="qualified"
      xmlns="http://www.w3.org/2001/XMLSchema"
      targetNamespace="urn:complexContent">
      <element name="Derived" type="txd:Derived"/>

      <element name="echo">
        <complexType>
          <sequence>
            <element name="item" type="txd:Derived"/>
          </sequence>
        </complexType>
      </element>
    </schema>
  </types>

  <message name="echoRequest">
    <part element="tns:echo" name="parameters"/>
  </message>

  <message name="echoResponse">
    <part element="tns:echo" name="parameters"/>
  </message>

  <portType name="Soap">
    <operation name="echo">
      <input  message="tns:echoRequest"/>
      <output message="tns:echoResponse"/>
    </operation>
  </portType> 

  <binding name="SoapBinding" type="tns:Soap">
    <soap:binding style="document"
      transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="echo">
      <soap:operation soapAction=""/>
      <input>
        <soap:body parts="parameters" use="literal"/>
      </input>
      <output> 
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>

  <service name="complexContentService">
    <port binding="tns:SoapBinding" name="Soap">
      <soap:address location="http://localhost:17171/"/>
    </port>
  </service>
</definitions>