Mantid
Loading...
Searching...
No Matches
ICat4ICATPortBindingProxy.cpp
Go to the documentation of this file.
1/* ICat4ICATPortBindingProxy.cpp
2 Generated by gSOAP 2.8.15 from ICat4Service.h
3
4Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
5The generated code is released under ONE of the following licenses:
6GPL or Genivia's license for commercial use.
7This program is released under the GPL with the additional exemption that
8compiling, linking, and/or using OpenSSL is allowed.
9*/
10
12
13namespace ICat4 {
14
16
17ICATPortBindingProxy::ICATPortBindingProxy(const struct soap &_soap) : soap(_soap) {}
18
20 ICATPortBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
21 soap_endpoint = url;
22}
23
25
26ICATPortBindingProxy::ICATPortBindingProxy(const char *url, soap_mode iomode) {
27 ICATPortBindingProxy_init(iomode, iomode);
28 soap_endpoint = url;
29}
30
31ICATPortBindingProxy::ICATPortBindingProxy(soap_mode imode, soap_mode omode) {
32 ICATPortBindingProxy_init(imode, omode);
33}
34
35void ICATPortBindingProxy::ICATPortBindingProxy_init(soap_mode imode, soap_mode omode) {
36 soap_imode(this, imode);
37 soap_omode(this, omode);
38 soap_endpoint = nullptr;
39 static const struct Namespace namespaces[] = {
40 {"SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/", "http://www.w3.org/*/soap-envelope", nullptr},
41 {"SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/", "http://www.w3.org/*/soap-encoding", nullptr},
42 {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", nullptr},
43 {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", nullptr},
44 {"ns1", "http://icatproject.org", nullptr, nullptr},
45 {nullptr, nullptr, nullptr, nullptr}};
46 soap_set_namespaces(this, namespaces);
47}
48
50 soap_destroy(this);
51 soap_end(this);
52}
53
55 destroy();
56 soap_done(this);
57 soap_init(this);
58 ICATPortBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
59}
60
61void ICATPortBindingProxy::soap_noheader() { this->header = nullptr; }
62
63const SOAP_ENV__Header *ICATPortBindingProxy::soap_header() { return this->header; }
64
65const SOAP_ENV__Fault *ICATPortBindingProxy::soap_fault() { return this->fault; }
66
68
70
71int ICATPortBindingProxy::soap_close_socket() { return soap_closesock(this); }
72
73int ICATPortBindingProxy::soap_force_close_socket() { return soap_force_closesock(this); }
74
76
77#ifndef WITH_LEAN
78#ifndef WITH_COMPAT
80#endif
81
82char *ICATPortBindingProxy::soap_sprint_fault(char *buf, size_t len) { return ::soap_sprint_fault(this, buf, len); }
83#endif
84
85int ICATPortBindingProxy::login(const char *endpoint, const char *soap_action, ns1__login *ns1__login_,
86 ns1__loginResponse *ns1__loginResponse_) {
87 struct soap *soap = this;
88 struct __ns1__login soap_tmp___ns1__login;
89 if (endpoint)
90 soap_endpoint = endpoint;
91 if (soap_endpoint == nullptr)
92 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
93 if (soap_action == nullptr)
94 soap_action = "http://icatproject.org/ICAT/loginRequest";
95 soap->encodingStyle = nullptr;
96 soap_tmp___ns1__login.ns1__login_ = ns1__login_;
97 soap_begin(soap);
99 soap_serialize___ns1__login(soap, &soap_tmp___ns1__login);
100 if (soap_begin_count(soap))
101 return soap->error;
102 if (soap->mode & SOAP_IO_LENGTH) {
103 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
104 soap_put___ns1__login(soap, &soap_tmp___ns1__login, "-ns1:login", nullptr) || soap_body_end_out(soap) ||
105 soap_envelope_end_out(soap))
106 return soap->error;
107 }
108 if (soap_end_count(soap))
109 return soap->error;
110 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
111 soap_putheader(soap) || soap_body_begin_out(soap) ||
112 soap_put___ns1__login(soap, &soap_tmp___ns1__login, "-ns1:login", nullptr) || soap_body_end_out(soap) ||
113 soap_envelope_end_out(soap) || soap_end_send(soap))
114 return soap_closesock(soap);
115 if (!ns1__loginResponse_)
116 return soap_closesock(soap);
117 ns1__loginResponse_->soap_default(soap);
118 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
119 return soap_closesock(soap);
120 ns1__loginResponse_->soap_get(soap, "ns1:loginResponse", "ns1:loginResponse");
121 if (soap->error)
122 return soap_recv_fault(soap, 0);
123 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
124 return soap_closesock(soap);
125 return soap_closesock(soap);
126}
127
128int ICATPortBindingProxy::getUserName(const char *endpoint, const char *soap_action,
129 ns1__getUserName *ns1__getUserName_,
130 ns1__getUserNameResponse *ns1__getUserNameResponse_) {
131 struct soap *soap = this;
132 struct __ns1__getUserName soap_tmp___ns1__getUserName;
133 if (endpoint)
134 soap_endpoint = endpoint;
135 if (soap_endpoint == nullptr)
136 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
137 if (soap_action == nullptr)
138 soap_action = "http://icatproject.org/ICAT/getUserNameRequest";
139 soap->encodingStyle = nullptr;
140 soap_tmp___ns1__getUserName.ns1__getUserName_ = ns1__getUserName_;
141 soap_begin(soap);
143 soap_serialize___ns1__getUserName(soap, &soap_tmp___ns1__getUserName);
144 if (soap_begin_count(soap))
145 return soap->error;
146 if (soap->mode & SOAP_IO_LENGTH) {
147 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
148 soap_put___ns1__getUserName(soap, &soap_tmp___ns1__getUserName, "-ns1:getUserName", nullptr) ||
149 soap_body_end_out(soap) || soap_envelope_end_out(soap))
150 return soap->error;
151 }
152 if (soap_end_count(soap))
153 return soap->error;
154 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
155 soap_putheader(soap) || soap_body_begin_out(soap) ||
156 soap_put___ns1__getUserName(soap, &soap_tmp___ns1__getUserName, "-ns1:getUserName", nullptr) ||
157 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
158 return soap_closesock(soap);
159 if (!ns1__getUserNameResponse_)
160 return soap_closesock(soap);
161 ns1__getUserNameResponse_->soap_default(soap);
162 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
163 return soap_closesock(soap);
164 ns1__getUserNameResponse_->soap_get(soap, "ns1:getUserNameResponse", "ns1:getUserNameResponse");
165 if (soap->error)
166 return soap_recv_fault(soap, 0);
167 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
168 return soap_closesock(soap);
169 return soap_closesock(soap);
170}
171
172int ICATPortBindingProxy::get(const char *endpoint, const char *soap_action, ns1__get *ns1__get_,
173 ns1__getResponse *ns1__getResponse_) {
174 struct soap *soap = this;
175 struct __ns1__get soap_tmp___ns1__get;
176 if (endpoint)
177 soap_endpoint = endpoint;
178 if (soap_endpoint == nullptr)
179 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
180 if (soap_action == nullptr)
181 soap_action = "http://icatproject.org/ICAT/getRequest";
182 soap->encodingStyle = nullptr;
183 soap_tmp___ns1__get.ns1__get_ = ns1__get_;
184 soap_begin(soap);
186 soap_serialize___ns1__get(soap, &soap_tmp___ns1__get);
187 if (soap_begin_count(soap))
188 return soap->error;
189 if (soap->mode & SOAP_IO_LENGTH) {
190 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
191 soap_put___ns1__get(soap, &soap_tmp___ns1__get, "-ns1:get", nullptr) || soap_body_end_out(soap) ||
192 soap_envelope_end_out(soap))
193 return soap->error;
194 }
195 if (soap_end_count(soap))
196 return soap->error;
197 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
198 soap_putheader(soap) || soap_body_begin_out(soap) ||
199 soap_put___ns1__get(soap, &soap_tmp___ns1__get, "-ns1:get", nullptr) || soap_body_end_out(soap) ||
200 soap_envelope_end_out(soap) || soap_end_send(soap))
201 return soap_closesock(soap);
202 if (!ns1__getResponse_)
203 return soap_closesock(soap);
204 ns1__getResponse_->soap_default(soap);
205 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
206 return soap_closesock(soap);
207 ns1__getResponse_->soap_get(soap, "ns1:getResponse", "ns1:getResponse");
208 if (soap->error)
209 return soap_recv_fault(soap, 0);
210 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
211 return soap_closesock(soap);
212 return soap_closesock(soap);
213}
214
215int ICATPortBindingProxy::getProperties(const char *endpoint, const char *soap_action,
216 ns1__getProperties *ns1__getProperties_,
217 ns1__getPropertiesResponse *ns1__getPropertiesResponse_) {
218 struct soap *soap = this;
219 struct __ns1__getProperties soap_tmp___ns1__getProperties;
220 if (endpoint)
221 soap_endpoint = endpoint;
222 if (soap_endpoint == nullptr)
223 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
224 if (soap_action == nullptr)
225 soap_action = "http://icatproject.org/ICAT/getPropertiesRequest";
226 soap->encodingStyle = nullptr;
227 soap_tmp___ns1__getProperties.ns1__getProperties_ = ns1__getProperties_;
228 soap_begin(soap);
230 soap_serialize___ns1__getProperties(soap, &soap_tmp___ns1__getProperties);
231 if (soap_begin_count(soap))
232 return soap->error;
233 if (soap->mode & SOAP_IO_LENGTH) {
234 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
235 soap_put___ns1__getProperties(soap, &soap_tmp___ns1__getProperties, "-ns1:getProperties", nullptr) ||
236 soap_body_end_out(soap) || soap_envelope_end_out(soap))
237 return soap->error;
238 }
239 if (soap_end_count(soap))
240 return soap->error;
241 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
242 soap_putheader(soap) || soap_body_begin_out(soap) ||
243 soap_put___ns1__getProperties(soap, &soap_tmp___ns1__getProperties, "-ns1:getProperties", nullptr) ||
244 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
245 return soap_closesock(soap);
246 if (!ns1__getPropertiesResponse_)
247 return soap_closesock(soap);
248 ns1__getPropertiesResponse_->soap_default(soap);
249 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
250 return soap_closesock(soap);
251 ns1__getPropertiesResponse_->soap_get(soap, "ns1:getPropertiesResponse", "ns1:getPropertiesResponse");
252 if (soap->error)
253 return soap_recv_fault(soap, 0);
254 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
255 return soap_closesock(soap);
256 return soap_closesock(soap);
257}
258
259int ICATPortBindingProxy::delete_(const char *endpoint, const char *soap_action, ns1__delete *ns1__delete_,
260 ns1__deleteResponse *ns1__deleteResponse_) {
261 struct soap *soap = this;
262 struct __ns1__delete soap_tmp___ns1__delete;
263 struct __ns1__deleteResponse *soap_tmp___ns1__deleteResponse;
264 if (endpoint)
265 soap_endpoint = endpoint;
266 if (soap_endpoint == nullptr)
267 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
268 if (soap_action == nullptr)
269 soap_action = "http://icatproject.org/ICAT/deleteRequest";
270 soap->encodingStyle = nullptr;
271 soap_tmp___ns1__delete.ns1__delete_ = ns1__delete_;
272 soap_begin(soap);
274 soap_serialize___ns1__delete(soap, &soap_tmp___ns1__delete);
275 if (soap_begin_count(soap))
276 return soap->error;
277 if (soap->mode & SOAP_IO_LENGTH) {
278 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
279 soap_put___ns1__delete(soap, &soap_tmp___ns1__delete, "-ns1:delete", nullptr) || soap_body_end_out(soap) ||
280 soap_envelope_end_out(soap))
281 return soap->error;
282 }
283 if (soap_end_count(soap))
284 return soap->error;
285 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
286 soap_putheader(soap) || soap_body_begin_out(soap) ||
287 soap_put___ns1__delete(soap, &soap_tmp___ns1__delete, "-ns1:delete", nullptr) || soap_body_end_out(soap) ||
288 soap_envelope_end_out(soap) || soap_end_send(soap))
289 return soap_closesock(soap);
290 if (!ns1__deleteResponse_)
291 return soap_closesock(soap);
292 ns1__deleteResponse_->soap_default(soap);
293 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
294 return soap_closesock(soap);
295 soap_tmp___ns1__deleteResponse =
296 soap_get___ns1__deleteResponse(soap, nullptr, "-ns1:deleteResponse", "ns1:deleteResponse");
297 if (!soap_tmp___ns1__deleteResponse || soap->error)
298 return soap_recv_fault(soap, 0);
299 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
300 return soap_closesock(soap);
301 if (ns1__deleteResponse_ && soap_tmp___ns1__deleteResponse->ns1__deleteResponse_)
302 *ns1__deleteResponse_ = *soap_tmp___ns1__deleteResponse->ns1__deleteResponse_;
303 return soap_closesock(soap);
304}
305
306int ICATPortBindingProxy::search(const char *endpoint, const char *soap_action, ns1__search *ns1__search_,
307 ns1__searchResponse *ns1__searchResponse_) {
308 struct soap *soap = this;
309 struct __ns1__search soap_tmp___ns1__search;
310 if (endpoint)
311 soap_endpoint = endpoint;
312 if (soap_endpoint == nullptr)
313 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
314 if (soap_action == nullptr)
315 soap_action = "http://icatproject.org/ICAT/searchRequest";
316 soap->encodingStyle = nullptr;
317 soap_tmp___ns1__search.ns1__search_ = ns1__search_;
318 soap_begin(soap);
320 soap_serialize___ns1__search(soap, &soap_tmp___ns1__search);
321 if (soap_begin_count(soap))
322 return soap->error;
323 if (soap->mode & SOAP_IO_LENGTH) {
324 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
325 soap_put___ns1__search(soap, &soap_tmp___ns1__search, "-ns1:search", nullptr) || soap_body_end_out(soap) ||
326 soap_envelope_end_out(soap))
327 return soap->error;
328 }
329 if (soap_end_count(soap))
330 return soap->error;
331 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
332 soap_putheader(soap) || soap_body_begin_out(soap) ||
333 soap_put___ns1__search(soap, &soap_tmp___ns1__search, "-ns1:search", nullptr) || soap_body_end_out(soap) ||
334 soap_envelope_end_out(soap) || soap_end_send(soap))
335 return soap_closesock(soap);
336 if (!ns1__searchResponse_)
337 return soap_closesock(soap);
338 ns1__searchResponse_->soap_default(soap);
339 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
340 return soap_closesock(soap);
341 ns1__searchResponse_->soap_get(soap, "ns1:searchResponse", "ns1:searchResponse");
342 if (soap->error)
343 return soap_recv_fault(soap, 0);
344 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
345 return soap_closesock(soap);
346 return soap_closesock(soap);
347}
348
349int ICATPortBindingProxy::create(const char *endpoint, const char *soap_action, ns1__create *ns1__create_,
350 ns1__createResponse *ns1__createResponse_) {
351 struct soap *soap = this;
352 struct __ns1__create soap_tmp___ns1__create;
353 if (endpoint)
354 soap_endpoint = endpoint;
355 if (soap_endpoint == nullptr)
356 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
357 if (soap_action == nullptr)
358 soap_action = "http://icatproject.org/ICAT/createRequest";
359 soap->encodingStyle = nullptr;
360 soap_tmp___ns1__create.ns1__create_ = ns1__create_;
361 soap_begin(soap);
363 soap_serialize___ns1__create(soap, &soap_tmp___ns1__create);
364 if (soap_begin_count(soap))
365 return soap->error;
366 if (soap->mode & SOAP_IO_LENGTH) {
367 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
368 soap_put___ns1__create(soap, &soap_tmp___ns1__create, "-ns1:create", nullptr) || soap_body_end_out(soap) ||
369 soap_envelope_end_out(soap))
370 return soap->error;
371 }
372 if (soap_end_count(soap))
373 return soap->error;
374 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
375 soap_putheader(soap) || soap_body_begin_out(soap) ||
376 soap_put___ns1__create(soap, &soap_tmp___ns1__create, "-ns1:create", nullptr) || soap_body_end_out(soap) ||
377 soap_envelope_end_out(soap) || soap_end_send(soap))
378 return soap_closesock(soap);
379 if (!ns1__createResponse_)
380 return soap_closesock(soap);
381 ns1__createResponse_->soap_default(soap);
382 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
383 return soap_closesock(soap);
384 ns1__createResponse_->soap_get(soap, "ns1:createResponse", "ns1:createResponse");
385 if (soap->error)
386 return soap_recv_fault(soap, 0);
387 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
388 return soap_closesock(soap);
389 return soap_closesock(soap);
390}
391
392int ICATPortBindingProxy::update(const char *endpoint, const char *soap_action, ns1__update *ns1__update_,
393 ns1__updateResponse *ns1__updateResponse_) {
394 struct soap *soap = this;
395 struct __ns1__update soap_tmp___ns1__update;
396 struct __ns1__updateResponse *soap_tmp___ns1__updateResponse;
397 if (endpoint)
398 soap_endpoint = endpoint;
399 if (soap_endpoint == nullptr)
400 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
401 if (soap_action == nullptr)
402 soap_action = "http://icatproject.org/ICAT/updateRequest";
403 soap->encodingStyle = nullptr;
404 soap_tmp___ns1__update.ns1__update_ = ns1__update_;
405 soap_begin(soap);
407 soap_serialize___ns1__update(soap, &soap_tmp___ns1__update);
408 if (soap_begin_count(soap))
409 return soap->error;
410 if (soap->mode & SOAP_IO_LENGTH) {
411 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
412 soap_put___ns1__update(soap, &soap_tmp___ns1__update, "-ns1:update", nullptr) || soap_body_end_out(soap) ||
413 soap_envelope_end_out(soap))
414 return soap->error;
415 }
416 if (soap_end_count(soap))
417 return soap->error;
418 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
419 soap_putheader(soap) || soap_body_begin_out(soap) ||
420 soap_put___ns1__update(soap, &soap_tmp___ns1__update, "-ns1:update", nullptr) || soap_body_end_out(soap) ||
421 soap_envelope_end_out(soap) || soap_end_send(soap))
422 return soap_closesock(soap);
423 if (!ns1__updateResponse_)
424 return soap_closesock(soap);
425 ns1__updateResponse_->soap_default(soap);
426 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
427 return soap_closesock(soap);
428 soap_tmp___ns1__updateResponse =
429 soap_get___ns1__updateResponse(soap, nullptr, "-ns1:updateResponse", "ns1:updateResponse");
430 if (!soap_tmp___ns1__updateResponse || soap->error)
431 return soap_recv_fault(soap, 0);
432 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
433 return soap_closesock(soap);
434 if (ns1__updateResponse_ && soap_tmp___ns1__updateResponse->ns1__updateResponse_)
435 *ns1__updateResponse_ = *soap_tmp___ns1__updateResponse->ns1__updateResponse_;
436 return soap_closesock(soap);
437}
438
439int ICATPortBindingProxy::getApiVersion(const char *endpoint, const char *soap_action,
440 ns1__getApiVersion *ns1__getApiVersion_,
441 ns1__getApiVersionResponse *ns1__getApiVersionResponse_) {
442 struct soap *soap = this;
443 struct __ns1__getApiVersion soap_tmp___ns1__getApiVersion;
444 if (endpoint)
445 soap_endpoint = endpoint;
446 if (soap_endpoint == nullptr)
447 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
448 if (soap_action == nullptr)
449 soap_action = "http://icatproject.org/ICAT/getApiVersionRequest";
450 soap->encodingStyle = nullptr;
451 soap_tmp___ns1__getApiVersion.ns1__getApiVersion_ = ns1__getApiVersion_;
452 soap_begin(soap);
454 soap_serialize___ns1__getApiVersion(soap, &soap_tmp___ns1__getApiVersion);
455 if (soap_begin_count(soap))
456 return soap->error;
457 if (soap->mode & SOAP_IO_LENGTH) {
458 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
459 soap_put___ns1__getApiVersion(soap, &soap_tmp___ns1__getApiVersion, "-ns1:getApiVersion", nullptr) ||
460 soap_body_end_out(soap) || soap_envelope_end_out(soap))
461 return soap->error;
462 }
463 if (soap_end_count(soap))
464 return soap->error;
465 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
466 soap_putheader(soap) || soap_body_begin_out(soap) ||
467 soap_put___ns1__getApiVersion(soap, &soap_tmp___ns1__getApiVersion, "-ns1:getApiVersion", nullptr) ||
468 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
469 return soap_closesock(soap);
470 if (!ns1__getApiVersionResponse_)
471 return soap_closesock(soap);
472 ns1__getApiVersionResponse_->soap_default(soap);
473 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
474 return soap_closesock(soap);
475 ns1__getApiVersionResponse_->soap_get(soap, "ns1:getApiVersionResponse", "ns1:getApiVersionResponse");
476 if (soap->error)
477 return soap_recv_fault(soap, 0);
478 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
479 return soap_closesock(soap);
480 return soap_closesock(soap);
481}
482
483int ICATPortBindingProxy::getEntityNames(const char *endpoint, const char *soap_action,
484 ns1__getEntityNames *ns1__getEntityNames_,
485 ns1__getEntityNamesResponse *ns1__getEntityNamesResponse_) {
486 struct soap *soap = this;
487 struct __ns1__getEntityNames soap_tmp___ns1__getEntityNames;
488 if (endpoint)
489 soap_endpoint = endpoint;
490 if (soap_endpoint == nullptr)
491 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
492 if (soap_action == nullptr)
493 soap_action = "http://icatproject.org/ICAT/getEntityNamesRequest";
494 soap->encodingStyle = nullptr;
495 soap_tmp___ns1__getEntityNames.ns1__getEntityNames_ = ns1__getEntityNames_;
496 soap_begin(soap);
498 soap_serialize___ns1__getEntityNames(soap, &soap_tmp___ns1__getEntityNames);
499 if (soap_begin_count(soap))
500 return soap->error;
501 if (soap->mode & SOAP_IO_LENGTH) {
502 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
503 soap_put___ns1__getEntityNames(soap, &soap_tmp___ns1__getEntityNames, "-ns1:getEntityNames", nullptr) ||
504 soap_body_end_out(soap) || soap_envelope_end_out(soap))
505 return soap->error;
506 }
507 if (soap_end_count(soap))
508 return soap->error;
509 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
510 soap_putheader(soap) || soap_body_begin_out(soap) ||
511 soap_put___ns1__getEntityNames(soap, &soap_tmp___ns1__getEntityNames, "-ns1:getEntityNames", nullptr) ||
512 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
513 return soap_closesock(soap);
514 if (!ns1__getEntityNamesResponse_)
515 return soap_closesock(soap);
516 ns1__getEntityNamesResponse_->soap_default(soap);
517 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
518 return soap_closesock(soap);
519 ns1__getEntityNamesResponse_->soap_get(soap, "ns1:getEntityNamesResponse", "ns1:getEntityNamesResponse");
520 if (soap->error)
521 return soap_recv_fault(soap, 0);
522 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
523 return soap_closesock(soap);
524 return soap_closesock(soap);
525}
526
527int ICATPortBindingProxy::refresh(const char *endpoint, const char *soap_action, ns1__refresh *ns1__refresh_,
528 ns1__refreshResponse *ns1__refreshResponse_) {
529 struct soap *soap = this;
530 struct __ns1__refresh soap_tmp___ns1__refresh;
531 struct __ns1__refreshResponse *soap_tmp___ns1__refreshResponse;
532 if (endpoint)
533 soap_endpoint = endpoint;
534 if (soap_endpoint == nullptr)
535 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
536 if (soap_action == nullptr)
537 soap_action = "http://icatproject.org/ICAT/refreshRequest";
538 soap->encodingStyle = nullptr;
539 soap_tmp___ns1__refresh.ns1__refresh_ = ns1__refresh_;
540 soap_begin(soap);
542 soap_serialize___ns1__refresh(soap, &soap_tmp___ns1__refresh);
543 if (soap_begin_count(soap))
544 return soap->error;
545 if (soap->mode & SOAP_IO_LENGTH) {
546 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
547 soap_put___ns1__refresh(soap, &soap_tmp___ns1__refresh, "-ns1:refresh", nullptr) || soap_body_end_out(soap) ||
548 soap_envelope_end_out(soap))
549 return soap->error;
550 }
551 if (soap_end_count(soap))
552 return soap->error;
553 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
554 soap_putheader(soap) || soap_body_begin_out(soap) ||
555 soap_put___ns1__refresh(soap, &soap_tmp___ns1__refresh, "-ns1:refresh", nullptr) || soap_body_end_out(soap) ||
556 soap_envelope_end_out(soap) || soap_end_send(soap))
557 return soap_closesock(soap);
558 if (!ns1__refreshResponse_)
559 return soap_closesock(soap);
560 ns1__refreshResponse_->soap_default(soap);
561 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
562 return soap_closesock(soap);
563 soap_tmp___ns1__refreshResponse =
564 soap_get___ns1__refreshResponse(soap, nullptr, "-ns1:refreshResponse", "ns1:refreshResponse");
565 if (!soap_tmp___ns1__refreshResponse || soap->error)
566 return soap_recv_fault(soap, 0);
567 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
568 return soap_closesock(soap);
569 if (ns1__refreshResponse_ && soap_tmp___ns1__refreshResponse->ns1__refreshResponse_)
570 *ns1__refreshResponse_ = *soap_tmp___ns1__refreshResponse->ns1__refreshResponse_;
571 return soap_closesock(soap);
572}
573
574int ICATPortBindingProxy::dummy(const char *endpoint, const char *soap_action, ns1__dummy *ns1__dummy_,
575 ns1__dummyResponse *ns1__dummyResponse_) {
576 struct soap *soap = this;
577 struct __ns1__dummy soap_tmp___ns1__dummy;
578 struct __ns1__dummyResponse *soap_tmp___ns1__dummyResponse;
579 if (endpoint)
580 soap_endpoint = endpoint;
581 if (soap_endpoint == nullptr)
582 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
583 if (soap_action == nullptr)
584 soap_action = "http://icatproject.org/ICAT/dummyRequest";
585 soap->encodingStyle = nullptr;
586 soap_tmp___ns1__dummy.ns1__dummy_ = ns1__dummy_;
587 soap_begin(soap);
589 soap_serialize___ns1__dummy(soap, &soap_tmp___ns1__dummy);
590 if (soap_begin_count(soap))
591 return soap->error;
592 if (soap->mode & SOAP_IO_LENGTH) {
593 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
594 soap_put___ns1__dummy(soap, &soap_tmp___ns1__dummy, "-ns1:dummy", nullptr) || soap_body_end_out(soap) ||
595 soap_envelope_end_out(soap))
596 return soap->error;
597 }
598 if (soap_end_count(soap))
599 return soap->error;
600 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
601 soap_putheader(soap) || soap_body_begin_out(soap) ||
602 soap_put___ns1__dummy(soap, &soap_tmp___ns1__dummy, "-ns1:dummy", nullptr) || soap_body_end_out(soap) ||
603 soap_envelope_end_out(soap) || soap_end_send(soap))
604 return soap_closesock(soap);
605 if (!ns1__dummyResponse_)
606 return soap_closesock(soap);
607 ns1__dummyResponse_->soap_default(soap);
608 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
609 return soap_closesock(soap);
610 soap_tmp___ns1__dummyResponse =
611 soap_get___ns1__dummyResponse(soap, nullptr, "-ns1:dummyResponse", "ns1:dummyResponse");
612 if (!soap_tmp___ns1__dummyResponse || soap->error)
613 return soap_recv_fault(soap, 0);
614 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
615 return soap_closesock(soap);
616 if (ns1__dummyResponse_ && soap_tmp___ns1__dummyResponse->ns1__dummyResponse_)
617 *ns1__dummyResponse_ = *soap_tmp___ns1__dummyResponse->ns1__dummyResponse_;
618 return soap_closesock(soap);
619}
620
621int ICATPortBindingProxy::logout(const char *endpoint, const char *soap_action, ns1__logout *ns1__logout_,
622 ns1__logoutResponse *ns1__logoutResponse_) {
623 struct soap *soap = this;
624 struct __ns1__logout soap_tmp___ns1__logout;
625 struct __ns1__logoutResponse *soap_tmp___ns1__logoutResponse;
626 if (endpoint)
627 soap_endpoint = endpoint;
628 if (soap_endpoint == nullptr)
629 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
630 if (soap_action == nullptr)
631 soap_action = "http://icatproject.org/ICAT/logoutRequest";
632 soap->encodingStyle = nullptr;
633 soap_tmp___ns1__logout.ns1__logout_ = ns1__logout_;
634 soap_begin(soap);
636 soap_serialize___ns1__logout(soap, &soap_tmp___ns1__logout);
637 if (soap_begin_count(soap))
638 return soap->error;
639 if (soap->mode & SOAP_IO_LENGTH) {
640 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
641 soap_put___ns1__logout(soap, &soap_tmp___ns1__logout, "-ns1:logout", nullptr) || soap_body_end_out(soap) ||
642 soap_envelope_end_out(soap))
643 return soap->error;
644 }
645 if (soap_end_count(soap))
646 return soap->error;
647 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
648 soap_putheader(soap) || soap_body_begin_out(soap) ||
649 soap_put___ns1__logout(soap, &soap_tmp___ns1__logout, "-ns1:logout", nullptr) || soap_body_end_out(soap) ||
650 soap_envelope_end_out(soap) || soap_end_send(soap))
651 return soap_closesock(soap);
652 if (!ns1__logoutResponse_)
653 return soap_closesock(soap);
654 ns1__logoutResponse_->soap_default(soap);
655 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
656 return soap_closesock(soap);
657 soap_tmp___ns1__logoutResponse =
658 soap_get___ns1__logoutResponse(soap, nullptr, "-ns1:logoutResponse", "ns1:logoutResponse");
659 if (!soap_tmp___ns1__logoutResponse || soap->error)
660 return soap_recv_fault(soap, 0);
661 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
662 return soap_closesock(soap);
663 if (ns1__logoutResponse_ && soap_tmp___ns1__logoutResponse->ns1__logoutResponse_)
664 *ns1__logoutResponse_ = *soap_tmp___ns1__logoutResponse->ns1__logoutResponse_;
665 return soap_closesock(soap);
666}
667
668int ICATPortBindingProxy::getRemainingMinutes(const char *endpoint, const char *soap_action,
669 ns1__getRemainingMinutes *ns1__getRemainingMinutes_,
670 ns1__getRemainingMinutesResponse *ns1__getRemainingMinutesResponse_) {
671 struct soap *soap = this;
672 struct __ns1__getRemainingMinutes soap_tmp___ns1__getRemainingMinutes;
673 if (endpoint)
674 soap_endpoint = endpoint;
675 if (soap_endpoint == nullptr)
676 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
677 if (soap_action == nullptr)
678 soap_action = "http://icatproject.org/ICAT/getRemainingMinutesRequest";
679 soap->encodingStyle = nullptr;
680 soap_tmp___ns1__getRemainingMinutes.ns1__getRemainingMinutes_ = ns1__getRemainingMinutes_;
681 soap_begin(soap);
683 soap_serialize___ns1__getRemainingMinutes(soap, &soap_tmp___ns1__getRemainingMinutes);
684 if (soap_begin_count(soap))
685 return soap->error;
686 if (soap->mode & SOAP_IO_LENGTH) {
687 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
688 soap_put___ns1__getRemainingMinutes(soap, &soap_tmp___ns1__getRemainingMinutes, "-ns1:getRemainingMinutes",
689 nullptr) ||
690 soap_body_end_out(soap) || soap_envelope_end_out(soap))
691 return soap->error;
692 }
693 if (soap_end_count(soap))
694 return soap->error;
695 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
696 soap_putheader(soap) || soap_body_begin_out(soap) ||
697 soap_put___ns1__getRemainingMinutes(soap, &soap_tmp___ns1__getRemainingMinutes, "-ns1:getRemainingMinutes",
698 nullptr) ||
699 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
700 return soap_closesock(soap);
701 if (!ns1__getRemainingMinutesResponse_)
702 return soap_closesock(soap);
703 ns1__getRemainingMinutesResponse_->soap_default(soap);
704 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
705 return soap_closesock(soap);
706 ns1__getRemainingMinutesResponse_->soap_get(soap, "ns1:getRemainingMinutesResponse",
707 "ns1:getRemainingMinutesResponse");
708 if (soap->error)
709 return soap_recv_fault(soap, 0);
710 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
711 return soap_closesock(soap);
712 return soap_closesock(soap);
713}
714
715int ICATPortBindingProxy::searchText(const char *endpoint, const char *soap_action, ns1__searchText *ns1__searchText_,
716 ns1__searchTextResponse *ns1__searchTextResponse_) {
717 struct soap *soap = this;
718 struct __ns1__searchText soap_tmp___ns1__searchText;
719 if (endpoint)
720 soap_endpoint = endpoint;
721 if (soap_endpoint == nullptr)
722 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
723 if (soap_action == nullptr)
724 soap_action = "http://icatproject.org/ICAT/searchTextRequest";
725 soap->encodingStyle = nullptr;
726 soap_tmp___ns1__searchText.ns1__searchText_ = ns1__searchText_;
727 soap_begin(soap);
729 soap_serialize___ns1__searchText(soap, &soap_tmp___ns1__searchText);
730 if (soap_begin_count(soap))
731 return soap->error;
732 if (soap->mode & SOAP_IO_LENGTH) {
733 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
734 soap_put___ns1__searchText(soap, &soap_tmp___ns1__searchText, "-ns1:searchText", nullptr) ||
735 soap_body_end_out(soap) || soap_envelope_end_out(soap))
736 return soap->error;
737 }
738 if (soap_end_count(soap))
739 return soap->error;
740 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
741 soap_putheader(soap) || soap_body_begin_out(soap) ||
742 soap_put___ns1__searchText(soap, &soap_tmp___ns1__searchText, "-ns1:searchText", nullptr) ||
743 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
744 return soap_closesock(soap);
745 if (!ns1__searchTextResponse_)
746 return soap_closesock(soap);
747 ns1__searchTextResponse_->soap_default(soap);
748 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
749 return soap_closesock(soap);
750 ns1__searchTextResponse_->soap_get(soap, "ns1:searchTextResponse", "ns1:searchTextResponse");
751 if (soap->error)
752 return soap_recv_fault(soap, 0);
753 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
754 return soap_closesock(soap);
755 return soap_closesock(soap);
756}
757
758int ICATPortBindingProxy::isAccessAllowed(const char *endpoint, const char *soap_action,
759 ns1__isAccessAllowed *ns1__isAccessAllowed_,
760 ns1__isAccessAllowedResponse *ns1__isAccessAllowedResponse_) {
761 struct soap *soap = this;
762 struct __ns1__isAccessAllowed soap_tmp___ns1__isAccessAllowed;
763 if (endpoint)
764 soap_endpoint = endpoint;
765 if (soap_endpoint == nullptr)
766 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
767 if (soap_action == nullptr)
768 soap_action = "http://icatproject.org/ICAT/isAccessAllowedRequest";
769 soap->encodingStyle = nullptr;
770 soap_tmp___ns1__isAccessAllowed.ns1__isAccessAllowed_ = ns1__isAccessAllowed_;
771 soap_begin(soap);
773 soap_serialize___ns1__isAccessAllowed(soap, &soap_tmp___ns1__isAccessAllowed);
774 if (soap_begin_count(soap))
775 return soap->error;
776 if (soap->mode & SOAP_IO_LENGTH) {
777 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
778 soap_put___ns1__isAccessAllowed(soap, &soap_tmp___ns1__isAccessAllowed, "-ns1:isAccessAllowed", nullptr) ||
779 soap_body_end_out(soap) || soap_envelope_end_out(soap))
780 return soap->error;
781 }
782 if (soap_end_count(soap))
783 return soap->error;
784 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
785 soap_putheader(soap) || soap_body_begin_out(soap) ||
786 soap_put___ns1__isAccessAllowed(soap, &soap_tmp___ns1__isAccessAllowed, "-ns1:isAccessAllowed", nullptr) ||
787 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
788 return soap_closesock(soap);
789 if (!ns1__isAccessAllowedResponse_)
790 return soap_closesock(soap);
791 ns1__isAccessAllowedResponse_->soap_default(soap);
792 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
793 return soap_closesock(soap);
794 ns1__isAccessAllowedResponse_->soap_get(soap, "ns1:isAccessAllowedResponse", "ns1:isAccessAllowedResponse");
795 if (soap->error)
796 return soap_recv_fault(soap, 0);
797 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
798 return soap_closesock(soap);
799 return soap_closesock(soap);
800}
801
802int ICATPortBindingProxy::lucenePopulate(const char *endpoint, const char *soap_action,
803 ns1__lucenePopulate *ns1__lucenePopulate_,
804 ns1__lucenePopulateResponse *ns1__lucenePopulateResponse_) {
805 struct soap *soap = this;
806 struct __ns1__lucenePopulate soap_tmp___ns1__lucenePopulate;
807 struct __ns1__lucenePopulateResponse *soap_tmp___ns1__lucenePopulateResponse;
808 if (endpoint)
809 soap_endpoint = endpoint;
810 if (soap_endpoint == nullptr)
811 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
812 if (soap_action == nullptr)
813 soap_action = "http://icatproject.org/ICAT/lucenePopulateRequest";
814 soap->encodingStyle = nullptr;
815 soap_tmp___ns1__lucenePopulate.ns1__lucenePopulate_ = ns1__lucenePopulate_;
816 soap_begin(soap);
818 soap_serialize___ns1__lucenePopulate(soap, &soap_tmp___ns1__lucenePopulate);
819 if (soap_begin_count(soap))
820 return soap->error;
821 if (soap->mode & SOAP_IO_LENGTH) {
822 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
823 soap_put___ns1__lucenePopulate(soap, &soap_tmp___ns1__lucenePopulate, "-ns1:lucenePopulate", nullptr) ||
824 soap_body_end_out(soap) || soap_envelope_end_out(soap))
825 return soap->error;
826 }
827 if (soap_end_count(soap))
828 return soap->error;
829 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
830 soap_putheader(soap) || soap_body_begin_out(soap) ||
831 soap_put___ns1__lucenePopulate(soap, &soap_tmp___ns1__lucenePopulate, "-ns1:lucenePopulate", nullptr) ||
832 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
833 return soap_closesock(soap);
834 if (!ns1__lucenePopulateResponse_)
835 return soap_closesock(soap);
836 ns1__lucenePopulateResponse_->soap_default(soap);
837 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
838 return soap_closesock(soap);
839 soap_tmp___ns1__lucenePopulateResponse = soap_get___ns1__lucenePopulateResponse(
840 soap, nullptr, "-ns1:lucenePopulateResponse", "ns1:lucenePopulateResponse");
841 if (!soap_tmp___ns1__lucenePopulateResponse || soap->error)
842 return soap_recv_fault(soap, 0);
843 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
844 return soap_closesock(soap);
845 if (ns1__lucenePopulateResponse_ && soap_tmp___ns1__lucenePopulateResponse->ns1__lucenePopulateResponse_)
846 *ns1__lucenePopulateResponse_ = *soap_tmp___ns1__lucenePopulateResponse->ns1__lucenePopulateResponse_;
847 return soap_closesock(soap);
848}
849
850int ICATPortBindingProxy::luceneClear(const char *endpoint, const char *soap_action,
851 ns1__luceneClear *ns1__luceneClear_,
852 ns1__luceneClearResponse *ns1__luceneClearResponse_) {
853 struct soap *soap = this;
854 struct __ns1__luceneClear soap_tmp___ns1__luceneClear;
855 struct __ns1__luceneClearResponse *soap_tmp___ns1__luceneClearResponse;
856 if (endpoint)
857 soap_endpoint = endpoint;
858 if (soap_endpoint == nullptr)
859 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
860 if (soap_action == nullptr)
861 soap_action = "http://icatproject.org/ICAT/luceneClearRequest";
862 soap->encodingStyle = nullptr;
863 soap_tmp___ns1__luceneClear.ns1__luceneClear_ = ns1__luceneClear_;
864 soap_begin(soap);
866 soap_serialize___ns1__luceneClear(soap, &soap_tmp___ns1__luceneClear);
867 if (soap_begin_count(soap))
868 return soap->error;
869 if (soap->mode & SOAP_IO_LENGTH) {
870 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
871 soap_put___ns1__luceneClear(soap, &soap_tmp___ns1__luceneClear, "-ns1:luceneClear", nullptr) ||
872 soap_body_end_out(soap) || soap_envelope_end_out(soap))
873 return soap->error;
874 }
875 if (soap_end_count(soap))
876 return soap->error;
877 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
878 soap_putheader(soap) || soap_body_begin_out(soap) ||
879 soap_put___ns1__luceneClear(soap, &soap_tmp___ns1__luceneClear, "-ns1:luceneClear", nullptr) ||
880 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
881 return soap_closesock(soap);
882 if (!ns1__luceneClearResponse_)
883 return soap_closesock(soap);
884 ns1__luceneClearResponse_->soap_default(soap);
885 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
886 return soap_closesock(soap);
887 soap_tmp___ns1__luceneClearResponse =
888 soap_get___ns1__luceneClearResponse(soap, nullptr, "-ns1:luceneClearResponse", "ns1:luceneClearResponse");
889 if (!soap_tmp___ns1__luceneClearResponse || soap->error)
890 return soap_recv_fault(soap, 0);
891 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
892 return soap_closesock(soap);
893 if (ns1__luceneClearResponse_ && soap_tmp___ns1__luceneClearResponse->ns1__luceneClearResponse_)
894 *ns1__luceneClearResponse_ = *soap_tmp___ns1__luceneClearResponse->ns1__luceneClearResponse_;
895 return soap_closesock(soap);
896}
897
898int ICATPortBindingProxy::luceneCommit(const char *endpoint, const char *soap_action,
899 ns1__luceneCommit *ns1__luceneCommit_,
900 ns1__luceneCommitResponse *ns1__luceneCommitResponse_) {
901 struct soap *soap = this;
902 struct __ns1__luceneCommit soap_tmp___ns1__luceneCommit;
903 struct __ns1__luceneCommitResponse *soap_tmp___ns1__luceneCommitResponse;
904 if (endpoint)
905 soap_endpoint = endpoint;
906 if (soap_endpoint == nullptr)
907 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
908 if (soap_action == nullptr)
909 soap_action = "http://icatproject.org/ICAT/luceneCommitRequest";
910 soap->encodingStyle = nullptr;
911 soap_tmp___ns1__luceneCommit.ns1__luceneCommit_ = ns1__luceneCommit_;
912 soap_begin(soap);
914 soap_serialize___ns1__luceneCommit(soap, &soap_tmp___ns1__luceneCommit);
915 if (soap_begin_count(soap))
916 return soap->error;
917 if (soap->mode & SOAP_IO_LENGTH) {
918 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
919 soap_put___ns1__luceneCommit(soap, &soap_tmp___ns1__luceneCommit, "-ns1:luceneCommit", nullptr) ||
920 soap_body_end_out(soap) || soap_envelope_end_out(soap))
921 return soap->error;
922 }
923 if (soap_end_count(soap))
924 return soap->error;
925 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
926 soap_putheader(soap) || soap_body_begin_out(soap) ||
927 soap_put___ns1__luceneCommit(soap, &soap_tmp___ns1__luceneCommit, "-ns1:luceneCommit", nullptr) ||
928 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
929 return soap_closesock(soap);
930 if (!ns1__luceneCommitResponse_)
931 return soap_closesock(soap);
932 ns1__luceneCommitResponse_->soap_default(soap);
933 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
934 return soap_closesock(soap);
935 soap_tmp___ns1__luceneCommitResponse =
936 soap_get___ns1__luceneCommitResponse(soap, nullptr, "-ns1:luceneCommitResponse", "ns1:luceneCommitResponse");
937 if (!soap_tmp___ns1__luceneCommitResponse || soap->error)
938 return soap_recv_fault(soap, 0);
939 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
940 return soap_closesock(soap);
941 if (ns1__luceneCommitResponse_ && soap_tmp___ns1__luceneCommitResponse->ns1__luceneCommitResponse_)
942 *ns1__luceneCommitResponse_ = *soap_tmp___ns1__luceneCommitResponse->ns1__luceneCommitResponse_;
943 return soap_closesock(soap);
944}
945
946int ICATPortBindingProxy::luceneSearch(const char *endpoint, const char *soap_action,
947 ns1__luceneSearch *ns1__luceneSearch_,
948 ns1__luceneSearchResponse *ns1__luceneSearchResponse_) {
949 struct soap *soap = this;
950 struct __ns1__luceneSearch soap_tmp___ns1__luceneSearch;
951 if (endpoint)
952 soap_endpoint = endpoint;
953 if (soap_endpoint == nullptr)
954 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
955 if (soap_action == nullptr)
956 soap_action = "http://icatproject.org/ICAT/luceneSearchRequest";
957 soap->encodingStyle = nullptr;
958 soap_tmp___ns1__luceneSearch.ns1__luceneSearch_ = ns1__luceneSearch_;
959 soap_begin(soap);
961 soap_serialize___ns1__luceneSearch(soap, &soap_tmp___ns1__luceneSearch);
962 if (soap_begin_count(soap))
963 return soap->error;
964 if (soap->mode & SOAP_IO_LENGTH) {
965 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
966 soap_put___ns1__luceneSearch(soap, &soap_tmp___ns1__luceneSearch, "-ns1:luceneSearch", nullptr) ||
967 soap_body_end_out(soap) || soap_envelope_end_out(soap))
968 return soap->error;
969 }
970 if (soap_end_count(soap))
971 return soap->error;
972 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
973 soap_putheader(soap) || soap_body_begin_out(soap) ||
974 soap_put___ns1__luceneSearch(soap, &soap_tmp___ns1__luceneSearch, "-ns1:luceneSearch", nullptr) ||
975 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
976 return soap_closesock(soap);
977 if (!ns1__luceneSearchResponse_)
978 return soap_closesock(soap);
979 ns1__luceneSearchResponse_->soap_default(soap);
980 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
981 return soap_closesock(soap);
982 ns1__luceneSearchResponse_->soap_get(soap, "ns1:luceneSearchResponse", "ns1:luceneSearchResponse");
983 if (soap->error)
984 return soap_recv_fault(soap, 0);
985 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
986 return soap_closesock(soap);
987 return soap_closesock(soap);
988}
989
990int ICATPortBindingProxy::luceneGetPopulating(const char *endpoint, const char *soap_action,
991 ns1__luceneGetPopulating *ns1__luceneGetPopulating_,
992 ns1__luceneGetPopulatingResponse *ns1__luceneGetPopulatingResponse_) {
993 struct soap *soap = this;
994 struct __ns1__luceneGetPopulating soap_tmp___ns1__luceneGetPopulating;
995 if (endpoint)
996 soap_endpoint = endpoint;
997 if (soap_endpoint == nullptr)
998 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
999 if (soap_action == nullptr)
1000 soap_action = "http://icatproject.org/ICAT/luceneGetPopulatingRequest";
1001 soap->encodingStyle = nullptr;
1002 soap_tmp___ns1__luceneGetPopulating.ns1__luceneGetPopulating_ = ns1__luceneGetPopulating_;
1003 soap_begin(soap);
1005 soap_serialize___ns1__luceneGetPopulating(soap, &soap_tmp___ns1__luceneGetPopulating);
1006 if (soap_begin_count(soap))
1007 return soap->error;
1008 if (soap->mode & SOAP_IO_LENGTH) {
1009 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
1010 soap_put___ns1__luceneGetPopulating(soap, &soap_tmp___ns1__luceneGetPopulating, "-ns1:luceneGetPopulating",
1011 nullptr) ||
1012 soap_body_end_out(soap) || soap_envelope_end_out(soap))
1013 return soap->error;
1014 }
1015 if (soap_end_count(soap))
1016 return soap->error;
1017 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
1018 soap_putheader(soap) || soap_body_begin_out(soap) ||
1019 soap_put___ns1__luceneGetPopulating(soap, &soap_tmp___ns1__luceneGetPopulating, "-ns1:luceneGetPopulating",
1020 nullptr) ||
1021 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
1022 return soap_closesock(soap);
1023 if (!ns1__luceneGetPopulatingResponse_)
1024 return soap_closesock(soap);
1025 ns1__luceneGetPopulatingResponse_->soap_default(soap);
1026 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
1027 return soap_closesock(soap);
1028 ns1__luceneGetPopulatingResponse_->soap_get(soap, "ns1:luceneGetPopulatingResponse",
1029 "ns1:luceneGetPopulatingResponse");
1030 if (soap->error)
1031 return soap_recv_fault(soap, 0);
1032 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
1033 return soap_closesock(soap);
1034 return soap_closesock(soap);
1035}
1036
1037int ICATPortBindingProxy::createMany(const char *endpoint, const char *soap_action, ns1__createMany *ns1__createMany_,
1038 ns1__createManyResponse *ns1__createManyResponse_) {
1039 struct soap *soap = this;
1040 struct __ns1__createMany soap_tmp___ns1__createMany;
1041 if (endpoint)
1042 soap_endpoint = endpoint;
1043 if (soap_endpoint == nullptr)
1044 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
1045 if (soap_action == nullptr)
1046 soap_action = "http://icatproject.org/ICAT/createManyRequest";
1047 soap->encodingStyle = nullptr;
1048 soap_tmp___ns1__createMany.ns1__createMany_ = ns1__createMany_;
1049 soap_begin(soap);
1051 soap_serialize___ns1__createMany(soap, &soap_tmp___ns1__createMany);
1052 if (soap_begin_count(soap))
1053 return soap->error;
1054 if (soap->mode & SOAP_IO_LENGTH) {
1055 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
1056 soap_put___ns1__createMany(soap, &soap_tmp___ns1__createMany, "-ns1:createMany", nullptr) ||
1057 soap_body_end_out(soap) || soap_envelope_end_out(soap))
1058 return soap->error;
1059 }
1060 if (soap_end_count(soap))
1061 return soap->error;
1062 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
1063 soap_putheader(soap) || soap_body_begin_out(soap) ||
1064 soap_put___ns1__createMany(soap, &soap_tmp___ns1__createMany, "-ns1:createMany", nullptr) ||
1065 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
1066 return soap_closesock(soap);
1067 if (!ns1__createManyResponse_)
1068 return soap_closesock(soap);
1069 ns1__createManyResponse_->soap_default(soap);
1070 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
1071 return soap_closesock(soap);
1072 ns1__createManyResponse_->soap_get(soap, "ns1:createManyResponse", "ns1:createManyResponse");
1073 if (soap->error)
1074 return soap_recv_fault(soap, 0);
1075 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
1076 return soap_closesock(soap);
1077 return soap_closesock(soap);
1078}
1079
1080int ICATPortBindingProxy::deleteMany(const char *endpoint, const char *soap_action, ns1__deleteMany *ns1__deleteMany_,
1081 ns1__deleteManyResponse *ns1__deleteManyResponse_) {
1082 struct soap *soap = this;
1083 struct __ns1__deleteMany soap_tmp___ns1__deleteMany;
1084 struct __ns1__deleteManyResponse *soap_tmp___ns1__deleteManyResponse;
1085 if (endpoint)
1086 soap_endpoint = endpoint;
1087 if (soap_endpoint == nullptr)
1088 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
1089 if (soap_action == nullptr)
1090 soap_action = "http://icatproject.org/ICAT/deleteManyRequest";
1091 soap->encodingStyle = nullptr;
1092 soap_tmp___ns1__deleteMany.ns1__deleteMany_ = ns1__deleteMany_;
1093 soap_begin(soap);
1095 soap_serialize___ns1__deleteMany(soap, &soap_tmp___ns1__deleteMany);
1096 if (soap_begin_count(soap))
1097 return soap->error;
1098 if (soap->mode & SOAP_IO_LENGTH) {
1099 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
1100 soap_put___ns1__deleteMany(soap, &soap_tmp___ns1__deleteMany, "-ns1:deleteMany", nullptr) ||
1101 soap_body_end_out(soap) || soap_envelope_end_out(soap))
1102 return soap->error;
1103 }
1104 if (soap_end_count(soap))
1105 return soap->error;
1106 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
1107 soap_putheader(soap) || soap_body_begin_out(soap) ||
1108 soap_put___ns1__deleteMany(soap, &soap_tmp___ns1__deleteMany, "-ns1:deleteMany", nullptr) ||
1109 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
1110 return soap_closesock(soap);
1111 if (!ns1__deleteManyResponse_)
1112 return soap_closesock(soap);
1113 ns1__deleteManyResponse_->soap_default(soap);
1114 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
1115 return soap_closesock(soap);
1116 soap_tmp___ns1__deleteManyResponse =
1117 soap_get___ns1__deleteManyResponse(soap, nullptr, "-ns1:deleteManyResponse", "ns1:deleteManyResponse");
1118 if (!soap_tmp___ns1__deleteManyResponse || soap->error)
1119 return soap_recv_fault(soap, 0);
1120 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
1121 return soap_closesock(soap);
1122 if (ns1__deleteManyResponse_ && soap_tmp___ns1__deleteManyResponse->ns1__deleteManyResponse_)
1123 *ns1__deleteManyResponse_ = *soap_tmp___ns1__deleteManyResponse->ns1__deleteManyResponse_;
1124 return soap_closesock(soap);
1125}
1126
1127int ICATPortBindingProxy::getEntityInfo(const char *endpoint, const char *soap_action,
1128 ns1__getEntityInfo *ns1__getEntityInfo_,
1129 ns1__getEntityInfoResponse *ns1__getEntityInfoResponse_) {
1130 struct soap *soap = this;
1131 struct __ns1__getEntityInfo soap_tmp___ns1__getEntityInfo;
1132 if (endpoint)
1133 soap_endpoint = endpoint;
1134 if (soap_endpoint == nullptr)
1135 soap_endpoint = "https://icatisis.esc.rl.ac.uk:443/ICATService/ICAT";
1136 if (soap_action == nullptr)
1137 soap_action = "http://icatproject.org/ICAT/getEntityInfoRequest";
1138 soap->encodingStyle = nullptr;
1139 soap_tmp___ns1__getEntityInfo.ns1__getEntityInfo_ = ns1__getEntityInfo_;
1140 soap_begin(soap);
1142 soap_serialize___ns1__getEntityInfo(soap, &soap_tmp___ns1__getEntityInfo);
1143 if (soap_begin_count(soap))
1144 return soap->error;
1145 if (soap->mode & SOAP_IO_LENGTH) {
1146 if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) ||
1147 soap_put___ns1__getEntityInfo(soap, &soap_tmp___ns1__getEntityInfo, "-ns1:getEntityInfo", nullptr) ||
1148 soap_body_end_out(soap) || soap_envelope_end_out(soap))
1149 return soap->error;
1150 }
1151 if (soap_end_count(soap))
1152 return soap->error;
1153 if (soap_connect(soap, soap_url(soap, soap_endpoint, nullptr), soap_action) || soap_envelope_begin_out(soap) ||
1154 soap_putheader(soap) || soap_body_begin_out(soap) ||
1155 soap_put___ns1__getEntityInfo(soap, &soap_tmp___ns1__getEntityInfo, "-ns1:getEntityInfo", nullptr) ||
1156 soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap))
1157 return soap_closesock(soap);
1158 if (!ns1__getEntityInfoResponse_)
1159 return soap_closesock(soap);
1160 ns1__getEntityInfoResponse_->soap_default(soap);
1161 if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap))
1162 return soap_closesock(soap);
1163 ns1__getEntityInfoResponse_->soap_get(soap, "ns1:getEntityInfoResponse", "ns1:getEntityInfoResponse");
1164 if (soap->error)
1165 return soap_recv_fault(soap, 0);
1166 if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap))
1167 return soap_closesock(soap);
1168 return soap_closesock(soap);
1169}
1170
1171} // namespace ICat4
1172
1173/* End of client proxy code */
virtual int dummy(ns1__dummy *ns1__dummy_, ns1__dummyResponse *ns1__dummyResponse_)
Web service operation 'dummy' (returns error code or SOAP_OK)
virtual int deleteMany(ns1__deleteMany *ns1__deleteMany_, ns1__deleteManyResponse *ns1__deleteManyResponse_)
Web service operation 'deleteMany' (returns error code or SOAP_OK)
virtual int isAccessAllowed(ns1__isAccessAllowed *ns1__isAccessAllowed_, ns1__isAccessAllowedResponse *ns1__isAccessAllowedResponse_)
Web service operation 'isAccessAllowed' (returns error code or SOAP_OK)
virtual int luceneSearch(ns1__luceneSearch *ns1__luceneSearch_, ns1__luceneSearchResponse *ns1__luceneSearchResponse_)
Web service operation 'luceneSearch' (returns error code or SOAP_OK)
virtual int luceneGetPopulating(ns1__luceneGetPopulating *ns1__luceneGetPopulating_, ns1__luceneGetPopulatingResponse *ns1__luceneGetPopulatingResponse_)
Web service operation 'luceneGetPopulating' (returns error code or SOAP_OK)
virtual int refresh(ns1__refresh *ns1__refresh_, ns1__refreshResponse *ns1__refreshResponse_)
Web service operation 'refresh' (returns error code or SOAP_OK)
virtual const SOAP_ENV__Fault * soap_fault()
Get SOAP Fault structure (NULL when absent)
virtual int getEntityInfo(ns1__getEntityInfo *ns1__getEntityInfo_, ns1__getEntityInfoResponse *ns1__getEntityInfoResponse_)
Web service operation 'getEntityInfo' (returns error code or SOAP_OK)
virtual void soap_noheader()
Disables and removes SOAP Header from message.
virtual int luceneClear(ns1__luceneClear *ns1__luceneClear_, ns1__luceneClearResponse *ns1__luceneClearResponse_)
Web service operation 'luceneClear' (returns error code or SOAP_OK)
virtual int getProperties(ns1__getProperties *ns1__getProperties_, ns1__getPropertiesResponse *ns1__getPropertiesResponse_)
Web service operation 'getProperties' (returns error code or SOAP_OK)
virtual const SOAP_ENV__Header * soap_header()
Get SOAP Header structure (NULL when absent)
virtual char * soap_sprint_fault(char *buf, size_t len)
Put fault into buffer.
virtual int getUserName(ns1__getUserName *ns1__getUserName_, ns1__getUserNameResponse *ns1__getUserNameResponse_)
Web service operation 'getUserName' (returns error code or SOAP_OK)
virtual int delete_(ns1__delete *ns1__delete_, ns1__deleteResponse *ns1__deleteResponse_)
Web service operation 'delete' (returns error code or SOAP_OK)
virtual void soap_print_fault(FILE *)
Print fault.
virtual const char * soap_fault_string()
Get SOAP Fault string (NULL when absent)
virtual const char * soap_fault_detail()
Get SOAP Fault detail as string (NULL when absent)
virtual int update(ns1__update *ns1__update_, ns1__updateResponse *ns1__updateResponse_)
Web service operation 'update' (returns error code or SOAP_OK)
const char * soap_endpoint
Endpoint URL of service 'ICATPortBindingProxy' (change as needed)
virtual int soap_force_close_socket()
Force close connection (can kill a thread blocked on IO)
virtual int logout(ns1__logout *ns1__logout_, ns1__logoutResponse *ns1__logoutResponse_)
Web service operation 'logout' (returns error code or SOAP_OK)
virtual int getApiVersion(ns1__getApiVersion *ns1__getApiVersion_, ns1__getApiVersionResponse *ns1__getApiVersionResponse_)
Web service operation 'getApiVersion' (returns error code or SOAP_OK)
virtual int create(ns1__create *ns1__create_, ns1__createResponse *ns1__createResponse_)
Web service operation 'create' (returns error code or SOAP_OK)
virtual void soap_stream_fault(std::ostream &)
Print fault to stream.
virtual int createMany(ns1__createMany *ns1__createMany_, ns1__createManyResponse *ns1__createManyResponse_)
Web service operation 'createMany' (returns error code or SOAP_OK)
virtual void destroy()
Delete all deserialized data (with soap_destroy and soap_end)
virtual int searchText(ns1__searchText *ns1__searchText_, ns1__searchTextResponse *ns1__searchTextResponse_)
Web service operation 'searchText' (returns error code or SOAP_OK)
virtual void ICATPortBindingProxy_init(soap_mode imode, soap_mode omode)
Initializer used by constructors.
virtual int get(ns1__get *ns1__get_, ns1__getResponse *ns1__getResponse_)
Web service operation 'get' (returns error code or SOAP_OK)
virtual int getEntityNames(ns1__getEntityNames *ns1__getEntityNames_, ns1__getEntityNamesResponse *ns1__getEntityNamesResponse_)
Web service operation 'getEntityNames' (returns error code or SOAP_OK)
virtual int luceneCommit(ns1__luceneCommit *ns1__luceneCommit_, ns1__luceneCommitResponse *ns1__luceneCommitResponse_)
Web service operation 'luceneCommit' (returns error code or SOAP_OK)
virtual void reset()
Delete all deserialized data and reset to default.
virtual int soap_close_socket()
Close connection (normally automatic, except for send_X ops)
virtual int getRemainingMinutes(ns1__getRemainingMinutes *ns1__getRemainingMinutes_, ns1__getRemainingMinutesResponse *ns1__getRemainingMinutesResponse_)
Web service operation 'getRemainingMinutes' (returns error code or SOAP_OK)
virtual int search(ns1__search *ns1__search_, ns1__searchResponse *ns1__searchResponse_)
Web service operation 'search' (returns error code or SOAP_OK)
virtual int lucenePopulate(ns1__lucenePopulate *ns1__lucenePopulate_, ns1__lucenePopulateResponse *ns1__lucenePopulateResponse_)
Web service operation 'lucenePopulate' (returns error code or SOAP_OK)
virtual int login(ns1__login *ns1__login_, ns1__loginResponse *ns1__loginResponse_)
Web service operation 'login' (returns error code or SOAP_OK)
void soap_default(struct soap *) override
Definition: ICat4C.cpp:21945
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:22035
void soap_default(struct soap *) override
Definition: ICat4C.cpp:21647
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:21742
void soap_default(struct soap *) override
Definition: ICat4C.cpp:19148
void soap_default(struct soap *) override
Definition: ICat4C.cpp:6873
void soap_default(struct soap *) override
Definition: ICat4C.cpp:8491
void soap_default(struct soap *) override
Definition: ICat4C.cpp:19956
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:20050
void soap_default(struct soap *) override
Definition: ICat4C.cpp:8198
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:8293
void soap_default(struct soap *) override
Definition: ICat4C.cpp:20211
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:20304
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:21449
void soap_default(struct soap *) override
Definition: ICat4C.cpp:21357
void soap_default(struct soap *) override
Definition: ICat4C.cpp:5725
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:5823
void soap_default(struct soap *) override
Definition: ICat4C.cpp:20465
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:20557
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:18952
void soap_default(struct soap *) override
Definition: ICat4C.cpp:18859
void soap_default(struct soap *) override
Definition: ICat4C.cpp:6560
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:6657
void soap_default(struct soap *) override
Definition: ICat4C.cpp:18314
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:18405
void soap_default(struct soap *) override
Definition: ICat4C.cpp:6021
void soap_default(struct soap *) override
Definition: ICat4C.cpp:23370
void soap_default(struct soap *) override
Definition: ICat4C.cpp:7452
void soap_default(struct soap *) override
Definition: ICat4C.cpp:19665
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:19758
void soap_default(struct soap *) override
Definition: ICat4C.cpp:20771
void soap_default(struct soap *) override
Definition: ICat4C.cpp:21036
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:21127
void soap_default(struct soap *) override
Definition: ICat4C.cpp:18612
void soap_default(struct soap *) override
Definition: ICat4C.cpp:6268
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:6357
void soap_default(struct soap *) override
Definition: ICat4C.cpp:7130
void * soap_get(struct soap *, const char *, const char *) override
Definition: ICat4C.cpp:7222
void soap_default(struct soap *) override
Definition: ICat4C.cpp:19408
Definition: ICat4H.h:14
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__dummy(struct soap *, const struct __ns1__dummy *, const char *, const char *)
Definition: ICat4C.cpp:29031
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__logout(struct soap *, const struct __ns1__logout *)
Definition: ICat4C.cpp:28764
SOAP_FMAC3 struct __ns1__refreshResponse *SOAP_FMAC4 soap_get___ns1__refreshResponse(struct soap *, struct __ns1__refreshResponse *, const char *, const char *)
Definition: ICat4C.cpp:29370
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getProperties(struct soap *, const struct __ns1__getProperties *, const char *, const char *)
Definition: ICat4C.cpp:30344
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__login(struct soap *, const struct __ns1__login *, const char *, const char *)
Definition: ICat4C.cpp:30666
SOAP_FMAC3 const char **SOAP_FMAC4 soap_faultstring(struct soap *soap)
Definition: ICat4C.cpp:116
SOAP_FMAC3 struct __ns1__dummyResponse *SOAP_FMAC4 soap_get___ns1__dummyResponse(struct soap *, struct __ns1__dummyResponse *, const char *, const char *)
Definition: ICat4C.cpp:29150
SOAP_FMAC3 struct __ns1__updateResponse *SOAP_FMAC4 soap_get___ns1__updateResponse(struct soap *, struct __ns1__updateResponse *, const char *, const char *)
Definition: ICat4C.cpp:29812
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__get(struct soap *, const struct __ns1__get *, const char *, const char *)
Definition: ICat4C.cpp:30452
SOAP_FMAC3 struct __ns1__luceneClearResponse *SOAP_FMAC4 soap_get___ns1__luceneClearResponse(struct soap *, struct __ns1__luceneClearResponse *, const char *, const char *)
Definition: ICat4C.cpp:28155
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__isAccessAllowed(struct soap *, const struct __ns1__isAccessAllowed *, const char *, const char *)
Definition: ICat4C.cpp:28482
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__luceneClear(struct soap *, const struct __ns1__luceneClear *)
Definition: ICat4C.cpp:27980
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__delete(struct soap *, const struct __ns1__delete *, const char *, const char *)
Definition: ICat4C.cpp:30122
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getEntityNames(struct soap *, const struct __ns1__getEntityNames *, const char *, const char *)
Definition: ICat4C.cpp:29474
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__dummy(struct soap *, const struct __ns1__dummy *)
Definition: ICat4C.cpp:28983
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__search(struct soap *, const struct __ns1__search *, const char *, const char *)
Definition: ICat4C.cpp:30017
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__refresh(struct soap *, const struct __ns1__refresh *)
Definition: ICat4C.cpp:29202
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__searchText(struct soap *, const struct __ns1__searchText *, const char *, const char *)
Definition: ICat4C.cpp:28592
SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
Definition: ICat4C.cpp:31
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__search(struct soap *, const struct __ns1__search *)
Definition: ICat4C.cpp:29969
SOAP_FMAC3 struct __ns1__luceneCommitResponse *SOAP_FMAC4 soap_get___ns1__luceneCommitResponse(struct soap *, struct __ns1__luceneCommitResponse *, const char *, const char *)
Definition: ICat4C.cpp:27931
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__luceneSearch(struct soap *, const struct __ns1__luceneSearch *, const char *, const char *)
Definition: ICat4C.cpp:27696
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__luceneCommit(struct soap *, const struct __ns1__luceneCommit *)
Definition: ICat4C.cpp:27756
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getApiVersion(struct soap *, const struct __ns1__getApiVersion *, const char *, const char *)
Definition: ICat4C.cpp:29585
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__luceneCommit(struct soap *, const struct __ns1__luceneCommit *, const char *, const char *)
Definition: ICat4C.cpp:27805
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__luceneGetPopulating(struct soap *, const struct __ns1__luceneGetPopulating *)
Definition: ICat4C.cpp:27536
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__deleteMany(struct soap *, const struct __ns1__deleteMany *)
Definition: ICat4C.cpp:27203
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getRemainingMinutes(struct soap *, const struct __ns1__getRemainingMinutes *)
Definition: ICat4C.cpp:28653
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getUserName(struct soap *, const struct __ns1__getUserName *)
Definition: ICat4C.cpp:30509
SOAP_FMAC3 struct __ns1__deleteManyResponse *SOAP_FMAC4 soap_get___ns1__deleteManyResponse(struct soap *, struct __ns1__deleteManyResponse *, const char *, const char *)
Definition: ICat4C.cpp:27377
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__get(struct soap *, const struct __ns1__get *)
Definition: ICat4C.cpp:30404
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getApiVersion(struct soap *, const struct __ns1__getApiVersion *)
Definition: ICat4C.cpp:29534
SOAP_FMAC3 struct __ns1__lucenePopulateResponse *SOAP_FMAC4 soap_get___ns1__lucenePopulateResponse(struct soap *, struct __ns1__lucenePopulateResponse *, const char *, const char *)
Definition: ICat4C.cpp:28381
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__lucenePopulate(struct soap *, const struct __ns1__lucenePopulate *)
Definition: ICat4C.cpp:28204
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__deleteMany(struct soap *, const struct __ns1__deleteMany *, const char *, const char *)
Definition: ICat4C.cpp:27252
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__update(struct soap *, const struct __ns1__update *)
Definition: ICat4C.cpp:29645
SOAP_FMAC3 struct __ns1__logoutResponse *SOAP_FMAC4 soap_get___ns1__logoutResponse(struct soap *, struct __ns1__logoutResponse *, const char *, const char *)
Definition: ICat4C.cpp:28931
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__createMany(struct soap *, const struct __ns1__createMany *, const char *, const char *)
Definition: ICat4C.cpp:27475
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__update(struct soap *, const struct __ns1__update *, const char *, const char *)
Definition: ICat4C.cpp:29693
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getEntityNames(struct soap *, const struct __ns1__getEntityNames *)
Definition: ICat4C.cpp:29423
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__createMany(struct soap *, const struct __ns1__createMany *)
Definition: ICat4C.cpp:27426
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__lucenePopulate(struct soap *, const struct __ns1__lucenePopulate *, const char *, const char *)
Definition: ICat4C.cpp:28255
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getRemainingMinutes(struct soap *, const struct __ns1__getRemainingMinutes *, const char *, const char *)
Definition: ICat4C.cpp:28706
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__searchText(struct soap *, const struct __ns1__searchText *)
Definition: ICat4C.cpp:28543
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getEntityInfo(struct soap *, const struct __ns1__getEntityInfo *, const char *, const char *)
Definition: ICat4C.cpp:27143
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__create(struct soap *, const struct __ns1__create *, const char *, const char *)
Definition: ICat4C.cpp:29912
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__delete(struct soap *, const struct __ns1__delete *)
Definition: ICat4C.cpp:30074
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__refresh(struct soap *, const struct __ns1__refresh *, const char *, const char *)
Definition: ICat4C.cpp:29250
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getEntityInfo(struct soap *, const struct __ns1__getEntityInfo *)
Definition: ICat4C.cpp:27092
SOAP_FMAC3 struct __ns1__deleteResponse *SOAP_FMAC4 soap_get___ns1__deleteResponse(struct soap *, struct __ns1__deleteResponse *, const char *, const char *)
Definition: ICat4C.cpp:30241
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__luceneGetPopulating(struct soap *, const struct __ns1__luceneGetPopulating *, const char *, const char *)
Definition: ICat4C.cpp:27589
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__luceneClear(struct soap *, const struct __ns1__luceneClear *, const char *, const char *)
Definition: ICat4C.cpp:28029
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__luceneSearch(struct soap *, const struct __ns1__luceneSearch *)
Definition: ICat4C.cpp:27647
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__logout(struct soap *, const struct __ns1__logout *, const char *, const char *)
Definition: ICat4C.cpp:28812
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__getUserName(struct soap *, const struct __ns1__getUserName *, const char *, const char *)
Definition: ICat4C.cpp:30558
SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
Definition: ICat4C.cpp:41
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__create(struct soap *, const struct __ns1__create *)
Definition: ICat4C.cpp:29864
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__login(struct soap *, const struct __ns1__login *)
Definition: ICat4C.cpp:30618
SOAP_FMAC3 const char **SOAP_FMAC4 soap_faultdetail(struct soap *soap)
Definition: ICat4C.cpp:123
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__isAccessAllowed(struct soap *, const struct __ns1__isAccessAllowed *)
Definition: ICat4C.cpp:28430
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__getProperties(struct soap *, const struct __ns1__getProperties *)
Definition: ICat4C.cpp:30293
ns1__createMany * ns1__createMany_
Definition: ICat4Stub.h:2700
ns1__create * ns1__create_
Definition: ICat4Stub.h:2421
ns1__deleteManyResponse * ns1__deleteManyResponse_
Definition: ICat4Stub.h:2711
ns1__deleteMany * ns1__deleteMany_
Definition: ICat4Stub.h:2727
ns1__deleteResponse * ns1__deleteResponse_
Definition: ICat4Stub.h:2383
ns1__delete * ns1__delete_
Definition: ICat4Stub.h:2399
ns1__dummyResponse * ns1__dummyResponse_
Definition: ICat4Stub.h:2508
ns1__dummy * ns1__dummy_
Definition: ICat4Stub.h:2524
ns1__getApiVersion * ns1__getApiVersion_
Definition: ICat4Stub.h:2459
ns1__getEntityInfo * ns1__getEntityInfo_
Definition: ICat4Stub.h:2738
ns1__getEntityNames * ns1__getEntityNames_
Definition: ICat4Stub.h:2470
ns1__getProperties * ns1__getProperties_
Definition: ICat4Stub.h:2372
ns1__getRemainingMinutes * ns1__getRemainingMinutes_
Definition: ICat4Stub.h:2562
ns1__getUserName * ns1__getUserName_
Definition: ICat4Stub.h:2350
ns1__get * ns1__get_
Definition: ICat4Stub.h:2361
ns1__isAccessAllowed * ns1__isAccessAllowed_
Definition: ICat4Stub.h:2585
ns1__login * ns1__login_
Definition: ICat4Stub.h:2339
ns1__logoutResponse * ns1__logoutResponse_
Definition: ICat4Stub.h:2535
ns1__logout * ns1__logout_
Definition: ICat4Stub.h:2551
ns1__luceneClearResponse * ns1__luceneClearResponse_
Definition: ICat4Stub.h:2623
ns1__luceneClear * ns1__luceneClear_
Definition: ICat4Stub.h:2639
ns1__luceneCommitResponse * ns1__luceneCommitResponse_
Definition: ICat4Stub.h:2650
ns1__luceneCommit * ns1__luceneCommit_
Definition: ICat4Stub.h:2666
ns1__luceneGetPopulating * ns1__luceneGetPopulating_
Definition: ICat4Stub.h:2688
ns1__lucenePopulateResponse * ns1__lucenePopulateResponse_
Definition: ICat4Stub.h:2596
ns1__lucenePopulate * ns1__lucenePopulate_
Definition: ICat4Stub.h:2612
ns1__luceneSearch * ns1__luceneSearch_
Definition: ICat4Stub.h:2677
ns1__refreshResponse * ns1__refreshResponse_
Definition: ICat4Stub.h:2481
ns1__refresh * ns1__refresh_
Definition: ICat4Stub.h:2497
ns1__searchText * ns1__searchText_
Definition: ICat4Stub.h:2574
ns1__search * ns1__search_
Definition: ICat4Stub.h:2410
ns1__updateResponse * ns1__updateResponse_
Definition: ICat4Stub.h:2432
ns1__update * ns1__update_
Definition: ICat4Stub.h:2448