File: test_http_post.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 (74 lines) | stat: -rw-r--r-- 2,161 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
<?xml version="1.0"?>
<definitions 
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
  xmlns:tns="http://test.python-zeep.org/tns/"
  targetNamespace="http://test.python-zeep.org/tns/">
  <types>
    <xsd:schema></xsd:schema>
  </types>
  <message name="m1">
    <part name="tickerSymbol" type="xsd:string"/>
  </message>
  <message name="m2">
    <part name="image" type="xsd:hexBinary"/>
  </message>
  <portType name="pt1">
    <operation name="o1">
      <input message="tns:m1"/>
      <output message="tns:m2"/>
    </operation>
  </portType>
  <binding name="b1" type="pt1">
    <http:binding verb="GET"/>
    <operation name="o1">
      <http:operation location="/o1/(tickerSymbol)/"/>
      <input>
        <http:urlReplacement/>
      </input>
      <output>
        <mime:content type="image/gif"/>
        <mime:content type="image/jpeg"/>
      </output>
    </operation>
  </binding>
  <binding name="b2" type="pt1">
    <http:binding verb="GET"/>
    <operation name="o1">
      <http:operation location="/o1"/>
      <input>
        <http:urlEncoded/>
      </input>
      <output>
        <mime:content type="image/gif"/>
        <mime:content type="image/jpeg"/>
      </output>
    </operation>
  </binding>
  <binding name="b3" type="pt1">
    <http:binding verb="POST"/>
    <operation name="o1">
      <http:operation location="/o1"/>
      <input>
        <mime:content type="application/x-www-form-urlencoded"/>
      </input>
      <output>
        <mime:content type="image/gif"/>
        <mime:content type="image/jpeg"/>
      </output>
    </operation>
  </binding>
  <service name="CompanyInfoService">
    <port name="Port1" binding="tns:b1">
      <http:address location="http://example.com/companyinfo"/>
    </port>
    <port name="Port2" binding="tns:b2">
      <http:address location="http://example.com/companyinfo"/>
    </port>
    <port name="Port3" binding="tns:b3">
      <http:address location="http://example.com/companyinfo"/>
    </port>
  </service>
</definitions>