wlapi 0.8.6 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +2 -15
- data/README.rdoc +47 -9
- data/lib/wlapi/api.rb +45 -50
- data/lib/wlapi/version.rb +1 -1
- data/test/fixtures/vcr_cassettes/baseform.yml +221 -0
- data/test/fixtures/vcr_cassettes/cooccurrences.yml +221 -0
- data/test/fixtures/vcr_cassettes/cooccurrences_all.yml +223 -0
- data/test/fixtures/vcr_cassettes/crossword.yml +223 -0
- data/test/fixtures/vcr_cassettes/domain.yml +221 -0
- data/test/fixtures/vcr_cassettes/experimental_synonyms.yml +221 -0
- data/test/fixtures/vcr_cassettes/frequencies.yml +221 -0
- data/test/fixtures/vcr_cassettes/intersection.yml +34 -0
- data/test/fixtures/vcr_cassettes/left_collocation_finder.yml +221 -0
- data/test/fixtures/vcr_cassettes/left_neighbours.yml +221 -0
- data/test/fixtures/vcr_cassettes/right_collocation_finder.yml +221 -0
- data/test/fixtures/vcr_cassettes/right_neighbours.yml +221 -0
- data/test/fixtures/vcr_cassettes/sentences.yml +221 -0
- data/test/fixtures/vcr_cassettes/similarity.yml +221 -0
- data/test/fixtures/vcr_cassettes/synonyms.yml +221 -0
- data/test/fixtures/vcr_cassettes/thesaurus.yml +221 -0
- data/test/fixtures/vcr_cassettes/vcr_test.yml +221 -0
- data/test/fixtures/vcr_cassettes/wordforms.yml +221 -0
- data/test/remote_test_functional.rb +6 -1
- data/test/remote_vcr_test.rb +32 -0
- data/test/test_helper.rb +12 -1
- metadata +121 -76
- metadata.gz.sig +0 -0
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.9.2
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: get
|
6
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de/axis/services/Similarity?wsdl
|
7
|
+
body:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Server:
|
18
|
+
- Apache-Coyote/1.1
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
X-Cache:
|
22
|
+
- MISS from wortschatz.uni-leipzig.de
|
23
|
+
Date:
|
24
|
+
- Tue, 29 Jul 2014 10:26:04 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/xml;charset=utf-8
|
27
|
+
body:
|
28
|
+
string: |
|
29
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
30
|
+
<wsdl:definitions targetNamespace="urn:Similarity" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Similarity" xmlns:intf="urn:Similarity" xmlns:tns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
31
|
+
<!--WSDL created by Apache Axis version: 1.2RC3
|
32
|
+
Built on Mar 28, 2005 (10:34:47 CEST)-->
|
33
|
+
<wsdl:types>
|
34
|
+
<schema elementFormDefault="qualified" targetNamespace="urn:Similarity" xmlns="http://www.w3.org/2001/XMLSchema">
|
35
|
+
<import namespace="http://datatypes.webservice.wortschatz.uni_leipzig.de"/>
|
36
|
+
<element name="execute">
|
37
|
+
<complexType>
|
38
|
+
<sequence>
|
39
|
+
<element name="objRequestParameters" type="impl:RequestParameter"/>
|
40
|
+
</sequence>
|
41
|
+
</complexType>
|
42
|
+
</element>
|
43
|
+
<complexType name="DataMatrix">
|
44
|
+
<sequence>
|
45
|
+
<element maxOccurs="unbounded" name="dataVectors" type="tns1:DataVector"/>
|
46
|
+
</sequence>
|
47
|
+
</complexType>
|
48
|
+
<complexType name="RequestParameter">
|
49
|
+
<sequence>
|
50
|
+
<element name="corpus" nillable="true" type="xsd:string"/>
|
51
|
+
<element name="parameters" nillable="true" type="impl:DataMatrix"/>
|
52
|
+
</sequence>
|
53
|
+
</complexType>
|
54
|
+
<element name="executeResponse">
|
55
|
+
<complexType>
|
56
|
+
<sequence>
|
57
|
+
<element name="executeReturn" type="impl:ResponseParameter"/>
|
58
|
+
</sequence>
|
59
|
+
</complexType>
|
60
|
+
</element>
|
61
|
+
<complexType name="ResponseParameter">
|
62
|
+
<sequence>
|
63
|
+
<element name="executionTime" nillable="true" type="xsd:string"/>
|
64
|
+
<element name="result" nillable="true" type="impl:DataMatrix"/>
|
65
|
+
<element name="serviceMagnitude" type="xsd:int"/>
|
66
|
+
<element name="userAmount" type="xsd:int"/>
|
67
|
+
<element name="userMaxLimit" type="xsd:int"/>
|
68
|
+
</sequence>
|
69
|
+
</complexType>
|
70
|
+
<element name="ping">
|
71
|
+
<complexType/>
|
72
|
+
</element>
|
73
|
+
<element name="pingResponse">
|
74
|
+
<complexType>
|
75
|
+
<sequence>
|
76
|
+
<element name="pingReturn" type="xsd:string"/>
|
77
|
+
</sequence>
|
78
|
+
</complexType>
|
79
|
+
</element>
|
80
|
+
</schema>
|
81
|
+
<schema elementFormDefault="qualified" targetNamespace="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns="http://www.w3.org/2001/XMLSchema">
|
82
|
+
<import namespace="urn:Similarity"/>
|
83
|
+
<complexType name="DataVector">
|
84
|
+
<sequence>
|
85
|
+
<element maxOccurs="unbounded" name="dataRow" type="xsd:string"/>
|
86
|
+
</sequence>
|
87
|
+
</complexType>
|
88
|
+
</schema>
|
89
|
+
</wsdl:types>
|
90
|
+
|
91
|
+
<wsdl:message name="executeRequest">
|
92
|
+
|
93
|
+
<wsdl:part element="impl:execute" name="parameters"/>
|
94
|
+
|
95
|
+
</wsdl:message>
|
96
|
+
|
97
|
+
<wsdl:message name="pingResponse">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
100
|
+
|
101
|
+
</wsdl:message>
|
102
|
+
|
103
|
+
<wsdl:message name="executeResponse">
|
104
|
+
|
105
|
+
<wsdl:part element="impl:executeResponse" name="parameters"/>
|
106
|
+
|
107
|
+
</wsdl:message>
|
108
|
+
|
109
|
+
<wsdl:message name="pingRequest">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:ping" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="Similarity">
|
116
|
+
|
117
|
+
<wsdl:operation name="execute">
|
118
|
+
|
119
|
+
<wsdl:input message="impl:executeRequest" name="executeRequest"/>
|
120
|
+
|
121
|
+
<wsdl:output message="impl:executeResponse" name="executeResponse"/>
|
122
|
+
|
123
|
+
</wsdl:operation>
|
124
|
+
|
125
|
+
<wsdl:operation name="ping">
|
126
|
+
|
127
|
+
<wsdl:input message="impl:pingRequest" name="pingRequest"/>
|
128
|
+
|
129
|
+
<wsdl:output message="impl:pingResponse" name="pingResponse"/>
|
130
|
+
|
131
|
+
</wsdl:operation>
|
132
|
+
|
133
|
+
</wsdl:portType>
|
134
|
+
|
135
|
+
<wsdl:binding name="SimilaritySoapBinding" type="impl:Similarity">
|
136
|
+
|
137
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
138
|
+
|
139
|
+
<wsdl:operation name="execute">
|
140
|
+
|
141
|
+
<wsdlsoap:operation soapAction=""/>
|
142
|
+
|
143
|
+
<wsdl:input name="executeRequest">
|
144
|
+
|
145
|
+
<wsdlsoap:body use="literal"/>
|
146
|
+
|
147
|
+
</wsdl:input>
|
148
|
+
|
149
|
+
<wsdl:output name="executeResponse">
|
150
|
+
|
151
|
+
<wsdlsoap:body use="literal"/>
|
152
|
+
|
153
|
+
</wsdl:output>
|
154
|
+
|
155
|
+
</wsdl:operation>
|
156
|
+
|
157
|
+
<wsdl:operation name="ping">
|
158
|
+
|
159
|
+
<wsdlsoap:operation soapAction=""/>
|
160
|
+
|
161
|
+
<wsdl:input name="pingRequest">
|
162
|
+
|
163
|
+
<wsdlsoap:body use="literal"/>
|
164
|
+
|
165
|
+
</wsdl:input>
|
166
|
+
|
167
|
+
<wsdl:output name="pingResponse">
|
168
|
+
|
169
|
+
<wsdlsoap:body use="literal"/>
|
170
|
+
|
171
|
+
</wsdl:output>
|
172
|
+
|
173
|
+
</wsdl:operation>
|
174
|
+
|
175
|
+
</wsdl:binding>
|
176
|
+
|
177
|
+
<wsdl:service name="SimilarityService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:SimilaritySoapBinding" name="Similarity">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Similarity"/>
|
182
|
+
|
183
|
+
</wsdl:port>
|
184
|
+
|
185
|
+
</wsdl:service>
|
186
|
+
|
187
|
+
</wsdl:definitions>
|
188
|
+
|
189
|
+
http_version:
|
190
|
+
recorded_at: Tue, 29 Jul 2014 10:26:04 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/Similarity
|
194
|
+
body:
|
195
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:dat="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ins0="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:urn="http://wortschatz.uni-leipzig.de/axis/services/Similarity" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Similarity"><env:Body><impl:execute><urn:objRequestParameters><urn:corpus>de</urn:corpus><urn:parameters><urn:dataVectors><dat:dataRow>Wort</dat:dataRow><dat:dataRow>Stuhl</dat:dataRow></urn:dataVectors><urn:dataVectors><dat:dataRow>Limit</dat:dataRow><dat:dataRow>3</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "807"
|
201
|
+
Content-Type:
|
202
|
+
- text/xml;charset=UTF-8
|
203
|
+
Accept:
|
204
|
+
- "*/*"
|
205
|
+
response:
|
206
|
+
status:
|
207
|
+
code: 200
|
208
|
+
message: OK
|
209
|
+
headers:
|
210
|
+
Server:
|
211
|
+
- Apache-Coyote/1.1
|
212
|
+
Transfer-Encoding:
|
213
|
+
- chunked
|
214
|
+
Date:
|
215
|
+
- Tue, 29 Jul 2014 10:26:15 GMT
|
216
|
+
Content-Type:
|
217
|
+
- text/xml;charset=utf-8
|
218
|
+
body:
|
219
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><executeResponse xmlns="urn:Similarity"><executeReturn><executionTime>11.545 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:Similarity"><ns1:dataRow>Stuhl</ns1:dataRow><ns1:dataRow>Sessel</ns1:dataRow><ns1:dataRow>26</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:Similarity"><ns3:dataRow>Stuhl</ns3:dataRow><ns3:dataRow>Lehnstuhl</ns3:dataRow><ns3:dataRow>24</ns3:dataRow></ns3:dataVectors><ns5:dataVectors xsi:type="ns6:DataVector" xmlns:ns5="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns6="urn:Similarity"><ns5:dataRow>Stuhl</ns5:dataRow><ns5:dataRow>Sofa</ns5:dataRow><ns5:dataRow>21</ns5:dataRow></ns5:dataVectors></result><serviceMagnitude>2</serviceMagnitude><userAmount>1999241781</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:16 GMT
|
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.9.2
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: get
|
6
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de/axis/services/Synonyms?wsdl
|
7
|
+
body:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Server:
|
18
|
+
- Apache-Coyote/1.1
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
X-Cache:
|
22
|
+
- MISS from wortschatz.uni-leipzig.de
|
23
|
+
Date:
|
24
|
+
- Tue, 29 Jul 2014 10:26:16 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/xml;charset=utf-8
|
27
|
+
body:
|
28
|
+
string: |
|
29
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
30
|
+
<wsdl:definitions targetNamespace="urn:Synonyms" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Synonyms" xmlns:intf="urn:Synonyms" xmlns:tns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
31
|
+
<!--WSDL created by Apache Axis version: 1.2RC3
|
32
|
+
Built on Mar 28, 2005 (10:34:47 CEST)-->
|
33
|
+
<wsdl:types>
|
34
|
+
<schema elementFormDefault="qualified" targetNamespace="urn:Synonyms" xmlns="http://www.w3.org/2001/XMLSchema">
|
35
|
+
<import namespace="http://datatypes.webservice.wortschatz.uni_leipzig.de"/>
|
36
|
+
<element name="execute">
|
37
|
+
<complexType>
|
38
|
+
<sequence>
|
39
|
+
<element name="objRequestParameters" type="impl:RequestParameter"/>
|
40
|
+
</sequence>
|
41
|
+
</complexType>
|
42
|
+
</element>
|
43
|
+
<complexType name="DataMatrix">
|
44
|
+
<sequence>
|
45
|
+
<element maxOccurs="unbounded" name="dataVectors" type="tns1:DataVector"/>
|
46
|
+
</sequence>
|
47
|
+
</complexType>
|
48
|
+
<complexType name="RequestParameter">
|
49
|
+
<sequence>
|
50
|
+
<element name="corpus" nillable="true" type="xsd:string"/>
|
51
|
+
<element name="parameters" nillable="true" type="impl:DataMatrix"/>
|
52
|
+
</sequence>
|
53
|
+
</complexType>
|
54
|
+
<element name="executeResponse">
|
55
|
+
<complexType>
|
56
|
+
<sequence>
|
57
|
+
<element name="executeReturn" type="impl:ResponseParameter"/>
|
58
|
+
</sequence>
|
59
|
+
</complexType>
|
60
|
+
</element>
|
61
|
+
<complexType name="ResponseParameter">
|
62
|
+
<sequence>
|
63
|
+
<element name="executionTime" nillable="true" type="xsd:string"/>
|
64
|
+
<element name="result" nillable="true" type="impl:DataMatrix"/>
|
65
|
+
<element name="serviceMagnitude" type="xsd:int"/>
|
66
|
+
<element name="userAmount" type="xsd:int"/>
|
67
|
+
<element name="userMaxLimit" type="xsd:int"/>
|
68
|
+
</sequence>
|
69
|
+
</complexType>
|
70
|
+
<element name="ping">
|
71
|
+
<complexType/>
|
72
|
+
</element>
|
73
|
+
<element name="pingResponse">
|
74
|
+
<complexType>
|
75
|
+
<sequence>
|
76
|
+
<element name="pingReturn" type="xsd:string"/>
|
77
|
+
</sequence>
|
78
|
+
</complexType>
|
79
|
+
</element>
|
80
|
+
</schema>
|
81
|
+
<schema elementFormDefault="qualified" targetNamespace="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns="http://www.w3.org/2001/XMLSchema">
|
82
|
+
<import namespace="urn:Synonyms"/>
|
83
|
+
<complexType name="DataVector">
|
84
|
+
<sequence>
|
85
|
+
<element maxOccurs="unbounded" name="dataRow" type="xsd:string"/>
|
86
|
+
</sequence>
|
87
|
+
</complexType>
|
88
|
+
</schema>
|
89
|
+
</wsdl:types>
|
90
|
+
|
91
|
+
<wsdl:message name="pingRequest">
|
92
|
+
|
93
|
+
<wsdl:part element="impl:ping" name="parameters"/>
|
94
|
+
|
95
|
+
</wsdl:message>
|
96
|
+
|
97
|
+
<wsdl:message name="pingResponse">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
100
|
+
|
101
|
+
</wsdl:message>
|
102
|
+
|
103
|
+
<wsdl:message name="executeRequest">
|
104
|
+
|
105
|
+
<wsdl:part element="impl:execute" name="parameters"/>
|
106
|
+
|
107
|
+
</wsdl:message>
|
108
|
+
|
109
|
+
<wsdl:message name="executeResponse">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:executeResponse" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="Synonyms">
|
116
|
+
|
117
|
+
<wsdl:operation name="execute">
|
118
|
+
|
119
|
+
<wsdl:input message="impl:executeRequest" name="executeRequest"/>
|
120
|
+
|
121
|
+
<wsdl:output message="impl:executeResponse" name="executeResponse"/>
|
122
|
+
|
123
|
+
</wsdl:operation>
|
124
|
+
|
125
|
+
<wsdl:operation name="ping">
|
126
|
+
|
127
|
+
<wsdl:input message="impl:pingRequest" name="pingRequest"/>
|
128
|
+
|
129
|
+
<wsdl:output message="impl:pingResponse" name="pingResponse"/>
|
130
|
+
|
131
|
+
</wsdl:operation>
|
132
|
+
|
133
|
+
</wsdl:portType>
|
134
|
+
|
135
|
+
<wsdl:binding name="SynonymsSoapBinding" type="impl:Synonyms">
|
136
|
+
|
137
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
138
|
+
|
139
|
+
<wsdl:operation name="execute">
|
140
|
+
|
141
|
+
<wsdlsoap:operation soapAction=""/>
|
142
|
+
|
143
|
+
<wsdl:input name="executeRequest">
|
144
|
+
|
145
|
+
<wsdlsoap:body use="literal"/>
|
146
|
+
|
147
|
+
</wsdl:input>
|
148
|
+
|
149
|
+
<wsdl:output name="executeResponse">
|
150
|
+
|
151
|
+
<wsdlsoap:body use="literal"/>
|
152
|
+
|
153
|
+
</wsdl:output>
|
154
|
+
|
155
|
+
</wsdl:operation>
|
156
|
+
|
157
|
+
<wsdl:operation name="ping">
|
158
|
+
|
159
|
+
<wsdlsoap:operation soapAction=""/>
|
160
|
+
|
161
|
+
<wsdl:input name="pingRequest">
|
162
|
+
|
163
|
+
<wsdlsoap:body use="literal"/>
|
164
|
+
|
165
|
+
</wsdl:input>
|
166
|
+
|
167
|
+
<wsdl:output name="pingResponse">
|
168
|
+
|
169
|
+
<wsdlsoap:body use="literal"/>
|
170
|
+
|
171
|
+
</wsdl:output>
|
172
|
+
|
173
|
+
</wsdl:operation>
|
174
|
+
|
175
|
+
</wsdl:binding>
|
176
|
+
|
177
|
+
<wsdl:service name="SynonymsService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:SynonymsSoapBinding" name="Synonyms">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Synonyms"/>
|
182
|
+
|
183
|
+
</wsdl:port>
|
184
|
+
|
185
|
+
</wsdl:service>
|
186
|
+
|
187
|
+
</wsdl:definitions>
|
188
|
+
|
189
|
+
http_version:
|
190
|
+
recorded_at: Tue, 29 Jul 2014 10:26:16 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/Synonyms
|
194
|
+
body:
|
195
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:dat="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ins0="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:urn="http://wortschatz.uni-leipzig.de/axis/services/Synonyms" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Synonyms"><env:Body><impl:execute><urn:objRequestParameters><urn:corpus>de</urn:corpus><urn:parameters><urn:dataVectors><dat:dataRow>Wort</dat:dataRow><dat:dataRow>Brot</dat:dataRow></urn:dataVectors><urn:dataVectors><dat:dataRow>Limit</dat:dataRow><dat:dataRow>10</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "803"
|
201
|
+
Content-Type:
|
202
|
+
- text/xml;charset=UTF-8
|
203
|
+
Accept:
|
204
|
+
- "*/*"
|
205
|
+
response:
|
206
|
+
status:
|
207
|
+
code: 200
|
208
|
+
message: OK
|
209
|
+
headers:
|
210
|
+
Server:
|
211
|
+
- Apache-Coyote/1.1
|
212
|
+
Transfer-Encoding:
|
213
|
+
- chunked
|
214
|
+
Date:
|
215
|
+
- Tue, 29 Jul 2014 10:26:15 GMT
|
216
|
+
Content-Type:
|
217
|
+
- text/xml;charset=utf-8
|
218
|
+
body:
|
219
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><executeResponse xmlns="urn:Synonyms"><executeReturn><executionTime>0.017 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:Synonyms"><ns1:dataRow>Laib</ns1:dataRow><ns1:dataRow>S</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:Synonyms"><ns3:dataRow>Brotlaib</ns3:dataRow><ns3:dataRow>S</ns3:dataRow></ns3:dataVectors><ns5:dataVectors xsi:type="ns6:DataVector" xmlns:ns5="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns6="urn:Synonyms"><ns5:dataRow>Laib</ns5:dataRow><ns5:dataRow>s</ns5:dataRow></ns5:dataVectors><ns7:dataVectors xsi:type="ns8:DataVector" xmlns:ns7="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns8="urn:Synonyms"><ns7:dataRow>Schnitte</ns7:dataRow><ns7:dataRow>s</ns7:dataRow></ns7:dataVectors><ns9:dataVectors xsi:type="ns10:DataVector" xmlns:ns9="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns10="urn:Synonyms"><ns9:dataRow>Stulle</ns9:dataRow><ns9:dataRow>s</ns9:dataRow></ns9:dataVectors></result><serviceMagnitude>0</serviceMagnitude><userAmount>1999241781</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:16 GMT
|
@@ -0,0 +1,221 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.9.2
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: get
|
6
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de/axis/services/Thesaurus?wsdl
|
7
|
+
body:
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Server:
|
18
|
+
- Apache-Coyote/1.1
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
X-Cache:
|
22
|
+
- MISS from wortschatz.uni-leipzig.de
|
23
|
+
Date:
|
24
|
+
- Tue, 29 Jul 2014 10:26:16 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/xml;charset=utf-8
|
27
|
+
body:
|
28
|
+
string: |
|
29
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
30
|
+
<wsdl:definitions targetNamespace="urn:Thesaurus" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Thesaurus" xmlns:intf="urn:Thesaurus" xmlns:tns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
31
|
+
<!--WSDL created by Apache Axis version: 1.2RC3
|
32
|
+
Built on Mar 28, 2005 (10:34:47 CEST)-->
|
33
|
+
<wsdl:types>
|
34
|
+
<schema elementFormDefault="qualified" targetNamespace="urn:Thesaurus" xmlns="http://www.w3.org/2001/XMLSchema">
|
35
|
+
<import namespace="http://datatypes.webservice.wortschatz.uni_leipzig.de"/>
|
36
|
+
<element name="execute">
|
37
|
+
<complexType>
|
38
|
+
<sequence>
|
39
|
+
<element name="objRequestParameters" type="impl:RequestParameter"/>
|
40
|
+
</sequence>
|
41
|
+
</complexType>
|
42
|
+
</element>
|
43
|
+
<complexType name="DataMatrix">
|
44
|
+
<sequence>
|
45
|
+
<element maxOccurs="unbounded" name="dataVectors" type="tns1:DataVector"/>
|
46
|
+
</sequence>
|
47
|
+
</complexType>
|
48
|
+
<complexType name="RequestParameter">
|
49
|
+
<sequence>
|
50
|
+
<element name="corpus" nillable="true" type="xsd:string"/>
|
51
|
+
<element name="parameters" nillable="true" type="impl:DataMatrix"/>
|
52
|
+
</sequence>
|
53
|
+
</complexType>
|
54
|
+
<element name="executeResponse">
|
55
|
+
<complexType>
|
56
|
+
<sequence>
|
57
|
+
<element name="executeReturn" type="impl:ResponseParameter"/>
|
58
|
+
</sequence>
|
59
|
+
</complexType>
|
60
|
+
</element>
|
61
|
+
<complexType name="ResponseParameter">
|
62
|
+
<sequence>
|
63
|
+
<element name="executionTime" nillable="true" type="xsd:string"/>
|
64
|
+
<element name="result" nillable="true" type="impl:DataMatrix"/>
|
65
|
+
<element name="serviceMagnitude" type="xsd:int"/>
|
66
|
+
<element name="userAmount" type="xsd:int"/>
|
67
|
+
<element name="userMaxLimit" type="xsd:int"/>
|
68
|
+
</sequence>
|
69
|
+
</complexType>
|
70
|
+
<element name="ping">
|
71
|
+
<complexType/>
|
72
|
+
</element>
|
73
|
+
<element name="pingResponse">
|
74
|
+
<complexType>
|
75
|
+
<sequence>
|
76
|
+
<element name="pingReturn" type="xsd:string"/>
|
77
|
+
</sequence>
|
78
|
+
</complexType>
|
79
|
+
</element>
|
80
|
+
</schema>
|
81
|
+
<schema elementFormDefault="qualified" targetNamespace="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns="http://www.w3.org/2001/XMLSchema">
|
82
|
+
<import namespace="urn:Thesaurus"/>
|
83
|
+
<complexType name="DataVector">
|
84
|
+
<sequence>
|
85
|
+
<element maxOccurs="unbounded" name="dataRow" type="xsd:string"/>
|
86
|
+
</sequence>
|
87
|
+
</complexType>
|
88
|
+
</schema>
|
89
|
+
</wsdl:types>
|
90
|
+
|
91
|
+
<wsdl:message name="pingRequest">
|
92
|
+
|
93
|
+
<wsdl:part element="impl:ping" name="parameters"/>
|
94
|
+
|
95
|
+
</wsdl:message>
|
96
|
+
|
97
|
+
<wsdl:message name="executeResponse">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:executeResponse" name="parameters"/>
|
100
|
+
|
101
|
+
</wsdl:message>
|
102
|
+
|
103
|
+
<wsdl:message name="pingResponse">
|
104
|
+
|
105
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
106
|
+
|
107
|
+
</wsdl:message>
|
108
|
+
|
109
|
+
<wsdl:message name="executeRequest">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:execute" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="Thesaurus">
|
116
|
+
|
117
|
+
<wsdl:operation name="execute">
|
118
|
+
|
119
|
+
<wsdl:input message="impl:executeRequest" name="executeRequest"/>
|
120
|
+
|
121
|
+
<wsdl:output message="impl:executeResponse" name="executeResponse"/>
|
122
|
+
|
123
|
+
</wsdl:operation>
|
124
|
+
|
125
|
+
<wsdl:operation name="ping">
|
126
|
+
|
127
|
+
<wsdl:input message="impl:pingRequest" name="pingRequest"/>
|
128
|
+
|
129
|
+
<wsdl:output message="impl:pingResponse" name="pingResponse"/>
|
130
|
+
|
131
|
+
</wsdl:operation>
|
132
|
+
|
133
|
+
</wsdl:portType>
|
134
|
+
|
135
|
+
<wsdl:binding name="ThesaurusSoapBinding" type="impl:Thesaurus">
|
136
|
+
|
137
|
+
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
138
|
+
|
139
|
+
<wsdl:operation name="execute">
|
140
|
+
|
141
|
+
<wsdlsoap:operation soapAction=""/>
|
142
|
+
|
143
|
+
<wsdl:input name="executeRequest">
|
144
|
+
|
145
|
+
<wsdlsoap:body use="literal"/>
|
146
|
+
|
147
|
+
</wsdl:input>
|
148
|
+
|
149
|
+
<wsdl:output name="executeResponse">
|
150
|
+
|
151
|
+
<wsdlsoap:body use="literal"/>
|
152
|
+
|
153
|
+
</wsdl:output>
|
154
|
+
|
155
|
+
</wsdl:operation>
|
156
|
+
|
157
|
+
<wsdl:operation name="ping">
|
158
|
+
|
159
|
+
<wsdlsoap:operation soapAction=""/>
|
160
|
+
|
161
|
+
<wsdl:input name="pingRequest">
|
162
|
+
|
163
|
+
<wsdlsoap:body use="literal"/>
|
164
|
+
|
165
|
+
</wsdl:input>
|
166
|
+
|
167
|
+
<wsdl:output name="pingResponse">
|
168
|
+
|
169
|
+
<wsdlsoap:body use="literal"/>
|
170
|
+
|
171
|
+
</wsdl:output>
|
172
|
+
|
173
|
+
</wsdl:operation>
|
174
|
+
|
175
|
+
</wsdl:binding>
|
176
|
+
|
177
|
+
<wsdl:service name="ThesaurusService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:ThesaurusSoapBinding" name="Thesaurus">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Thesaurus"/>
|
182
|
+
|
183
|
+
</wsdl:port>
|
184
|
+
|
185
|
+
</wsdl:service>
|
186
|
+
|
187
|
+
</wsdl:definitions>
|
188
|
+
|
189
|
+
http_version:
|
190
|
+
recorded_at: Tue, 29 Jul 2014 10:26:17 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/Thesaurus
|
194
|
+
body:
|
195
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:dat="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ins0="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:urn="http://wortschatz.uni-leipzig.de/axis/services/Thesaurus" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Thesaurus"><env:Body><impl:execute><urn:objRequestParameters><urn:corpus>de</urn:corpus><urn:parameters><urn:dataVectors><dat:dataRow>Wort</dat:dataRow><dat:dataRow>Buch</dat:dataRow></urn:dataVectors><urn:dataVectors><dat:dataRow>Limit</dat:dataRow><dat:dataRow>10</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "805"
|
201
|
+
Content-Type:
|
202
|
+
- text/xml;charset=UTF-8
|
203
|
+
Accept:
|
204
|
+
- "*/*"
|
205
|
+
response:
|
206
|
+
status:
|
207
|
+
code: 200
|
208
|
+
message: OK
|
209
|
+
headers:
|
210
|
+
Server:
|
211
|
+
- Apache-Coyote/1.1
|
212
|
+
Transfer-Encoding:
|
213
|
+
- chunked
|
214
|
+
Date:
|
215
|
+
- Tue, 29 Jul 2014 10:26:15 GMT
|
216
|
+
Content-Type:
|
217
|
+
- text/xml;charset=utf-8
|
218
|
+
body:
|
219
|
+
string: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><executeResponse xmlns="urn:Thesaurus"><executeReturn><executionTime>0.059 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:Thesaurus"><ns1:dataRow>Buch</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:Thesaurus"><ns3:dataRow>Titel</ns3:dataRow></ns3:dataVectors><ns5:dataVectors xsi:type="ns6:DataVector" xmlns:ns5="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns6="urn:Thesaurus"><ns5:dataRow>Werk</ns5:dataRow></ns5:dataVectors><ns7:dataVectors xsi:type="ns8:DataVector" xmlns:ns7="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns8="urn:Thesaurus"><ns7:dataRow>Zeitung</ns7:dataRow></ns7:dataVectors><ns9:dataVectors xsi:type="ns10:DataVector" xmlns:ns9="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns10="urn:Thesaurus"><ns9:dataRow>Band</ns9:dataRow></ns9:dataVectors><ns11:dataVectors xsi:type="ns12:DataVector" xmlns:ns11="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns12="urn:Thesaurus"><ns11:dataRow>Literatur</ns11:dataRow></ns11:dataVectors><ns13:dataVectors xsi:type="ns14:DataVector" xmlns:ns13="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns14="urn:Thesaurus"><ns13:dataRow>Zeitschrift</ns13:dataRow></ns13:dataVectors><ns15:dataVectors xsi:type="ns16:DataVector" xmlns:ns15="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns16="urn:Thesaurus"><ns15:dataRow>Bruch</ns15:dataRow></ns15:dataVectors><ns17:dataVectors xsi:type="ns18:DataVector" xmlns:ns17="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns18="urn:Thesaurus"><ns17:dataRow>Lektüre</ns17:dataRow></ns17:dataVectors><ns19:dataVectors xsi:type="ns20:DataVector" xmlns:ns19="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns20="urn:Thesaurus"><ns19:dataRow>Schrift</ns19:dataRow></ns19:dataVectors></result><serviceMagnitude>0</serviceMagnitude><userAmount>1999241781</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:17 GMT
|