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/RightCollocationFinder?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:03 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:RightCollocationFinder" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:RightCollocationFinder" xmlns:intf="urn:RightCollocationFinder" 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:RightCollocationFinder" 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:RightCollocationFinder"/>
|
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="executeRequest">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:execute" 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="pingResponse">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="RightCollocationFinder">
|
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="RightCollocationFinderSoapBinding" type="impl:RightCollocationFinder">
|
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="RightCollocationFinderService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:RightCollocationFinderSoapBinding" name="RightCollocationFinder">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/RightCollocationFinder"/>
|
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:03 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: http://anonymous:anonymous@wortschatz.uni-leipzig.de:8100/axis/services/RightCollocationFinder
|
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/RightCollocationFinder" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:RightCollocationFinder"><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>Wortart</dat:dataRow><dat:dataRow>V</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
|
+
- "928"
|
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:03 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:RightCollocationFinder"><executeReturn><executionTime>0.064 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:RightCollocationFinder"><ns1:dataRow>Stuhl</ns1:dataRow><ns1:dataRow>aufmöbeln</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:RightCollocationFinder"><ns3:dataRow>Stuhl</ns3:dataRow><ns3:dataRow>aufreihen</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:RightCollocationFinder"><ns5:dataRow>Stuhl</ns5:dataRow><ns5:dataRow>aufspringen</ns5:dataRow><ns5:dataRow>V</ns5:dataRow></ns5: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:04 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/RightNeighbours?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:03 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:RightNeighbours" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:RightNeighbours" xmlns:intf="urn:RightNeighbours" 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:RightNeighbours" 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:RightNeighbours"/>
|
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="executeRequest">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:execute" 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="RightNeighbours">
|
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="RightNeighboursSoapBinding" type="impl:RightNeighbours">
|
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="RightNeighboursService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:RightNeighboursSoapBinding" name="RightNeighbours">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/RightNeighbours"/>
|
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/RightNeighbours
|
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/RightNeighbours" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:RightNeighbours"><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>2</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "817"
|
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:03 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:RightNeighbours"><executeReturn><executionTime>0.047 s</executionTime><result><ns1:dataVectors xsi:type="ns2:DataVector" xmlns:ns1="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns2="urn:RightNeighbours"><ns1:dataRow>Stuhl</ns1:dataRow><ns1:dataRow>räumen</ns1:dataRow><ns1:dataRow>189</ns1:dataRow></ns1:dataVectors><ns3:dataVectors xsi:type="ns4:DataVector" xmlns:ns3="http://datatypes.webservice.wortschatz.uni_leipzig.de" xmlns:ns4="urn:RightNeighbours"><ns3:dataRow>Stuhl</ns3:dataRow><ns3:dataRow>hin und her</ns3:dataRow><ns3:dataRow>130</ns3:dataRow></ns3: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:04 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/Sentences?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:Sentences" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Sentences" xmlns:intf="urn:Sentences" 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:Sentences" 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:Sentences"/>
|
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="pingRequest">
|
98
|
+
|
99
|
+
<wsdl:part element="impl:ping" 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="pingResponse">
|
110
|
+
|
111
|
+
<wsdl:part element="impl:pingResponse" name="parameters"/>
|
112
|
+
|
113
|
+
</wsdl:message>
|
114
|
+
|
115
|
+
<wsdl:portType name="Sentences">
|
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="SentencesSoapBinding" type="impl:Sentences">
|
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="SentencesService">
|
178
|
+
|
179
|
+
<wsdl:port binding="impl:SentencesSoapBinding" name="Sentences">
|
180
|
+
|
181
|
+
<wsdlsoap:address location="http://wortschatz.uni-leipzig.de:8100/axis/services/Sentences"/>
|
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/Sentences
|
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/Sentences" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="urn:Sentences"><env:Body><impl:execute><urn:objRequestParameters><urn:corpus>de</urn:corpus><urn:parameters><urn:dataVectors><dat:dataRow>Wort</dat:dataRow><dat:dataRow>Klasse</dat:dataRow></urn:dataVectors><urn:dataVectors><dat:dataRow>Limit</dat:dataRow><dat:dataRow>1</dat:dataRow></urn:dataVectors></urn:parameters></urn:objRequestParameters></impl:execute></env:Body></env:Envelope>
|
196
|
+
headers:
|
197
|
+
Soapaction:
|
198
|
+
- "\"execute\""
|
199
|
+
Content-Length:
|
200
|
+
- "806"
|
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:04 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:Sentences"><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:Sentences"><ns1:dataRow>40829928</ns1:dataRow><ns1:dataRow>Bei den Grünen war ich wohl im Urteil der politisch korrekten Klasse bei den Richtigen, auch wenn ich in ihren Augen das Falsche sagte.</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:04 GMT
|