wasabi 3.6.1 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +7 -8
  4. data/lib/wasabi/parser.rb +3 -15
  5. data/lib/wasabi/version.rb +1 -1
  6. metadata +5 -137
  7. data/spec/fixtures/authentication.wsdl +0 -63
  8. data/spec/fixtures/brand.wsdl +0 -624
  9. data/spec/fixtures/economic.wsdl +0 -65660
  10. data/spec/fixtures/encoded_endpoint.wsdl +0 -52
  11. data/spec/fixtures/geotrust.wsdl +0 -156
  12. data/spec/fixtures/import_port_types.wsdl +0 -86
  13. data/spec/fixtures/inherited.wsdl +0 -46
  14. data/spec/fixtures/juniper.wsdl +0 -215
  15. data/spec/fixtures/lower_camel.wsdl +0 -52
  16. data/spec/fixtures/marketo.wsdl +0 -1630
  17. data/spec/fixtures/multiple_namespaces.wsdl +0 -61
  18. data/spec/fixtures/multiple_parts_in_message.wsdl +0 -66
  19. data/spec/fixtures/multiple_types.wsdl +0 -60
  20. data/spec/fixtures/namespaced_actions.wsdl +0 -307
  21. data/spec/fixtures/no_message_parts.wsdl +0 -85
  22. data/spec/fixtures/no_namespace.wsdl +0 -115
  23. data/spec/fixtures/savon295.wsdl +0 -52
  24. data/spec/fixtures/soap12.wsdl +0 -11
  25. data/spec/fixtures/symbolic_endpoint.wsdl +0 -190
  26. data/spec/fixtures/tradetracker.wsdl +0 -1330
  27. data/spec/fixtures/two_bindings.wsdl +0 -24
  28. data/spec/spec_helper.rb +0 -17
  29. data/spec/support/adapter.rb +0 -20
  30. data/spec/support/fixture.rb +0 -42
  31. data/spec/support/profiling.rb +0 -20
  32. data/spec/wasabi/core_ext/string_spec.rb +0 -39
  33. data/spec/wasabi/document/authentication_spec.rb +0 -39
  34. data/spec/wasabi/document/economic_spec.rb +0 -15
  35. data/spec/wasabi/document/encoded_endpoint_spec.rb +0 -16
  36. data/spec/wasabi/document/geotrust_spec.rb +0 -40
  37. data/spec/wasabi/document/inherited_spec.rb +0 -43
  38. data/spec/wasabi/document/multiple_namespaces_spec.rb +0 -57
  39. data/spec/wasabi/document/namespaced_actions_spec.rb +0 -41
  40. data/spec/wasabi/document/no_namespace_spec.rb +0 -41
  41. data/spec/wasabi/document/savon295_spec.rb +0 -20
  42. data/spec/wasabi/document/soap12_spec.rb +0 -16
  43. data/spec/wasabi/document/two_bindings_spec.rb +0 -31
  44. data/spec/wasabi/document_spec.rb +0 -60
  45. data/spec/wasabi/parser/get_servicename_spec.rb +0 -21
  46. data/spec/wasabi/parser/import_port_types_spec.rb +0 -24
  47. data/spec/wasabi/parser/juniper_spec.rb +0 -25
  48. data/spec/wasabi/parser/marketo_spec.rb +0 -19
  49. data/spec/wasabi/parser/multiple_namespaces_spec.rb +0 -42
  50. data/spec/wasabi/parser/multiple_parts_in_message_spec.rb +0 -33
  51. data/spec/wasabi/parser/no_message_parts_spec.rb +0 -34
  52. data/spec/wasabi/parser/no_namespace_spec.rb +0 -28
  53. data/spec/wasabi/parser/no_target_namespace_spec.rb +0 -38
  54. data/spec/wasabi/parser/softlayer_spec.rb +0 -20
  55. data/spec/wasabi/parser/symbolic_endpoint_spec.rb +0 -23
  56. data/spec/wasabi/parser/tradetracker_spec.rb +0 -19
  57. data/spec/wasabi/resolver_spec.rb +0 -57
  58. data/spec/wasabi/wasabi_spec.rb +0 -14
@@ -1,61 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <definitions
3
- xmlns="http://schemas.xmlsoap.org/wsdl/"
4
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
5
- xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
6
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9
- xmlns:s="http://www.w3.org/2001/XMLSchema"
10
- xmlns:article="http://example.com/article"
11
- xmlns:actions="http://example.com/actions"
12
- targetNamespace="http://example.com/actions">
13
- <types>
14
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
15
- <s:element name="Save">
16
- <s:complexType>
17
- <s:sequence>
18
- <s:element name="article" type="article:Article"/>
19
- </s:sequence>
20
- </s:complexType>
21
- </s:element>
22
- </s:schema>
23
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/article">
24
- <s:complexType name="Article">
25
- <s:sequence>
26
- <s:element minOccurs="0" name="Author" type="s:string"/>
27
- <s:element minOccurs="0" name="Title" type="s:string"/>
28
- </s:sequence>
29
- </s:complexType>
30
- </s:schema>
31
- </types>
32
- <message name="SaveSoapIn">
33
- <part name="parameters" element="actions:Save"/>
34
- </message>
35
- <message name="SaveSoapOut">
36
- <part name="parameters" element="actions:SaveResponse"/>
37
- </message>
38
- <portType name="ArticleSoap">
39
- <operation name="Save">
40
- <input message="actions:SaveSoapIn"/>
41
- <output message="actions:SaveSoapOut"/>
42
- </operation>
43
- </portType>
44
- <binding name="ArticleSoap" type="actions:ArticleSoap">
45
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
46
- <operation name="Save">
47
- <soap:operation soapAction="http://example.com/actions.Save" style="document"/>
48
- <input>
49
- <soap:body use="literal"/>
50
- </input>
51
- <output>
52
- <soap:body use="literal"/>
53
- </output>
54
- </operation>
55
- </binding>
56
- <service name="StudyMDL">
57
- <port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
58
- <soap:address location="http://example.com:1234/soap"/>
59
- </port>
60
- </service>
61
- </definitions>
@@ -1,66 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <definitions
3
- xmlns="http://schemas.xmlsoap.org/wsdl/"
4
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
5
- xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
6
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9
- xmlns:s="http://www.w3.org/2001/XMLSchema"
10
- xmlns:actions="http://example.com/actions"
11
- targetNamespace="http://example.com/topLevelNamespace">
12
- <types>
13
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
14
- <s:element name="SomeRequest">
15
- <s:complexType>
16
- <s:sequence>
17
- <s:element name="status" type="s:string"/>
18
- </s:sequence>
19
- </s:complexType>
20
- </s:element>
21
- </s:schema>
22
- </types>
23
- <message name="SomeInput">
24
- <part name="parameters" element="actions:SomeRequest"/>
25
- <part name="requestBody" element="actions:SomeRequestBody"/>
26
- </message>
27
- <message name="SomeOutput">
28
- <part name="parameters" element="actions:SomeResponse"/>
29
- </message>
30
- <portType name="ExamplePortType">
31
- <operation name="SomeOperation">
32
- <input message="actions:SomeInput"/>
33
- <output message="actions:SomeOutput"/>
34
- </operation>
35
- <operation name="OtherOperation">
36
- <input message="actions:SomeInput"/>
37
- <output message="actions:SomeOutput"/>
38
- </operation>
39
- </portType>
40
- <binding name="ExampleBinding" type="actions:ExamplePortType">
41
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
42
- <operation name="SomeOperation">
43
- <soap:operation soapAction="http://example.com/actions.SomeOperation" style="document"/>
44
- <input>
45
- <soap:body parts="requestBody" use="literal"/>
46
- </input>
47
- <output>
48
- <soap:body use="literal"/>
49
- </output>
50
- </operation>
51
- <operation name="OtherOperation">
52
- <soap:operation soapAction="http://example.com/actions.SomeOperation" style="document"/>
53
- <input>
54
- <soap:body use="literal"/>
55
- </input>
56
- <output>
57
- <soap:body use="literal"/>
58
- </output>
59
- </operation>
60
- </binding>
61
- <service name="ExampleService">
62
- <port name="ExamplePort" binding="actions:ExampleBinding">
63
- <soap:address location="http://localhost/soapservice/execute?path=%2Fbase%2Fincludes%2FTest+Soap%2FReturn+Rows"/>
64
- </port>
65
- </service>
66
- </definitions>
@@ -1,60 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <definitions
3
- xmlns="http://schemas.xmlsoap.org/wsdl/"
4
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
5
- xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
6
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9
- xmlns:s="http://www.w3.org/2001/XMLSchema"
10
- xmlns:article="http://example.com/article"
11
- xmlns:actions="http://example.com/actions"
12
- targetNamespace="http://example.com/actions">
13
- <types>
14
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
15
- <s:element name="Save">
16
- <s:complexType>
17
- <s:sequence>
18
- <s:element name="article" type="s:string"/>
19
- </s:sequence>
20
- </s:complexType>
21
- </s:element>
22
- <s:element name="Get">
23
- <s:complexType>
24
- <s:sequence>
25
- <s:element name="articleId" type="s:long"/>
26
- </s:sequence>
27
- </s:complexType>
28
- </s:element>
29
- </s:schema>
30
- </types>
31
- <message name="SaveSoapIn">
32
- <part name="parameters" element="actions:Save"/>
33
- </message>
34
- <message name="SaveSoapOut">
35
- <part name="parameters" element="actions:SaveResponse"/>
36
- </message>
37
- <portType name="ArticleSoap">
38
- <operation name="Save">
39
- <input message="actions:SaveSoapIn"/>
40
- <output message="actions:SaveSoapOut"/>
41
- </operation>
42
- </portType>
43
- <binding name="ArticleSoap" type="actions:ArticleSoap">
44
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
45
- <operation name="Save">
46
- <soap:operation soapAction="http://example.com/actions.Save" style="document"/>
47
- <input>
48
- <soap:body use="literal"/>
49
- </input>
50
- <output>
51
- <soap:body use="literal"/>
52
- </output>
53
- </operation>
54
- </binding>
55
- <service name="StudyMDL">
56
- <port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
57
- <soap:address location="http://example.com:1234/soap"/>
58
- </port>
59
- </service>
60
- </definitions>
@@ -1,307 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://api.example.com/api/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://api.example.com/api/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
- <wsdl:types>
4
- <s:schema elementFormDefault="qualified" targetNamespace="http://api.example.com/api/">
5
- <s:element name="User.GetApiKey">
6
- <s:complexType>
7
- <s:sequence>
8
- <s:element minOccurs="0" maxOccurs="1" name="SiteUrl" type="s:string"/>
9
- <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string"/>
10
- <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string"/>
11
- </s:sequence>
12
- </s:complexType>
13
- </s:element>
14
- <s:element name="User.GetApiKeyResponse">
15
- <s:complexType>
16
- <s:sequence>
17
- <s:element minOccurs="0" maxOccurs="1" name="User.GetApiKeyResult"/>
18
- </s:sequence>
19
- </s:complexType>
20
- </s:element>
21
- <s:complexType name="Result">
22
- <s:sequence>
23
- <s:element minOccurs="1" maxOccurs="1" name="Code" type="s:int"/>
24
- <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string"/>
25
- </s:sequence>
26
- </s:complexType>
27
- <s:complexType name="Client">
28
- <s:sequence>
29
- <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string"/>
30
- <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
31
- </s:sequence>
32
- </s:complexType>
33
- <s:complexType name="ArrayOfClient">
34
- <s:sequence>
35
- <s:element minOccurs="0" maxOccurs="unbounded" name="Client" nillable="true" type="tns:Client"/>
36
- </s:sequence>
37
- </s:complexType>
38
- <s:element name="Client.Delete">
39
- <s:complexType>
40
- <s:sequence>
41
- <s:element minOccurs="0" maxOccurs="1" name="ApiKey" type="s:string"/>
42
- <s:element minOccurs="0" maxOccurs="1" name="ClientID" type="s:string"/>
43
- </s:sequence>
44
- </s:complexType>
45
- </s:element>
46
- <s:element name="Client.DeleteResponse">
47
- <s:complexType>
48
- <s:sequence>
49
- <s:element minOccurs="0" maxOccurs="1" name="Client.DeleteResult" type="tns:Result"/>
50
- </s:sequence>
51
- </s:complexType>
52
- </s:element>
53
- <s:element name="User.GetClients">
54
- <s:complexType>
55
- <s:sequence>
56
- <s:element minOccurs="0" maxOccurs="1" name="ApiKey" type="s:string"/>
57
- </s:sequence>
58
- </s:complexType>
59
- </s:element>
60
- <s:element name="User.GetClientsResponse">
61
- <s:complexType>
62
- <s:sequence>
63
- <s:element minOccurs="0" maxOccurs="1" name="User.GetClientsResult"/>
64
- </s:sequence>
65
- </s:complexType>
66
- </s:element>
67
- <s:element name="anyType" nillable="true"/>
68
- <s:element name="Result" nillable="true" type="tns:Result"/>
69
- </s:schema>
70
- </wsdl:types>
71
- <wsdl:message name="User.GetApiKeySoapIn">
72
- <wsdl:part name="parameters" element="tns:User.GetApiKey"/>
73
- </wsdl:message>
74
- <wsdl:message name="User.GetApiKeySoapOut">
75
- <wsdl:part name="parameters" element="tns:User.GetApiKeyResponse"/>
76
- </wsdl:message>
77
- <wsdl:message name="Client.DeleteSoapIn">
78
- <wsdl:part name="parameters" element="tns:Client.Delete"/>
79
- </wsdl:message>
80
- <wsdl:message name="Client.DeleteSoapOut">
81
- <wsdl:part name="parameters" element="tns:Client.DeleteResponse"/>
82
- </wsdl:message>
83
- <wsdl:message name="User.GetClientsSoapIn">
84
- <wsdl:part name="parameters" element="tns:User.GetClients"/>
85
- </wsdl:message>
86
- <wsdl:message name="User.GetClientsSoapOut">
87
- <wsdl:part name="parameters" element="tns:User.GetClientsResponse"/>
88
- </wsdl:message>
89
- <wsdl:message name="User.GetApiKeyHttpGetIn">
90
- <wsdl:part name="SiteUrl" type="s:string"/>
91
- <wsdl:part name="Username" type="s:string"/>
92
- <wsdl:part name="Password" type="s:string"/>
93
- </wsdl:message>
94
- <wsdl:message name="User.GetApiKeyHttpGetOut">
95
- <wsdl:part name="Body" element="tns:anyType"/>
96
- </wsdl:message>
97
- <wsdl:message name="Client.DeleteHttpGetIn">
98
- <wsdl:part name="ApiKey" type="s:string"/>
99
- <wsdl:part name="ClientID" type="s:string"/>
100
- </wsdl:message>
101
- <wsdl:message name="Client.DeleteHttpGetOut">
102
- <wsdl:part name="Body" element="tns:Result"/>
103
- </wsdl:message>
104
- <wsdl:message name="User.GetClientsHttpGetIn">
105
- <wsdl:part name="ApiKey" type="s:string"/>
106
- </wsdl:message>
107
- <wsdl:message name="User.GetClientsHttpGetOut">
108
- <wsdl:part name="Body" element="tns:anyType"/>
109
- </wsdl:message>
110
- <wsdl:message name="User.GetApiKeyHttpPostIn">
111
- <wsdl:part name="SiteUrl" type="s:string"/>
112
- <wsdl:part name="Username" type="s:string"/>
113
- <wsdl:part name="Password" type="s:string"/>
114
- </wsdl:message>
115
- <wsdl:message name="User.GetApiKeyHttpPostOut">
116
- <wsdl:part name="Body" element="tns:anyType"/>
117
- </wsdl:message>
118
- <wsdl:message name="Client.DeleteHttpPostIn">
119
- <wsdl:part name="ApiKey" type="s:string"/>
120
- <wsdl:part name="ClientID" type="s:string"/>
121
- </wsdl:message>
122
- <wsdl:message name="Client.DeleteHttpPostOut">
123
- <wsdl:part name="Body" element="tns:Result"/>
124
- </wsdl:message>
125
- <wsdl:message name="User.GetClientsHttpPostIn">
126
- <wsdl:part name="ApiKey" type="s:string"/>
127
- </wsdl:message>
128
- <wsdl:message name="User.GetClientsHttpPostOut">
129
- <wsdl:part name="Body" element="tns:anyType"/>
130
- </wsdl:message>
131
- <wsdl:portType name="apiSoap">
132
- <wsdl:operation name="GetApiKey">
133
- <wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeySoapIn"/>
134
- <wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeySoapOut"/>
135
- </wsdl:operation>
136
- <wsdl:operation name="DeleteClient">
137
- <wsdl:input name="Client.Delete" message="tns:Client.DeleteSoapIn"/>
138
- <wsdl:output name="Client.Delete" message="tns:Client.DeleteSoapOut"/>
139
- </wsdl:operation>
140
- <wsdl:operation name="GetClients">
141
- <wsdl:input name="User.GetClients" message="tns:User.GetClientsSoapIn"/>
142
- <wsdl:output name="User.GetClients" message="tns:User.GetClientsSoapOut"/>
143
- </wsdl:operation>
144
- </wsdl:portType>
145
- <wsdl:portType name="apiHttpGet">
146
- <wsdl:operation name="GetApiKey">
147
- <wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeyHttpGetIn"/>
148
- <wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeyHttpGetOut"/>
149
- </wsdl:operation>
150
- <wsdl:operation name="DeleteClient">
151
- <wsdl:input name="Client.Delete" message="tns:Client.DeleteHttpGetIn"/>
152
- <wsdl:output name="Client.Delete" message="tns:Client.DeleteHttpGetOut"/>
153
- </wsdl:operation>
154
- <wsdl:operation name="GetClients">
155
- <wsdl:input name="User.GetClients" message="tns:User.GetClientsHttpGetIn"/>
156
- <wsdl:output name="User.GetClients" message="tns:User.GetClientsHttpGetOut"/>
157
- </wsdl:operation>
158
- </wsdl:portType>
159
- <wsdl:portType name="apiHttpPost">
160
- <wsdl:operation name="GetApiKey">
161
- <wsdl:input name="User.GetApiKey" message="tns:User.GetApiKeyHttpPostIn"/>
162
- <wsdl:output name="User.GetApiKey" message="tns:User.GetApiKeyHttpPostOut"/>
163
- </wsdl:operation>
164
- <wsdl:operation name="DeleteClient">
165
- <wsdl:input name="Client.Delete" message="tns:Client.DeleteHttpPostIn"/>
166
- <wsdl:output name="Client.Delete" message="tns:Client.DeleteHttpPostOut"/>
167
- </wsdl:operation>
168
- <wsdl:operation name="GetClients">
169
- <wsdl:input name="User.GetClients" message="tns:User.GetClientsHttpPostIn"/>
170
- <wsdl:output name="User.GetClients" message="tns:User.GetClientsHttpPostOut"/>
171
- </wsdl:operation>
172
- </wsdl:portType>
173
- <wsdl:binding name="apiSoap" type="tns:apiSoap">
174
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
175
- <wsdl:operation name="GetApiKey">
176
- <soap:operation soapAction="http://api.example.com/api/User.GetApiKey" style="document"/>
177
- <wsdl:input name="User.GetApiKey">
178
- <soap:body use="literal"/>
179
- </wsdl:input>
180
- <wsdl:output name="User.GetApiKey">
181
- <soap:body use="literal"/>
182
- </wsdl:output>
183
- </wsdl:operation>
184
- <wsdl:operation name="DeleteClient">
185
- <soap:operation soapAction="http://api.example.com/api/Client.Delete" style="document"/>
186
- <wsdl:input name="Client.Delete">
187
- <soap:body use="literal"/>
188
- </wsdl:input>
189
- <wsdl:output name="Client.Delete">
190
- <soap:body use="literal"/>
191
- </wsdl:output>
192
- </wsdl:operation>
193
- <wsdl:operation name="GetClients">
194
- <soap:operation soapAction="http://api.example.com/api/User.GetClients" style="document"/>
195
- <wsdl:input name="User.GetClients">
196
- <soap:body use="literal"/>
197
- </wsdl:input>
198
- <wsdl:output name="User.GetClients">
199
- <soap:body use="literal"/>
200
- </wsdl:output>
201
- </wsdl:operation>
202
- </wsdl:binding>
203
- <wsdl:binding name="apiSoap12" type="tns:apiSoap">
204
- <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
205
- <wsdl:operation name="GetApiKey">
206
- <soap12:operation soapAction="http://api.example.com/api/User.GetApiKey" style="document"/>
207
- <wsdl:input name="User.GetApiKey">
208
- <soap12:body use="literal"/>
209
- </wsdl:input>
210
- <wsdl:output name="User.GetApiKey">
211
- <soap12:body use="literal"/>
212
- </wsdl:output>
213
- </wsdl:operation>
214
- <wsdl:operation name="DeleteClient">
215
- <soap12:operation soapAction="http://api.example.com/api/Client.Delete" style="document"/>
216
- <wsdl:input name="Client.Delete">
217
- <soap12:body use="literal"/>
218
- </wsdl:input>
219
- <wsdl:output name="Client.Delete">
220
- <soap12:body use="literal"/>
221
- </wsdl:output>
222
- </wsdl:operation>
223
- <wsdl:operation name="GetClients">
224
- <soap12:operation soapAction="http://api.example.com/api/User.GetClients" style="document"/>
225
- <wsdl:input name="User.GetClients">
226
- <soap12:body use="literal"/>
227
- </wsdl:input>
228
- <wsdl:output name="User.GetClients">
229
- <soap12:body use="literal"/>
230
- </wsdl:output>
231
- </wsdl:operation>
232
- </wsdl:binding>
233
- <wsdl:binding name="apiHttpGet" type="tns:apiHttpGet">
234
- <http:binding verb="GET"/>
235
- <wsdl:operation name="GetApiKey">
236
- <http:operation location="/User.GetApiKey"/>
237
- <wsdl:input name="User.GetApiKey">
238
- <http:urlEncoded/>
239
- </wsdl:input>
240
- <wsdl:output name="User.GetApiKey">
241
- <mime:mimeXml part="Body"/>
242
- </wsdl:output>
243
- </wsdl:operation>
244
- <wsdl:operation name="DeleteClient">
245
- <http:operation location="/Client.Delete"/>
246
- <wsdl:input name="Client.Delete">
247
- <http:urlEncoded/>
248
- </wsdl:input>
249
- <wsdl:output name="Client.Delete">
250
- <mime:mimeXml part="Body"/>
251
- </wsdl:output>
252
- </wsdl:operation>
253
- <wsdl:operation name="GetClients">
254
- <http:operation location="/User.GetClients"/>
255
- <wsdl:input name="User.GetClients">
256
- <http:urlEncoded/>
257
- </wsdl:input>
258
- <wsdl:output name="User.GetClients">
259
- <mime:mimeXml part="Body"/>
260
- </wsdl:output>
261
- </wsdl:operation>
262
- </wsdl:binding>
263
- <wsdl:binding name="apiHttpPost" type="tns:apiHttpPost">
264
- <http:binding verb="POST"/>
265
- <wsdl:operation name="GetApiKey">
266
- <http:operation location="/User.GetApiKey"/>
267
- <wsdl:input name="User.GetApiKey">
268
- <mime:content type="application/x-www-form-urlencoded"/>
269
- </wsdl:input>
270
- <wsdl:output name="User.GetApiKey">
271
- <mime:mimeXml part="Body"/>
272
- </wsdl:output>
273
- </wsdl:operation>
274
- <wsdl:operation name="DeleteClient">
275
- <http:operation location="/Client.Delete"/>
276
- <wsdl:input name="Client.Delete">
277
- <mime:content type="application/x-www-form-urlencoded"/>
278
- </wsdl:input>
279
- <wsdl:output name="Client.Delete">
280
- <mime:mimeXml part="Body"/>
281
- </wsdl:output>
282
- </wsdl:operation>
283
- <wsdl:operation name="GetClients">
284
- <http:operation location="/User.GetClients"/>
285
- <wsdl:input name="User.GetClients">
286
- <mime:content type="application/x-www-form-urlencoded"/>
287
- </wsdl:input>
288
- <wsdl:output name="User.GetClients">
289
- <mime:mimeXml part="Body"/>
290
- </wsdl:output>
291
- </wsdl:operation>
292
- </wsdl:binding>
293
- <wsdl:service name="api">
294
- <wsdl:port name="apiSoap" binding="tns:apiSoap">
295
- <soap:address location="https://api.example.com/api/api.asmx"/>
296
- </wsdl:port>
297
- <wsdl:port name="apiSoap12" binding="tns:apiSoap12">
298
- <soap12:address location="https://api.example.com/api/api.asmx"/>
299
- </wsdl:port>
300
- <wsdl:port name="apiHttpGet" binding="tns:apiHttpGet">
301
- <http:address location="https://api.example.com/api/api.asmx"/>
302
- </wsdl:port>
303
- <wsdl:port name="apiHttpPost" binding="tns:apiHttpPost">
304
- <http:address location="https://api.example.com/api/api.asmx"/>
305
- </wsdl:port>
306
- </wsdl:service>
307
- </wsdl:definitions>
@@ -1,85 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <definitions
3
- xmlns="http://schemas.xmlsoap.org/wsdl/"
4
- xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
5
- xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
6
- xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
7
- xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
8
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9
- xmlns:s="http://www.w3.org/2001/XMLSchema"
10
- xmlns:article="http://example.com/article"
11
- xmlns:actions="http://example.com/actions"
12
- targetNamespace="http://example.com/actions">
13
- <types>
14
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
15
- <s:element name="Save">
16
- <s:complexType>
17
- <s:sequence>
18
- <s:element name="article" type="article:Article"/>
19
- </s:sequence>
20
- </s:complexType>
21
- </s:element>
22
- <s:element name="Delete">
23
- <s:complexType>
24
- <s:sequence>
25
- <s:element name="article" type="article:Article"/>
26
- </s:sequence>
27
- </s:complexType>
28
- </s:element>
29
-
30
- </s:schema>
31
- <s:schema elementFormDefault="qualified" targetNamespace="http://example.com/article">
32
- <s:complexType name="Article">
33
- <s:sequence>
34
- <s:element minOccurs="0" name="Author" type="s:string"/>
35
- <s:element minOccurs="0" name="Title" type="s:string"/>
36
- </s:sequence>
37
- </s:complexType>
38
- </s:schema>
39
- </types>
40
- <message name="SaveSoapIn"/>
41
- <message name="SaveSoapOut">
42
- <part name="parameters" element="actions:SaveResponse"/>
43
- </message>
44
- <message name="DeleteSoapIn"/>
45
- <message name="DeleteSoapOut">
46
- <part name="parameters" element="DeleteResponse"/>
47
- </message>
48
-
49
- <portType name="ArticleSoap">
50
- <operation name="Save">
51
- <input message="actions:SaveSoapIn"/>
52
- <output message="actions:SaveSoapOut"/>
53
- </operation>
54
- <operation name="Delete">
55
- <input message="DeleteSoapIn"/>
56
- <output message="DeleteSoapOut"/>
57
- </operation>
58
- </portType>
59
- <binding name="ArticleSoap" type="actions:ArticleSoap">
60
- <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
61
- <operation name="Save">
62
- <soap:operation soapAction="http://example.com/actions.Save" style="document"/>
63
- <input>
64
- <soap:body use="literal"/>
65
- </input>
66
- <output>
67
- <soap:body use="literal"/>
68
- </output>
69
- </operation>
70
- <operation name="Delete">
71
- <soap:operation soapAction="http://example.com/actions.Delete" style="document"/>
72
- <input>
73
- <soap:body use="literal"/>
74
- </input>
75
- <output>
76
- <soap:body use="literal"/>
77
- </output>
78
- </operation>
79
- </binding>
80
- <service name="StudyMDL">
81
- <port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
82
- <soap:address location="http://example.com:1234/soap"/>
83
- </port>
84
- </service>
85
- </definitions>