File: soap_header.wsdl

package info (click to toggle)
python-zeep 4.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,600 kB
  • sloc: python: 15,551; makefile: 13
file content (91 lines) | stat: -rw-r--r-- 3,229 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
84
85
86
87
88
89
90
91
<?xml version="1.0"?>
<definitions 
  xmlns:tns="http://example.com/stockquote.wsdl" 
  xmlns:xsd1="http://example.com/stockquote.xsd" 
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  xmlns="http://schemas.xmlsoap.org/wsdl/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  name="StockQuote" 
  targetNamespace="http://example.com/stockquote.wsdl">
  <types>
    <schema 
      xmlns="http://www.w3.org/2001/XMLSchema" 
      targetNamespace="http://example.com/stockquote.xsd">
      <complexType name="Address">
        <sequence>
          <element minOccurs="0" maxOccurs="1" name="NameFirst" type="string"/>
          <element minOccurs="0" maxOccurs="1" name="NameLast" type="string"/>
          <element minOccurs="0" maxOccurs="1" name="Email" type="string"/>
        </sequence>
      </complexType>
      <element name="TradePriceRequest">
        <complexType>
          <all>
            <element name="tickerSymbol" type="string"/>
          </all>
        </complexType>
      </element>
      <element name="TradePrice">
        <complexType>
          <all>
            <element name="price" type="float"/>
          </all>
        </complexType>
      </element>
      <element name="Authentication">
        <complexType>
          <sequence>
            <element name="username" type="string"/>
            <element name="password" type="string"/>
          </sequence>
        </complexType>
      </element>
      <element name="Token">
        <complexType>
          <sequence>
            <element name="value" type="string"/>
          </sequence>
        </complexType>
      </element>
    </schema>
  </types>
  <message name="GetLastTradePriceInput">
    <part name="header" element="xsd1:Authentication"/>
    <part name="token" element="xsd1:Token"/>
    <part name="body" element="xsd1:TradePriceRequest"/>
  </message>
  <message name="GetLastTradePriceOutput">
    <part name="body" element="xsd1:TradePrice"/>
  </message>
  <message name="OptionalResponseHeader">
    <part name="body" type="xsd:string"/>
  </message>

  <portType name="StockQuotePortType">
    <operation name="GetLastTradePrice">
      <input message="tns:GetLastTradePriceInput"/>
      <output message="tns:GetLastTradePriceOutput"/>
    </operation>
  </portType>
  <binding name="StockQuoteBinding" type="tns:StockQuotePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetLastTradePrice">
      <soap:operation soapAction="http://example.com/GetLastTradePrice"/>
      <input>
        <soap:header message="tns:GetLastTradePriceInput" part="header" use="literal"/>
        <soap:header message="tns:GetLastTradePriceInput" part="token" use="literal"/>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
        <soap:header message="tns:OptionalResponseHeader" part="body" use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="StockQuoteService">
    <documentation>My first service</documentation>
    <port name="StockQuotePort" binding="tns:StockQuoteBinding">
      <soap:address location="http://example.com/stockquote"/>
    </port>
  </service>
</definitions>