File: wsdl_doc.wsdl

package info (click to toggle)
libaws 20.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,656 kB
  • sloc: ada: 95,505; python: 2,270; ansic: 1,017; makefile: 829; xml: 235; javascript: 202; java: 112; sh: 106
file content (131 lines) | stat: -rw-r--r-- 4,214 bytes parent folder | download | duplicates (3)
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloService"
             targetNamespace="http://www.s.com/wsdl/hs.wsdl"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:tns="http://www.s.com/wsdl/hs.wsdl"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:ns1="urn:examples:helloservice">

  <types>
    <schema>
      <complexType name="ArrayOffloat">
        <xsd:annotation>
          <xsd:documentation>
            A set of float
          </xsd:documentation>
        </xsd:annotation>
        <complexContent>
          <restriction base="soap-enc:Array">
            <attribute ref="soap-enc:arrayType" arrayType="xsd:float[]"/>
          </restriction>
        </complexContent>
      </complexType>

      <xsd:complexType name="HelloResponse">
        <xsd:annotation>
          <xsd:documentation>
            A message/token pair
          </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
          <xsd:element name="message" type="xsd:string">
            <xsd:annotation>
              <xsd:documentation>
                The reponse string.
              </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
          <xsd:element name="token" type="xsd:short">
            <xsd:annotation>
              <xsd:documentation>
                Value representing the length of the response.
              </xsd:documentation>
            </xsd:annotation>
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </schema>
  </types>

  <message name="SayHelloRequest">
    <part name="firstName" type="xsd:string"/>
  </message>
  <message name="SayHelloResponse">
    <part name="greeting" type="HelloResponse"/>
  </message>

  <message name="CallRequest">
    <part name="firstName" type="ArrayOffloat"/>
  </message>
  <message name="CallResponse">
    <part name="greeting" type="xsd:int"/>
  </message>

  <portType name="Hello_PortType">
    <documentation>
      This web service provides a simple Hello World.
    </documentation>
    <operation name="sayHello">
      <documentation>
        Called with a firstName, and returns a greeting message.
    This is very simple SOAP callback. The input message is a simple string,
        the response is a complexType with the response and a uniq token value.
      </documentation>
      <input message="tns:SayHelloRequest"/>
      <output message="tns:SayHelloResponse"/>
    </operation>
    <operation name="call">
      <documentation>
        just for the documentation validation.
      </documentation>
      <input message="tns:CallRequest"/>
      <output message="tns:CallResponse"/>
    </operation>
  </portType>

  <binding name="Hello_Binding" type="tns:Hello_PortType">
    <soap:binding style="rpc"
                  transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="sayHello">
      <soap:operation soapAction="sayHello"/>
      <input>
        <soap:body
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            namespace="urn:examples:helloservice"
            use="encoded"/>
      </input>
      <output>
        <soap:body
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            namespace="urn:examples:helloservice"
            use="encoded"/>
      </output>
    </operation>
    <operation name="call">
      <soap:operation soapAction="sayHello"/>
      <input>
        <soap:body
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            namespace="urn:examples:helloservice"
            use="encoded"/>
      </input>
      <output>
        <soap:body
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
            namespace="urn:examples:helloservice"
            use="encoded"/>
      </output>
    </operation>
  </binding>

  <service name="R_Hello_Demo">
    <documentation>
      WSDL File for Hello AWS Demo.
    </documentation>
    <port binding="tns:Hello_Binding" name="Hello_Port">
      <soap:address
          location="http://localhost:9836/hello"/>
    </port>
  </service>
</definitions>