forked from bet365/soap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.wsdl
110 lines (100 loc) · 3.53 KB
/
example.wsdl
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
<?xml version="1.0"?>
<definitions name="contacts"
targetNamespace="http://example.com/contacts.wsdl"
xmlns:tns="http://example.com/contacts.wsdl"
xmlns:types="http://example.com/contacts.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<xsd:schema targetNamespace="http://example.com/contacts.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="contact">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:integer" minOccurs="0"/>
<xsd:element name="first_name" type="xsd:string"/>
<xsd:element name="last_name" type="xsd:string"/>
<xsd:element name="projects" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="id">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="LocaleOptions">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="language" type="xsd:string" minOccurs="0"/>
<xsd:element name="localizeErrors" type="xsd:boolean" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DebuggingHeader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="debugLevel" type="xsd:integer"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<message name="store">
<part name="body" element="types:contact"/>
</message>
<message name="store_response">
<part name="body" element="types:id"/>
</message>
<message name="retrieve">
<part name="body" element="types:id"/>
</message>
<message name="retrieve_response">
<part name="body" element="types:contact"/>
</message>
<message name="Header">
<part element="types:DebuggingHeader" name="DebuggingHeader"/>
<part element="types:LocaleOptions" name="LocaleOptions"/>
</message>
<portType name="contacts_port_type">
<operation name="store">
<input message="tns:store"/>
<output message="tns:store_response"/>
</operation>
<operation name="retrieve">
<input message="tns:retrieve"/>
<output message="tns:retrieve_response"/>
</operation>
</portType>
<binding name="contacts_binding" type="tns:contacts_port_type">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="store">
<soap:operation soapAction="store"/>
<input>
<soap:header use="literal" message="tns:Header" part="LocaleOptions"/>
<soap:header use="literal" message="tns:Header" part="DebuggingHeader"/>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="retrieve">
<soap:operation soapAction="retrieve"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="contacts_service">
<port name="contacts_port" binding="tns:contacts_binding">
<soap:address location="http://localhost:8080"/>
</port>
</service>
</definitions>