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/Sachgebiet?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:02 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:Sachgebiet" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Sachgebiet" xmlns:intf="urn:Sachgebiet" 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:Sachgebiet" 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:Sachgebiet"/>
|
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="pingRequest">
|
104
|
+
|
105
|
+
<wsdl:part element="impl:ping" 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="Sachgebiet">
|
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="SachgebietSoapBinding" type="impl:Sachgebiet">
|
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="SachgebietService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:SachgebietSoapBinding" name="Sachgebiet">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Sachgebiet"/>
|
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:02 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/Sachgebiet
|
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/Sachgebiet" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Sachgebiet"><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:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "711"
|
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:02 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:Sachgebiet"><executeReturn><executionTime>0.014 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:Sachgebiet"><ns1:dataRow>Sprachwissenschaft</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:Sachgebiet"><ns3:dataRow>Nachname</ns3:dataRow></ns3:dataVectors><ns5:dataVectors xsi:type="ns6:DataVector" xmlns:ns5="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns6="urn:Sachgebiet"><ns5:dataRow>Stadt</ns5:dataRow></ns5:dataVectors><ns7:dataVectors xsi:type="ns8:DataVector" xmlns:ns7="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns8="urn:Sachgebiet"><ns7:dataRow>Buchkunde/Buchhandel</ns7:dataRow></ns7:dataVectors><ns9:dataVectors xsi:type="ns10:DataVector" xmlns:ns9="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns10="urn:Sachgebiet"><ns9:dataRow>Motive</ns9:dataRow></ns9:dataVectors><ns11:dataVectors xsi:type="ns12:DataVector" xmlns:ns11="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns12="urn:Sachgebiet"><ns11:dataRow>Literarische/Motive/Stoffe/Gestalten</ns11:dataRow></ns11:dataVectors><ns13:dataVectors xsi:type="ns14:DataVector" xmlns:ns13="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns14="urn:Sachgebiet"><ns13:dataRow>Buchkunde/Buchhandel</ns13:dataRow></ns13:dataVectors><ns15:dataVectors xsi:type="ns16:DataVector" xmlns:ns15="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns16="urn:Sachgebiet"><ns15:dataRow>Papierherstellung/Graphische/Technik</ns15:dataRow></ns15:dataVectors><ns17:dataVectors xsi:type="ns18:DataVector" xmlns:ns17="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns18="urn:Sachgebiet"><ns17:dataRow>Buchkunde/Buchhandel</ns17:dataRow></ns17:dataVectors><ns19:dataVectors xsi:type="ns20:DataVector" xmlns:ns19="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns20="urn:Sachgebiet"><ns19:dataRow>Bücher</ns19:dataRow></ns19:dataVectors><ns21:dataVectors xsi:type="ns22:DataVector" xmlns:ns21="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns22="urn:Sachgebiet"><ns21:dataRow>Ort in D</ns21:dataRow></ns21:dataVectors></result><serviceMagnitude>0</serviceMagnitude><userAmount>1999241783</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:02 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/ExperimentalSynonyms?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:02 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:ExperimentalSynonyms" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:ExperimentalSynonyms" xmlns:intf="urn:ExperimentalSynonyms" 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:ExperimentalSynonyms" 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:ExperimentalSynonyms"/>
|
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="pingResponse">
|
92
|
+
|
93
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
94
|
+
|
95
|
+
</wsdl:message>
|
96
|
+
|
97
|
+
<wsdl:message name="pingRequest">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:ping" 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="ExperimentalSynonyms">
|
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="ExperimentalSynonymsSoapBinding" type="impl:ExperimentalSynonyms">
|
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="ExperimentalSynonymsService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:ExperimentalSynonymsSoapBinding" name="ExperimentalSynonyms">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/ExperimentalSynonyms"/>
|
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:02 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/ExperimentalSynonyms
|
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/ExperimentalSynonyms" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:ExperimentalSynonyms"><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>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
|
+
- "828"
|
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:02 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:ExperimentalSynonyms"><executeReturn><executionTime>0.019 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:ExperimentalSynonyms"><ns1:dataRow>Einrichtungsgegenstand</ns1:dataRow><ns1:dataRow>v</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:ExperimentalSynonyms"><ns3:dataRow>Bett</ns3:dataRow><ns3:dataRow>v</ns3:dataRow></ns3:dataVectors><ns5:dataVectors xsi:type="ns6:DataVector" xmlns:ns5="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns6="urn:ExperimentalSynonyms"><ns5:dataRow>Lampe</ns5:dataRow><ns5:dataRow>v</ns5:dataRow></ns5:dataVectors><ns7:dataVectors xsi:type="ns8:DataVector" xmlns:ns7="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns8="urn:ExperimentalSynonyms"><ns7:dataRow>Tisch</ns7:dataRow><ns7:dataRow>v</ns7:dataRow></ns7:dataVectors><ns9:dataVectors xsi:type="ns10:DataVector" xmlns:ns9="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns10="urn:ExperimentalSynonyms"><ns9:dataRow>Schrank</ns9:dataRow><ns9:dataRow>v</ns9:dataRow></ns9:dataVectors><ns11:dataVectors xsi:type="ns12:DataVector" xmlns:ns11="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns12="urn:ExperimentalSynonyms"><ns11:dataRow>Teppich</ns11:dataRow><ns11:dataRow>v</ns11:dataRow></ns11:dataVectors><ns13:dataVectors xsi:type="ns14:DataVector" xmlns:ns13="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns14="urn:ExperimentalSynonyms"><ns13:dataRow>Gebrauchsmöbel</ns13:dataRow><ns13:dataRow>v</ns13:dataRow></ns13:dataVectors><ns15:dataVectors xsi:type="ns16:DataVector" xmlns:ns15="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns16="urn:ExperimentalSynonyms"><ns15:dataRow>Möbelstück</ns15:dataRow><ns15:dataRow>v</ns15:dataRow></ns15:dataVectors><ns17:dataVectors xsi:type="ns18:DataVector" xmlns:ns17="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns18="urn:ExperimentalSynonyms"><ns17:dataRow>Bank</ns17:dataRow><ns17:dataRow>v</ns17:dataRow></ns17:dataVectors><ns19:dataVectors xsi:type="ns20:DataVector" xmlns:ns19="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns20="urn:ExperimentalSynonyms"><ns19:dataRow>Bord</ns19:dataRow><ns19:dataRow>v</ns19:dataRow></ns19:dataVectors></result><serviceMagnitude>0</serviceMagnitude><userAmount>1999241783</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:02 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/Frequencies?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:02 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:Frequencies" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Frequencies" xmlns:intf="urn:Frequencies" 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:Frequencies" 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:Frequencies"/>
|
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="executeRequest">
|
104
|
+
|
105
|
+
<wsdl:part element="impl:execute" name="parameters"/>
|
106
|
+
|
107
|
+
</wsdl:message>
|
108
|
+
|
109
|
+
<wsdl:message name="pingResponse">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="Frequencies">
|
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="FrequenciesSoapBinding" type="impl:Frequencies">
|
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="FrequenciesService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:FrequenciesSoapBinding" name="Frequencies">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Frequencies"/>
|
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:02 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/Frequencies
|
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/Frequencies" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Frequencies"><env:Body><impl:execute><urn:objRequestParameters><urn:corpus>de</urn:corpus><urn:parameters><urn:dataVectors><dat:dataRow>Wort</dat:dataRow><dat:dataRow>Haus</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "713"
|
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:02 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:Frequencies"><executeReturn><executionTime>0.015 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:Frequencies"><ns1:dataRow>122072</ns1:dataRow><ns1:dataRow>7</ns1:dataRow></ns1:dataVectors></result><serviceMagnitude>0</serviceMagnitude><userAmount>1999241783</userAmount><userMaxLimit>-100</userMaxLimit></executeReturn></executeResponse></soapenv:Body></soapenv:Envelope>
|
220
|
+
http_version:
|
221
|
+
recorded_at: Tue, 29 Jul 2014 10:26:03 GMT
|