Mercurial > repos > ktnyt > gembassy
comparison GEMBASSY-1.0.3/include/soapClient.c @ 0:8300eb051bea draft
Initial upload
author | ktnyt |
---|---|
date | Fri, 26 Jun 2015 05:19:29 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8300eb051bea |
---|---|
1 /* soapClient.c | |
2 Generated by gSOAP 2.8.6 from gae.h | |
3 | |
4 Copyright(C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved. | |
5 The generated code is released under one of the following licenses: | |
6 1) GPL or 2) Genivia's license for commercial use. | |
7 This program is released under the GPL with the additional exemption that | |
8 compiling, linking, and/or using OpenSSL is allowed. | |
9 */ | |
10 | |
11 #if defined(__BORLANDC__) | |
12 #pragma option push -w-8060 | |
13 #pragma option push -w-8004 | |
14 #endif | |
15 #include "soapH.h" | |
16 #ifdef __cplusplus | |
17 extern "C" { | |
18 #endif | |
19 | |
20 SOAP_SOURCE_STAMP("@(#) soapClient.c ver 2.8.6 2013-04-04 13:42:58 GMT") | |
21 | |
22 | |
23 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__codon_USCOREmva(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__codon_USCOREmvaInputParams *_params, char **_result) | |
24 { struct ns1__codon_USCOREmva soap_tmp_ns1__codon_USCOREmva; | |
25 struct ns1__codon_USCOREmvaResponse *soap_tmp_ns1__codon_USCOREmvaResponse; | |
26 if (!soap_endpoint) | |
27 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
28 if (!soap_action) | |
29 soap_action = "http://soap.g-language.org/GLANG#codon_mva"; | |
30 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
31 soap_tmp_ns1__codon_USCOREmva._sequence = _sequence; | |
32 soap_tmp_ns1__codon_USCOREmva._params = _params; | |
33 soap_begin(soap); | |
34 soap_serializeheader(soap); | |
35 soap_serialize_ns1__codon_USCOREmva(soap, &soap_tmp_ns1__codon_USCOREmva); | |
36 if (soap_begin_count(soap)) | |
37 return soap->error; | |
38 if (soap->mode & SOAP_IO_LENGTH) | |
39 { if (soap_envelope_begin_out(soap) | |
40 || soap_putheader(soap) | |
41 || soap_body_begin_out(soap) | |
42 || soap_put_ns1__codon_USCOREmva(soap, &soap_tmp_ns1__codon_USCOREmva, "ns1:codon_mva", NULL) | |
43 || soap_body_end_out(soap) | |
44 || soap_envelope_end_out(soap)) | |
45 return soap->error; | |
46 } | |
47 if (soap_end_count(soap)) | |
48 return soap->error; | |
49 if (soap_connect(soap, soap_endpoint, soap_action) | |
50 || soap_envelope_begin_out(soap) | |
51 || soap_putheader(soap) | |
52 || soap_body_begin_out(soap) | |
53 || soap_put_ns1__codon_USCOREmva(soap, &soap_tmp_ns1__codon_USCOREmva, "ns1:codon_mva", NULL) | |
54 || soap_body_end_out(soap) | |
55 || soap_envelope_end_out(soap) | |
56 || soap_end_send(soap)) | |
57 return soap_closesock(soap); | |
58 if (!_result) | |
59 return soap_closesock(soap); | |
60 *_result = NULL; | |
61 if (soap_begin_recv(soap) | |
62 || soap_envelope_begin_in(soap) | |
63 || soap_recv_header(soap) | |
64 || soap_body_begin_in(soap)) | |
65 return soap_closesock(soap); | |
66 if (soap_recv_fault(soap, 1)) | |
67 return soap->error; | |
68 soap_tmp_ns1__codon_USCOREmvaResponse = soap_get_ns1__codon_USCOREmvaResponse(soap, NULL, "", ""); | |
69 if (soap->error) | |
70 return soap_recv_fault(soap, 0); | |
71 if (soap_body_end_in(soap) | |
72 || soap_envelope_end_in(soap) | |
73 || soap_end_recv(soap)) | |
74 return soap_closesock(soap); | |
75 if (_result && soap_tmp_ns1__codon_USCOREmvaResponse->_result) | |
76 *_result = *soap_tmp_ns1__codon_USCOREmvaResponse->_result; | |
77 return soap_closesock(soap); | |
78 } | |
79 | |
80 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__P2(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__P2InputParams *_params, char **_result) | |
81 { struct ns1__P2 soap_tmp_ns1__P2; | |
82 struct ns1__P2Response *soap_tmp_ns1__P2Response; | |
83 if (!soap_endpoint) | |
84 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
85 if (!soap_action) | |
86 soap_action = "http://soap.g-language.org/GLANG#P2"; | |
87 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
88 soap_tmp_ns1__P2._sequence = _sequence; | |
89 soap_tmp_ns1__P2._params = _params; | |
90 soap_begin(soap); | |
91 soap_serializeheader(soap); | |
92 soap_serialize_ns1__P2(soap, &soap_tmp_ns1__P2); | |
93 if (soap_begin_count(soap)) | |
94 return soap->error; | |
95 if (soap->mode & SOAP_IO_LENGTH) | |
96 { if (soap_envelope_begin_out(soap) | |
97 || soap_putheader(soap) | |
98 || soap_body_begin_out(soap) | |
99 || soap_put_ns1__P2(soap, &soap_tmp_ns1__P2, "ns1:P2", NULL) | |
100 || soap_body_end_out(soap) | |
101 || soap_envelope_end_out(soap)) | |
102 return soap->error; | |
103 } | |
104 if (soap_end_count(soap)) | |
105 return soap->error; | |
106 if (soap_connect(soap, soap_endpoint, soap_action) | |
107 || soap_envelope_begin_out(soap) | |
108 || soap_putheader(soap) | |
109 || soap_body_begin_out(soap) | |
110 || soap_put_ns1__P2(soap, &soap_tmp_ns1__P2, "ns1:P2", NULL) | |
111 || soap_body_end_out(soap) | |
112 || soap_envelope_end_out(soap) | |
113 || soap_end_send(soap)) | |
114 return soap_closesock(soap); | |
115 if (!_result) | |
116 return soap_closesock(soap); | |
117 *_result = NULL; | |
118 if (soap_begin_recv(soap) | |
119 || soap_envelope_begin_in(soap) | |
120 || soap_recv_header(soap) | |
121 || soap_body_begin_in(soap)) | |
122 return soap_closesock(soap); | |
123 if (soap_recv_fault(soap, 1)) | |
124 return soap->error; | |
125 soap_tmp_ns1__P2Response = soap_get_ns1__P2Response(soap, NULL, "", ""); | |
126 if (soap->error) | |
127 return soap_recv_fault(soap, 0); | |
128 if (soap_body_end_in(soap) | |
129 || soap_envelope_end_in(soap) | |
130 || soap_end_recv(soap)) | |
131 return soap_closesock(soap); | |
132 if (_result && soap_tmp_ns1__P2Response->_result) | |
133 *_result = *soap_tmp_ns1__P2Response->_result; | |
134 return soap_closesock(soap); | |
135 } | |
136 | |
137 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__w_USCOREvalue(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__w_USCOREvalueInputParams *_params, char **_result) | |
138 { struct ns1__w_USCOREvalue soap_tmp_ns1__w_USCOREvalue; | |
139 struct ns1__w_USCOREvalueResponse *soap_tmp_ns1__w_USCOREvalueResponse; | |
140 if (!soap_endpoint) | |
141 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
142 if (!soap_action) | |
143 soap_action = "http://soap.g-language.org/GLANG#w_value"; | |
144 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
145 soap_tmp_ns1__w_USCOREvalue._sequence = _sequence; | |
146 soap_tmp_ns1__w_USCOREvalue._params = _params; | |
147 soap_begin(soap); | |
148 soap_serializeheader(soap); | |
149 soap_serialize_ns1__w_USCOREvalue(soap, &soap_tmp_ns1__w_USCOREvalue); | |
150 if (soap_begin_count(soap)) | |
151 return soap->error; | |
152 if (soap->mode & SOAP_IO_LENGTH) | |
153 { if (soap_envelope_begin_out(soap) | |
154 || soap_putheader(soap) | |
155 || soap_body_begin_out(soap) | |
156 || soap_put_ns1__w_USCOREvalue(soap, &soap_tmp_ns1__w_USCOREvalue, "ns1:w_value", NULL) | |
157 || soap_body_end_out(soap) | |
158 || soap_envelope_end_out(soap)) | |
159 return soap->error; | |
160 } | |
161 if (soap_end_count(soap)) | |
162 return soap->error; | |
163 if (soap_connect(soap, soap_endpoint, soap_action) | |
164 || soap_envelope_begin_out(soap) | |
165 || soap_putheader(soap) | |
166 || soap_body_begin_out(soap) | |
167 || soap_put_ns1__w_USCOREvalue(soap, &soap_tmp_ns1__w_USCOREvalue, "ns1:w_value", NULL) | |
168 || soap_body_end_out(soap) | |
169 || soap_envelope_end_out(soap) | |
170 || soap_end_send(soap)) | |
171 return soap_closesock(soap); | |
172 if (!_result) | |
173 return soap_closesock(soap); | |
174 *_result = NULL; | |
175 if (soap_begin_recv(soap) | |
176 || soap_envelope_begin_in(soap) | |
177 || soap_recv_header(soap) | |
178 || soap_body_begin_in(soap)) | |
179 return soap_closesock(soap); | |
180 if (soap_recv_fault(soap, 1)) | |
181 return soap->error; | |
182 soap_tmp_ns1__w_USCOREvalueResponse = soap_get_ns1__w_USCOREvalueResponse(soap, NULL, "", ""); | |
183 if (soap->error) | |
184 return soap_recv_fault(soap, 0); | |
185 if (soap_body_end_in(soap) | |
186 || soap_envelope_end_in(soap) | |
187 || soap_end_recv(soap)) | |
188 return soap_closesock(soap); | |
189 if (_result && soap_tmp_ns1__w_USCOREvalueResponse->_result) | |
190 *_result = *soap_tmp_ns1__w_USCOREvalueResponse->_result; | |
191 return soap_closesock(soap); | |
192 } | |
193 | |
194 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__splitprintseq(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
195 { struct ns1__splitprintseq soap_tmp_ns1__splitprintseq; | |
196 struct ns1__splitprintseqResponse *soap_tmp_ns1__splitprintseqResponse; | |
197 if (!soap_endpoint) | |
198 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
199 if (!soap_action) | |
200 soap_action = "http://soap.g-language.org/GLANG#splitprintseq"; | |
201 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
202 soap_tmp_ns1__splitprintseq._sequence = _sequence; | |
203 soap_begin(soap); | |
204 soap_serializeheader(soap); | |
205 soap_serialize_ns1__splitprintseq(soap, &soap_tmp_ns1__splitprintseq); | |
206 if (soap_begin_count(soap)) | |
207 return soap->error; | |
208 if (soap->mode & SOAP_IO_LENGTH) | |
209 { if (soap_envelope_begin_out(soap) | |
210 || soap_putheader(soap) | |
211 || soap_body_begin_out(soap) | |
212 || soap_put_ns1__splitprintseq(soap, &soap_tmp_ns1__splitprintseq, "ns1:splitprintseq", NULL) | |
213 || soap_body_end_out(soap) | |
214 || soap_envelope_end_out(soap)) | |
215 return soap->error; | |
216 } | |
217 if (soap_end_count(soap)) | |
218 return soap->error; | |
219 if (soap_connect(soap, soap_endpoint, soap_action) | |
220 || soap_envelope_begin_out(soap) | |
221 || soap_putheader(soap) | |
222 || soap_body_begin_out(soap) | |
223 || soap_put_ns1__splitprintseq(soap, &soap_tmp_ns1__splitprintseq, "ns1:splitprintseq", NULL) | |
224 || soap_body_end_out(soap) | |
225 || soap_envelope_end_out(soap) | |
226 || soap_end_send(soap)) | |
227 return soap_closesock(soap); | |
228 if (!_result) | |
229 return soap_closesock(soap); | |
230 *_result = NULL; | |
231 if (soap_begin_recv(soap) | |
232 || soap_envelope_begin_in(soap) | |
233 || soap_recv_header(soap) | |
234 || soap_body_begin_in(soap)) | |
235 return soap_closesock(soap); | |
236 if (soap_recv_fault(soap, 1)) | |
237 return soap->error; | |
238 soap_tmp_ns1__splitprintseqResponse = soap_get_ns1__splitprintseqResponse(soap, NULL, "", ""); | |
239 if (soap->error) | |
240 return soap_recv_fault(soap, 0); | |
241 if (soap_body_end_in(soap) | |
242 || soap_envelope_end_in(soap) | |
243 || soap_end_recv(soap)) | |
244 return soap_closesock(soap); | |
245 if (_result && soap_tmp_ns1__splitprintseqResponse->_result) | |
246 *_result = *soap_tmp_ns1__splitprintseqResponse->_result; | |
247 return soap_closesock(soap); | |
248 } | |
249 | |
250 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__median(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
251 { struct ns1__median soap_tmp_ns1__median; | |
252 struct ns1__medianResponse *soap_tmp_ns1__medianResponse; | |
253 if (!soap_endpoint) | |
254 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
255 if (!soap_action) | |
256 soap_action = "http://soap.g-language.org/GLANG#median"; | |
257 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
258 soap_tmp_ns1__median._array = _array; | |
259 soap_begin(soap); | |
260 soap_serializeheader(soap); | |
261 soap_serialize_ns1__median(soap, &soap_tmp_ns1__median); | |
262 if (soap_begin_count(soap)) | |
263 return soap->error; | |
264 if (soap->mode & SOAP_IO_LENGTH) | |
265 { if (soap_envelope_begin_out(soap) | |
266 || soap_putheader(soap) | |
267 || soap_body_begin_out(soap) | |
268 || soap_put_ns1__median(soap, &soap_tmp_ns1__median, "ns1:median", NULL) | |
269 || soap_body_end_out(soap) | |
270 || soap_envelope_end_out(soap)) | |
271 return soap->error; | |
272 } | |
273 if (soap_end_count(soap)) | |
274 return soap->error; | |
275 if (soap_connect(soap, soap_endpoint, soap_action) | |
276 || soap_envelope_begin_out(soap) | |
277 || soap_putheader(soap) | |
278 || soap_body_begin_out(soap) | |
279 || soap_put_ns1__median(soap, &soap_tmp_ns1__median, "ns1:median", NULL) | |
280 || soap_body_end_out(soap) | |
281 || soap_envelope_end_out(soap) | |
282 || soap_end_send(soap)) | |
283 return soap_closesock(soap); | |
284 if (!_result) | |
285 return soap_closesock(soap); | |
286 *_result = NULL; | |
287 if (soap_begin_recv(soap) | |
288 || soap_envelope_begin_in(soap) | |
289 || soap_recv_header(soap) | |
290 || soap_body_begin_in(soap)) | |
291 return soap_closesock(soap); | |
292 if (soap_recv_fault(soap, 1)) | |
293 return soap->error; | |
294 soap_tmp_ns1__medianResponse = soap_get_ns1__medianResponse(soap, NULL, "", ""); | |
295 if (soap->error) | |
296 return soap_recv_fault(soap, 0); | |
297 if (soap_body_end_in(soap) | |
298 || soap_envelope_end_in(soap) | |
299 || soap_end_recv(soap)) | |
300 return soap_closesock(soap); | |
301 if (_result && soap_tmp_ns1__medianResponse->_result) | |
302 *_result = *soap_tmp_ns1__medianResponse->_result; | |
303 return soap_closesock(soap); | |
304 } | |
305 | |
306 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREori_USCOREter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__find_USCOREori_USCOREterInputParams *_params, char **_result) | |
307 { struct ns1__find_USCOREori_USCOREter soap_tmp_ns1__find_USCOREori_USCOREter; | |
308 struct ns1__find_USCOREori_USCOREterResponse *soap_tmp_ns1__find_USCOREori_USCOREterResponse; | |
309 if (!soap_endpoint) | |
310 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
311 if (!soap_action) | |
312 soap_action = "http://soap.g-language.org/GLANG#find_ori_ter"; | |
313 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
314 soap_tmp_ns1__find_USCOREori_USCOREter._sequence = _sequence; | |
315 soap_tmp_ns1__find_USCOREori_USCOREter._params = _params; | |
316 soap_begin(soap); | |
317 soap_serializeheader(soap); | |
318 soap_serialize_ns1__find_USCOREori_USCOREter(soap, &soap_tmp_ns1__find_USCOREori_USCOREter); | |
319 if (soap_begin_count(soap)) | |
320 return soap->error; | |
321 if (soap->mode & SOAP_IO_LENGTH) | |
322 { if (soap_envelope_begin_out(soap) | |
323 || soap_putheader(soap) | |
324 || soap_body_begin_out(soap) | |
325 || soap_put_ns1__find_USCOREori_USCOREter(soap, &soap_tmp_ns1__find_USCOREori_USCOREter, "ns1:find_ori_ter", NULL) | |
326 || soap_body_end_out(soap) | |
327 || soap_envelope_end_out(soap)) | |
328 return soap->error; | |
329 } | |
330 if (soap_end_count(soap)) | |
331 return soap->error; | |
332 if (soap_connect(soap, soap_endpoint, soap_action) | |
333 || soap_envelope_begin_out(soap) | |
334 || soap_putheader(soap) | |
335 || soap_body_begin_out(soap) | |
336 || soap_put_ns1__find_USCOREori_USCOREter(soap, &soap_tmp_ns1__find_USCOREori_USCOREter, "ns1:find_ori_ter", NULL) | |
337 || soap_body_end_out(soap) | |
338 || soap_envelope_end_out(soap) | |
339 || soap_end_send(soap)) | |
340 return soap_closesock(soap); | |
341 if (!_result) | |
342 return soap_closesock(soap); | |
343 *_result = NULL; | |
344 if (soap_begin_recv(soap) | |
345 || soap_envelope_begin_in(soap) | |
346 || soap_recv_header(soap) | |
347 || soap_body_begin_in(soap)) | |
348 return soap_closesock(soap); | |
349 if (soap_recv_fault(soap, 1)) | |
350 return soap->error; | |
351 soap_tmp_ns1__find_USCOREori_USCOREterResponse = soap_get_ns1__find_USCOREori_USCOREterResponse(soap, NULL, "", ""); | |
352 if (soap->error) | |
353 return soap_recv_fault(soap, 0); | |
354 if (soap_body_end_in(soap) | |
355 || soap_envelope_end_in(soap) | |
356 || soap_end_recv(soap)) | |
357 return soap_closesock(soap); | |
358 if (_result && soap_tmp_ns1__find_USCOREori_USCOREterResponse->_result) | |
359 *_result = *soap_tmp_ns1__find_USCOREori_USCOREterResponse->_result; | |
360 return soap_closesock(soap); | |
361 } | |
362 | |
363 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__plasmid_USCOREmap(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__plasmid_USCOREmapInputParams *_params, char **_result) | |
364 { struct ns1__plasmid_USCOREmap soap_tmp_ns1__plasmid_USCOREmap; | |
365 struct ns1__plasmid_USCOREmapResponse *soap_tmp_ns1__plasmid_USCOREmapResponse; | |
366 if (!soap_endpoint) | |
367 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
368 if (!soap_action) | |
369 soap_action = "http://soap.g-language.org/GLANG#plasmid_map"; | |
370 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
371 soap_tmp_ns1__plasmid_USCOREmap._sequence = _sequence; | |
372 soap_tmp_ns1__plasmid_USCOREmap._params = _params; | |
373 soap_begin(soap); | |
374 soap_serializeheader(soap); | |
375 soap_serialize_ns1__plasmid_USCOREmap(soap, &soap_tmp_ns1__plasmid_USCOREmap); | |
376 if (soap_begin_count(soap)) | |
377 return soap->error; | |
378 if (soap->mode & SOAP_IO_LENGTH) | |
379 { if (soap_envelope_begin_out(soap) | |
380 || soap_putheader(soap) | |
381 || soap_body_begin_out(soap) | |
382 || soap_put_ns1__plasmid_USCOREmap(soap, &soap_tmp_ns1__plasmid_USCOREmap, "ns1:plasmid_map", NULL) | |
383 || soap_body_end_out(soap) | |
384 || soap_envelope_end_out(soap)) | |
385 return soap->error; | |
386 } | |
387 if (soap_end_count(soap)) | |
388 return soap->error; | |
389 if (soap_connect(soap, soap_endpoint, soap_action) | |
390 || soap_envelope_begin_out(soap) | |
391 || soap_putheader(soap) | |
392 || soap_body_begin_out(soap) | |
393 || soap_put_ns1__plasmid_USCOREmap(soap, &soap_tmp_ns1__plasmid_USCOREmap, "ns1:plasmid_map", NULL) | |
394 || soap_body_end_out(soap) | |
395 || soap_envelope_end_out(soap) | |
396 || soap_end_send(soap)) | |
397 return soap_closesock(soap); | |
398 if (!_result) | |
399 return soap_closesock(soap); | |
400 *_result = NULL; | |
401 if (soap_begin_recv(soap) | |
402 || soap_envelope_begin_in(soap) | |
403 || soap_recv_header(soap) | |
404 || soap_body_begin_in(soap)) | |
405 return soap_closesock(soap); | |
406 if (soap_recv_fault(soap, 1)) | |
407 return soap->error; | |
408 soap_tmp_ns1__plasmid_USCOREmapResponse = soap_get_ns1__plasmid_USCOREmapResponse(soap, NULL, "", ""); | |
409 if (soap->error) | |
410 return soap_recv_fault(soap, 0); | |
411 if (soap_body_end_in(soap) | |
412 || soap_envelope_end_in(soap) | |
413 || soap_end_recv(soap)) | |
414 return soap_closesock(soap); | |
415 if (_result && soap_tmp_ns1__plasmid_USCOREmapResponse->_result) | |
416 *_result = *soap_tmp_ns1__plasmid_USCOREmapResponse->_result; | |
417 return soap_closesock(soap); | |
418 } | |
419 | |
420 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__sum(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
421 { struct ns1__sum soap_tmp_ns1__sum; | |
422 struct ns1__sumResponse *soap_tmp_ns1__sumResponse; | |
423 if (!soap_endpoint) | |
424 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
425 if (!soap_action) | |
426 soap_action = "http://soap.g-language.org/GLANG#sum"; | |
427 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
428 soap_tmp_ns1__sum._array = _array; | |
429 soap_begin(soap); | |
430 soap_serializeheader(soap); | |
431 soap_serialize_ns1__sum(soap, &soap_tmp_ns1__sum); | |
432 if (soap_begin_count(soap)) | |
433 return soap->error; | |
434 if (soap->mode & SOAP_IO_LENGTH) | |
435 { if (soap_envelope_begin_out(soap) | |
436 || soap_putheader(soap) | |
437 || soap_body_begin_out(soap) | |
438 || soap_put_ns1__sum(soap, &soap_tmp_ns1__sum, "ns1:sum", NULL) | |
439 || soap_body_end_out(soap) | |
440 || soap_envelope_end_out(soap)) | |
441 return soap->error; | |
442 } | |
443 if (soap_end_count(soap)) | |
444 return soap->error; | |
445 if (soap_connect(soap, soap_endpoint, soap_action) | |
446 || soap_envelope_begin_out(soap) | |
447 || soap_putheader(soap) | |
448 || soap_body_begin_out(soap) | |
449 || soap_put_ns1__sum(soap, &soap_tmp_ns1__sum, "ns1:sum", NULL) | |
450 || soap_body_end_out(soap) | |
451 || soap_envelope_end_out(soap) | |
452 || soap_end_send(soap)) | |
453 return soap_closesock(soap); | |
454 if (!_result) | |
455 return soap_closesock(soap); | |
456 *_result = NULL; | |
457 if (soap_begin_recv(soap) | |
458 || soap_envelope_begin_in(soap) | |
459 || soap_recv_header(soap) | |
460 || soap_body_begin_in(soap)) | |
461 return soap_closesock(soap); | |
462 if (soap_recv_fault(soap, 1)) | |
463 return soap->error; | |
464 soap_tmp_ns1__sumResponse = soap_get_ns1__sumResponse(soap, NULL, "", ""); | |
465 if (soap->error) | |
466 return soap_recv_fault(soap, 0); | |
467 if (soap_body_end_in(soap) | |
468 || soap_envelope_end_in(soap) | |
469 || soap_end_recv(soap)) | |
470 return soap_closesock(soap); | |
471 if (_result && soap_tmp_ns1__sumResponse->_result) | |
472 *_result = *soap_tmp_ns1__sumResponse->_result; | |
473 return soap_closesock(soap); | |
474 } | |
475 | |
476 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__nucleotide_USCOREperiodicity(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__nucleotide_USCOREperiodicityInputParams *_params, char **_result) | |
477 { struct ns1__nucleotide_USCOREperiodicity soap_tmp_ns1__nucleotide_USCOREperiodicity; | |
478 struct ns1__nucleotide_USCOREperiodicityResponse *soap_tmp_ns1__nucleotide_USCOREperiodicityResponse; | |
479 if (!soap_endpoint) | |
480 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
481 if (!soap_action) | |
482 soap_action = "http://soap.g-language.org/GLANG#nucleotide_periodicity"; | |
483 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
484 soap_tmp_ns1__nucleotide_USCOREperiodicity._sequence = _sequence; | |
485 soap_tmp_ns1__nucleotide_USCOREperiodicity._params = _params; | |
486 soap_begin(soap); | |
487 soap_serializeheader(soap); | |
488 soap_serialize_ns1__nucleotide_USCOREperiodicity(soap, &soap_tmp_ns1__nucleotide_USCOREperiodicity); | |
489 if (soap_begin_count(soap)) | |
490 return soap->error; | |
491 if (soap->mode & SOAP_IO_LENGTH) | |
492 { if (soap_envelope_begin_out(soap) | |
493 || soap_putheader(soap) | |
494 || soap_body_begin_out(soap) | |
495 || soap_put_ns1__nucleotide_USCOREperiodicity(soap, &soap_tmp_ns1__nucleotide_USCOREperiodicity, "ns1:nucleotide_periodicity", NULL) | |
496 || soap_body_end_out(soap) | |
497 || soap_envelope_end_out(soap)) | |
498 return soap->error; | |
499 } | |
500 if (soap_end_count(soap)) | |
501 return soap->error; | |
502 if (soap_connect(soap, soap_endpoint, soap_action) | |
503 || soap_envelope_begin_out(soap) | |
504 || soap_putheader(soap) | |
505 || soap_body_begin_out(soap) | |
506 || soap_put_ns1__nucleotide_USCOREperiodicity(soap, &soap_tmp_ns1__nucleotide_USCOREperiodicity, "ns1:nucleotide_periodicity", NULL) | |
507 || soap_body_end_out(soap) | |
508 || soap_envelope_end_out(soap) | |
509 || soap_end_send(soap)) | |
510 return soap_closesock(soap); | |
511 if (!_result) | |
512 return soap_closesock(soap); | |
513 *_result = NULL; | |
514 if (soap_begin_recv(soap) | |
515 || soap_envelope_begin_in(soap) | |
516 || soap_recv_header(soap) | |
517 || soap_body_begin_in(soap)) | |
518 return soap_closesock(soap); | |
519 if (soap_recv_fault(soap, 1)) | |
520 return soap->error; | |
521 soap_tmp_ns1__nucleotide_USCOREperiodicityResponse = soap_get_ns1__nucleotide_USCOREperiodicityResponse(soap, NULL, "", ""); | |
522 if (soap->error) | |
523 return soap_recv_fault(soap, 0); | |
524 if (soap_body_end_in(soap) | |
525 || soap_envelope_end_in(soap) | |
526 || soap_end_recv(soap)) | |
527 return soap_closesock(soap); | |
528 if (_result && soap_tmp_ns1__nucleotide_USCOREperiodicityResponse->_result) | |
529 *_result = *soap_tmp_ns1__nucleotide_USCOREperiodicityResponse->_result; | |
530 return soap_closesock(soap); | |
531 } | |
532 | |
533 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__variance(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
534 { struct ns1__variance soap_tmp_ns1__variance; | |
535 struct ns1__varianceResponse *soap_tmp_ns1__varianceResponse; | |
536 if (!soap_endpoint) | |
537 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
538 if (!soap_action) | |
539 soap_action = "http://soap.g-language.org/GLANG#variance"; | |
540 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
541 soap_tmp_ns1__variance._array = _array; | |
542 soap_begin(soap); | |
543 soap_serializeheader(soap); | |
544 soap_serialize_ns1__variance(soap, &soap_tmp_ns1__variance); | |
545 if (soap_begin_count(soap)) | |
546 return soap->error; | |
547 if (soap->mode & SOAP_IO_LENGTH) | |
548 { if (soap_envelope_begin_out(soap) | |
549 || soap_putheader(soap) | |
550 || soap_body_begin_out(soap) | |
551 || soap_put_ns1__variance(soap, &soap_tmp_ns1__variance, "ns1:variance", NULL) | |
552 || soap_body_end_out(soap) | |
553 || soap_envelope_end_out(soap)) | |
554 return soap->error; | |
555 } | |
556 if (soap_end_count(soap)) | |
557 return soap->error; | |
558 if (soap_connect(soap, soap_endpoint, soap_action) | |
559 || soap_envelope_begin_out(soap) | |
560 || soap_putheader(soap) | |
561 || soap_body_begin_out(soap) | |
562 || soap_put_ns1__variance(soap, &soap_tmp_ns1__variance, "ns1:variance", NULL) | |
563 || soap_body_end_out(soap) | |
564 || soap_envelope_end_out(soap) | |
565 || soap_end_send(soap)) | |
566 return soap_closesock(soap); | |
567 if (!_result) | |
568 return soap_closesock(soap); | |
569 *_result = NULL; | |
570 if (soap_begin_recv(soap) | |
571 || soap_envelope_begin_in(soap) | |
572 || soap_recv_header(soap) | |
573 || soap_body_begin_in(soap)) | |
574 return soap_closesock(soap); | |
575 if (soap_recv_fault(soap, 1)) | |
576 return soap->error; | |
577 soap_tmp_ns1__varianceResponse = soap_get_ns1__varianceResponse(soap, NULL, "", ""); | |
578 if (soap->error) | |
579 return soap_recv_fault(soap, 0); | |
580 if (soap_body_end_in(soap) | |
581 || soap_envelope_end_in(soap) | |
582 || soap_end_recv(soap)) | |
583 return soap_closesock(soap); | |
584 if (_result && soap_tmp_ns1__varianceResponse->_result) | |
585 *_result = *soap_tmp_ns1__varianceResponse->_result; | |
586 return soap_closesock(soap); | |
587 } | |
588 | |
589 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__amino_USCOREinfo(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
590 { struct ns1__amino_USCOREinfo soap_tmp_ns1__amino_USCOREinfo; | |
591 struct ns1__amino_USCOREinfoResponse *soap_tmp_ns1__amino_USCOREinfoResponse; | |
592 if (!soap_endpoint) | |
593 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
594 if (!soap_action) | |
595 soap_action = "http://soap.g-language.org/GLANG#amino_info"; | |
596 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
597 soap_tmp_ns1__amino_USCOREinfo._sequence = _sequence; | |
598 soap_begin(soap); | |
599 soap_serializeheader(soap); | |
600 soap_serialize_ns1__amino_USCOREinfo(soap, &soap_tmp_ns1__amino_USCOREinfo); | |
601 if (soap_begin_count(soap)) | |
602 return soap->error; | |
603 if (soap->mode & SOAP_IO_LENGTH) | |
604 { if (soap_envelope_begin_out(soap) | |
605 || soap_putheader(soap) | |
606 || soap_body_begin_out(soap) | |
607 || soap_put_ns1__amino_USCOREinfo(soap, &soap_tmp_ns1__amino_USCOREinfo, "ns1:amino_info", NULL) | |
608 || soap_body_end_out(soap) | |
609 || soap_envelope_end_out(soap)) | |
610 return soap->error; | |
611 } | |
612 if (soap_end_count(soap)) | |
613 return soap->error; | |
614 if (soap_connect(soap, soap_endpoint, soap_action) | |
615 || soap_envelope_begin_out(soap) | |
616 || soap_putheader(soap) | |
617 || soap_body_begin_out(soap) | |
618 || soap_put_ns1__amino_USCOREinfo(soap, &soap_tmp_ns1__amino_USCOREinfo, "ns1:amino_info", NULL) | |
619 || soap_body_end_out(soap) | |
620 || soap_envelope_end_out(soap) | |
621 || soap_end_send(soap)) | |
622 return soap_closesock(soap); | |
623 if (!_result) | |
624 return soap_closesock(soap); | |
625 *_result = NULL; | |
626 if (soap_begin_recv(soap) | |
627 || soap_envelope_begin_in(soap) | |
628 || soap_recv_header(soap) | |
629 || soap_body_begin_in(soap)) | |
630 return soap_closesock(soap); | |
631 if (soap_recv_fault(soap, 1)) | |
632 return soap->error; | |
633 soap_tmp_ns1__amino_USCOREinfoResponse = soap_get_ns1__amino_USCOREinfoResponse(soap, NULL, "", ""); | |
634 if (soap->error) | |
635 return soap_recv_fault(soap, 0); | |
636 if (soap_body_end_in(soap) | |
637 || soap_envelope_end_in(soap) | |
638 || soap_end_recv(soap)) | |
639 return soap_closesock(soap); | |
640 if (_result && soap_tmp_ns1__amino_USCOREinfoResponse->_result) | |
641 *_result = *soap_tmp_ns1__amino_USCOREinfoResponse->_result; | |
642 return soap_closesock(soap); | |
643 } | |
644 | |
645 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__circular_USCOREmap(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__circular_USCOREmapInputParams *_params, char **_result) | |
646 { struct ns1__circular_USCOREmap soap_tmp_ns1__circular_USCOREmap; | |
647 struct ns1__circular_USCOREmapResponse *soap_tmp_ns1__circular_USCOREmapResponse; | |
648 if (!soap_endpoint) | |
649 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
650 if (!soap_action) | |
651 soap_action = "http://soap.g-language.org/GLANG#circular_map"; | |
652 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
653 soap_tmp_ns1__circular_USCOREmap._sequence = _sequence; | |
654 soap_tmp_ns1__circular_USCOREmap._params = _params; | |
655 soap_begin(soap); | |
656 soap_serializeheader(soap); | |
657 soap_serialize_ns1__circular_USCOREmap(soap, &soap_tmp_ns1__circular_USCOREmap); | |
658 if (soap_begin_count(soap)) | |
659 return soap->error; | |
660 if (soap->mode & SOAP_IO_LENGTH) | |
661 { if (soap_envelope_begin_out(soap) | |
662 || soap_putheader(soap) | |
663 || soap_body_begin_out(soap) | |
664 || soap_put_ns1__circular_USCOREmap(soap, &soap_tmp_ns1__circular_USCOREmap, "ns1:circular_map", NULL) | |
665 || soap_body_end_out(soap) | |
666 || soap_envelope_end_out(soap)) | |
667 return soap->error; | |
668 } | |
669 if (soap_end_count(soap)) | |
670 return soap->error; | |
671 if (soap_connect(soap, soap_endpoint, soap_action) | |
672 || soap_envelope_begin_out(soap) | |
673 || soap_putheader(soap) | |
674 || soap_body_begin_out(soap) | |
675 || soap_put_ns1__circular_USCOREmap(soap, &soap_tmp_ns1__circular_USCOREmap, "ns1:circular_map", NULL) | |
676 || soap_body_end_out(soap) | |
677 || soap_envelope_end_out(soap) | |
678 || soap_end_send(soap)) | |
679 return soap_closesock(soap); | |
680 if (!_result) | |
681 return soap_closesock(soap); | |
682 *_result = NULL; | |
683 if (soap_begin_recv(soap) | |
684 || soap_envelope_begin_in(soap) | |
685 || soap_recv_header(soap) | |
686 || soap_body_begin_in(soap)) | |
687 return soap_closesock(soap); | |
688 if (soap_recv_fault(soap, 1)) | |
689 return soap->error; | |
690 soap_tmp_ns1__circular_USCOREmapResponse = soap_get_ns1__circular_USCOREmapResponse(soap, NULL, "", ""); | |
691 if (soap->error) | |
692 return soap_recv_fault(soap, 0); | |
693 if (soap_body_end_in(soap) | |
694 || soap_envelope_end_in(soap) | |
695 || soap_end_recv(soap)) | |
696 return soap_closesock(soap); | |
697 if (_result && soap_tmp_ns1__circular_USCOREmapResponse->_result) | |
698 *_result = *soap_tmp_ns1__circular_USCOREmapResponse->_result; | |
699 return soap_closesock(soap); | |
700 } | |
701 | |
702 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__togoWS(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_query, struct ns1__togoWSInputParams *_params, char **_result) | |
703 { struct ns1__togoWS soap_tmp_ns1__togoWS; | |
704 struct ns1__togoWSResponse *soap_tmp_ns1__togoWSResponse; | |
705 if (!soap_endpoint) | |
706 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
707 if (!soap_action) | |
708 soap_action = "http://soap.g-language.org/GLANG#togoWS"; | |
709 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
710 soap_tmp_ns1__togoWS._query = _query; | |
711 soap_tmp_ns1__togoWS._params = _params; | |
712 soap_begin(soap); | |
713 soap_serializeheader(soap); | |
714 soap_serialize_ns1__togoWS(soap, &soap_tmp_ns1__togoWS); | |
715 if (soap_begin_count(soap)) | |
716 return soap->error; | |
717 if (soap->mode & SOAP_IO_LENGTH) | |
718 { if (soap_envelope_begin_out(soap) | |
719 || soap_putheader(soap) | |
720 || soap_body_begin_out(soap) | |
721 || soap_put_ns1__togoWS(soap, &soap_tmp_ns1__togoWS, "ns1:togoWS", NULL) | |
722 || soap_body_end_out(soap) | |
723 || soap_envelope_end_out(soap)) | |
724 return soap->error; | |
725 } | |
726 if (soap_end_count(soap)) | |
727 return soap->error; | |
728 if (soap_connect(soap, soap_endpoint, soap_action) | |
729 || soap_envelope_begin_out(soap) | |
730 || soap_putheader(soap) | |
731 || soap_body_begin_out(soap) | |
732 || soap_put_ns1__togoWS(soap, &soap_tmp_ns1__togoWS, "ns1:togoWS", NULL) | |
733 || soap_body_end_out(soap) | |
734 || soap_envelope_end_out(soap) | |
735 || soap_end_send(soap)) | |
736 return soap_closesock(soap); | |
737 if (!_result) | |
738 return soap_closesock(soap); | |
739 *_result = NULL; | |
740 if (soap_begin_recv(soap) | |
741 || soap_envelope_begin_in(soap) | |
742 || soap_recv_header(soap) | |
743 || soap_body_begin_in(soap)) | |
744 return soap_closesock(soap); | |
745 if (soap_recv_fault(soap, 1)) | |
746 return soap->error; | |
747 soap_tmp_ns1__togoWSResponse = soap_get_ns1__togoWSResponse(soap, NULL, "", ""); | |
748 if (soap->error) | |
749 return soap_recv_fault(soap, 0); | |
750 if (soap_body_end_in(soap) | |
751 || soap_envelope_end_in(soap) | |
752 || soap_end_recv(soap)) | |
753 return soap_closesock(soap); | |
754 if (_result && soap_tmp_ns1__togoWSResponse->_result) | |
755 *_result = *soap_tmp_ns1__togoWSResponse->_result; | |
756 return soap_closesock(soap); | |
757 } | |
758 | |
759 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__translate(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
760 { struct ns1__translate soap_tmp_ns1__translate; | |
761 struct ns1__translateResponse *soap_tmp_ns1__translateResponse; | |
762 if (!soap_endpoint) | |
763 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
764 if (!soap_action) | |
765 soap_action = "http://soap.g-language.org/GLANG#translate"; | |
766 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
767 soap_tmp_ns1__translate._sequence = _sequence; | |
768 soap_begin(soap); | |
769 soap_serializeheader(soap); | |
770 soap_serialize_ns1__translate(soap, &soap_tmp_ns1__translate); | |
771 if (soap_begin_count(soap)) | |
772 return soap->error; | |
773 if (soap->mode & SOAP_IO_LENGTH) | |
774 { if (soap_envelope_begin_out(soap) | |
775 || soap_putheader(soap) | |
776 || soap_body_begin_out(soap) | |
777 || soap_put_ns1__translate(soap, &soap_tmp_ns1__translate, "ns1:translate", NULL) | |
778 || soap_body_end_out(soap) | |
779 || 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_endpoint, soap_action) | |
785 || soap_envelope_begin_out(soap) | |
786 || soap_putheader(soap) | |
787 || soap_body_begin_out(soap) | |
788 || soap_put_ns1__translate(soap, &soap_tmp_ns1__translate, "ns1:translate", NULL) | |
789 || soap_body_end_out(soap) | |
790 || soap_envelope_end_out(soap) | |
791 || soap_end_send(soap)) | |
792 return soap_closesock(soap); | |
793 if (!_result) | |
794 return soap_closesock(soap); | |
795 *_result = NULL; | |
796 if (soap_begin_recv(soap) | |
797 || soap_envelope_begin_in(soap) | |
798 || soap_recv_header(soap) | |
799 || soap_body_begin_in(soap)) | |
800 return soap_closesock(soap); | |
801 if (soap_recv_fault(soap, 1)) | |
802 return soap->error; | |
803 soap_tmp_ns1__translateResponse = soap_get_ns1__translateResponse(soap, NULL, "", ""); | |
804 if (soap->error) | |
805 return soap_recv_fault(soap, 0); | |
806 if (soap_body_end_in(soap) | |
807 || soap_envelope_end_in(soap) | |
808 || soap_end_recv(soap)) | |
809 return soap_closesock(soap); | |
810 if (_result && soap_tmp_ns1__translateResponse->_result) | |
811 *_result = *soap_tmp_ns1__translateResponse->_result; | |
812 return soap_closesock(soap); | |
813 } | |
814 | |
815 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__phx(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__phxInputParams *_params, char **_result) | |
816 { struct ns1__phx soap_tmp_ns1__phx; | |
817 struct ns1__phxResponse *soap_tmp_ns1__phxResponse; | |
818 if (!soap_endpoint) | |
819 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
820 if (!soap_action) | |
821 soap_action = "http://soap.g-language.org/GLANG#phx"; | |
822 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
823 soap_tmp_ns1__phx._sequence = _sequence; | |
824 soap_tmp_ns1__phx._params = _params; | |
825 soap_begin(soap); | |
826 soap_serializeheader(soap); | |
827 soap_serialize_ns1__phx(soap, &soap_tmp_ns1__phx); | |
828 if (soap_begin_count(soap)) | |
829 return soap->error; | |
830 if (soap->mode & SOAP_IO_LENGTH) | |
831 { if (soap_envelope_begin_out(soap) | |
832 || soap_putheader(soap) | |
833 || soap_body_begin_out(soap) | |
834 || soap_put_ns1__phx(soap, &soap_tmp_ns1__phx, "ns1:phx", NULL) | |
835 || soap_body_end_out(soap) | |
836 || soap_envelope_end_out(soap)) | |
837 return soap->error; | |
838 } | |
839 if (soap_end_count(soap)) | |
840 return soap->error; | |
841 if (soap_connect(soap, soap_endpoint, soap_action) | |
842 || soap_envelope_begin_out(soap) | |
843 || soap_putheader(soap) | |
844 || soap_body_begin_out(soap) | |
845 || soap_put_ns1__phx(soap, &soap_tmp_ns1__phx, "ns1:phx", NULL) | |
846 || soap_body_end_out(soap) | |
847 || soap_envelope_end_out(soap) | |
848 || soap_end_send(soap)) | |
849 return soap_closesock(soap); | |
850 if (!_result) | |
851 return soap_closesock(soap); | |
852 *_result = NULL; | |
853 if (soap_begin_recv(soap) | |
854 || soap_envelope_begin_in(soap) | |
855 || soap_recv_header(soap) | |
856 || soap_body_begin_in(soap)) | |
857 return soap_closesock(soap); | |
858 if (soap_recv_fault(soap, 1)) | |
859 return soap->error; | |
860 soap_tmp_ns1__phxResponse = soap_get_ns1__phxResponse(soap, NULL, "", ""); | |
861 if (soap->error) | |
862 return soap_recv_fault(soap, 0); | |
863 if (soap_body_end_in(soap) | |
864 || soap_envelope_end_in(soap) | |
865 || soap_end_recv(soap)) | |
866 return soap_closesock(soap); | |
867 if (_result && soap_tmp_ns1__phxResponse->_result) | |
868 *_result = *soap_tmp_ns1__phxResponse->_result; | |
869 return soap_closesock(soap); | |
870 } | |
871 | |
872 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__icdi(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__icdiInputParams *_params, char **_result) | |
873 { struct ns1__icdi soap_tmp_ns1__icdi; | |
874 struct ns1__icdiResponse *soap_tmp_ns1__icdiResponse; | |
875 if (!soap_endpoint) | |
876 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
877 if (!soap_action) | |
878 soap_action = "http://soap.g-language.org/GLANG#icdi"; | |
879 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
880 soap_tmp_ns1__icdi._sequence = _sequence; | |
881 soap_tmp_ns1__icdi._params = _params; | |
882 soap_begin(soap); | |
883 soap_serializeheader(soap); | |
884 soap_serialize_ns1__icdi(soap, &soap_tmp_ns1__icdi); | |
885 if (soap_begin_count(soap)) | |
886 return soap->error; | |
887 if (soap->mode & SOAP_IO_LENGTH) | |
888 { if (soap_envelope_begin_out(soap) | |
889 || soap_putheader(soap) | |
890 || soap_body_begin_out(soap) | |
891 || soap_put_ns1__icdi(soap, &soap_tmp_ns1__icdi, "ns1:icdi", NULL) | |
892 || soap_body_end_out(soap) | |
893 || soap_envelope_end_out(soap)) | |
894 return soap->error; | |
895 } | |
896 if (soap_end_count(soap)) | |
897 return soap->error; | |
898 if (soap_connect(soap, soap_endpoint, soap_action) | |
899 || soap_envelope_begin_out(soap) | |
900 || soap_putheader(soap) | |
901 || soap_body_begin_out(soap) | |
902 || soap_put_ns1__icdi(soap, &soap_tmp_ns1__icdi, "ns1:icdi", NULL) | |
903 || soap_body_end_out(soap) | |
904 || soap_envelope_end_out(soap) | |
905 || soap_end_send(soap)) | |
906 return soap_closesock(soap); | |
907 if (!_result) | |
908 return soap_closesock(soap); | |
909 *_result = NULL; | |
910 if (soap_begin_recv(soap) | |
911 || soap_envelope_begin_in(soap) | |
912 || soap_recv_header(soap) | |
913 || soap_body_begin_in(soap)) | |
914 return soap_closesock(soap); | |
915 if (soap_recv_fault(soap, 1)) | |
916 return soap->error; | |
917 soap_tmp_ns1__icdiResponse = soap_get_ns1__icdiResponse(soap, NULL, "", ""); | |
918 if (soap->error) | |
919 return soap_recv_fault(soap, 0); | |
920 if (soap_body_end_in(soap) | |
921 || soap_envelope_end_in(soap) | |
922 || soap_end_recv(soap)) | |
923 return soap_closesock(soap); | |
924 if (_result && soap_tmp_ns1__icdiResponse->_result) | |
925 *_result = *soap_tmp_ns1__icdiResponse->_result; | |
926 return soap_closesock(soap); | |
927 } | |
928 | |
929 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__enc(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__encInputParams *_params, char **_result) | |
930 { struct ns1__enc soap_tmp_ns1__enc; | |
931 struct ns1__encResponse *soap_tmp_ns1__encResponse; | |
932 if (!soap_endpoint) | |
933 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
934 if (!soap_action) | |
935 soap_action = "http://soap.g-language.org/GLANG#enc"; | |
936 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
937 soap_tmp_ns1__enc._sequence = _sequence; | |
938 soap_tmp_ns1__enc._params = _params; | |
939 soap_begin(soap); | |
940 soap_serializeheader(soap); | |
941 soap_serialize_ns1__enc(soap, &soap_tmp_ns1__enc); | |
942 if (soap_begin_count(soap)) | |
943 return soap->error; | |
944 if (soap->mode & SOAP_IO_LENGTH) | |
945 { if (soap_envelope_begin_out(soap) | |
946 || soap_putheader(soap) | |
947 || soap_body_begin_out(soap) | |
948 || soap_put_ns1__enc(soap, &soap_tmp_ns1__enc, "ns1:enc", NULL) | |
949 || soap_body_end_out(soap) | |
950 || soap_envelope_end_out(soap)) | |
951 return soap->error; | |
952 } | |
953 if (soap_end_count(soap)) | |
954 return soap->error; | |
955 if (soap_connect(soap, soap_endpoint, soap_action) | |
956 || soap_envelope_begin_out(soap) | |
957 || soap_putheader(soap) | |
958 || soap_body_begin_out(soap) | |
959 || soap_put_ns1__enc(soap, &soap_tmp_ns1__enc, "ns1:enc", NULL) | |
960 || soap_body_end_out(soap) | |
961 || soap_envelope_end_out(soap) | |
962 || soap_end_send(soap)) | |
963 return soap_closesock(soap); | |
964 if (!_result) | |
965 return soap_closesock(soap); | |
966 *_result = NULL; | |
967 if (soap_begin_recv(soap) | |
968 || soap_envelope_begin_in(soap) | |
969 || soap_recv_header(soap) | |
970 || soap_body_begin_in(soap)) | |
971 return soap_closesock(soap); | |
972 if (soap_recv_fault(soap, 1)) | |
973 return soap->error; | |
974 soap_tmp_ns1__encResponse = soap_get_ns1__encResponse(soap, NULL, "", ""); | |
975 if (soap->error) | |
976 return soap_recv_fault(soap, 0); | |
977 if (soap_body_end_in(soap) | |
978 || soap_envelope_end_in(soap) | |
979 || soap_end_recv(soap)) | |
980 return soap_closesock(soap); | |
981 if (_result && soap_tmp_ns1__encResponse->_result) | |
982 *_result = *soap_tmp_ns1__encResponse->_result; | |
983 return soap_closesock(soap); | |
984 } | |
985 | |
986 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__fop(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__fopInputParams *_params, char **_result) | |
987 { struct ns1__fop soap_tmp_ns1__fop; | |
988 struct ns1__fopResponse *soap_tmp_ns1__fopResponse; | |
989 if (!soap_endpoint) | |
990 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
991 if (!soap_action) | |
992 soap_action = "http://soap.g-language.org/GLANG#fop"; | |
993 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
994 soap_tmp_ns1__fop._sequence = _sequence; | |
995 soap_tmp_ns1__fop._params = _params; | |
996 soap_begin(soap); | |
997 soap_serializeheader(soap); | |
998 soap_serialize_ns1__fop(soap, &soap_tmp_ns1__fop); | |
999 if (soap_begin_count(soap)) | |
1000 return soap->error; | |
1001 if (soap->mode & SOAP_IO_LENGTH) | |
1002 { if (soap_envelope_begin_out(soap) | |
1003 || soap_putheader(soap) | |
1004 || soap_body_begin_out(soap) | |
1005 || soap_put_ns1__fop(soap, &soap_tmp_ns1__fop, "ns1:fop", NULL) | |
1006 || soap_body_end_out(soap) | |
1007 || soap_envelope_end_out(soap)) | |
1008 return soap->error; | |
1009 } | |
1010 if (soap_end_count(soap)) | |
1011 return soap->error; | |
1012 if (soap_connect(soap, soap_endpoint, soap_action) | |
1013 || soap_envelope_begin_out(soap) | |
1014 || soap_putheader(soap) | |
1015 || soap_body_begin_out(soap) | |
1016 || soap_put_ns1__fop(soap, &soap_tmp_ns1__fop, "ns1:fop", NULL) | |
1017 || soap_body_end_out(soap) | |
1018 || soap_envelope_end_out(soap) | |
1019 || soap_end_send(soap)) | |
1020 return soap_closesock(soap); | |
1021 if (!_result) | |
1022 return soap_closesock(soap); | |
1023 *_result = NULL; | |
1024 if (soap_begin_recv(soap) | |
1025 || soap_envelope_begin_in(soap) | |
1026 || soap_recv_header(soap) | |
1027 || soap_body_begin_in(soap)) | |
1028 return soap_closesock(soap); | |
1029 if (soap_recv_fault(soap, 1)) | |
1030 return soap->error; | |
1031 soap_tmp_ns1__fopResponse = soap_get_ns1__fopResponse(soap, NULL, "", ""); | |
1032 if (soap->error) | |
1033 return soap_recv_fault(soap, 0); | |
1034 if (soap_body_end_in(soap) | |
1035 || soap_envelope_end_in(soap) | |
1036 || soap_end_recv(soap)) | |
1037 return soap_closesock(soap); | |
1038 if (_result && soap_tmp_ns1__fopResponse->_result) | |
1039 *_result = *soap_tmp_ns1__fopResponse->_result; | |
1040 return soap_closesock(soap); | |
1041 } | |
1042 | |
1043 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__bui(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__buiInputParams *_params, char **_result) | |
1044 { struct ns1__bui soap_tmp_ns1__bui; | |
1045 struct ns1__buiResponse *soap_tmp_ns1__buiResponse; | |
1046 if (!soap_endpoint) | |
1047 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1048 if (!soap_action) | |
1049 soap_action = "http://soap.g-language.org/GLANG#bui"; | |
1050 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1051 soap_tmp_ns1__bui._sequence = _sequence; | |
1052 soap_tmp_ns1__bui._params = _params; | |
1053 soap_begin(soap); | |
1054 soap_serializeheader(soap); | |
1055 soap_serialize_ns1__bui(soap, &soap_tmp_ns1__bui); | |
1056 if (soap_begin_count(soap)) | |
1057 return soap->error; | |
1058 if (soap->mode & SOAP_IO_LENGTH) | |
1059 { if (soap_envelope_begin_out(soap) | |
1060 || soap_putheader(soap) | |
1061 || soap_body_begin_out(soap) | |
1062 || soap_put_ns1__bui(soap, &soap_tmp_ns1__bui, "ns1:bui", NULL) | |
1063 || soap_body_end_out(soap) | |
1064 || soap_envelope_end_out(soap)) | |
1065 return soap->error; | |
1066 } | |
1067 if (soap_end_count(soap)) | |
1068 return soap->error; | |
1069 if (soap_connect(soap, soap_endpoint, soap_action) | |
1070 || soap_envelope_begin_out(soap) | |
1071 || soap_putheader(soap) | |
1072 || soap_body_begin_out(soap) | |
1073 || soap_put_ns1__bui(soap, &soap_tmp_ns1__bui, "ns1:bui", NULL) | |
1074 || soap_body_end_out(soap) | |
1075 || soap_envelope_end_out(soap) | |
1076 || soap_end_send(soap)) | |
1077 return soap_closesock(soap); | |
1078 if (!_result) | |
1079 return soap_closesock(soap); | |
1080 *_result = NULL; | |
1081 if (soap_begin_recv(soap) | |
1082 || soap_envelope_begin_in(soap) | |
1083 || soap_recv_header(soap) | |
1084 || soap_body_begin_in(soap)) | |
1085 return soap_closesock(soap); | |
1086 if (soap_recv_fault(soap, 1)) | |
1087 return soap->error; | |
1088 soap_tmp_ns1__buiResponse = soap_get_ns1__buiResponse(soap, NULL, "", ""); | |
1089 if (soap->error) | |
1090 return soap_recv_fault(soap, 0); | |
1091 if (soap_body_end_in(soap) | |
1092 || soap_envelope_end_in(soap) | |
1093 || soap_end_recv(soap)) | |
1094 return soap_closesock(soap); | |
1095 if (_result && soap_tmp_ns1__buiResponse->_result) | |
1096 *_result = *soap_tmp_ns1__buiResponse->_result; | |
1097 return soap_closesock(soap); | |
1098 } | |
1099 | |
1100 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__dist_USCOREin_USCOREcc(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, int _position1, int _position2, char **_result) | |
1101 { struct ns1__dist_USCOREin_USCOREcc soap_tmp_ns1__dist_USCOREin_USCOREcc; | |
1102 struct ns1__dist_USCOREin_USCOREccResponse *soap_tmp_ns1__dist_USCOREin_USCOREccResponse; | |
1103 if (!soap_endpoint) | |
1104 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1105 if (!soap_action) | |
1106 soap_action = "http://soap.g-language.org/GLANG#dist_in_cc"; | |
1107 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1108 soap_tmp_ns1__dist_USCOREin_USCOREcc._sequence = _sequence; | |
1109 soap_tmp_ns1__dist_USCOREin_USCOREcc._position1 = _position1; | |
1110 soap_tmp_ns1__dist_USCOREin_USCOREcc._position2 = _position2; | |
1111 soap_begin(soap); | |
1112 soap_serializeheader(soap); | |
1113 soap_serialize_ns1__dist_USCOREin_USCOREcc(soap, &soap_tmp_ns1__dist_USCOREin_USCOREcc); | |
1114 if (soap_begin_count(soap)) | |
1115 return soap->error; | |
1116 if (soap->mode & SOAP_IO_LENGTH) | |
1117 { if (soap_envelope_begin_out(soap) | |
1118 || soap_putheader(soap) | |
1119 || soap_body_begin_out(soap) | |
1120 || soap_put_ns1__dist_USCOREin_USCOREcc(soap, &soap_tmp_ns1__dist_USCOREin_USCOREcc, "ns1:dist_in_cc", NULL) | |
1121 || soap_body_end_out(soap) | |
1122 || soap_envelope_end_out(soap)) | |
1123 return soap->error; | |
1124 } | |
1125 if (soap_end_count(soap)) | |
1126 return soap->error; | |
1127 if (soap_connect(soap, soap_endpoint, soap_action) | |
1128 || soap_envelope_begin_out(soap) | |
1129 || soap_putheader(soap) | |
1130 || soap_body_begin_out(soap) | |
1131 || soap_put_ns1__dist_USCOREin_USCOREcc(soap, &soap_tmp_ns1__dist_USCOREin_USCOREcc, "ns1:dist_in_cc", NULL) | |
1132 || soap_body_end_out(soap) | |
1133 || soap_envelope_end_out(soap) | |
1134 || soap_end_send(soap)) | |
1135 return soap_closesock(soap); | |
1136 if (!_result) | |
1137 return soap_closesock(soap); | |
1138 *_result = NULL; | |
1139 if (soap_begin_recv(soap) | |
1140 || soap_envelope_begin_in(soap) | |
1141 || soap_recv_header(soap) | |
1142 || soap_body_begin_in(soap)) | |
1143 return soap_closesock(soap); | |
1144 if (soap_recv_fault(soap, 1)) | |
1145 return soap->error; | |
1146 soap_tmp_ns1__dist_USCOREin_USCOREccResponse = soap_get_ns1__dist_USCOREin_USCOREccResponse(soap, NULL, "", ""); | |
1147 if (soap->error) | |
1148 return soap_recv_fault(soap, 0); | |
1149 if (soap_body_end_in(soap) | |
1150 || soap_envelope_end_in(soap) | |
1151 || soap_end_recv(soap)) | |
1152 return soap_closesock(soap); | |
1153 if (_result && soap_tmp_ns1__dist_USCOREin_USCOREccResponse->_result) | |
1154 *_result = *soap_tmp_ns1__dist_USCOREin_USCOREccResponse->_result; | |
1155 return soap_closesock(soap); | |
1156 } | |
1157 | |
1158 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREdnaAbox(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__find_USCOREdnaAboxInputParams *_params, char **_result) | |
1159 { struct ns1__find_USCOREdnaAbox soap_tmp_ns1__find_USCOREdnaAbox; | |
1160 struct ns1__find_USCOREdnaAboxResponse *soap_tmp_ns1__find_USCOREdnaAboxResponse; | |
1161 if (!soap_endpoint) | |
1162 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1163 if (!soap_action) | |
1164 soap_action = "http://soap.g-language.org/GLANG#find_dnaAbox"; | |
1165 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1166 soap_tmp_ns1__find_USCOREdnaAbox._sequence = _sequence; | |
1167 soap_tmp_ns1__find_USCOREdnaAbox._params = _params; | |
1168 soap_begin(soap); | |
1169 soap_serializeheader(soap); | |
1170 soap_serialize_ns1__find_USCOREdnaAbox(soap, &soap_tmp_ns1__find_USCOREdnaAbox); | |
1171 if (soap_begin_count(soap)) | |
1172 return soap->error; | |
1173 if (soap->mode & SOAP_IO_LENGTH) | |
1174 { if (soap_envelope_begin_out(soap) | |
1175 || soap_putheader(soap) | |
1176 || soap_body_begin_out(soap) | |
1177 || soap_put_ns1__find_USCOREdnaAbox(soap, &soap_tmp_ns1__find_USCOREdnaAbox, "ns1:find_dnaAbox", NULL) | |
1178 || soap_body_end_out(soap) | |
1179 || soap_envelope_end_out(soap)) | |
1180 return soap->error; | |
1181 } | |
1182 if (soap_end_count(soap)) | |
1183 return soap->error; | |
1184 if (soap_connect(soap, soap_endpoint, soap_action) | |
1185 || soap_envelope_begin_out(soap) | |
1186 || soap_putheader(soap) | |
1187 || soap_body_begin_out(soap) | |
1188 || soap_put_ns1__find_USCOREdnaAbox(soap, &soap_tmp_ns1__find_USCOREdnaAbox, "ns1:find_dnaAbox", NULL) | |
1189 || soap_body_end_out(soap) | |
1190 || soap_envelope_end_out(soap) | |
1191 || soap_end_send(soap)) | |
1192 return soap_closesock(soap); | |
1193 if (!_result) | |
1194 return soap_closesock(soap); | |
1195 *_result = NULL; | |
1196 if (soap_begin_recv(soap) | |
1197 || soap_envelope_begin_in(soap) | |
1198 || soap_recv_header(soap) | |
1199 || soap_body_begin_in(soap)) | |
1200 return soap_closesock(soap); | |
1201 if (soap_recv_fault(soap, 1)) | |
1202 return soap->error; | |
1203 soap_tmp_ns1__find_USCOREdnaAboxResponse = soap_get_ns1__find_USCOREdnaAboxResponse(soap, NULL, "", ""); | |
1204 if (soap->error) | |
1205 return soap_recv_fault(soap, 0); | |
1206 if (soap_body_end_in(soap) | |
1207 || soap_envelope_end_in(soap) | |
1208 || soap_end_recv(soap)) | |
1209 return soap_closesock(soap); | |
1210 if (_result && soap_tmp_ns1__find_USCOREdnaAboxResponse->_result) | |
1211 *_result = *soap_tmp_ns1__find_USCOREdnaAboxResponse->_result; | |
1212 return soap_closesock(soap); | |
1213 } | |
1214 | |
1215 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__ttest(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array1, struct arrayIn *_array2, struct ns1__ttestInputParams *_params, struct ns1__ttestResponse *_param_1) | |
1216 { struct ns1__ttest soap_tmp_ns1__ttest; | |
1217 if (!soap_endpoint) | |
1218 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1219 if (!soap_action) | |
1220 soap_action = "http://soap.g-language.org/GLANG#ttest"; | |
1221 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1222 soap_tmp_ns1__ttest._array1 = _array1; | |
1223 soap_tmp_ns1__ttest._array2 = _array2; | |
1224 soap_tmp_ns1__ttest._params = _params; | |
1225 soap_begin(soap); | |
1226 soap_serializeheader(soap); | |
1227 soap_serialize_ns1__ttest(soap, &soap_tmp_ns1__ttest); | |
1228 if (soap_begin_count(soap)) | |
1229 return soap->error; | |
1230 if (soap->mode & SOAP_IO_LENGTH) | |
1231 { if (soap_envelope_begin_out(soap) | |
1232 || soap_putheader(soap) | |
1233 || soap_body_begin_out(soap) | |
1234 || soap_put_ns1__ttest(soap, &soap_tmp_ns1__ttest, "ns1:ttest", NULL) | |
1235 || soap_body_end_out(soap) | |
1236 || soap_envelope_end_out(soap)) | |
1237 return soap->error; | |
1238 } | |
1239 if (soap_end_count(soap)) | |
1240 return soap->error; | |
1241 if (soap_connect(soap, soap_endpoint, soap_action) | |
1242 || soap_envelope_begin_out(soap) | |
1243 || soap_putheader(soap) | |
1244 || soap_body_begin_out(soap) | |
1245 || soap_put_ns1__ttest(soap, &soap_tmp_ns1__ttest, "ns1:ttest", NULL) | |
1246 || soap_body_end_out(soap) | |
1247 || soap_envelope_end_out(soap) | |
1248 || soap_end_send(soap)) | |
1249 return soap_closesock(soap); | |
1250 if (!_param_1) | |
1251 return soap_closesock(soap); | |
1252 soap_default_ns1__ttestResponse(soap, _param_1); | |
1253 if (soap_begin_recv(soap) | |
1254 || soap_envelope_begin_in(soap) | |
1255 || soap_recv_header(soap) | |
1256 || soap_body_begin_in(soap)) | |
1257 return soap_closesock(soap); | |
1258 if (soap_recv_fault(soap, 1)) | |
1259 return soap->error; | |
1260 soap_get_ns1__ttestResponse(soap, _param_1, "", ""); | |
1261 if (soap->error) | |
1262 return soap_recv_fault(soap, 0); | |
1263 if (soap_body_end_in(soap) | |
1264 || soap_envelope_end_in(soap) | |
1265 || soap_end_recv(soap)) | |
1266 return soap_closesock(soap); | |
1267 return soap_closesock(soap); | |
1268 } | |
1269 | |
1270 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__seq2png(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__seq2pngInputParams *_params, char **_result) | |
1271 { struct ns1__seq2png soap_tmp_ns1__seq2png; | |
1272 struct ns1__seq2pngResponse *soap_tmp_ns1__seq2pngResponse; | |
1273 if (!soap_endpoint) | |
1274 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1275 if (!soap_action) | |
1276 soap_action = "http://soap.g-language.org/GLANG#seq2png"; | |
1277 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1278 soap_tmp_ns1__seq2png._sequence = _sequence; | |
1279 soap_tmp_ns1__seq2png._params = _params; | |
1280 soap_begin(soap); | |
1281 soap_serializeheader(soap); | |
1282 soap_serialize_ns1__seq2png(soap, &soap_tmp_ns1__seq2png); | |
1283 if (soap_begin_count(soap)) | |
1284 return soap->error; | |
1285 if (soap->mode & SOAP_IO_LENGTH) | |
1286 { if (soap_envelope_begin_out(soap) | |
1287 || soap_putheader(soap) | |
1288 || soap_body_begin_out(soap) | |
1289 || soap_put_ns1__seq2png(soap, &soap_tmp_ns1__seq2png, "ns1:seq2png", NULL) | |
1290 || soap_body_end_out(soap) | |
1291 || soap_envelope_end_out(soap)) | |
1292 return soap->error; | |
1293 } | |
1294 if (soap_end_count(soap)) | |
1295 return soap->error; | |
1296 if (soap_connect(soap, soap_endpoint, soap_action) | |
1297 || soap_envelope_begin_out(soap) | |
1298 || soap_putheader(soap) | |
1299 || soap_body_begin_out(soap) | |
1300 || soap_put_ns1__seq2png(soap, &soap_tmp_ns1__seq2png, "ns1:seq2png", NULL) | |
1301 || soap_body_end_out(soap) | |
1302 || soap_envelope_end_out(soap) | |
1303 || soap_end_send(soap)) | |
1304 return soap_closesock(soap); | |
1305 if (!_result) | |
1306 return soap_closesock(soap); | |
1307 *_result = NULL; | |
1308 if (soap_begin_recv(soap) | |
1309 || soap_envelope_begin_in(soap) | |
1310 || soap_recv_header(soap) | |
1311 || soap_body_begin_in(soap)) | |
1312 return soap_closesock(soap); | |
1313 if (soap_recv_fault(soap, 1)) | |
1314 return soap->error; | |
1315 soap_tmp_ns1__seq2pngResponse = soap_get_ns1__seq2pngResponse(soap, NULL, "", ""); | |
1316 if (soap->error) | |
1317 return soap_recv_fault(soap, 0); | |
1318 if (soap_body_end_in(soap) | |
1319 || soap_envelope_end_in(soap) | |
1320 || soap_end_recv(soap)) | |
1321 return soap_closesock(soap); | |
1322 if (_result && soap_tmp_ns1__seq2pngResponse->_result) | |
1323 *_result = *soap_tmp_ns1__seq2pngResponse->_result; | |
1324 return soap_closesock(soap); | |
1325 } | |
1326 | |
1327 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__amino_USCOREcounter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__amino_USCOREcounterInputParams *_params, char **_result) | |
1328 { struct ns1__amino_USCOREcounter soap_tmp_ns1__amino_USCOREcounter; | |
1329 struct ns1__amino_USCOREcounterResponse *soap_tmp_ns1__amino_USCOREcounterResponse; | |
1330 if (!soap_endpoint) | |
1331 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1332 if (!soap_action) | |
1333 soap_action = "http://soap.g-language.org/GLANG#amino_counter"; | |
1334 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1335 soap_tmp_ns1__amino_USCOREcounter._sequence = _sequence; | |
1336 soap_tmp_ns1__amino_USCOREcounter._params = _params; | |
1337 soap_begin(soap); | |
1338 soap_serializeheader(soap); | |
1339 soap_serialize_ns1__amino_USCOREcounter(soap, &soap_tmp_ns1__amino_USCOREcounter); | |
1340 if (soap_begin_count(soap)) | |
1341 return soap->error; | |
1342 if (soap->mode & SOAP_IO_LENGTH) | |
1343 { if (soap_envelope_begin_out(soap) | |
1344 || soap_putheader(soap) | |
1345 || soap_body_begin_out(soap) | |
1346 || soap_put_ns1__amino_USCOREcounter(soap, &soap_tmp_ns1__amino_USCOREcounter, "ns1:amino_counter", NULL) | |
1347 || soap_body_end_out(soap) | |
1348 || soap_envelope_end_out(soap)) | |
1349 return soap->error; | |
1350 } | |
1351 if (soap_end_count(soap)) | |
1352 return soap->error; | |
1353 if (soap_connect(soap, soap_endpoint, soap_action) | |
1354 || soap_envelope_begin_out(soap) | |
1355 || soap_putheader(soap) | |
1356 || soap_body_begin_out(soap) | |
1357 || soap_put_ns1__amino_USCOREcounter(soap, &soap_tmp_ns1__amino_USCOREcounter, "ns1:amino_counter", NULL) | |
1358 || soap_body_end_out(soap) | |
1359 || soap_envelope_end_out(soap) | |
1360 || soap_end_send(soap)) | |
1361 return soap_closesock(soap); | |
1362 if (!_result) | |
1363 return soap_closesock(soap); | |
1364 *_result = NULL; | |
1365 if (soap_begin_recv(soap) | |
1366 || soap_envelope_begin_in(soap) | |
1367 || soap_recv_header(soap) | |
1368 || soap_body_begin_in(soap)) | |
1369 return soap_closesock(soap); | |
1370 if (soap_recv_fault(soap, 1)) | |
1371 return soap->error; | |
1372 soap_tmp_ns1__amino_USCOREcounterResponse = soap_get_ns1__amino_USCOREcounterResponse(soap, NULL, "", ""); | |
1373 if (soap->error) | |
1374 return soap_recv_fault(soap, 0); | |
1375 if (soap_body_end_in(soap) | |
1376 || soap_envelope_end_in(soap) | |
1377 || soap_end_recv(soap)) | |
1378 return soap_closesock(soap); | |
1379 if (_result && soap_tmp_ns1__amino_USCOREcounterResponse->_result) | |
1380 *_result = *soap_tmp_ns1__amino_USCOREcounterResponse->_result; | |
1381 return soap_closesock(soap); | |
1382 } | |
1383 | |
1384 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__aaui(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__aauiInputParams *_params, char **_result) | |
1385 { struct ns1__aaui soap_tmp_ns1__aaui; | |
1386 struct ns1__aauiResponse *soap_tmp_ns1__aauiResponse; | |
1387 if (!soap_endpoint) | |
1388 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1389 if (!soap_action) | |
1390 soap_action = "http://soap.g-language.org/GLANG#aaui"; | |
1391 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1392 soap_tmp_ns1__aaui._sequence = _sequence; | |
1393 soap_tmp_ns1__aaui._params = _params; | |
1394 soap_begin(soap); | |
1395 soap_serializeheader(soap); | |
1396 soap_serialize_ns1__aaui(soap, &soap_tmp_ns1__aaui); | |
1397 if (soap_begin_count(soap)) | |
1398 return soap->error; | |
1399 if (soap->mode & SOAP_IO_LENGTH) | |
1400 { if (soap_envelope_begin_out(soap) | |
1401 || soap_putheader(soap) | |
1402 || soap_body_begin_out(soap) | |
1403 || soap_put_ns1__aaui(soap, &soap_tmp_ns1__aaui, "ns1:aaui", NULL) | |
1404 || soap_body_end_out(soap) | |
1405 || soap_envelope_end_out(soap)) | |
1406 return soap->error; | |
1407 } | |
1408 if (soap_end_count(soap)) | |
1409 return soap->error; | |
1410 if (soap_connect(soap, soap_endpoint, soap_action) | |
1411 || soap_envelope_begin_out(soap) | |
1412 || soap_putheader(soap) | |
1413 || soap_body_begin_out(soap) | |
1414 || soap_put_ns1__aaui(soap, &soap_tmp_ns1__aaui, "ns1:aaui", NULL) | |
1415 || soap_body_end_out(soap) | |
1416 || soap_envelope_end_out(soap) | |
1417 || soap_end_send(soap)) | |
1418 return soap_closesock(soap); | |
1419 if (!_result) | |
1420 return soap_closesock(soap); | |
1421 *_result = NULL; | |
1422 if (soap_begin_recv(soap) | |
1423 || soap_envelope_begin_in(soap) | |
1424 || soap_recv_header(soap) | |
1425 || soap_body_begin_in(soap)) | |
1426 return soap_closesock(soap); | |
1427 if (soap_recv_fault(soap, 1)) | |
1428 return soap->error; | |
1429 soap_tmp_ns1__aauiResponse = soap_get_ns1__aauiResponse(soap, NULL, "", ""); | |
1430 if (soap->error) | |
1431 return soap_recv_fault(soap, 0); | |
1432 if (soap_body_end_in(soap) | |
1433 || soap_envelope_end_in(soap) | |
1434 || soap_end_recv(soap)) | |
1435 return soap_closesock(soap); | |
1436 if (_result && soap_tmp_ns1__aauiResponse->_result) | |
1437 *_result = *soap_tmp_ns1__aauiResponse->_result; | |
1438 return soap_closesock(soap); | |
1439 } | |
1440 | |
1441 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__codon_USCOREcompiler(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__codon_USCOREcompilerInputParams *_params, char **_result) | |
1442 { struct ns1__codon_USCOREcompiler soap_tmp_ns1__codon_USCOREcompiler; | |
1443 struct ns1__codon_USCOREcompilerResponse *soap_tmp_ns1__codon_USCOREcompilerResponse; | |
1444 if (!soap_endpoint) | |
1445 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1446 if (!soap_action) | |
1447 soap_action = "http://soap.g-language.org/GLANG#codon_compiler"; | |
1448 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1449 soap_tmp_ns1__codon_USCOREcompiler._sequence = _sequence; | |
1450 soap_tmp_ns1__codon_USCOREcompiler._params = _params; | |
1451 soap_begin(soap); | |
1452 soap_serializeheader(soap); | |
1453 soap_serialize_ns1__codon_USCOREcompiler(soap, &soap_tmp_ns1__codon_USCOREcompiler); | |
1454 if (soap_begin_count(soap)) | |
1455 return soap->error; | |
1456 if (soap->mode & SOAP_IO_LENGTH) | |
1457 { if (soap_envelope_begin_out(soap) | |
1458 || soap_putheader(soap) | |
1459 || soap_body_begin_out(soap) | |
1460 || soap_put_ns1__codon_USCOREcompiler(soap, &soap_tmp_ns1__codon_USCOREcompiler, "ns1:codon_compiler", NULL) | |
1461 || soap_body_end_out(soap) | |
1462 || soap_envelope_end_out(soap)) | |
1463 return soap->error; | |
1464 } | |
1465 if (soap_end_count(soap)) | |
1466 return soap->error; | |
1467 if (soap_connect(soap, soap_endpoint, soap_action) | |
1468 || soap_envelope_begin_out(soap) | |
1469 || soap_putheader(soap) | |
1470 || soap_body_begin_out(soap) | |
1471 || soap_put_ns1__codon_USCOREcompiler(soap, &soap_tmp_ns1__codon_USCOREcompiler, "ns1:codon_compiler", NULL) | |
1472 || soap_body_end_out(soap) | |
1473 || soap_envelope_end_out(soap) | |
1474 || soap_end_send(soap)) | |
1475 return soap_closesock(soap); | |
1476 if (!_result) | |
1477 return soap_closesock(soap); | |
1478 *_result = NULL; | |
1479 if (soap_begin_recv(soap) | |
1480 || soap_envelope_begin_in(soap) | |
1481 || soap_recv_header(soap) | |
1482 || soap_body_begin_in(soap)) | |
1483 return soap_closesock(soap); | |
1484 if (soap_recv_fault(soap, 1)) | |
1485 return soap->error; | |
1486 soap_tmp_ns1__codon_USCOREcompilerResponse = soap_get_ns1__codon_USCOREcompilerResponse(soap, NULL, "", ""); | |
1487 if (soap->error) | |
1488 return soap_recv_fault(soap, 0); | |
1489 if (soap_body_end_in(soap) | |
1490 || soap_envelope_end_in(soap) | |
1491 || soap_end_recv(soap)) | |
1492 return soap_closesock(soap); | |
1493 if (_result && soap_tmp_ns1__codon_USCOREcompilerResponse->_result) | |
1494 *_result = *soap_tmp_ns1__codon_USCOREcompilerResponse->_result; | |
1495 return soap_closesock(soap); | |
1496 } | |
1497 | |
1498 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__over_USCORElapping_USCOREfinder(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__over_USCORElapping_USCOREfinderInputParams *_params, char **_result) | |
1499 { struct ns1__over_USCORElapping_USCOREfinder soap_tmp_ns1__over_USCORElapping_USCOREfinder; | |
1500 struct ns1__over_USCORElapping_USCOREfinderResponse *soap_tmp_ns1__over_USCORElapping_USCOREfinderResponse; | |
1501 if (!soap_endpoint) | |
1502 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1503 if (!soap_action) | |
1504 soap_action = "http://soap.g-language.org/GLANG#over_lapping_finder"; | |
1505 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1506 soap_tmp_ns1__over_USCORElapping_USCOREfinder._sequence = _sequence; | |
1507 soap_tmp_ns1__over_USCORElapping_USCOREfinder._params = _params; | |
1508 soap_begin(soap); | |
1509 soap_serializeheader(soap); | |
1510 soap_serialize_ns1__over_USCORElapping_USCOREfinder(soap, &soap_tmp_ns1__over_USCORElapping_USCOREfinder); | |
1511 if (soap_begin_count(soap)) | |
1512 return soap->error; | |
1513 if (soap->mode & SOAP_IO_LENGTH) | |
1514 { if (soap_envelope_begin_out(soap) | |
1515 || soap_putheader(soap) | |
1516 || soap_body_begin_out(soap) | |
1517 || soap_put_ns1__over_USCORElapping_USCOREfinder(soap, &soap_tmp_ns1__over_USCORElapping_USCOREfinder, "ns1:over_lapping_finder", NULL) | |
1518 || soap_body_end_out(soap) | |
1519 || soap_envelope_end_out(soap)) | |
1520 return soap->error; | |
1521 } | |
1522 if (soap_end_count(soap)) | |
1523 return soap->error; | |
1524 if (soap_connect(soap, soap_endpoint, soap_action) | |
1525 || soap_envelope_begin_out(soap) | |
1526 || soap_putheader(soap) | |
1527 || soap_body_begin_out(soap) | |
1528 || soap_put_ns1__over_USCORElapping_USCOREfinder(soap, &soap_tmp_ns1__over_USCORElapping_USCOREfinder, "ns1:over_lapping_finder", NULL) | |
1529 || soap_body_end_out(soap) | |
1530 || soap_envelope_end_out(soap) | |
1531 || soap_end_send(soap)) | |
1532 return soap_closesock(soap); | |
1533 if (!_result) | |
1534 return soap_closesock(soap); | |
1535 *_result = NULL; | |
1536 if (soap_begin_recv(soap) | |
1537 || soap_envelope_begin_in(soap) | |
1538 || soap_recv_header(soap) | |
1539 || soap_body_begin_in(soap)) | |
1540 return soap_closesock(soap); | |
1541 if (soap_recv_fault(soap, 1)) | |
1542 return soap->error; | |
1543 soap_tmp_ns1__over_USCORElapping_USCOREfinderResponse = soap_get_ns1__over_USCORElapping_USCOREfinderResponse(soap, NULL, "", ""); | |
1544 if (soap->error) | |
1545 return soap_recv_fault(soap, 0); | |
1546 if (soap_body_end_in(soap) | |
1547 || soap_envelope_end_in(soap) | |
1548 || soap_end_recv(soap)) | |
1549 return soap_closesock(soap); | |
1550 if (_result && soap_tmp_ns1__over_USCORElapping_USCOREfinderResponse->_result) | |
1551 *_result = *soap_tmp_ns1__over_USCORElapping_USCOREfinderResponse->_result; | |
1552 return soap_closesock(soap); | |
1553 } | |
1554 | |
1555 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__Ew(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__EwInputParams *_params, char **_result) | |
1556 { struct ns1__Ew soap_tmp_ns1__Ew; | |
1557 struct ns1__EwResponse *soap_tmp_ns1__EwResponse; | |
1558 if (!soap_endpoint) | |
1559 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1560 if (!soap_action) | |
1561 soap_action = "http://soap.g-language.org/GLANG#Ew"; | |
1562 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1563 soap_tmp_ns1__Ew._sequence = _sequence; | |
1564 soap_tmp_ns1__Ew._params = _params; | |
1565 soap_begin(soap); | |
1566 soap_serializeheader(soap); | |
1567 soap_serialize_ns1__Ew(soap, &soap_tmp_ns1__Ew); | |
1568 if (soap_begin_count(soap)) | |
1569 return soap->error; | |
1570 if (soap->mode & SOAP_IO_LENGTH) | |
1571 { if (soap_envelope_begin_out(soap) | |
1572 || soap_putheader(soap) | |
1573 || soap_body_begin_out(soap) | |
1574 || soap_put_ns1__Ew(soap, &soap_tmp_ns1__Ew, "ns1:Ew", NULL) | |
1575 || soap_body_end_out(soap) | |
1576 || soap_envelope_end_out(soap)) | |
1577 return soap->error; | |
1578 } | |
1579 if (soap_end_count(soap)) | |
1580 return soap->error; | |
1581 if (soap_connect(soap, soap_endpoint, soap_action) | |
1582 || soap_envelope_begin_out(soap) | |
1583 || soap_putheader(soap) | |
1584 || soap_body_begin_out(soap) | |
1585 || soap_put_ns1__Ew(soap, &soap_tmp_ns1__Ew, "ns1:Ew", NULL) | |
1586 || soap_body_end_out(soap) | |
1587 || soap_envelope_end_out(soap) | |
1588 || soap_end_send(soap)) | |
1589 return soap_closesock(soap); | |
1590 if (!_result) | |
1591 return soap_closesock(soap); | |
1592 *_result = NULL; | |
1593 if (soap_begin_recv(soap) | |
1594 || soap_envelope_begin_in(soap) | |
1595 || soap_recv_header(soap) | |
1596 || soap_body_begin_in(soap)) | |
1597 return soap_closesock(soap); | |
1598 if (soap_recv_fault(soap, 1)) | |
1599 return soap->error; | |
1600 soap_tmp_ns1__EwResponse = soap_get_ns1__EwResponse(soap, NULL, "", ""); | |
1601 if (soap->error) | |
1602 return soap_recv_fault(soap, 0); | |
1603 if (soap_body_end_in(soap) | |
1604 || soap_envelope_end_in(soap) | |
1605 || soap_end_recv(soap)) | |
1606 return soap_closesock(soap); | |
1607 if (_result && soap_tmp_ns1__EwResponse->_result) | |
1608 *_result = *soap_tmp_ns1__EwResponse->_result; | |
1609 return soap_closesock(soap); | |
1610 } | |
1611 | |
1612 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__base_USCORErelative_USCOREentropy(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__base_USCORErelative_USCOREentropyInputParams *_params, char **_result) | |
1613 { struct ns1__base_USCORErelative_USCOREentropy soap_tmp_ns1__base_USCORErelative_USCOREentropy; | |
1614 struct ns1__base_USCORErelative_USCOREentropyResponse *soap_tmp_ns1__base_USCORErelative_USCOREentropyResponse; | |
1615 if (!soap_endpoint) | |
1616 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1617 if (!soap_action) | |
1618 soap_action = "http://soap.g-language.org/GLANG#base_relative_entropy"; | |
1619 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1620 soap_tmp_ns1__base_USCORErelative_USCOREentropy._sequence = _sequence; | |
1621 soap_tmp_ns1__base_USCORErelative_USCOREentropy._params = _params; | |
1622 soap_begin(soap); | |
1623 soap_serializeheader(soap); | |
1624 soap_serialize_ns1__base_USCORErelative_USCOREentropy(soap, &soap_tmp_ns1__base_USCORErelative_USCOREentropy); | |
1625 if (soap_begin_count(soap)) | |
1626 return soap->error; | |
1627 if (soap->mode & SOAP_IO_LENGTH) | |
1628 { if (soap_envelope_begin_out(soap) | |
1629 || soap_putheader(soap) | |
1630 || soap_body_begin_out(soap) | |
1631 || soap_put_ns1__base_USCORErelative_USCOREentropy(soap, &soap_tmp_ns1__base_USCORErelative_USCOREentropy, "ns1:base_relative_entropy", NULL) | |
1632 || soap_body_end_out(soap) | |
1633 || soap_envelope_end_out(soap)) | |
1634 return soap->error; | |
1635 } | |
1636 if (soap_end_count(soap)) | |
1637 return soap->error; | |
1638 if (soap_connect(soap, soap_endpoint, soap_action) | |
1639 || soap_envelope_begin_out(soap) | |
1640 || soap_putheader(soap) | |
1641 || soap_body_begin_out(soap) | |
1642 || soap_put_ns1__base_USCORErelative_USCOREentropy(soap, &soap_tmp_ns1__base_USCORErelative_USCOREentropy, "ns1:base_relative_entropy", NULL) | |
1643 || soap_body_end_out(soap) | |
1644 || soap_envelope_end_out(soap) | |
1645 || soap_end_send(soap)) | |
1646 return soap_closesock(soap); | |
1647 if (!_result) | |
1648 return soap_closesock(soap); | |
1649 *_result = NULL; | |
1650 if (soap_begin_recv(soap) | |
1651 || soap_envelope_begin_in(soap) | |
1652 || soap_recv_header(soap) | |
1653 || soap_body_begin_in(soap)) | |
1654 return soap_closesock(soap); | |
1655 if (soap_recv_fault(soap, 1)) | |
1656 return soap->error; | |
1657 soap_tmp_ns1__base_USCORErelative_USCOREentropyResponse = soap_get_ns1__base_USCORErelative_USCOREentropyResponse(soap, NULL, "", ""); | |
1658 if (soap->error) | |
1659 return soap_recv_fault(soap, 0); | |
1660 if (soap_body_end_in(soap) | |
1661 || soap_envelope_end_in(soap) | |
1662 || soap_end_recv(soap)) | |
1663 return soap_closesock(soap); | |
1664 if (_result && soap_tmp_ns1__base_USCORErelative_USCOREentropyResponse->_result) | |
1665 *_result = *soap_tmp_ns1__base_USCORErelative_USCOREentropyResponse->_result; | |
1666 return soap_closesock(soap); | |
1667 } | |
1668 | |
1669 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__view_USCOREcds(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__view_USCOREcdsInputParams *_params, char **_result) | |
1670 { struct ns1__view_USCOREcds soap_tmp_ns1__view_USCOREcds; | |
1671 struct ns1__view_USCOREcdsResponse *soap_tmp_ns1__view_USCOREcdsResponse; | |
1672 if (!soap_endpoint) | |
1673 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1674 if (!soap_action) | |
1675 soap_action = "http://soap.g-language.org/GLANG#view_cds"; | |
1676 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1677 soap_tmp_ns1__view_USCOREcds._sequence = _sequence; | |
1678 soap_tmp_ns1__view_USCOREcds._params = _params; | |
1679 soap_begin(soap); | |
1680 soap_serializeheader(soap); | |
1681 soap_serialize_ns1__view_USCOREcds(soap, &soap_tmp_ns1__view_USCOREcds); | |
1682 if (soap_begin_count(soap)) | |
1683 return soap->error; | |
1684 if (soap->mode & SOAP_IO_LENGTH) | |
1685 { if (soap_envelope_begin_out(soap) | |
1686 || soap_putheader(soap) | |
1687 || soap_body_begin_out(soap) | |
1688 || soap_put_ns1__view_USCOREcds(soap, &soap_tmp_ns1__view_USCOREcds, "ns1:view_cds", NULL) | |
1689 || soap_body_end_out(soap) | |
1690 || soap_envelope_end_out(soap)) | |
1691 return soap->error; | |
1692 } | |
1693 if (soap_end_count(soap)) | |
1694 return soap->error; | |
1695 if (soap_connect(soap, soap_endpoint, soap_action) | |
1696 || soap_envelope_begin_out(soap) | |
1697 || soap_putheader(soap) | |
1698 || soap_body_begin_out(soap) | |
1699 || soap_put_ns1__view_USCOREcds(soap, &soap_tmp_ns1__view_USCOREcds, "ns1:view_cds", NULL) | |
1700 || soap_body_end_out(soap) | |
1701 || soap_envelope_end_out(soap) | |
1702 || soap_end_send(soap)) | |
1703 return soap_closesock(soap); | |
1704 if (!_result) | |
1705 return soap_closesock(soap); | |
1706 *_result = NULL; | |
1707 if (soap_begin_recv(soap) | |
1708 || soap_envelope_begin_in(soap) | |
1709 || soap_recv_header(soap) | |
1710 || soap_body_begin_in(soap)) | |
1711 return soap_closesock(soap); | |
1712 if (soap_recv_fault(soap, 1)) | |
1713 return soap->error; | |
1714 soap_tmp_ns1__view_USCOREcdsResponse = soap_get_ns1__view_USCOREcdsResponse(soap, NULL, "", ""); | |
1715 if (soap->error) | |
1716 return soap_recv_fault(soap, 0); | |
1717 if (soap_body_end_in(soap) | |
1718 || soap_envelope_end_in(soap) | |
1719 || soap_end_recv(soap)) | |
1720 return soap_closesock(soap); | |
1721 if (_result && soap_tmp_ns1__view_USCOREcdsResponse->_result) | |
1722 *_result = *soap_tmp_ns1__view_USCOREcdsResponse->_result; | |
1723 return soap_closesock(soap); | |
1724 } | |
1725 | |
1726 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__query_USCOREstrand(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, int _position, struct ns1__query_USCOREstrandInputParams *_params, char **_result) | |
1727 { struct ns1__query_USCOREstrand soap_tmp_ns1__query_USCOREstrand; | |
1728 struct ns1__query_USCOREstrandResponse *soap_tmp_ns1__query_USCOREstrandResponse; | |
1729 if (!soap_endpoint) | |
1730 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1731 if (!soap_action) | |
1732 soap_action = "http://soap.g-language.org/GLANG#query_strand"; | |
1733 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1734 soap_tmp_ns1__query_USCOREstrand._sequence = _sequence; | |
1735 soap_tmp_ns1__query_USCOREstrand._position = _position; | |
1736 soap_tmp_ns1__query_USCOREstrand._params = _params; | |
1737 soap_begin(soap); | |
1738 soap_serializeheader(soap); | |
1739 soap_serialize_ns1__query_USCOREstrand(soap, &soap_tmp_ns1__query_USCOREstrand); | |
1740 if (soap_begin_count(soap)) | |
1741 return soap->error; | |
1742 if (soap->mode & SOAP_IO_LENGTH) | |
1743 { if (soap_envelope_begin_out(soap) | |
1744 || soap_putheader(soap) | |
1745 || soap_body_begin_out(soap) | |
1746 || soap_put_ns1__query_USCOREstrand(soap, &soap_tmp_ns1__query_USCOREstrand, "ns1:query_strand", NULL) | |
1747 || soap_body_end_out(soap) | |
1748 || soap_envelope_end_out(soap)) | |
1749 return soap->error; | |
1750 } | |
1751 if (soap_end_count(soap)) | |
1752 return soap->error; | |
1753 if (soap_connect(soap, soap_endpoint, soap_action) | |
1754 || soap_envelope_begin_out(soap) | |
1755 || soap_putheader(soap) | |
1756 || soap_body_begin_out(soap) | |
1757 || soap_put_ns1__query_USCOREstrand(soap, &soap_tmp_ns1__query_USCOREstrand, "ns1:query_strand", NULL) | |
1758 || soap_body_end_out(soap) | |
1759 || soap_envelope_end_out(soap) | |
1760 || soap_end_send(soap)) | |
1761 return soap_closesock(soap); | |
1762 if (!_result) | |
1763 return soap_closesock(soap); | |
1764 *_result = NULL; | |
1765 if (soap_begin_recv(soap) | |
1766 || soap_envelope_begin_in(soap) | |
1767 || soap_recv_header(soap) | |
1768 || soap_body_begin_in(soap)) | |
1769 return soap_closesock(soap); | |
1770 if (soap_recv_fault(soap, 1)) | |
1771 return soap->error; | |
1772 soap_tmp_ns1__query_USCOREstrandResponse = soap_get_ns1__query_USCOREstrandResponse(soap, NULL, "", ""); | |
1773 if (soap->error) | |
1774 return soap_recv_fault(soap, 0); | |
1775 if (soap_body_end_in(soap) | |
1776 || soap_envelope_end_in(soap) | |
1777 || soap_end_recv(soap)) | |
1778 return soap_closesock(soap); | |
1779 if (_result && soap_tmp_ns1__query_USCOREstrandResponse->_result) | |
1780 *_result = *soap_tmp_ns1__query_USCOREstrandResponse->_result; | |
1781 return soap_closesock(soap); | |
1782 } | |
1783 | |
1784 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__genomicskew(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__genomicskewInputParams *_params, char **_result) | |
1785 { struct ns1__genomicskew soap_tmp_ns1__genomicskew; | |
1786 struct ns1__genomicskewResponse *soap_tmp_ns1__genomicskewResponse; | |
1787 if (!soap_endpoint) | |
1788 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1789 if (!soap_action) | |
1790 soap_action = "http://soap.g-language.org/GLANG#genomicskew"; | |
1791 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1792 soap_tmp_ns1__genomicskew._sequence = _sequence; | |
1793 soap_tmp_ns1__genomicskew._params = _params; | |
1794 soap_begin(soap); | |
1795 soap_serializeheader(soap); | |
1796 soap_serialize_ns1__genomicskew(soap, &soap_tmp_ns1__genomicskew); | |
1797 if (soap_begin_count(soap)) | |
1798 return soap->error; | |
1799 if (soap->mode & SOAP_IO_LENGTH) | |
1800 { if (soap_envelope_begin_out(soap) | |
1801 || soap_putheader(soap) | |
1802 || soap_body_begin_out(soap) | |
1803 || soap_put_ns1__genomicskew(soap, &soap_tmp_ns1__genomicskew, "ns1:genomicskew", NULL) | |
1804 || soap_body_end_out(soap) | |
1805 || soap_envelope_end_out(soap)) | |
1806 return soap->error; | |
1807 } | |
1808 if (soap_end_count(soap)) | |
1809 return soap->error; | |
1810 if (soap_connect(soap, soap_endpoint, soap_action) | |
1811 || soap_envelope_begin_out(soap) | |
1812 || soap_putheader(soap) | |
1813 || soap_body_begin_out(soap) | |
1814 || soap_put_ns1__genomicskew(soap, &soap_tmp_ns1__genomicskew, "ns1:genomicskew", NULL) | |
1815 || soap_body_end_out(soap) | |
1816 || soap_envelope_end_out(soap) | |
1817 || soap_end_send(soap)) | |
1818 return soap_closesock(soap); | |
1819 if (!_result) | |
1820 return soap_closesock(soap); | |
1821 *_result = NULL; | |
1822 if (soap_begin_recv(soap) | |
1823 || soap_envelope_begin_in(soap) | |
1824 || soap_recv_header(soap) | |
1825 || soap_body_begin_in(soap)) | |
1826 return soap_closesock(soap); | |
1827 if (soap_recv_fault(soap, 1)) | |
1828 return soap->error; | |
1829 soap_tmp_ns1__genomicskewResponse = soap_get_ns1__genomicskewResponse(soap, NULL, "", ""); | |
1830 if (soap->error) | |
1831 return soap_recv_fault(soap, 0); | |
1832 if (soap_body_end_in(soap) | |
1833 || soap_envelope_end_in(soap) | |
1834 || soap_end_recv(soap)) | |
1835 return soap_closesock(soap); | |
1836 if (_result && soap_tmp_ns1__genomicskewResponse->_result) | |
1837 *_result = *soap_tmp_ns1__genomicskewResponse->_result; | |
1838 return soap_closesock(soap); | |
1839 } | |
1840 | |
1841 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__filter_USCOREcds_USCOREby_USCOREatg(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__filter_USCOREcds_USCOREby_USCOREatgInputParams *_params, struct ns1__filter_USCOREcds_USCOREby_USCOREatgResponse *_param_2) | |
1842 { struct ns1__filter_USCOREcds_USCOREby_USCOREatg soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg; | |
1843 if (!soap_endpoint) | |
1844 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1845 if (!soap_action) | |
1846 soap_action = "http://soap.g-language.org/GLANG#filter_cds_by_atg"; | |
1847 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1848 soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg._sequence = _sequence; | |
1849 soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg._params = _params; | |
1850 soap_begin(soap); | |
1851 soap_serializeheader(soap); | |
1852 soap_serialize_ns1__filter_USCOREcds_USCOREby_USCOREatg(soap, &soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg); | |
1853 if (soap_begin_count(soap)) | |
1854 return soap->error; | |
1855 if (soap->mode & SOAP_IO_LENGTH) | |
1856 { if (soap_envelope_begin_out(soap) | |
1857 || soap_putheader(soap) | |
1858 || soap_body_begin_out(soap) | |
1859 || soap_put_ns1__filter_USCOREcds_USCOREby_USCOREatg(soap, &soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg, "ns1:filter_cds_by_atg", NULL) | |
1860 || soap_body_end_out(soap) | |
1861 || soap_envelope_end_out(soap)) | |
1862 return soap->error; | |
1863 } | |
1864 if (soap_end_count(soap)) | |
1865 return soap->error; | |
1866 if (soap_connect(soap, soap_endpoint, soap_action) | |
1867 || soap_envelope_begin_out(soap) | |
1868 || soap_putheader(soap) | |
1869 || soap_body_begin_out(soap) | |
1870 || soap_put_ns1__filter_USCOREcds_USCOREby_USCOREatg(soap, &soap_tmp_ns1__filter_USCOREcds_USCOREby_USCOREatg, "ns1:filter_cds_by_atg", NULL) | |
1871 || soap_body_end_out(soap) | |
1872 || soap_envelope_end_out(soap) | |
1873 || soap_end_send(soap)) | |
1874 return soap_closesock(soap); | |
1875 if (!_param_2) | |
1876 return soap_closesock(soap); | |
1877 soap_default_ns1__filter_USCOREcds_USCOREby_USCOREatgResponse(soap, _param_2); | |
1878 if (soap_begin_recv(soap) | |
1879 || soap_envelope_begin_in(soap) | |
1880 || soap_recv_header(soap) | |
1881 || soap_body_begin_in(soap)) | |
1882 return soap_closesock(soap); | |
1883 if (soap_recv_fault(soap, 1)) | |
1884 return soap->error; | |
1885 soap_get_ns1__filter_USCOREcds_USCOREby_USCOREatgResponse(soap, _param_2, "", ""); | |
1886 if (soap->error) | |
1887 return soap_recv_fault(soap, 0); | |
1888 if (soap_body_end_in(soap) | |
1889 || soap_envelope_end_in(soap) | |
1890 || soap_end_recv(soap)) | |
1891 return soap_closesock(soap); | |
1892 return soap_closesock(soap); | |
1893 } | |
1894 | |
1895 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__gcsi(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__gcsiInputParams *_params, char **_result) | |
1896 { struct ns1__gcsi soap_tmp_ns1__gcsi; | |
1897 struct ns1__gcsiResponse *soap_tmp_ns1__gcsiResponse; | |
1898 if (!soap_endpoint) | |
1899 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1900 if (!soap_action) | |
1901 soap_action = "http://soap.g-language.org/GLANG#gcsi"; | |
1902 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1903 soap_tmp_ns1__gcsi._sequence = _sequence; | |
1904 soap_tmp_ns1__gcsi._params = _params; | |
1905 soap_begin(soap); | |
1906 soap_serializeheader(soap); | |
1907 soap_serialize_ns1__gcsi(soap, &soap_tmp_ns1__gcsi); | |
1908 if (soap_begin_count(soap)) | |
1909 return soap->error; | |
1910 if (soap->mode & SOAP_IO_LENGTH) | |
1911 { if (soap_envelope_begin_out(soap) | |
1912 || soap_putheader(soap) | |
1913 || soap_body_begin_out(soap) | |
1914 || soap_put_ns1__gcsi(soap, &soap_tmp_ns1__gcsi, "ns1:gcsi", NULL) | |
1915 || soap_body_end_out(soap) | |
1916 || soap_envelope_end_out(soap)) | |
1917 return soap->error; | |
1918 } | |
1919 if (soap_end_count(soap)) | |
1920 return soap->error; | |
1921 if (soap_connect(soap, soap_endpoint, soap_action) | |
1922 || soap_envelope_begin_out(soap) | |
1923 || soap_putheader(soap) | |
1924 || soap_body_begin_out(soap) | |
1925 || soap_put_ns1__gcsi(soap, &soap_tmp_ns1__gcsi, "ns1:gcsi", NULL) | |
1926 || soap_body_end_out(soap) | |
1927 || soap_envelope_end_out(soap) | |
1928 || soap_end_send(soap)) | |
1929 return soap_closesock(soap); | |
1930 if (!_result) | |
1931 return soap_closesock(soap); | |
1932 *_result = NULL; | |
1933 if (soap_begin_recv(soap) | |
1934 || soap_envelope_begin_in(soap) | |
1935 || soap_recv_header(soap) | |
1936 || soap_body_begin_in(soap)) | |
1937 return soap_closesock(soap); | |
1938 if (soap_recv_fault(soap, 1)) | |
1939 return soap->error; | |
1940 soap_tmp_ns1__gcsiResponse = soap_get_ns1__gcsiResponse(soap, NULL, "", ""); | |
1941 if (soap->error) | |
1942 return soap_recv_fault(soap, 0); | |
1943 if (soap_body_end_in(soap) | |
1944 || soap_envelope_end_in(soap) | |
1945 || soap_end_recv(soap)) | |
1946 return soap_closesock(soap); | |
1947 if (_result && soap_tmp_ns1__gcsiResponse->_result) | |
1948 *_result = *soap_tmp_ns1__gcsiResponse->_result; | |
1949 return soap_closesock(soap); | |
1950 } | |
1951 | |
1952 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__cai(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__caiInputParams *_params, char **_result) | |
1953 { struct ns1__cai soap_tmp_ns1__cai; | |
1954 struct ns1__caiResponse *soap_tmp_ns1__caiResponse; | |
1955 if (!soap_endpoint) | |
1956 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
1957 if (!soap_action) | |
1958 soap_action = "http://soap.g-language.org/GLANG#cai"; | |
1959 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
1960 soap_tmp_ns1__cai._sequence = _sequence; | |
1961 soap_tmp_ns1__cai._params = _params; | |
1962 soap_begin(soap); | |
1963 soap_serializeheader(soap); | |
1964 soap_serialize_ns1__cai(soap, &soap_tmp_ns1__cai); | |
1965 if (soap_begin_count(soap)) | |
1966 return soap->error; | |
1967 if (soap->mode & SOAP_IO_LENGTH) | |
1968 { if (soap_envelope_begin_out(soap) | |
1969 || soap_putheader(soap) | |
1970 || soap_body_begin_out(soap) | |
1971 || soap_put_ns1__cai(soap, &soap_tmp_ns1__cai, "ns1:cai", NULL) | |
1972 || soap_body_end_out(soap) | |
1973 || soap_envelope_end_out(soap)) | |
1974 return soap->error; | |
1975 } | |
1976 if (soap_end_count(soap)) | |
1977 return soap->error; | |
1978 if (soap_connect(soap, soap_endpoint, soap_action) | |
1979 || soap_envelope_begin_out(soap) | |
1980 || soap_putheader(soap) | |
1981 || soap_body_begin_out(soap) | |
1982 || soap_put_ns1__cai(soap, &soap_tmp_ns1__cai, "ns1:cai", NULL) | |
1983 || soap_body_end_out(soap) | |
1984 || soap_envelope_end_out(soap) | |
1985 || soap_end_send(soap)) | |
1986 return soap_closesock(soap); | |
1987 if (!_result) | |
1988 return soap_closesock(soap); | |
1989 *_result = NULL; | |
1990 if (soap_begin_recv(soap) | |
1991 || soap_envelope_begin_in(soap) | |
1992 || soap_recv_header(soap) | |
1993 || soap_body_begin_in(soap)) | |
1994 return soap_closesock(soap); | |
1995 if (soap_recv_fault(soap, 1)) | |
1996 return soap->error; | |
1997 soap_tmp_ns1__caiResponse = soap_get_ns1__caiResponse(soap, NULL, "", ""); | |
1998 if (soap->error) | |
1999 return soap_recv_fault(soap, 0); | |
2000 if (soap_body_end_in(soap) | |
2001 || soap_envelope_end_in(soap) | |
2002 || soap_end_recv(soap)) | |
2003 return soap_closesock(soap); | |
2004 if (_result && soap_tmp_ns1__caiResponse->_result) | |
2005 *_result = *soap_tmp_ns1__caiResponse->_result; | |
2006 return soap_closesock(soap); | |
2007 } | |
2008 | |
2009 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__maxdex(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
2010 { struct ns1__maxdex soap_tmp_ns1__maxdex; | |
2011 struct ns1__maxdexResponse *soap_tmp_ns1__maxdexResponse; | |
2012 if (!soap_endpoint) | |
2013 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2014 if (!soap_action) | |
2015 soap_action = "http://soap.g-language.org/GLANG#maxdex"; | |
2016 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2017 soap_tmp_ns1__maxdex._array = _array; | |
2018 soap_begin(soap); | |
2019 soap_serializeheader(soap); | |
2020 soap_serialize_ns1__maxdex(soap, &soap_tmp_ns1__maxdex); | |
2021 if (soap_begin_count(soap)) | |
2022 return soap->error; | |
2023 if (soap->mode & SOAP_IO_LENGTH) | |
2024 { if (soap_envelope_begin_out(soap) | |
2025 || soap_putheader(soap) | |
2026 || soap_body_begin_out(soap) | |
2027 || soap_put_ns1__maxdex(soap, &soap_tmp_ns1__maxdex, "ns1:maxdex", NULL) | |
2028 || soap_body_end_out(soap) | |
2029 || soap_envelope_end_out(soap)) | |
2030 return soap->error; | |
2031 } | |
2032 if (soap_end_count(soap)) | |
2033 return soap->error; | |
2034 if (soap_connect(soap, soap_endpoint, soap_action) | |
2035 || soap_envelope_begin_out(soap) | |
2036 || soap_putheader(soap) | |
2037 || soap_body_begin_out(soap) | |
2038 || soap_put_ns1__maxdex(soap, &soap_tmp_ns1__maxdex, "ns1:maxdex", NULL) | |
2039 || soap_body_end_out(soap) | |
2040 || soap_envelope_end_out(soap) | |
2041 || soap_end_send(soap)) | |
2042 return soap_closesock(soap); | |
2043 if (!_result) | |
2044 return soap_closesock(soap); | |
2045 *_result = NULL; | |
2046 if (soap_begin_recv(soap) | |
2047 || soap_envelope_begin_in(soap) | |
2048 || soap_recv_header(soap) | |
2049 || soap_body_begin_in(soap)) | |
2050 return soap_closesock(soap); | |
2051 if (soap_recv_fault(soap, 1)) | |
2052 return soap->error; | |
2053 soap_tmp_ns1__maxdexResponse = soap_get_ns1__maxdexResponse(soap, NULL, "", ""); | |
2054 if (soap->error) | |
2055 return soap_recv_fault(soap, 0); | |
2056 if (soap_body_end_in(soap) | |
2057 || soap_envelope_end_in(soap) | |
2058 || soap_end_recv(soap)) | |
2059 return soap_closesock(soap); | |
2060 if (_result && soap_tmp_ns1__maxdexResponse->_result) | |
2061 *_result = *soap_tmp_ns1__maxdexResponse->_result; | |
2062 return soap_closesock(soap); | |
2063 } | |
2064 | |
2065 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__max(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
2066 { struct ns1__max soap_tmp_ns1__max; | |
2067 struct ns1__maxResponse *soap_tmp_ns1__maxResponse; | |
2068 if (!soap_endpoint) | |
2069 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2070 if (!soap_action) | |
2071 soap_action = "http://soap.g-language.org/GLANG#max"; | |
2072 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2073 soap_tmp_ns1__max._array = _array; | |
2074 soap_begin(soap); | |
2075 soap_serializeheader(soap); | |
2076 soap_serialize_ns1__max(soap, &soap_tmp_ns1__max); | |
2077 if (soap_begin_count(soap)) | |
2078 return soap->error; | |
2079 if (soap->mode & SOAP_IO_LENGTH) | |
2080 { if (soap_envelope_begin_out(soap) | |
2081 || soap_putheader(soap) | |
2082 || soap_body_begin_out(soap) | |
2083 || soap_put_ns1__max(soap, &soap_tmp_ns1__max, "ns1:max", NULL) | |
2084 || soap_body_end_out(soap) | |
2085 || soap_envelope_end_out(soap)) | |
2086 return soap->error; | |
2087 } | |
2088 if (soap_end_count(soap)) | |
2089 return soap->error; | |
2090 if (soap_connect(soap, soap_endpoint, soap_action) | |
2091 || soap_envelope_begin_out(soap) | |
2092 || soap_putheader(soap) | |
2093 || soap_body_begin_out(soap) | |
2094 || soap_put_ns1__max(soap, &soap_tmp_ns1__max, "ns1:max", NULL) | |
2095 || soap_body_end_out(soap) | |
2096 || soap_envelope_end_out(soap) | |
2097 || soap_end_send(soap)) | |
2098 return soap_closesock(soap); | |
2099 if (!_result) | |
2100 return soap_closesock(soap); | |
2101 *_result = NULL; | |
2102 if (soap_begin_recv(soap) | |
2103 || soap_envelope_begin_in(soap) | |
2104 || soap_recv_header(soap) | |
2105 || soap_body_begin_in(soap)) | |
2106 return soap_closesock(soap); | |
2107 if (soap_recv_fault(soap, 1)) | |
2108 return soap->error; | |
2109 soap_tmp_ns1__maxResponse = soap_get_ns1__maxResponse(soap, NULL, "", ""); | |
2110 if (soap->error) | |
2111 return soap_recv_fault(soap, 0); | |
2112 if (soap_body_end_in(soap) | |
2113 || soap_envelope_end_in(soap) | |
2114 || soap_end_recv(soap)) | |
2115 return soap_closesock(soap); | |
2116 if (_result && soap_tmp_ns1__maxResponse->_result) | |
2117 *_result = *soap_tmp_ns1__maxResponse->_result; | |
2118 return soap_closesock(soap); | |
2119 } | |
2120 | |
2121 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__query_USCOREarm(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, int _position, char **_result) | |
2122 { struct ns1__query_USCOREarm soap_tmp_ns1__query_USCOREarm; | |
2123 struct ns1__query_USCOREarmResponse *soap_tmp_ns1__query_USCOREarmResponse; | |
2124 if (!soap_endpoint) | |
2125 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2126 if (!soap_action) | |
2127 soap_action = "http://soap.g-language.org/GLANG#query_arm"; | |
2128 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2129 soap_tmp_ns1__query_USCOREarm._sequence = _sequence; | |
2130 soap_tmp_ns1__query_USCOREarm._position = _position; | |
2131 soap_begin(soap); | |
2132 soap_serializeheader(soap); | |
2133 soap_serialize_ns1__query_USCOREarm(soap, &soap_tmp_ns1__query_USCOREarm); | |
2134 if (soap_begin_count(soap)) | |
2135 return soap->error; | |
2136 if (soap->mode & SOAP_IO_LENGTH) | |
2137 { if (soap_envelope_begin_out(soap) | |
2138 || soap_putheader(soap) | |
2139 || soap_body_begin_out(soap) | |
2140 || soap_put_ns1__query_USCOREarm(soap, &soap_tmp_ns1__query_USCOREarm, "ns1:query_arm", NULL) | |
2141 || soap_body_end_out(soap) | |
2142 || soap_envelope_end_out(soap)) | |
2143 return soap->error; | |
2144 } | |
2145 if (soap_end_count(soap)) | |
2146 return soap->error; | |
2147 if (soap_connect(soap, soap_endpoint, soap_action) | |
2148 || soap_envelope_begin_out(soap) | |
2149 || soap_putheader(soap) | |
2150 || soap_body_begin_out(soap) | |
2151 || soap_put_ns1__query_USCOREarm(soap, &soap_tmp_ns1__query_USCOREarm, "ns1:query_arm", NULL) | |
2152 || soap_body_end_out(soap) | |
2153 || soap_envelope_end_out(soap) | |
2154 || soap_end_send(soap)) | |
2155 return soap_closesock(soap); | |
2156 if (!_result) | |
2157 return soap_closesock(soap); | |
2158 *_result = NULL; | |
2159 if (soap_begin_recv(soap) | |
2160 || soap_envelope_begin_in(soap) | |
2161 || soap_recv_header(soap) | |
2162 || soap_body_begin_in(soap)) | |
2163 return soap_closesock(soap); | |
2164 if (soap_recv_fault(soap, 1)) | |
2165 return soap->error; | |
2166 soap_tmp_ns1__query_USCOREarmResponse = soap_get_ns1__query_USCOREarmResponse(soap, NULL, "", ""); | |
2167 if (soap->error) | |
2168 return soap_recv_fault(soap, 0); | |
2169 if (soap_body_end_in(soap) | |
2170 || soap_envelope_end_in(soap) | |
2171 || soap_end_recv(soap)) | |
2172 return soap_closesock(soap); | |
2173 if (_result && soap_tmp_ns1__query_USCOREarmResponse->_result) | |
2174 *_result = *soap_tmp_ns1__query_USCOREarmResponse->_result; | |
2175 return soap_closesock(soap); | |
2176 } | |
2177 | |
2178 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__mindex(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
2179 { struct ns1__mindex soap_tmp_ns1__mindex; | |
2180 struct ns1__mindexResponse *soap_tmp_ns1__mindexResponse; | |
2181 if (!soap_endpoint) | |
2182 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2183 if (!soap_action) | |
2184 soap_action = "http://soap.g-language.org/GLANG#mindex"; | |
2185 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2186 soap_tmp_ns1__mindex._array = _array; | |
2187 soap_begin(soap); | |
2188 soap_serializeheader(soap); | |
2189 soap_serialize_ns1__mindex(soap, &soap_tmp_ns1__mindex); | |
2190 if (soap_begin_count(soap)) | |
2191 return soap->error; | |
2192 if (soap->mode & SOAP_IO_LENGTH) | |
2193 { if (soap_envelope_begin_out(soap) | |
2194 || soap_putheader(soap) | |
2195 || soap_body_begin_out(soap) | |
2196 || soap_put_ns1__mindex(soap, &soap_tmp_ns1__mindex, "ns1:mindex", NULL) | |
2197 || soap_body_end_out(soap) | |
2198 || soap_envelope_end_out(soap)) | |
2199 return soap->error; | |
2200 } | |
2201 if (soap_end_count(soap)) | |
2202 return soap->error; | |
2203 if (soap_connect(soap, soap_endpoint, soap_action) | |
2204 || soap_envelope_begin_out(soap) | |
2205 || soap_putheader(soap) | |
2206 || soap_body_begin_out(soap) | |
2207 || soap_put_ns1__mindex(soap, &soap_tmp_ns1__mindex, "ns1:mindex", NULL) | |
2208 || soap_body_end_out(soap) | |
2209 || soap_envelope_end_out(soap) | |
2210 || soap_end_send(soap)) | |
2211 return soap_closesock(soap); | |
2212 if (!_result) | |
2213 return soap_closesock(soap); | |
2214 *_result = NULL; | |
2215 if (soap_begin_recv(soap) | |
2216 || soap_envelope_begin_in(soap) | |
2217 || soap_recv_header(soap) | |
2218 || soap_body_begin_in(soap)) | |
2219 return soap_closesock(soap); | |
2220 if (soap_recv_fault(soap, 1)) | |
2221 return soap->error; | |
2222 soap_tmp_ns1__mindexResponse = soap_get_ns1__mindexResponse(soap, NULL, "", ""); | |
2223 if (soap->error) | |
2224 return soap_recv_fault(soap, 0); | |
2225 if (soap_body_end_in(soap) | |
2226 || soap_envelope_end_in(soap) | |
2227 || soap_end_recv(soap)) | |
2228 return soap_closesock(soap); | |
2229 if (_result && soap_tmp_ns1__mindexResponse->_result) | |
2230 *_result = *soap_tmp_ns1__mindexResponse->_result; | |
2231 return soap_closesock(soap); | |
2232 } | |
2233 | |
2234 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__consensus_USCOREz(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array_USCOREseq, struct ns1__consensus_USCOREzInputParams *_params, char **_result) | |
2235 { struct ns1__consensus_USCOREz soap_tmp_ns1__consensus_USCOREz; | |
2236 struct ns1__consensus_USCOREzResponse *soap_tmp_ns1__consensus_USCOREzResponse; | |
2237 if (!soap_endpoint) | |
2238 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2239 if (!soap_action) | |
2240 soap_action = "http://soap.g-language.org/GLANG#consensus_z"; | |
2241 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2242 soap_tmp_ns1__consensus_USCOREz._array_USCOREseq = _array_USCOREseq; | |
2243 soap_tmp_ns1__consensus_USCOREz._params = _params; | |
2244 soap_begin(soap); | |
2245 soap_serializeheader(soap); | |
2246 soap_serialize_ns1__consensus_USCOREz(soap, &soap_tmp_ns1__consensus_USCOREz); | |
2247 if (soap_begin_count(soap)) | |
2248 return soap->error; | |
2249 if (soap->mode & SOAP_IO_LENGTH) | |
2250 { if (soap_envelope_begin_out(soap) | |
2251 || soap_putheader(soap) | |
2252 || soap_body_begin_out(soap) | |
2253 || soap_put_ns1__consensus_USCOREz(soap, &soap_tmp_ns1__consensus_USCOREz, "ns1:consensus_z", NULL) | |
2254 || soap_body_end_out(soap) | |
2255 || soap_envelope_end_out(soap)) | |
2256 return soap->error; | |
2257 } | |
2258 if (soap_end_count(soap)) | |
2259 return soap->error; | |
2260 if (soap_connect(soap, soap_endpoint, soap_action) | |
2261 || soap_envelope_begin_out(soap) | |
2262 || soap_putheader(soap) | |
2263 || soap_body_begin_out(soap) | |
2264 || soap_put_ns1__consensus_USCOREz(soap, &soap_tmp_ns1__consensus_USCOREz, "ns1:consensus_z", NULL) | |
2265 || soap_body_end_out(soap) | |
2266 || soap_envelope_end_out(soap) | |
2267 || soap_end_send(soap)) | |
2268 return soap_closesock(soap); | |
2269 if (!_result) | |
2270 return soap_closesock(soap); | |
2271 *_result = NULL; | |
2272 if (soap_begin_recv(soap) | |
2273 || soap_envelope_begin_in(soap) | |
2274 || soap_recv_header(soap) | |
2275 || soap_body_begin_in(soap)) | |
2276 return soap_closesock(soap); | |
2277 if (soap_recv_fault(soap, 1)) | |
2278 return soap->error; | |
2279 soap_tmp_ns1__consensus_USCOREzResponse = soap_get_ns1__consensus_USCOREzResponse(soap, NULL, "", ""); | |
2280 if (soap->error) | |
2281 return soap_recv_fault(soap, 0); | |
2282 if (soap_body_end_in(soap) | |
2283 || soap_envelope_end_in(soap) | |
2284 || soap_end_recv(soap)) | |
2285 return soap_closesock(soap); | |
2286 if (_result && soap_tmp_ns1__consensus_USCOREzResponse->_result) | |
2287 *_result = *soap_tmp_ns1__consensus_USCOREzResponse->_result; | |
2288 return soap_closesock(soap); | |
2289 } | |
2290 | |
2291 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__genome_USCOREmap(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__genome_USCOREmapInputParams *_params, char **_result) | |
2292 { struct ns1__genome_USCOREmap soap_tmp_ns1__genome_USCOREmap; | |
2293 struct ns1__genome_USCOREmapResponse *soap_tmp_ns1__genome_USCOREmapResponse; | |
2294 if (!soap_endpoint) | |
2295 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2296 if (!soap_action) | |
2297 soap_action = "http://soap.g-language.org/GLANG#genome_map"; | |
2298 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2299 soap_tmp_ns1__genome_USCOREmap._sequence = _sequence; | |
2300 soap_tmp_ns1__genome_USCOREmap._params = _params; | |
2301 soap_begin(soap); | |
2302 soap_serializeheader(soap); | |
2303 soap_serialize_ns1__genome_USCOREmap(soap, &soap_tmp_ns1__genome_USCOREmap); | |
2304 if (soap_begin_count(soap)) | |
2305 return soap->error; | |
2306 if (soap->mode & SOAP_IO_LENGTH) | |
2307 { if (soap_envelope_begin_out(soap) | |
2308 || soap_putheader(soap) | |
2309 || soap_body_begin_out(soap) | |
2310 || soap_put_ns1__genome_USCOREmap(soap, &soap_tmp_ns1__genome_USCOREmap, "ns1:genome_map", NULL) | |
2311 || soap_body_end_out(soap) | |
2312 || soap_envelope_end_out(soap)) | |
2313 return soap->error; | |
2314 } | |
2315 if (soap_end_count(soap)) | |
2316 return soap->error; | |
2317 if (soap_connect(soap, soap_endpoint, soap_action) | |
2318 || soap_envelope_begin_out(soap) | |
2319 || soap_putheader(soap) | |
2320 || soap_body_begin_out(soap) | |
2321 || soap_put_ns1__genome_USCOREmap(soap, &soap_tmp_ns1__genome_USCOREmap, "ns1:genome_map", NULL) | |
2322 || soap_body_end_out(soap) | |
2323 || soap_envelope_end_out(soap) | |
2324 || soap_end_send(soap)) | |
2325 return soap_closesock(soap); | |
2326 if (!_result) | |
2327 return soap_closesock(soap); | |
2328 *_result = NULL; | |
2329 if (soap_begin_recv(soap) | |
2330 || soap_envelope_begin_in(soap) | |
2331 || soap_recv_header(soap) | |
2332 || soap_body_begin_in(soap)) | |
2333 return soap_closesock(soap); | |
2334 if (soap_recv_fault(soap, 1)) | |
2335 return soap->error; | |
2336 soap_tmp_ns1__genome_USCOREmapResponse = soap_get_ns1__genome_USCOREmapResponse(soap, NULL, "", ""); | |
2337 if (soap->error) | |
2338 return soap_recv_fault(soap, 0); | |
2339 if (soap_body_end_in(soap) | |
2340 || soap_envelope_end_in(soap) | |
2341 || soap_end_recv(soap)) | |
2342 return soap_closesock(soap); | |
2343 if (_result && soap_tmp_ns1__genome_USCOREmapResponse->_result) | |
2344 *_result = *soap_tmp_ns1__genome_USCOREmapResponse->_result; | |
2345 return soap_closesock(soap); | |
2346 } | |
2347 | |
2348 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__longest_USCOREORF(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
2349 { struct ns1__longest_USCOREORF soap_tmp_ns1__longest_USCOREORF; | |
2350 struct ns1__longest_USCOREORFResponse *soap_tmp_ns1__longest_USCOREORFResponse; | |
2351 if (!soap_endpoint) | |
2352 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2353 if (!soap_action) | |
2354 soap_action = "http://soap.g-language.org/GLANG#longest_ORF"; | |
2355 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2356 soap_tmp_ns1__longest_USCOREORF._sequence = _sequence; | |
2357 soap_begin(soap); | |
2358 soap_serializeheader(soap); | |
2359 soap_serialize_ns1__longest_USCOREORF(soap, &soap_tmp_ns1__longest_USCOREORF); | |
2360 if (soap_begin_count(soap)) | |
2361 return soap->error; | |
2362 if (soap->mode & SOAP_IO_LENGTH) | |
2363 { if (soap_envelope_begin_out(soap) | |
2364 || soap_putheader(soap) | |
2365 || soap_body_begin_out(soap) | |
2366 || soap_put_ns1__longest_USCOREORF(soap, &soap_tmp_ns1__longest_USCOREORF, "ns1:longest_ORF", NULL) | |
2367 || soap_body_end_out(soap) | |
2368 || soap_envelope_end_out(soap)) | |
2369 return soap->error; | |
2370 } | |
2371 if (soap_end_count(soap)) | |
2372 return soap->error; | |
2373 if (soap_connect(soap, soap_endpoint, soap_action) | |
2374 || soap_envelope_begin_out(soap) | |
2375 || soap_putheader(soap) | |
2376 || soap_body_begin_out(soap) | |
2377 || soap_put_ns1__longest_USCOREORF(soap, &soap_tmp_ns1__longest_USCOREORF, "ns1:longest_ORF", NULL) | |
2378 || soap_body_end_out(soap) | |
2379 || soap_envelope_end_out(soap) | |
2380 || soap_end_send(soap)) | |
2381 return soap_closesock(soap); | |
2382 if (!_result) | |
2383 return soap_closesock(soap); | |
2384 *_result = NULL; | |
2385 if (soap_begin_recv(soap) | |
2386 || soap_envelope_begin_in(soap) | |
2387 || soap_recv_header(soap) | |
2388 || soap_body_begin_in(soap)) | |
2389 return soap_closesock(soap); | |
2390 if (soap_recv_fault(soap, 1)) | |
2391 return soap->error; | |
2392 soap_tmp_ns1__longest_USCOREORFResponse = soap_get_ns1__longest_USCOREORFResponse(soap, NULL, "", ""); | |
2393 if (soap->error) | |
2394 return soap_recv_fault(soap, 0); | |
2395 if (soap_body_end_in(soap) | |
2396 || soap_envelope_end_in(soap) | |
2397 || soap_end_recv(soap)) | |
2398 return soap_closesock(soap); | |
2399 if (_result && soap_tmp_ns1__longest_USCOREORFResponse->_result) | |
2400 *_result = *soap_tmp_ns1__longest_USCOREORFResponse->_result; | |
2401 return soap_closesock(soap); | |
2402 } | |
2403 | |
2404 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__rep_USCOREori_USCOREter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__rep_USCOREori_USCOREterInputParams *_params, char **_result) | |
2405 { struct ns1__rep_USCOREori_USCOREter soap_tmp_ns1__rep_USCOREori_USCOREter; | |
2406 struct ns1__rep_USCOREori_USCOREterResponse *soap_tmp_ns1__rep_USCOREori_USCOREterResponse; | |
2407 if (!soap_endpoint) | |
2408 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2409 if (!soap_action) | |
2410 soap_action = "http://soap.g-language.org/GLANG#rep_ori_ter"; | |
2411 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2412 soap_tmp_ns1__rep_USCOREori_USCOREter._sequence = _sequence; | |
2413 soap_tmp_ns1__rep_USCOREori_USCOREter._params = _params; | |
2414 soap_begin(soap); | |
2415 soap_serializeheader(soap); | |
2416 soap_serialize_ns1__rep_USCOREori_USCOREter(soap, &soap_tmp_ns1__rep_USCOREori_USCOREter); | |
2417 if (soap_begin_count(soap)) | |
2418 return soap->error; | |
2419 if (soap->mode & SOAP_IO_LENGTH) | |
2420 { if (soap_envelope_begin_out(soap) | |
2421 || soap_putheader(soap) | |
2422 || soap_body_begin_out(soap) | |
2423 || soap_put_ns1__rep_USCOREori_USCOREter(soap, &soap_tmp_ns1__rep_USCOREori_USCOREter, "ns1:rep_ori_ter", NULL) | |
2424 || soap_body_end_out(soap) | |
2425 || soap_envelope_end_out(soap)) | |
2426 return soap->error; | |
2427 } | |
2428 if (soap_end_count(soap)) | |
2429 return soap->error; | |
2430 if (soap_connect(soap, soap_endpoint, soap_action) | |
2431 || soap_envelope_begin_out(soap) | |
2432 || soap_putheader(soap) | |
2433 || soap_body_begin_out(soap) | |
2434 || soap_put_ns1__rep_USCOREori_USCOREter(soap, &soap_tmp_ns1__rep_USCOREori_USCOREter, "ns1:rep_ori_ter", NULL) | |
2435 || soap_body_end_out(soap) | |
2436 || soap_envelope_end_out(soap) | |
2437 || soap_end_send(soap)) | |
2438 return soap_closesock(soap); | |
2439 if (!_result) | |
2440 return soap_closesock(soap); | |
2441 *_result = NULL; | |
2442 if (soap_begin_recv(soap) | |
2443 || soap_envelope_begin_in(soap) | |
2444 || soap_recv_header(soap) | |
2445 || soap_body_begin_in(soap)) | |
2446 return soap_closesock(soap); | |
2447 if (soap_recv_fault(soap, 1)) | |
2448 return soap->error; | |
2449 soap_tmp_ns1__rep_USCOREori_USCOREterResponse = soap_get_ns1__rep_USCOREori_USCOREterResponse(soap, NULL, "", ""); | |
2450 if (soap->error) | |
2451 return soap_recv_fault(soap, 0); | |
2452 if (soap_body_end_in(soap) | |
2453 || soap_envelope_end_in(soap) | |
2454 || soap_end_recv(soap)) | |
2455 return soap_closesock(soap); | |
2456 if (_result && soap_tmp_ns1__rep_USCOREori_USCOREterResponse->_result) | |
2457 *_result = *soap_tmp_ns1__rep_USCOREori_USCOREterResponse->_result; | |
2458 return soap_closesock(soap); | |
2459 } | |
2460 | |
2461 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__calc_USCOREpI(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
2462 { struct ns1__calc_USCOREpI soap_tmp_ns1__calc_USCOREpI; | |
2463 struct ns1__calc_USCOREpIResponse *soap_tmp_ns1__calc_USCOREpIResponse; | |
2464 if (!soap_endpoint) | |
2465 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2466 if (!soap_action) | |
2467 soap_action = "http://soap.g-language.org/GLANG#calc_pI"; | |
2468 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2469 soap_tmp_ns1__calc_USCOREpI._sequence = _sequence; | |
2470 soap_begin(soap); | |
2471 soap_serializeheader(soap); | |
2472 soap_serialize_ns1__calc_USCOREpI(soap, &soap_tmp_ns1__calc_USCOREpI); | |
2473 if (soap_begin_count(soap)) | |
2474 return soap->error; | |
2475 if (soap->mode & SOAP_IO_LENGTH) | |
2476 { if (soap_envelope_begin_out(soap) | |
2477 || soap_putheader(soap) | |
2478 || soap_body_begin_out(soap) | |
2479 || soap_put_ns1__calc_USCOREpI(soap, &soap_tmp_ns1__calc_USCOREpI, "ns1:calc_pI", NULL) | |
2480 || soap_body_end_out(soap) | |
2481 || soap_envelope_end_out(soap)) | |
2482 return soap->error; | |
2483 } | |
2484 if (soap_end_count(soap)) | |
2485 return soap->error; | |
2486 if (soap_connect(soap, soap_endpoint, soap_action) | |
2487 || soap_envelope_begin_out(soap) | |
2488 || soap_putheader(soap) | |
2489 || soap_body_begin_out(soap) | |
2490 || soap_put_ns1__calc_USCOREpI(soap, &soap_tmp_ns1__calc_USCOREpI, "ns1:calc_pI", NULL) | |
2491 || soap_body_end_out(soap) | |
2492 || soap_envelope_end_out(soap) | |
2493 || soap_end_send(soap)) | |
2494 return soap_closesock(soap); | |
2495 if (!_result) | |
2496 return soap_closesock(soap); | |
2497 *_result = NULL; | |
2498 if (soap_begin_recv(soap) | |
2499 || soap_envelope_begin_in(soap) | |
2500 || soap_recv_header(soap) | |
2501 || soap_body_begin_in(soap)) | |
2502 return soap_closesock(soap); | |
2503 if (soap_recv_fault(soap, 1)) | |
2504 return soap->error; | |
2505 soap_tmp_ns1__calc_USCOREpIResponse = soap_get_ns1__calc_USCOREpIResponse(soap, NULL, "", ""); | |
2506 if (soap->error) | |
2507 return soap_recv_fault(soap, 0); | |
2508 if (soap_body_end_in(soap) | |
2509 || soap_envelope_end_in(soap) | |
2510 || soap_end_recv(soap)) | |
2511 return soap_closesock(soap); | |
2512 if (_result && soap_tmp_ns1__calc_USCOREpIResponse->_result) | |
2513 *_result = *soap_tmp_ns1__calc_USCOREpIResponse->_result; | |
2514 return soap_closesock(soap); | |
2515 } | |
2516 | |
2517 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__DoubleHelix(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__DoubleHelixInputParams *_params, char **_result) | |
2518 { struct ns1__DoubleHelix soap_tmp_ns1__DoubleHelix; | |
2519 struct ns1__DoubleHelixResponse *soap_tmp_ns1__DoubleHelixResponse; | |
2520 if (!soap_endpoint) | |
2521 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2522 if (!soap_action) | |
2523 soap_action = "http://soap.g-language.org/GLANG#DoubleHelix"; | |
2524 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2525 soap_tmp_ns1__DoubleHelix._sequence = _sequence; | |
2526 soap_tmp_ns1__DoubleHelix._params = _params; | |
2527 soap_begin(soap); | |
2528 soap_serializeheader(soap); | |
2529 soap_serialize_ns1__DoubleHelix(soap, &soap_tmp_ns1__DoubleHelix); | |
2530 if (soap_begin_count(soap)) | |
2531 return soap->error; | |
2532 if (soap->mode & SOAP_IO_LENGTH) | |
2533 { if (soap_envelope_begin_out(soap) | |
2534 || soap_putheader(soap) | |
2535 || soap_body_begin_out(soap) | |
2536 || soap_put_ns1__DoubleHelix(soap, &soap_tmp_ns1__DoubleHelix, "ns1:DoubleHelix", NULL) | |
2537 || soap_body_end_out(soap) | |
2538 || soap_envelope_end_out(soap)) | |
2539 return soap->error; | |
2540 } | |
2541 if (soap_end_count(soap)) | |
2542 return soap->error; | |
2543 if (soap_connect(soap, soap_endpoint, soap_action) | |
2544 || soap_envelope_begin_out(soap) | |
2545 || soap_putheader(soap) | |
2546 || soap_body_begin_out(soap) | |
2547 || soap_put_ns1__DoubleHelix(soap, &soap_tmp_ns1__DoubleHelix, "ns1:DoubleHelix", NULL) | |
2548 || soap_body_end_out(soap) | |
2549 || soap_envelope_end_out(soap) | |
2550 || soap_end_send(soap)) | |
2551 return soap_closesock(soap); | |
2552 if (!_result) | |
2553 return soap_closesock(soap); | |
2554 *_result = NULL; | |
2555 if (soap_begin_recv(soap) | |
2556 || soap_envelope_begin_in(soap) | |
2557 || soap_recv_header(soap) | |
2558 || soap_body_begin_in(soap)) | |
2559 return soap_closesock(soap); | |
2560 if (soap_recv_fault(soap, 1)) | |
2561 return soap->error; | |
2562 soap_tmp_ns1__DoubleHelixResponse = soap_get_ns1__DoubleHelixResponse(soap, NULL, "", ""); | |
2563 if (soap->error) | |
2564 return soap_recv_fault(soap, 0); | |
2565 if (soap_body_end_in(soap) | |
2566 || soap_envelope_end_in(soap) | |
2567 || soap_end_recv(soap)) | |
2568 return soap_closesock(soap); | |
2569 if (_result && soap_tmp_ns1__DoubleHelixResponse->_result) | |
2570 *_result = *soap_tmp_ns1__DoubleHelixResponse->_result; | |
2571 return soap_closesock(soap); | |
2572 } | |
2573 | |
2574 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__base_USCOREentropy(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__base_USCOREentropyInputParams *_params, char **_result) | |
2575 { struct ns1__base_USCOREentropy soap_tmp_ns1__base_USCOREentropy; | |
2576 struct ns1__base_USCOREentropyResponse *soap_tmp_ns1__base_USCOREentropyResponse; | |
2577 if (!soap_endpoint) | |
2578 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2579 if (!soap_action) | |
2580 soap_action = "http://soap.g-language.org/GLANG#base_entropy"; | |
2581 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2582 soap_tmp_ns1__base_USCOREentropy._sequence = _sequence; | |
2583 soap_tmp_ns1__base_USCOREentropy._params = _params; | |
2584 soap_begin(soap); | |
2585 soap_serializeheader(soap); | |
2586 soap_serialize_ns1__base_USCOREentropy(soap, &soap_tmp_ns1__base_USCOREentropy); | |
2587 if (soap_begin_count(soap)) | |
2588 return soap->error; | |
2589 if (soap->mode & SOAP_IO_LENGTH) | |
2590 { if (soap_envelope_begin_out(soap) | |
2591 || soap_putheader(soap) | |
2592 || soap_body_begin_out(soap) | |
2593 || soap_put_ns1__base_USCOREentropy(soap, &soap_tmp_ns1__base_USCOREentropy, "ns1:base_entropy", NULL) | |
2594 || soap_body_end_out(soap) | |
2595 || soap_envelope_end_out(soap)) | |
2596 return soap->error; | |
2597 } | |
2598 if (soap_end_count(soap)) | |
2599 return soap->error; | |
2600 if (soap_connect(soap, soap_endpoint, soap_action) | |
2601 || soap_envelope_begin_out(soap) | |
2602 || soap_putheader(soap) | |
2603 || soap_body_begin_out(soap) | |
2604 || soap_put_ns1__base_USCOREentropy(soap, &soap_tmp_ns1__base_USCOREentropy, "ns1:base_entropy", NULL) | |
2605 || soap_body_end_out(soap) | |
2606 || soap_envelope_end_out(soap) | |
2607 || soap_end_send(soap)) | |
2608 return soap_closesock(soap); | |
2609 if (!_result) | |
2610 return soap_closesock(soap); | |
2611 *_result = NULL; | |
2612 if (soap_begin_recv(soap) | |
2613 || soap_envelope_begin_in(soap) | |
2614 || soap_recv_header(soap) | |
2615 || soap_body_begin_in(soap)) | |
2616 return soap_closesock(soap); | |
2617 if (soap_recv_fault(soap, 1)) | |
2618 return soap->error; | |
2619 soap_tmp_ns1__base_USCOREentropyResponse = soap_get_ns1__base_USCOREentropyResponse(soap, NULL, "", ""); | |
2620 if (soap->error) | |
2621 return soap_recv_fault(soap, 0); | |
2622 if (soap_body_end_in(soap) | |
2623 || soap_envelope_end_in(soap) | |
2624 || soap_end_recv(soap)) | |
2625 return soap_closesock(soap); | |
2626 if (_result && soap_tmp_ns1__base_USCOREentropyResponse->_result) | |
2627 *_result = *soap_tmp_ns1__base_USCOREentropyResponse->_result; | |
2628 return soap_closesock(soap); | |
2629 } | |
2630 | |
2631 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__to_USCOREfasta(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__to_USCOREfastaInputParams *_params, char **_result) | |
2632 { struct ns1__to_USCOREfasta soap_tmp_ns1__to_USCOREfasta; | |
2633 struct ns1__to_USCOREfastaResponse *soap_tmp_ns1__to_USCOREfastaResponse; | |
2634 if (!soap_endpoint) | |
2635 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2636 if (!soap_action) | |
2637 soap_action = "http://soap.g-language.org/GLANG#to_fasta"; | |
2638 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2639 soap_tmp_ns1__to_USCOREfasta._sequence = _sequence; | |
2640 soap_tmp_ns1__to_USCOREfasta._params = _params; | |
2641 soap_begin(soap); | |
2642 soap_serializeheader(soap); | |
2643 soap_serialize_ns1__to_USCOREfasta(soap, &soap_tmp_ns1__to_USCOREfasta); | |
2644 if (soap_begin_count(soap)) | |
2645 return soap->error; | |
2646 if (soap->mode & SOAP_IO_LENGTH) | |
2647 { if (soap_envelope_begin_out(soap) | |
2648 || soap_putheader(soap) | |
2649 || soap_body_begin_out(soap) | |
2650 || soap_put_ns1__to_USCOREfasta(soap, &soap_tmp_ns1__to_USCOREfasta, "ns1:to_fasta", NULL) | |
2651 || soap_body_end_out(soap) | |
2652 || soap_envelope_end_out(soap)) | |
2653 return soap->error; | |
2654 } | |
2655 if (soap_end_count(soap)) | |
2656 return soap->error; | |
2657 if (soap_connect(soap, soap_endpoint, soap_action) | |
2658 || soap_envelope_begin_out(soap) | |
2659 || soap_putheader(soap) | |
2660 || soap_body_begin_out(soap) | |
2661 || soap_put_ns1__to_USCOREfasta(soap, &soap_tmp_ns1__to_USCOREfasta, "ns1:to_fasta", NULL) | |
2662 || soap_body_end_out(soap) | |
2663 || soap_envelope_end_out(soap) | |
2664 || soap_end_send(soap)) | |
2665 return soap_closesock(soap); | |
2666 if (!_result) | |
2667 return soap_closesock(soap); | |
2668 *_result = NULL; | |
2669 if (soap_begin_recv(soap) | |
2670 || soap_envelope_begin_in(soap) | |
2671 || soap_recv_header(soap) | |
2672 || soap_body_begin_in(soap)) | |
2673 return soap_closesock(soap); | |
2674 if (soap_recv_fault(soap, 1)) | |
2675 return soap->error; | |
2676 soap_tmp_ns1__to_USCOREfastaResponse = soap_get_ns1__to_USCOREfastaResponse(soap, NULL, "", ""); | |
2677 if (soap->error) | |
2678 return soap_recv_fault(soap, 0); | |
2679 if (soap_body_end_in(soap) | |
2680 || soap_envelope_end_in(soap) | |
2681 || soap_end_recv(soap)) | |
2682 return soap_closesock(soap); | |
2683 if (_result && soap_tmp_ns1__to_USCOREfastaResponse->_result) | |
2684 *_result = *soap_tmp_ns1__to_USCOREfastaResponse->_result; | |
2685 return soap_closesock(soap); | |
2686 } | |
2687 | |
2688 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREdif(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__find_USCOREdifInputParams *_params, struct ns1__find_USCOREdifResponse *_param_3) | |
2689 { struct ns1__find_USCOREdif soap_tmp_ns1__find_USCOREdif; | |
2690 if (!soap_endpoint) | |
2691 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2692 if (!soap_action) | |
2693 soap_action = "http://soap.g-language.org/GLANG#find_dif"; | |
2694 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2695 soap_tmp_ns1__find_USCOREdif._sequence = _sequence; | |
2696 soap_tmp_ns1__find_USCOREdif._params = _params; | |
2697 soap_begin(soap); | |
2698 soap_serializeheader(soap); | |
2699 soap_serialize_ns1__find_USCOREdif(soap, &soap_tmp_ns1__find_USCOREdif); | |
2700 if (soap_begin_count(soap)) | |
2701 return soap->error; | |
2702 if (soap->mode & SOAP_IO_LENGTH) | |
2703 { if (soap_envelope_begin_out(soap) | |
2704 || soap_putheader(soap) | |
2705 || soap_body_begin_out(soap) | |
2706 || soap_put_ns1__find_USCOREdif(soap, &soap_tmp_ns1__find_USCOREdif, "ns1:find_dif", NULL) | |
2707 || soap_body_end_out(soap) | |
2708 || soap_envelope_end_out(soap)) | |
2709 return soap->error; | |
2710 } | |
2711 if (soap_end_count(soap)) | |
2712 return soap->error; | |
2713 if (soap_connect(soap, soap_endpoint, soap_action) | |
2714 || soap_envelope_begin_out(soap) | |
2715 || soap_putheader(soap) | |
2716 || soap_body_begin_out(soap) | |
2717 || soap_put_ns1__find_USCOREdif(soap, &soap_tmp_ns1__find_USCOREdif, "ns1:find_dif", NULL) | |
2718 || soap_body_end_out(soap) | |
2719 || soap_envelope_end_out(soap) | |
2720 || soap_end_send(soap)) | |
2721 return soap_closesock(soap); | |
2722 if (!_param_3) | |
2723 return soap_closesock(soap); | |
2724 soap_default_ns1__find_USCOREdifResponse(soap, _param_3); | |
2725 if (soap_begin_recv(soap) | |
2726 || soap_envelope_begin_in(soap) | |
2727 || soap_recv_header(soap) | |
2728 || soap_body_begin_in(soap)) | |
2729 return soap_closesock(soap); | |
2730 if (soap_recv_fault(soap, 1)) | |
2731 return soap->error; | |
2732 soap_get_ns1__find_USCOREdifResponse(soap, _param_3, "", ""); | |
2733 if (soap->error) | |
2734 return soap_recv_fault(soap, 0); | |
2735 if (soap_body_end_in(soap) | |
2736 || soap_envelope_end_in(soap) | |
2737 || soap_end_recv(soap)) | |
2738 return soap_closesock(soap); | |
2739 return soap_closesock(soap); | |
2740 } | |
2741 | |
2742 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__cbi(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__cbiInputParams *_params, char **_result) | |
2743 { struct ns1__cbi soap_tmp_ns1__cbi; | |
2744 struct ns1__cbiResponse *soap_tmp_ns1__cbiResponse; | |
2745 if (!soap_endpoint) | |
2746 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2747 if (!soap_action) | |
2748 soap_action = "http://soap.g-language.org/GLANG#cbi"; | |
2749 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2750 soap_tmp_ns1__cbi._sequence = _sequence; | |
2751 soap_tmp_ns1__cbi._params = _params; | |
2752 soap_begin(soap); | |
2753 soap_serializeheader(soap); | |
2754 soap_serialize_ns1__cbi(soap, &soap_tmp_ns1__cbi); | |
2755 if (soap_begin_count(soap)) | |
2756 return soap->error; | |
2757 if (soap->mode & SOAP_IO_LENGTH) | |
2758 { if (soap_envelope_begin_out(soap) | |
2759 || soap_putheader(soap) | |
2760 || soap_body_begin_out(soap) | |
2761 || soap_put_ns1__cbi(soap, &soap_tmp_ns1__cbi, "ns1:cbi", NULL) | |
2762 || soap_body_end_out(soap) | |
2763 || soap_envelope_end_out(soap)) | |
2764 return soap->error; | |
2765 } | |
2766 if (soap_end_count(soap)) | |
2767 return soap->error; | |
2768 if (soap_connect(soap, soap_endpoint, soap_action) | |
2769 || soap_envelope_begin_out(soap) | |
2770 || soap_putheader(soap) | |
2771 || soap_body_begin_out(soap) | |
2772 || soap_put_ns1__cbi(soap, &soap_tmp_ns1__cbi, "ns1:cbi", NULL) | |
2773 || soap_body_end_out(soap) | |
2774 || soap_envelope_end_out(soap) | |
2775 || soap_end_send(soap)) | |
2776 return soap_closesock(soap); | |
2777 if (!_result) | |
2778 return soap_closesock(soap); | |
2779 *_result = NULL; | |
2780 if (soap_begin_recv(soap) | |
2781 || soap_envelope_begin_in(soap) | |
2782 || soap_recv_header(soap) | |
2783 || soap_body_begin_in(soap)) | |
2784 return soap_closesock(soap); | |
2785 if (soap_recv_fault(soap, 1)) | |
2786 return soap->error; | |
2787 soap_tmp_ns1__cbiResponse = soap_get_ns1__cbiResponse(soap, NULL, "", ""); | |
2788 if (soap->error) | |
2789 return soap_recv_fault(soap, 0); | |
2790 if (soap_body_end_in(soap) | |
2791 || soap_envelope_end_in(soap) | |
2792 || soap_end_recv(soap)) | |
2793 return soap_closesock(soap); | |
2794 if (_result && soap_tmp_ns1__cbiResponse->_result) | |
2795 *_result = *soap_tmp_ns1__cbiResponse->_result; | |
2796 return soap_closesock(soap); | |
2797 } | |
2798 | |
2799 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__genes_USCOREfrom_USCOREori(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char *_direction, struct ns1__genes_USCOREfrom_USCOREoriInputParams *_params, struct ns1__genes_USCOREfrom_USCOREoriResponse *_param_4) | |
2800 { struct ns1__genes_USCOREfrom_USCOREori soap_tmp_ns1__genes_USCOREfrom_USCOREori; | |
2801 if (!soap_endpoint) | |
2802 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2803 if (!soap_action) | |
2804 soap_action = "http://soap.g-language.org/GLANG#genes_from_ori"; | |
2805 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2806 soap_tmp_ns1__genes_USCOREfrom_USCOREori._sequence = _sequence; | |
2807 soap_tmp_ns1__genes_USCOREfrom_USCOREori._direction = _direction; | |
2808 soap_tmp_ns1__genes_USCOREfrom_USCOREori._params = _params; | |
2809 soap_begin(soap); | |
2810 soap_serializeheader(soap); | |
2811 soap_serialize_ns1__genes_USCOREfrom_USCOREori(soap, &soap_tmp_ns1__genes_USCOREfrom_USCOREori); | |
2812 if (soap_begin_count(soap)) | |
2813 return soap->error; | |
2814 if (soap->mode & SOAP_IO_LENGTH) | |
2815 { if (soap_envelope_begin_out(soap) | |
2816 || soap_putheader(soap) | |
2817 || soap_body_begin_out(soap) | |
2818 || soap_put_ns1__genes_USCOREfrom_USCOREori(soap, &soap_tmp_ns1__genes_USCOREfrom_USCOREori, "ns1:genes_from_ori", NULL) | |
2819 || soap_body_end_out(soap) | |
2820 || soap_envelope_end_out(soap)) | |
2821 return soap->error; | |
2822 } | |
2823 if (soap_end_count(soap)) | |
2824 return soap->error; | |
2825 if (soap_connect(soap, soap_endpoint, soap_action) | |
2826 || soap_envelope_begin_out(soap) | |
2827 || soap_putheader(soap) | |
2828 || soap_body_begin_out(soap) | |
2829 || soap_put_ns1__genes_USCOREfrom_USCOREori(soap, &soap_tmp_ns1__genes_USCOREfrom_USCOREori, "ns1:genes_from_ori", NULL) | |
2830 || soap_body_end_out(soap) | |
2831 || soap_envelope_end_out(soap) | |
2832 || soap_end_send(soap)) | |
2833 return soap_closesock(soap); | |
2834 if (!_param_4) | |
2835 return soap_closesock(soap); | |
2836 soap_default_ns1__genes_USCOREfrom_USCOREoriResponse(soap, _param_4); | |
2837 if (soap_begin_recv(soap) | |
2838 || soap_envelope_begin_in(soap) | |
2839 || soap_recv_header(soap) | |
2840 || soap_body_begin_in(soap)) | |
2841 return soap_closesock(soap); | |
2842 if (soap_recv_fault(soap, 1)) | |
2843 return soap->error; | |
2844 soap_get_ns1__genes_USCOREfrom_USCOREoriResponse(soap, _param_4, "", ""); | |
2845 if (soap->error) | |
2846 return soap_recv_fault(soap, 0); | |
2847 if (soap_body_end_in(soap) | |
2848 || soap_envelope_end_in(soap) | |
2849 || soap_end_recv(soap)) | |
2850 return soap_closesock(soap); | |
2851 return soap_closesock(soap); | |
2852 } | |
2853 | |
2854 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__geneskew(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__geneskewInputParams *_params, char **_result) | |
2855 { struct ns1__geneskew soap_tmp_ns1__geneskew; | |
2856 struct ns1__geneskewResponse *soap_tmp_ns1__geneskewResponse; | |
2857 if (!soap_endpoint) | |
2858 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2859 if (!soap_action) | |
2860 soap_action = "http://soap.g-language.org/GLANG#geneskew"; | |
2861 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2862 soap_tmp_ns1__geneskew._sequence = _sequence; | |
2863 soap_tmp_ns1__geneskew._params = _params; | |
2864 soap_begin(soap); | |
2865 soap_serializeheader(soap); | |
2866 soap_serialize_ns1__geneskew(soap, &soap_tmp_ns1__geneskew); | |
2867 if (soap_begin_count(soap)) | |
2868 return soap->error; | |
2869 if (soap->mode & SOAP_IO_LENGTH) | |
2870 { if (soap_envelope_begin_out(soap) | |
2871 || soap_putheader(soap) | |
2872 || soap_body_begin_out(soap) | |
2873 || soap_put_ns1__geneskew(soap, &soap_tmp_ns1__geneskew, "ns1:geneskew", NULL) | |
2874 || soap_body_end_out(soap) | |
2875 || soap_envelope_end_out(soap)) | |
2876 return soap->error; | |
2877 } | |
2878 if (soap_end_count(soap)) | |
2879 return soap->error; | |
2880 if (soap_connect(soap, soap_endpoint, soap_action) | |
2881 || soap_envelope_begin_out(soap) | |
2882 || soap_putheader(soap) | |
2883 || soap_body_begin_out(soap) | |
2884 || soap_put_ns1__geneskew(soap, &soap_tmp_ns1__geneskew, "ns1:geneskew", NULL) | |
2885 || soap_body_end_out(soap) | |
2886 || soap_envelope_end_out(soap) | |
2887 || soap_end_send(soap)) | |
2888 return soap_closesock(soap); | |
2889 if (!_result) | |
2890 return soap_closesock(soap); | |
2891 *_result = NULL; | |
2892 if (soap_begin_recv(soap) | |
2893 || soap_envelope_begin_in(soap) | |
2894 || soap_recv_header(soap) | |
2895 || soap_body_begin_in(soap)) | |
2896 return soap_closesock(soap); | |
2897 if (soap_recv_fault(soap, 1)) | |
2898 return soap->error; | |
2899 soap_tmp_ns1__geneskewResponse = soap_get_ns1__geneskewResponse(soap, NULL, "", ""); | |
2900 if (soap->error) | |
2901 return soap_recv_fault(soap, 0); | |
2902 if (soap_body_end_in(soap) | |
2903 || soap_envelope_end_in(soap) | |
2904 || soap_end_recv(soap)) | |
2905 return soap_closesock(soap); | |
2906 if (_result && soap_tmp_ns1__geneskewResponse->_result) | |
2907 *_result = *soap_tmp_ns1__geneskewResponse->_result; | |
2908 return soap_closesock(soap); | |
2909 } | |
2910 | |
2911 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__standard_USCOREdeviation(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
2912 { struct ns1__standard_USCOREdeviation soap_tmp_ns1__standard_USCOREdeviation; | |
2913 struct ns1__standard_USCOREdeviationResponse *soap_tmp_ns1__standard_USCOREdeviationResponse; | |
2914 if (!soap_endpoint) | |
2915 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2916 if (!soap_action) | |
2917 soap_action = "http://soap.g-language.org/GLANG#standard_deviation"; | |
2918 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2919 soap_tmp_ns1__standard_USCOREdeviation._array = _array; | |
2920 soap_begin(soap); | |
2921 soap_serializeheader(soap); | |
2922 soap_serialize_ns1__standard_USCOREdeviation(soap, &soap_tmp_ns1__standard_USCOREdeviation); | |
2923 if (soap_begin_count(soap)) | |
2924 return soap->error; | |
2925 if (soap->mode & SOAP_IO_LENGTH) | |
2926 { if (soap_envelope_begin_out(soap) | |
2927 || soap_putheader(soap) | |
2928 || soap_body_begin_out(soap) | |
2929 || soap_put_ns1__standard_USCOREdeviation(soap, &soap_tmp_ns1__standard_USCOREdeviation, "ns1:standard_deviation", NULL) | |
2930 || soap_body_end_out(soap) | |
2931 || soap_envelope_end_out(soap)) | |
2932 return soap->error; | |
2933 } | |
2934 if (soap_end_count(soap)) | |
2935 return soap->error; | |
2936 if (soap_connect(soap, soap_endpoint, soap_action) | |
2937 || soap_envelope_begin_out(soap) | |
2938 || soap_putheader(soap) | |
2939 || soap_body_begin_out(soap) | |
2940 || soap_put_ns1__standard_USCOREdeviation(soap, &soap_tmp_ns1__standard_USCOREdeviation, "ns1:standard_deviation", NULL) | |
2941 || soap_body_end_out(soap) | |
2942 || soap_envelope_end_out(soap) | |
2943 || soap_end_send(soap)) | |
2944 return soap_closesock(soap); | |
2945 if (!_result) | |
2946 return soap_closesock(soap); | |
2947 *_result = NULL; | |
2948 if (soap_begin_recv(soap) | |
2949 || soap_envelope_begin_in(soap) | |
2950 || soap_recv_header(soap) | |
2951 || soap_body_begin_in(soap)) | |
2952 return soap_closesock(soap); | |
2953 if (soap_recv_fault(soap, 1)) | |
2954 return soap->error; | |
2955 soap_tmp_ns1__standard_USCOREdeviationResponse = soap_get_ns1__standard_USCOREdeviationResponse(soap, NULL, "", ""); | |
2956 if (soap->error) | |
2957 return soap_recv_fault(soap, 0); | |
2958 if (soap_body_end_in(soap) | |
2959 || soap_envelope_end_in(soap) | |
2960 || soap_end_recv(soap)) | |
2961 return soap_closesock(soap); | |
2962 if (_result && soap_tmp_ns1__standard_USCOREdeviationResponse->_result) | |
2963 *_result = *soap_tmp_ns1__standard_USCOREdeviationResponse->_result; | |
2964 return soap_closesock(soap); | |
2965 } | |
2966 | |
2967 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__cor(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array1, struct arrayIn *_array2, struct ns1__corInputParams *_params, struct ns1__corResponse *_param_5) | |
2968 { struct ns1__cor soap_tmp_ns1__cor; | |
2969 if (!soap_endpoint) | |
2970 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
2971 if (!soap_action) | |
2972 soap_action = "http://soap.g-language.org/GLANG#cor"; | |
2973 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
2974 soap_tmp_ns1__cor._array1 = _array1; | |
2975 soap_tmp_ns1__cor._array2 = _array2; | |
2976 soap_tmp_ns1__cor._params = _params; | |
2977 soap_begin(soap); | |
2978 soap_serializeheader(soap); | |
2979 soap_serialize_ns1__cor(soap, &soap_tmp_ns1__cor); | |
2980 if (soap_begin_count(soap)) | |
2981 return soap->error; | |
2982 if (soap->mode & SOAP_IO_LENGTH) | |
2983 { if (soap_envelope_begin_out(soap) | |
2984 || soap_putheader(soap) | |
2985 || soap_body_begin_out(soap) | |
2986 || soap_put_ns1__cor(soap, &soap_tmp_ns1__cor, "ns1:cor", NULL) | |
2987 || soap_body_end_out(soap) | |
2988 || soap_envelope_end_out(soap)) | |
2989 return soap->error; | |
2990 } | |
2991 if (soap_end_count(soap)) | |
2992 return soap->error; | |
2993 if (soap_connect(soap, soap_endpoint, soap_action) | |
2994 || soap_envelope_begin_out(soap) | |
2995 || soap_putheader(soap) | |
2996 || soap_body_begin_out(soap) | |
2997 || soap_put_ns1__cor(soap, &soap_tmp_ns1__cor, "ns1:cor", NULL) | |
2998 || soap_body_end_out(soap) | |
2999 || soap_envelope_end_out(soap) | |
3000 || soap_end_send(soap)) | |
3001 return soap_closesock(soap); | |
3002 if (!_param_5) | |
3003 return soap_closesock(soap); | |
3004 soap_default_ns1__corResponse(soap, _param_5); | |
3005 if (soap_begin_recv(soap) | |
3006 || soap_envelope_begin_in(soap) | |
3007 || soap_recv_header(soap) | |
3008 || soap_body_begin_in(soap)) | |
3009 return soap_closesock(soap); | |
3010 if (soap_recv_fault(soap, 1)) | |
3011 return soap->error; | |
3012 soap_get_ns1__corResponse(soap, _param_5, "", ""); | |
3013 if (soap->error) | |
3014 return soap_recv_fault(soap, 0); | |
3015 if (soap_body_end_in(soap) | |
3016 || soap_envelope_end_in(soap) | |
3017 || soap_end_recv(soap)) | |
3018 return soap_closesock(soap); | |
3019 return soap_closesock(soap); | |
3020 } | |
3021 | |
3022 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__cumulative(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, struct ns1__cumulativeResponse *_param_6) | |
3023 { struct ns1__cumulative soap_tmp_ns1__cumulative; | |
3024 if (!soap_endpoint) | |
3025 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3026 if (!soap_action) | |
3027 soap_action = "http://soap.g-language.org/GLANG#cumulative"; | |
3028 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3029 soap_tmp_ns1__cumulative._array = _array; | |
3030 soap_begin(soap); | |
3031 soap_serializeheader(soap); | |
3032 soap_serialize_ns1__cumulative(soap, &soap_tmp_ns1__cumulative); | |
3033 if (soap_begin_count(soap)) | |
3034 return soap->error; | |
3035 if (soap->mode & SOAP_IO_LENGTH) | |
3036 { if (soap_envelope_begin_out(soap) | |
3037 || soap_putheader(soap) | |
3038 || soap_body_begin_out(soap) | |
3039 || soap_put_ns1__cumulative(soap, &soap_tmp_ns1__cumulative, "ns1:cumulative", NULL) | |
3040 || soap_body_end_out(soap) | |
3041 || soap_envelope_end_out(soap)) | |
3042 return soap->error; | |
3043 } | |
3044 if (soap_end_count(soap)) | |
3045 return soap->error; | |
3046 if (soap_connect(soap, soap_endpoint, soap_action) | |
3047 || soap_envelope_begin_out(soap) | |
3048 || soap_putheader(soap) | |
3049 || soap_body_begin_out(soap) | |
3050 || soap_put_ns1__cumulative(soap, &soap_tmp_ns1__cumulative, "ns1:cumulative", NULL) | |
3051 || soap_body_end_out(soap) | |
3052 || soap_envelope_end_out(soap) | |
3053 || soap_end_send(soap)) | |
3054 return soap_closesock(soap); | |
3055 if (!_param_6) | |
3056 return soap_closesock(soap); | |
3057 soap_default_ns1__cumulativeResponse(soap, _param_6); | |
3058 if (soap_begin_recv(soap) | |
3059 || soap_envelope_begin_in(soap) | |
3060 || soap_recv_header(soap) | |
3061 || soap_body_begin_in(soap)) | |
3062 return soap_closesock(soap); | |
3063 if (soap_recv_fault(soap, 1)) | |
3064 return soap->error; | |
3065 soap_get_ns1__cumulativeResponse(soap, _param_6, "", ""); | |
3066 if (soap->error) | |
3067 return soap_recv_fault(soap, 0); | |
3068 if (soap_body_end_in(soap) | |
3069 || soap_envelope_end_in(soap) | |
3070 || soap_end_recv(soap)) | |
3071 return soap_closesock(soap); | |
3072 return soap_closesock(soap); | |
3073 } | |
3074 | |
3075 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delta_USCOREenc(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
3076 { struct ns1__delta_USCOREenc soap_tmp_ns1__delta_USCOREenc; | |
3077 struct ns1__delta_USCOREencResponse *soap_tmp_ns1__delta_USCOREencResponse; | |
3078 if (!soap_endpoint) | |
3079 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3080 if (!soap_action) | |
3081 soap_action = "http://soap.g-language.org/GLANG#delta_enc"; | |
3082 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3083 soap_tmp_ns1__delta_USCOREenc._sequence = _sequence; | |
3084 soap_begin(soap); | |
3085 soap_serializeheader(soap); | |
3086 soap_serialize_ns1__delta_USCOREenc(soap, &soap_tmp_ns1__delta_USCOREenc); | |
3087 if (soap_begin_count(soap)) | |
3088 return soap->error; | |
3089 if (soap->mode & SOAP_IO_LENGTH) | |
3090 { if (soap_envelope_begin_out(soap) | |
3091 || soap_putheader(soap) | |
3092 || soap_body_begin_out(soap) | |
3093 || soap_put_ns1__delta_USCOREenc(soap, &soap_tmp_ns1__delta_USCOREenc, "ns1:delta_enc", NULL) | |
3094 || soap_body_end_out(soap) | |
3095 || soap_envelope_end_out(soap)) | |
3096 return soap->error; | |
3097 } | |
3098 if (soap_end_count(soap)) | |
3099 return soap->error; | |
3100 if (soap_connect(soap, soap_endpoint, soap_action) | |
3101 || soap_envelope_begin_out(soap) | |
3102 || soap_putheader(soap) | |
3103 || soap_body_begin_out(soap) | |
3104 || soap_put_ns1__delta_USCOREenc(soap, &soap_tmp_ns1__delta_USCOREenc, "ns1:delta_enc", NULL) | |
3105 || soap_body_end_out(soap) | |
3106 || soap_envelope_end_out(soap) | |
3107 || soap_end_send(soap)) | |
3108 return soap_closesock(soap); | |
3109 if (!_result) | |
3110 return soap_closesock(soap); | |
3111 *_result = NULL; | |
3112 if (soap_begin_recv(soap) | |
3113 || soap_envelope_begin_in(soap) | |
3114 || soap_recv_header(soap) | |
3115 || soap_body_begin_in(soap)) | |
3116 return soap_closesock(soap); | |
3117 if (soap_recv_fault(soap, 1)) | |
3118 return soap->error; | |
3119 soap_tmp_ns1__delta_USCOREencResponse = soap_get_ns1__delta_USCOREencResponse(soap, NULL, "", ""); | |
3120 if (soap->error) | |
3121 return soap_recv_fault(soap, 0); | |
3122 if (soap_body_end_in(soap) | |
3123 || soap_envelope_end_in(soap) | |
3124 || soap_end_recv(soap)) | |
3125 return soap_closesock(soap); | |
3126 if (_result && soap_tmp_ns1__delta_USCOREencResponse->_result) | |
3127 *_result = *soap_tmp_ns1__delta_USCOREencResponse->_result; | |
3128 return soap_closesock(soap); | |
3129 } | |
3130 | |
3131 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delta_USCOREgcskew(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__delta_USCOREgcskewInputParams *_params, char **_result) | |
3132 { struct ns1__delta_USCOREgcskew soap_tmp_ns1__delta_USCOREgcskew; | |
3133 struct ns1__delta_USCOREgcskewResponse *soap_tmp_ns1__delta_USCOREgcskewResponse; | |
3134 if (!soap_endpoint) | |
3135 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3136 if (!soap_action) | |
3137 soap_action = "http://soap.g-language.org/GLANG#delta_gcskew"; | |
3138 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3139 soap_tmp_ns1__delta_USCOREgcskew._sequence = _sequence; | |
3140 soap_tmp_ns1__delta_USCOREgcskew._params = _params; | |
3141 soap_begin(soap); | |
3142 soap_serializeheader(soap); | |
3143 soap_serialize_ns1__delta_USCOREgcskew(soap, &soap_tmp_ns1__delta_USCOREgcskew); | |
3144 if (soap_begin_count(soap)) | |
3145 return soap->error; | |
3146 if (soap->mode & SOAP_IO_LENGTH) | |
3147 { if (soap_envelope_begin_out(soap) | |
3148 || soap_putheader(soap) | |
3149 || soap_body_begin_out(soap) | |
3150 || soap_put_ns1__delta_USCOREgcskew(soap, &soap_tmp_ns1__delta_USCOREgcskew, "ns1:delta_gcskew", NULL) | |
3151 || soap_body_end_out(soap) | |
3152 || soap_envelope_end_out(soap)) | |
3153 return soap->error; | |
3154 } | |
3155 if (soap_end_count(soap)) | |
3156 return soap->error; | |
3157 if (soap_connect(soap, soap_endpoint, soap_action) | |
3158 || soap_envelope_begin_out(soap) | |
3159 || soap_putheader(soap) | |
3160 || soap_body_begin_out(soap) | |
3161 || soap_put_ns1__delta_USCOREgcskew(soap, &soap_tmp_ns1__delta_USCOREgcskew, "ns1:delta_gcskew", NULL) | |
3162 || soap_body_end_out(soap) | |
3163 || soap_envelope_end_out(soap) | |
3164 || soap_end_send(soap)) | |
3165 return soap_closesock(soap); | |
3166 if (!_result) | |
3167 return soap_closesock(soap); | |
3168 *_result = NULL; | |
3169 if (soap_begin_recv(soap) | |
3170 || soap_envelope_begin_in(soap) | |
3171 || soap_recv_header(soap) | |
3172 || soap_body_begin_in(soap)) | |
3173 return soap_closesock(soap); | |
3174 if (soap_recv_fault(soap, 1)) | |
3175 return soap->error; | |
3176 soap_tmp_ns1__delta_USCOREgcskewResponse = soap_get_ns1__delta_USCOREgcskewResponse(soap, NULL, "", ""); | |
3177 if (soap->error) | |
3178 return soap_recv_fault(soap, 0); | |
3179 if (soap_body_end_in(soap) | |
3180 || soap_envelope_end_in(soap) | |
3181 || soap_end_recv(soap)) | |
3182 return soap_closesock(soap); | |
3183 if (_result && soap_tmp_ns1__delta_USCOREgcskewResponse->_result) | |
3184 *_result = *soap_tmp_ns1__delta_USCOREgcskewResponse->_result; | |
3185 return soap_closesock(soap); | |
3186 } | |
3187 | |
3188 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__molecular_USCOREweight(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__molecular_USCOREweightInputParams *_params, char **_result) | |
3189 { struct ns1__molecular_USCOREweight soap_tmp_ns1__molecular_USCOREweight; | |
3190 struct ns1__molecular_USCOREweightResponse *soap_tmp_ns1__molecular_USCOREweightResponse; | |
3191 if (!soap_endpoint) | |
3192 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3193 if (!soap_action) | |
3194 soap_action = "http://soap.g-language.org/GLANG#molecular_weight"; | |
3195 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3196 soap_tmp_ns1__molecular_USCOREweight._sequence = _sequence; | |
3197 soap_tmp_ns1__molecular_USCOREweight._params = _params; | |
3198 soap_begin(soap); | |
3199 soap_serializeheader(soap); | |
3200 soap_serialize_ns1__molecular_USCOREweight(soap, &soap_tmp_ns1__molecular_USCOREweight); | |
3201 if (soap_begin_count(soap)) | |
3202 return soap->error; | |
3203 if (soap->mode & SOAP_IO_LENGTH) | |
3204 { if (soap_envelope_begin_out(soap) | |
3205 || soap_putheader(soap) | |
3206 || soap_body_begin_out(soap) | |
3207 || soap_put_ns1__molecular_USCOREweight(soap, &soap_tmp_ns1__molecular_USCOREweight, "ns1:molecular_weight", NULL) | |
3208 || soap_body_end_out(soap) | |
3209 || soap_envelope_end_out(soap)) | |
3210 return soap->error; | |
3211 } | |
3212 if (soap_end_count(soap)) | |
3213 return soap->error; | |
3214 if (soap_connect(soap, soap_endpoint, soap_action) | |
3215 || soap_envelope_begin_out(soap) | |
3216 || soap_putheader(soap) | |
3217 || soap_body_begin_out(soap) | |
3218 || soap_put_ns1__molecular_USCOREweight(soap, &soap_tmp_ns1__molecular_USCOREweight, "ns1:molecular_weight", NULL) | |
3219 || soap_body_end_out(soap) | |
3220 || soap_envelope_end_out(soap) | |
3221 || soap_end_send(soap)) | |
3222 return soap_closesock(soap); | |
3223 if (!_result) | |
3224 return soap_closesock(soap); | |
3225 *_result = NULL; | |
3226 if (soap_begin_recv(soap) | |
3227 || soap_envelope_begin_in(soap) | |
3228 || soap_recv_header(soap) | |
3229 || soap_body_begin_in(soap)) | |
3230 return soap_closesock(soap); | |
3231 if (soap_recv_fault(soap, 1)) | |
3232 return soap->error; | |
3233 soap_tmp_ns1__molecular_USCOREweightResponse = soap_get_ns1__molecular_USCOREweightResponse(soap, NULL, "", ""); | |
3234 if (soap->error) | |
3235 return soap_recv_fault(soap, 0); | |
3236 if (soap_body_end_in(soap) | |
3237 || soap_envelope_end_in(soap) | |
3238 || soap_end_recv(soap)) | |
3239 return soap_closesock(soap); | |
3240 if (_result && soap_tmp_ns1__molecular_USCOREweightResponse->_result) | |
3241 *_result = *soap_tmp_ns1__molecular_USCOREweightResponse->_result; | |
3242 return soap_closesock(soap); | |
3243 } | |
3244 | |
3245 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__gcskew(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__gcskewInputParams *_params, char **_result) | |
3246 { struct ns1__gcskew soap_tmp_ns1__gcskew; | |
3247 struct ns1__gcskewResponse *soap_tmp_ns1__gcskewResponse; | |
3248 if (!soap_endpoint) | |
3249 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3250 if (!soap_action) | |
3251 soap_action = "http://soap.g-language.org/GLANG#gcskew"; | |
3252 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3253 soap_tmp_ns1__gcskew._sequence = _sequence; | |
3254 soap_tmp_ns1__gcskew._params = _params; | |
3255 soap_begin(soap); | |
3256 soap_serializeheader(soap); | |
3257 soap_serialize_ns1__gcskew(soap, &soap_tmp_ns1__gcskew); | |
3258 if (soap_begin_count(soap)) | |
3259 return soap->error; | |
3260 if (soap->mode & SOAP_IO_LENGTH) | |
3261 { if (soap_envelope_begin_out(soap) | |
3262 || soap_putheader(soap) | |
3263 || soap_body_begin_out(soap) | |
3264 || soap_put_ns1__gcskew(soap, &soap_tmp_ns1__gcskew, "ns1:gcskew", NULL) | |
3265 || soap_body_end_out(soap) | |
3266 || soap_envelope_end_out(soap)) | |
3267 return soap->error; | |
3268 } | |
3269 if (soap_end_count(soap)) | |
3270 return soap->error; | |
3271 if (soap_connect(soap, soap_endpoint, soap_action) | |
3272 || soap_envelope_begin_out(soap) | |
3273 || soap_putheader(soap) | |
3274 || soap_body_begin_out(soap) | |
3275 || soap_put_ns1__gcskew(soap, &soap_tmp_ns1__gcskew, "ns1:gcskew", NULL) | |
3276 || soap_body_end_out(soap) | |
3277 || soap_envelope_end_out(soap) | |
3278 || soap_end_send(soap)) | |
3279 return soap_closesock(soap); | |
3280 if (!_result) | |
3281 return soap_closesock(soap); | |
3282 *_result = NULL; | |
3283 if (soap_begin_recv(soap) | |
3284 || soap_envelope_begin_in(soap) | |
3285 || soap_recv_header(soap) | |
3286 || soap_body_begin_in(soap)) | |
3287 return soap_closesock(soap); | |
3288 if (soap_recv_fault(soap, 1)) | |
3289 return soap->error; | |
3290 soap_tmp_ns1__gcskewResponse = soap_get_ns1__gcskewResponse(soap, NULL, "", ""); | |
3291 if (soap->error) | |
3292 return soap_recv_fault(soap, 0); | |
3293 if (soap_body_end_in(soap) | |
3294 || soap_envelope_end_in(soap) | |
3295 || soap_end_recv(soap)) | |
3296 return soap_closesock(soap); | |
3297 if (_result && soap_tmp_ns1__gcskewResponse->_result) | |
3298 *_result = *soap_tmp_ns1__gcskewResponse->_result; | |
3299 return soap_closesock(soap); | |
3300 } | |
3301 | |
3302 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__genome_USCOREmap3(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__genome_USCOREmap3InputParams *_params, char **_result) | |
3303 { struct ns1__genome_USCOREmap3 soap_tmp_ns1__genome_USCOREmap3; | |
3304 struct ns1__genome_USCOREmap3Response *soap_tmp_ns1__genome_USCOREmap3Response; | |
3305 if (!soap_endpoint) | |
3306 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3307 if (!soap_action) | |
3308 soap_action = "http://soap.g-language.org/GLANG#genome_map3"; | |
3309 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3310 soap_tmp_ns1__genome_USCOREmap3._sequence = _sequence; | |
3311 soap_tmp_ns1__genome_USCOREmap3._params = _params; | |
3312 soap_begin(soap); | |
3313 soap_serializeheader(soap); | |
3314 soap_serialize_ns1__genome_USCOREmap3(soap, &soap_tmp_ns1__genome_USCOREmap3); | |
3315 if (soap_begin_count(soap)) | |
3316 return soap->error; | |
3317 if (soap->mode & SOAP_IO_LENGTH) | |
3318 { if (soap_envelope_begin_out(soap) | |
3319 || soap_putheader(soap) | |
3320 || soap_body_begin_out(soap) | |
3321 || soap_put_ns1__genome_USCOREmap3(soap, &soap_tmp_ns1__genome_USCOREmap3, "ns1:genome_map3", NULL) | |
3322 || soap_body_end_out(soap) | |
3323 || soap_envelope_end_out(soap)) | |
3324 return soap->error; | |
3325 } | |
3326 if (soap_end_count(soap)) | |
3327 return soap->error; | |
3328 if (soap_connect(soap, soap_endpoint, soap_action) | |
3329 || soap_envelope_begin_out(soap) | |
3330 || soap_putheader(soap) | |
3331 || soap_body_begin_out(soap) | |
3332 || soap_put_ns1__genome_USCOREmap3(soap, &soap_tmp_ns1__genome_USCOREmap3, "ns1:genome_map3", NULL) | |
3333 || soap_body_end_out(soap) | |
3334 || soap_envelope_end_out(soap) | |
3335 || soap_end_send(soap)) | |
3336 return soap_closesock(soap); | |
3337 if (!_result) | |
3338 return soap_closesock(soap); | |
3339 *_result = NULL; | |
3340 if (soap_begin_recv(soap) | |
3341 || soap_envelope_begin_in(soap) | |
3342 || soap_recv_header(soap) | |
3343 || soap_body_begin_in(soap)) | |
3344 return soap_closesock(soap); | |
3345 if (soap_recv_fault(soap, 1)) | |
3346 return soap->error; | |
3347 soap_tmp_ns1__genome_USCOREmap3Response = soap_get_ns1__genome_USCOREmap3Response(soap, NULL, "", ""); | |
3348 if (soap->error) | |
3349 return soap_recv_fault(soap, 0); | |
3350 if (soap_body_end_in(soap) | |
3351 || soap_envelope_end_in(soap) | |
3352 || soap_end_recv(soap)) | |
3353 return soap_closesock(soap); | |
3354 if (_result && soap_tmp_ns1__genome_USCOREmap3Response->_result) | |
3355 *_result = *soap_tmp_ns1__genome_USCOREmap3Response->_result; | |
3356 return soap_closesock(soap); | |
3357 } | |
3358 | |
3359 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__seqinfo(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
3360 { struct ns1__seqinfo soap_tmp_ns1__seqinfo; | |
3361 struct ns1__seqinfoResponse *soap_tmp_ns1__seqinfoResponse; | |
3362 if (!soap_endpoint) | |
3363 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3364 if (!soap_action) | |
3365 soap_action = "http://soap.g-language.org/GLANG#seqinfo"; | |
3366 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3367 soap_tmp_ns1__seqinfo._sequence = _sequence; | |
3368 soap_begin(soap); | |
3369 soap_serializeheader(soap); | |
3370 soap_serialize_ns1__seqinfo(soap, &soap_tmp_ns1__seqinfo); | |
3371 if (soap_begin_count(soap)) | |
3372 return soap->error; | |
3373 if (soap->mode & SOAP_IO_LENGTH) | |
3374 { if (soap_envelope_begin_out(soap) | |
3375 || soap_putheader(soap) | |
3376 || soap_body_begin_out(soap) | |
3377 || soap_put_ns1__seqinfo(soap, &soap_tmp_ns1__seqinfo, "ns1:seqinfo", NULL) | |
3378 || soap_body_end_out(soap) | |
3379 || soap_envelope_end_out(soap)) | |
3380 return soap->error; | |
3381 } | |
3382 if (soap_end_count(soap)) | |
3383 return soap->error; | |
3384 if (soap_connect(soap, soap_endpoint, soap_action) | |
3385 || soap_envelope_begin_out(soap) | |
3386 || soap_putheader(soap) | |
3387 || soap_body_begin_out(soap) | |
3388 || soap_put_ns1__seqinfo(soap, &soap_tmp_ns1__seqinfo, "ns1:seqinfo", NULL) | |
3389 || soap_body_end_out(soap) | |
3390 || soap_envelope_end_out(soap) | |
3391 || soap_end_send(soap)) | |
3392 return soap_closesock(soap); | |
3393 if (!_result) | |
3394 return soap_closesock(soap); | |
3395 *_result = NULL; | |
3396 if (soap_begin_recv(soap) | |
3397 || soap_envelope_begin_in(soap) | |
3398 || soap_recv_header(soap) | |
3399 || soap_body_begin_in(soap)) | |
3400 return soap_closesock(soap); | |
3401 if (soap_recv_fault(soap, 1)) | |
3402 return soap->error; | |
3403 soap_tmp_ns1__seqinfoResponse = soap_get_ns1__seqinfoResponse(soap, NULL, "", ""); | |
3404 if (soap->error) | |
3405 return soap_recv_fault(soap, 0); | |
3406 if (soap_body_end_in(soap) | |
3407 || soap_envelope_end_in(soap) | |
3408 || soap_end_recv(soap)) | |
3409 return soap_closesock(soap); | |
3410 if (_result && soap_tmp_ns1__seqinfoResponse->_result) | |
3411 *_result = *soap_tmp_ns1__seqinfoResponse->_result; | |
3412 return soap_closesock(soap); | |
3413 } | |
3414 | |
3415 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__signature(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__signatureInputParams *_params, char **_result) | |
3416 { struct ns1__signature soap_tmp_ns1__signature; | |
3417 struct ns1__signatureResponse *soap_tmp_ns1__signatureResponse; | |
3418 if (!soap_endpoint) | |
3419 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3420 if (!soap_action) | |
3421 soap_action = "http://soap.g-language.org/GLANG#signature"; | |
3422 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3423 soap_tmp_ns1__signature._sequence = _sequence; | |
3424 soap_tmp_ns1__signature._params = _params; | |
3425 soap_begin(soap); | |
3426 soap_serializeheader(soap); | |
3427 soap_serialize_ns1__signature(soap, &soap_tmp_ns1__signature); | |
3428 if (soap_begin_count(soap)) | |
3429 return soap->error; | |
3430 if (soap->mode & SOAP_IO_LENGTH) | |
3431 { if (soap_envelope_begin_out(soap) | |
3432 || soap_putheader(soap) | |
3433 || soap_body_begin_out(soap) | |
3434 || soap_put_ns1__signature(soap, &soap_tmp_ns1__signature, "ns1:signature", NULL) | |
3435 || soap_body_end_out(soap) | |
3436 || soap_envelope_end_out(soap)) | |
3437 return soap->error; | |
3438 } | |
3439 if (soap_end_count(soap)) | |
3440 return soap->error; | |
3441 if (soap_connect(soap, soap_endpoint, soap_action) | |
3442 || soap_envelope_begin_out(soap) | |
3443 || soap_putheader(soap) | |
3444 || soap_body_begin_out(soap) | |
3445 || soap_put_ns1__signature(soap, &soap_tmp_ns1__signature, "ns1:signature", NULL) | |
3446 || soap_body_end_out(soap) | |
3447 || soap_envelope_end_out(soap) | |
3448 || soap_end_send(soap)) | |
3449 return soap_closesock(soap); | |
3450 if (!_result) | |
3451 return soap_closesock(soap); | |
3452 *_result = NULL; | |
3453 if (soap_begin_recv(soap) | |
3454 || soap_envelope_begin_in(soap) | |
3455 || soap_recv_header(soap) | |
3456 || soap_body_begin_in(soap)) | |
3457 return soap_closesock(soap); | |
3458 if (soap_recv_fault(soap, 1)) | |
3459 return soap->error; | |
3460 soap_tmp_ns1__signatureResponse = soap_get_ns1__signatureResponse(soap, NULL, "", ""); | |
3461 if (soap->error) | |
3462 return soap_recv_fault(soap, 0); | |
3463 if (soap_body_end_in(soap) | |
3464 || soap_envelope_end_in(soap) | |
3465 || soap_end_recv(soap)) | |
3466 return soap_closesock(soap); | |
3467 if (_result && soap_tmp_ns1__signatureResponse->_result) | |
3468 *_result = *soap_tmp_ns1__signatureResponse->_result; | |
3469 return soap_closesock(soap); | |
3470 } | |
3471 | |
3472 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__base_USCOREinformation_USCOREcontent(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__base_USCOREinformation_USCOREcontentInputParams *_params, char **_result) | |
3473 { struct ns1__base_USCOREinformation_USCOREcontent soap_tmp_ns1__base_USCOREinformation_USCOREcontent; | |
3474 struct ns1__base_USCOREinformation_USCOREcontentResponse *soap_tmp_ns1__base_USCOREinformation_USCOREcontentResponse; | |
3475 if (!soap_endpoint) | |
3476 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3477 if (!soap_action) | |
3478 soap_action = "http://soap.g-language.org/GLANG#base_information_content"; | |
3479 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3480 soap_tmp_ns1__base_USCOREinformation_USCOREcontent._sequence = _sequence; | |
3481 soap_tmp_ns1__base_USCOREinformation_USCOREcontent._params = _params; | |
3482 soap_begin(soap); | |
3483 soap_serializeheader(soap); | |
3484 soap_serialize_ns1__base_USCOREinformation_USCOREcontent(soap, &soap_tmp_ns1__base_USCOREinformation_USCOREcontent); | |
3485 if (soap_begin_count(soap)) | |
3486 return soap->error; | |
3487 if (soap->mode & SOAP_IO_LENGTH) | |
3488 { if (soap_envelope_begin_out(soap) | |
3489 || soap_putheader(soap) | |
3490 || soap_body_begin_out(soap) | |
3491 || soap_put_ns1__base_USCOREinformation_USCOREcontent(soap, &soap_tmp_ns1__base_USCOREinformation_USCOREcontent, "ns1:base_information_content", NULL) | |
3492 || soap_body_end_out(soap) | |
3493 || soap_envelope_end_out(soap)) | |
3494 return soap->error; | |
3495 } | |
3496 if (soap_end_count(soap)) | |
3497 return soap->error; | |
3498 if (soap_connect(soap, soap_endpoint, soap_action) | |
3499 || soap_envelope_begin_out(soap) | |
3500 || soap_putheader(soap) | |
3501 || soap_body_begin_out(soap) | |
3502 || soap_put_ns1__base_USCOREinformation_USCOREcontent(soap, &soap_tmp_ns1__base_USCOREinformation_USCOREcontent, "ns1:base_information_content", NULL) | |
3503 || soap_body_end_out(soap) | |
3504 || soap_envelope_end_out(soap) | |
3505 || soap_end_send(soap)) | |
3506 return soap_closesock(soap); | |
3507 if (!_result) | |
3508 return soap_closesock(soap); | |
3509 *_result = NULL; | |
3510 if (soap_begin_recv(soap) | |
3511 || soap_envelope_begin_in(soap) | |
3512 || soap_recv_header(soap) | |
3513 || soap_body_begin_in(soap)) | |
3514 return soap_closesock(soap); | |
3515 if (soap_recv_fault(soap, 1)) | |
3516 return soap->error; | |
3517 soap_tmp_ns1__base_USCOREinformation_USCOREcontentResponse = soap_get_ns1__base_USCOREinformation_USCOREcontentResponse(soap, NULL, "", ""); | |
3518 if (soap->error) | |
3519 return soap_recv_fault(soap, 0); | |
3520 if (soap_body_end_in(soap) | |
3521 || soap_envelope_end_in(soap) | |
3522 || soap_end_recv(soap)) | |
3523 return soap_closesock(soap); | |
3524 if (_result && soap_tmp_ns1__base_USCOREinformation_USCOREcontentResponse->_result) | |
3525 *_result = *soap_tmp_ns1__base_USCOREinformation_USCOREcontentResponse->_result; | |
3526 return soap_closesock(soap); | |
3527 } | |
3528 | |
3529 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__dnawalk(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__dnawalkInputParams *_params, char **_result) | |
3530 { struct ns1__dnawalk soap_tmp_ns1__dnawalk; | |
3531 struct ns1__dnawalkResponse *soap_tmp_ns1__dnawalkResponse; | |
3532 if (!soap_endpoint) | |
3533 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3534 if (!soap_action) | |
3535 soap_action = "http://soap.g-language.org/GLANG#dnawalk"; | |
3536 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3537 soap_tmp_ns1__dnawalk._sequence = _sequence; | |
3538 soap_tmp_ns1__dnawalk._params = _params; | |
3539 soap_begin(soap); | |
3540 soap_serializeheader(soap); | |
3541 soap_serialize_ns1__dnawalk(soap, &soap_tmp_ns1__dnawalk); | |
3542 if (soap_begin_count(soap)) | |
3543 return soap->error; | |
3544 if (soap->mode & SOAP_IO_LENGTH) | |
3545 { if (soap_envelope_begin_out(soap) | |
3546 || soap_putheader(soap) | |
3547 || soap_body_begin_out(soap) | |
3548 || soap_put_ns1__dnawalk(soap, &soap_tmp_ns1__dnawalk, "ns1:dnawalk", NULL) | |
3549 || soap_body_end_out(soap) | |
3550 || soap_envelope_end_out(soap)) | |
3551 return soap->error; | |
3552 } | |
3553 if (soap_end_count(soap)) | |
3554 return soap->error; | |
3555 if (soap_connect(soap, soap_endpoint, soap_action) | |
3556 || soap_envelope_begin_out(soap) | |
3557 || soap_putheader(soap) | |
3558 || soap_body_begin_out(soap) | |
3559 || soap_put_ns1__dnawalk(soap, &soap_tmp_ns1__dnawalk, "ns1:dnawalk", NULL) | |
3560 || soap_body_end_out(soap) | |
3561 || soap_envelope_end_out(soap) | |
3562 || soap_end_send(soap)) | |
3563 return soap_closesock(soap); | |
3564 if (!_result) | |
3565 return soap_closesock(soap); | |
3566 *_result = NULL; | |
3567 if (soap_begin_recv(soap) | |
3568 || soap_envelope_begin_in(soap) | |
3569 || soap_recv_header(soap) | |
3570 || soap_body_begin_in(soap)) | |
3571 return soap_closesock(soap); | |
3572 if (soap_recv_fault(soap, 1)) | |
3573 return soap->error; | |
3574 soap_tmp_ns1__dnawalkResponse = soap_get_ns1__dnawalkResponse(soap, NULL, "", ""); | |
3575 if (soap->error) | |
3576 return soap_recv_fault(soap, 0); | |
3577 if (soap_body_end_in(soap) | |
3578 || soap_envelope_end_in(soap) | |
3579 || soap_end_recv(soap)) | |
3580 return soap_closesock(soap); | |
3581 if (_result && soap_tmp_ns1__dnawalkResponse->_result) | |
3582 *_result = *soap_tmp_ns1__dnawalkResponse->_result; | |
3583 return soap_closesock(soap); | |
3584 } | |
3585 | |
3586 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__find_USCOREterInputParams *_params, struct ns1__find_USCOREterResponse *_param_7) | |
3587 { struct ns1__find_USCOREter soap_tmp_ns1__find_USCOREter; | |
3588 if (!soap_endpoint) | |
3589 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3590 if (!soap_action) | |
3591 soap_action = "http://soap.g-language.org/GLANG#find_ter"; | |
3592 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3593 soap_tmp_ns1__find_USCOREter._sequence = _sequence; | |
3594 soap_tmp_ns1__find_USCOREter._params = _params; | |
3595 soap_begin(soap); | |
3596 soap_serializeheader(soap); | |
3597 soap_serialize_ns1__find_USCOREter(soap, &soap_tmp_ns1__find_USCOREter); | |
3598 if (soap_begin_count(soap)) | |
3599 return soap->error; | |
3600 if (soap->mode & SOAP_IO_LENGTH) | |
3601 { if (soap_envelope_begin_out(soap) | |
3602 || soap_putheader(soap) | |
3603 || soap_body_begin_out(soap) | |
3604 || soap_put_ns1__find_USCOREter(soap, &soap_tmp_ns1__find_USCOREter, "ns1:find_ter", NULL) | |
3605 || soap_body_end_out(soap) | |
3606 || soap_envelope_end_out(soap)) | |
3607 return soap->error; | |
3608 } | |
3609 if (soap_end_count(soap)) | |
3610 return soap->error; | |
3611 if (soap_connect(soap, soap_endpoint, soap_action) | |
3612 || soap_envelope_begin_out(soap) | |
3613 || soap_putheader(soap) | |
3614 || soap_body_begin_out(soap) | |
3615 || soap_put_ns1__find_USCOREter(soap, &soap_tmp_ns1__find_USCOREter, "ns1:find_ter", NULL) | |
3616 || soap_body_end_out(soap) | |
3617 || soap_envelope_end_out(soap) | |
3618 || soap_end_send(soap)) | |
3619 return soap_closesock(soap); | |
3620 if (!_param_7) | |
3621 return soap_closesock(soap); | |
3622 soap_default_ns1__find_USCOREterResponse(soap, _param_7); | |
3623 if (soap_begin_recv(soap) | |
3624 || soap_envelope_begin_in(soap) | |
3625 || soap_recv_header(soap) | |
3626 || soap_body_begin_in(soap)) | |
3627 return soap_closesock(soap); | |
3628 if (soap_recv_fault(soap, 1)) | |
3629 return soap->error; | |
3630 soap_get_ns1__find_USCOREterResponse(soap, _param_7, "", ""); | |
3631 if (soap->error) | |
3632 return soap_recv_fault(soap, 0); | |
3633 if (soap_body_end_in(soap) | |
3634 || soap_envelope_end_in(soap) | |
3635 || soap_end_recv(soap)) | |
3636 return soap_closesock(soap); | |
3637 return soap_closesock(soap); | |
3638 } | |
3639 | |
3640 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__shuffleseq(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__shuffleseqInputParams *_params, char **_result) | |
3641 { struct ns1__shuffleseq soap_tmp_ns1__shuffleseq; | |
3642 struct ns1__shuffleseqResponse *soap_tmp_ns1__shuffleseqResponse; | |
3643 if (!soap_endpoint) | |
3644 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3645 if (!soap_action) | |
3646 soap_action = "http://soap.g-language.org/GLANG#shuffleseq"; | |
3647 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3648 soap_tmp_ns1__shuffleseq._sequence = _sequence; | |
3649 soap_tmp_ns1__shuffleseq._params = _params; | |
3650 soap_begin(soap); | |
3651 soap_serializeheader(soap); | |
3652 soap_serialize_ns1__shuffleseq(soap, &soap_tmp_ns1__shuffleseq); | |
3653 if (soap_begin_count(soap)) | |
3654 return soap->error; | |
3655 if (soap->mode & SOAP_IO_LENGTH) | |
3656 { if (soap_envelope_begin_out(soap) | |
3657 || soap_putheader(soap) | |
3658 || soap_body_begin_out(soap) | |
3659 || soap_put_ns1__shuffleseq(soap, &soap_tmp_ns1__shuffleseq, "ns1:shuffleseq", NULL) | |
3660 || soap_body_end_out(soap) | |
3661 || soap_envelope_end_out(soap)) | |
3662 return soap->error; | |
3663 } | |
3664 if (soap_end_count(soap)) | |
3665 return soap->error; | |
3666 if (soap_connect(soap, soap_endpoint, soap_action) | |
3667 || soap_envelope_begin_out(soap) | |
3668 || soap_putheader(soap) | |
3669 || soap_body_begin_out(soap) | |
3670 || soap_put_ns1__shuffleseq(soap, &soap_tmp_ns1__shuffleseq, "ns1:shuffleseq", NULL) | |
3671 || soap_body_end_out(soap) | |
3672 || soap_envelope_end_out(soap) | |
3673 || soap_end_send(soap)) | |
3674 return soap_closesock(soap); | |
3675 if (!_result) | |
3676 return soap_closesock(soap); | |
3677 *_result = NULL; | |
3678 if (soap_begin_recv(soap) | |
3679 || soap_envelope_begin_in(soap) | |
3680 || soap_recv_header(soap) | |
3681 || soap_body_begin_in(soap)) | |
3682 return soap_closesock(soap); | |
3683 if (soap_recv_fault(soap, 1)) | |
3684 return soap->error; | |
3685 soap_tmp_ns1__shuffleseqResponse = soap_get_ns1__shuffleseqResponse(soap, NULL, "", ""); | |
3686 if (soap->error) | |
3687 return soap_recv_fault(soap, 0); | |
3688 if (soap_body_end_in(soap) | |
3689 || soap_envelope_end_in(soap) | |
3690 || soap_end_recv(soap)) | |
3691 return soap_closesock(soap); | |
3692 if (_result && soap_tmp_ns1__shuffleseqResponse->_result) | |
3693 *_result = *soap_tmp_ns1__shuffleseqResponse->_result; | |
3694 return soap_closesock(soap); | |
3695 } | |
3696 | |
3697 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__oligomer_USCOREsearch(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char *_oligomer, struct ns1__oligomer_USCOREsearchInputParams *_params, struct ns1__oligomer_USCOREsearchResponse *_param_8) | |
3698 { struct ns1__oligomer_USCOREsearch soap_tmp_ns1__oligomer_USCOREsearch; | |
3699 if (!soap_endpoint) | |
3700 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3701 if (!soap_action) | |
3702 soap_action = "http://soap.g-language.org/GLANG#oligomer_search"; | |
3703 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3704 soap_tmp_ns1__oligomer_USCOREsearch._sequence = _sequence; | |
3705 soap_tmp_ns1__oligomer_USCOREsearch._oligomer = _oligomer; | |
3706 soap_tmp_ns1__oligomer_USCOREsearch._params = _params; | |
3707 soap_begin(soap); | |
3708 soap_serializeheader(soap); | |
3709 soap_serialize_ns1__oligomer_USCOREsearch(soap, &soap_tmp_ns1__oligomer_USCOREsearch); | |
3710 if (soap_begin_count(soap)) | |
3711 return soap->error; | |
3712 if (soap->mode & SOAP_IO_LENGTH) | |
3713 { if (soap_envelope_begin_out(soap) | |
3714 || soap_putheader(soap) | |
3715 || soap_body_begin_out(soap) | |
3716 || soap_put_ns1__oligomer_USCOREsearch(soap, &soap_tmp_ns1__oligomer_USCOREsearch, "ns1:oligomer_search", NULL) | |
3717 || soap_body_end_out(soap) | |
3718 || soap_envelope_end_out(soap)) | |
3719 return soap->error; | |
3720 } | |
3721 if (soap_end_count(soap)) | |
3722 return soap->error; | |
3723 if (soap_connect(soap, soap_endpoint, soap_action) | |
3724 || soap_envelope_begin_out(soap) | |
3725 || soap_putheader(soap) | |
3726 || soap_body_begin_out(soap) | |
3727 || soap_put_ns1__oligomer_USCOREsearch(soap, &soap_tmp_ns1__oligomer_USCOREsearch, "ns1:oligomer_search", NULL) | |
3728 || soap_body_end_out(soap) | |
3729 || soap_envelope_end_out(soap) | |
3730 || soap_end_send(soap)) | |
3731 return soap_closesock(soap); | |
3732 if (!_param_8) | |
3733 return soap_closesock(soap); | |
3734 soap_default_ns1__oligomer_USCOREsearchResponse(soap, _param_8); | |
3735 if (soap_begin_recv(soap) | |
3736 || soap_envelope_begin_in(soap) | |
3737 || soap_recv_header(soap) | |
3738 || soap_body_begin_in(soap)) | |
3739 return soap_closesock(soap); | |
3740 if (soap_recv_fault(soap, 1)) | |
3741 return soap->error; | |
3742 soap_get_ns1__oligomer_USCOREsearchResponse(soap, _param_8, "", ""); | |
3743 if (soap->error) | |
3744 return soap_recv_fault(soap, 0); | |
3745 if (soap_body_end_in(soap) | |
3746 || soap_envelope_end_in(soap) | |
3747 || soap_end_recv(soap)) | |
3748 return soap_closesock(soap); | |
3749 return soap_closesock(soap); | |
3750 } | |
3751 | |
3752 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREpattern(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char *_pattern, struct ns1__find_USCOREpatternInputParams *_params, char **_result) | |
3753 { struct ns1__find_USCOREpattern soap_tmp_ns1__find_USCOREpattern; | |
3754 struct ns1__find_USCOREpatternResponse *soap_tmp_ns1__find_USCOREpatternResponse; | |
3755 if (!soap_endpoint) | |
3756 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3757 if (!soap_action) | |
3758 soap_action = "http://soap.g-language.org/GLANG#find_pattern"; | |
3759 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3760 soap_tmp_ns1__find_USCOREpattern._sequence = _sequence; | |
3761 soap_tmp_ns1__find_USCOREpattern._pattern = _pattern; | |
3762 soap_tmp_ns1__find_USCOREpattern._params = _params; | |
3763 soap_begin(soap); | |
3764 soap_serializeheader(soap); | |
3765 soap_serialize_ns1__find_USCOREpattern(soap, &soap_tmp_ns1__find_USCOREpattern); | |
3766 if (soap_begin_count(soap)) | |
3767 return soap->error; | |
3768 if (soap->mode & SOAP_IO_LENGTH) | |
3769 { if (soap_envelope_begin_out(soap) | |
3770 || soap_putheader(soap) | |
3771 || soap_body_begin_out(soap) | |
3772 || soap_put_ns1__find_USCOREpattern(soap, &soap_tmp_ns1__find_USCOREpattern, "ns1:find_pattern", NULL) | |
3773 || soap_body_end_out(soap) | |
3774 || soap_envelope_end_out(soap)) | |
3775 return soap->error; | |
3776 } | |
3777 if (soap_end_count(soap)) | |
3778 return soap->error; | |
3779 if (soap_connect(soap, soap_endpoint, soap_action) | |
3780 || soap_envelope_begin_out(soap) | |
3781 || soap_putheader(soap) | |
3782 || soap_body_begin_out(soap) | |
3783 || soap_put_ns1__find_USCOREpattern(soap, &soap_tmp_ns1__find_USCOREpattern, "ns1:find_pattern", NULL) | |
3784 || soap_body_end_out(soap) | |
3785 || soap_envelope_end_out(soap) | |
3786 || soap_end_send(soap)) | |
3787 return soap_closesock(soap); | |
3788 if (!_result) | |
3789 return soap_closesock(soap); | |
3790 *_result = NULL; | |
3791 if (soap_begin_recv(soap) | |
3792 || soap_envelope_begin_in(soap) | |
3793 || soap_recv_header(soap) | |
3794 || soap_body_begin_in(soap)) | |
3795 return soap_closesock(soap); | |
3796 if (soap_recv_fault(soap, 1)) | |
3797 return soap->error; | |
3798 soap_tmp_ns1__find_USCOREpatternResponse = soap_get_ns1__find_USCOREpatternResponse(soap, NULL, "", ""); | |
3799 if (soap->error) | |
3800 return soap_recv_fault(soap, 0); | |
3801 if (soap_body_end_in(soap) | |
3802 || soap_envelope_end_in(soap) | |
3803 || soap_end_recv(soap)) | |
3804 return soap_closesock(soap); | |
3805 if (_result && soap_tmp_ns1__find_USCOREpatternResponse->_result) | |
3806 *_result = *soap_tmp_ns1__find_USCOREpatternResponse->_result; | |
3807 return soap_closesock(soap); | |
3808 } | |
3809 | |
3810 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__gcwin(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__gcwinInputParams *_params, char **_result) | |
3811 { struct ns1__gcwin soap_tmp_ns1__gcwin; | |
3812 struct ns1__gcwinResponse *soap_tmp_ns1__gcwinResponse; | |
3813 if (!soap_endpoint) | |
3814 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3815 if (!soap_action) | |
3816 soap_action = "http://soap.g-language.org/GLANG#gcwin"; | |
3817 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3818 soap_tmp_ns1__gcwin._sequence = _sequence; | |
3819 soap_tmp_ns1__gcwin._params = _params; | |
3820 soap_begin(soap); | |
3821 soap_serializeheader(soap); | |
3822 soap_serialize_ns1__gcwin(soap, &soap_tmp_ns1__gcwin); | |
3823 if (soap_begin_count(soap)) | |
3824 return soap->error; | |
3825 if (soap->mode & SOAP_IO_LENGTH) | |
3826 { if (soap_envelope_begin_out(soap) | |
3827 || soap_putheader(soap) | |
3828 || soap_body_begin_out(soap) | |
3829 || soap_put_ns1__gcwin(soap, &soap_tmp_ns1__gcwin, "ns1:gcwin", NULL) | |
3830 || soap_body_end_out(soap) | |
3831 || soap_envelope_end_out(soap)) | |
3832 return soap->error; | |
3833 } | |
3834 if (soap_end_count(soap)) | |
3835 return soap->error; | |
3836 if (soap_connect(soap, soap_endpoint, soap_action) | |
3837 || soap_envelope_begin_out(soap) | |
3838 || soap_putheader(soap) | |
3839 || soap_body_begin_out(soap) | |
3840 || soap_put_ns1__gcwin(soap, &soap_tmp_ns1__gcwin, "ns1:gcwin", NULL) | |
3841 || soap_body_end_out(soap) | |
3842 || soap_envelope_end_out(soap) | |
3843 || soap_end_send(soap)) | |
3844 return soap_closesock(soap); | |
3845 if (!_result) | |
3846 return soap_closesock(soap); | |
3847 *_result = NULL; | |
3848 if (soap_begin_recv(soap) | |
3849 || soap_envelope_begin_in(soap) | |
3850 || soap_recv_header(soap) | |
3851 || soap_body_begin_in(soap)) | |
3852 return soap_closesock(soap); | |
3853 if (soap_recv_fault(soap, 1)) | |
3854 return soap->error; | |
3855 soap_tmp_ns1__gcwinResponse = soap_get_ns1__gcwinResponse(soap, NULL, "", ""); | |
3856 if (soap->error) | |
3857 return soap_recv_fault(soap, 0); | |
3858 if (soap_body_end_in(soap) | |
3859 || soap_envelope_end_in(soap) | |
3860 || soap_end_recv(soap)) | |
3861 return soap_closesock(soap); | |
3862 if (_result && soap_tmp_ns1__gcwinResponse->_result) | |
3863 *_result = *soap_tmp_ns1__gcwinResponse->_result; | |
3864 return soap_closesock(soap); | |
3865 } | |
3866 | |
3867 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__oligomer_USCOREcounter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char *_oligomer, struct ns1__oligomer_USCOREcounterInputParams *_params, char **_result) | |
3868 { struct ns1__oligomer_USCOREcounter soap_tmp_ns1__oligomer_USCOREcounter; | |
3869 struct ns1__oligomer_USCOREcounterResponse *soap_tmp_ns1__oligomer_USCOREcounterResponse; | |
3870 if (!soap_endpoint) | |
3871 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3872 if (!soap_action) | |
3873 soap_action = "http://soap.g-language.org/GLANG#oligomer_counter"; | |
3874 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3875 soap_tmp_ns1__oligomer_USCOREcounter._sequence = _sequence; | |
3876 soap_tmp_ns1__oligomer_USCOREcounter._oligomer = _oligomer; | |
3877 soap_tmp_ns1__oligomer_USCOREcounter._params = _params; | |
3878 soap_begin(soap); | |
3879 soap_serializeheader(soap); | |
3880 soap_serialize_ns1__oligomer_USCOREcounter(soap, &soap_tmp_ns1__oligomer_USCOREcounter); | |
3881 if (soap_begin_count(soap)) | |
3882 return soap->error; | |
3883 if (soap->mode & SOAP_IO_LENGTH) | |
3884 { if (soap_envelope_begin_out(soap) | |
3885 || soap_putheader(soap) | |
3886 || soap_body_begin_out(soap) | |
3887 || soap_put_ns1__oligomer_USCOREcounter(soap, &soap_tmp_ns1__oligomer_USCOREcounter, "ns1:oligomer_counter", NULL) | |
3888 || soap_body_end_out(soap) | |
3889 || soap_envelope_end_out(soap)) | |
3890 return soap->error; | |
3891 } | |
3892 if (soap_end_count(soap)) | |
3893 return soap->error; | |
3894 if (soap_connect(soap, soap_endpoint, soap_action) | |
3895 || soap_envelope_begin_out(soap) | |
3896 || soap_putheader(soap) | |
3897 || soap_body_begin_out(soap) | |
3898 || soap_put_ns1__oligomer_USCOREcounter(soap, &soap_tmp_ns1__oligomer_USCOREcounter, "ns1:oligomer_counter", NULL) | |
3899 || soap_body_end_out(soap) | |
3900 || soap_envelope_end_out(soap) | |
3901 || soap_end_send(soap)) | |
3902 return soap_closesock(soap); | |
3903 if (!_result) | |
3904 return soap_closesock(soap); | |
3905 *_result = NULL; | |
3906 if (soap_begin_recv(soap) | |
3907 || soap_envelope_begin_in(soap) | |
3908 || soap_recv_header(soap) | |
3909 || soap_body_begin_in(soap)) | |
3910 return soap_closesock(soap); | |
3911 if (soap_recv_fault(soap, 1)) | |
3912 return soap->error; | |
3913 soap_tmp_ns1__oligomer_USCOREcounterResponse = soap_get_ns1__oligomer_USCOREcounterResponse(soap, NULL, "", ""); | |
3914 if (soap->error) | |
3915 return soap_recv_fault(soap, 0); | |
3916 if (soap_body_end_in(soap) | |
3917 || soap_envelope_end_in(soap) | |
3918 || soap_end_recv(soap)) | |
3919 return soap_closesock(soap); | |
3920 if (_result && soap_tmp_ns1__oligomer_USCOREcounterResponse->_result) | |
3921 *_result = *soap_tmp_ns1__oligomer_USCOREcounterResponse->_result; | |
3922 return soap_closesock(soap); | |
3923 } | |
3924 | |
3925 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__codon_USCOREusage(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__codon_USCOREusageInputParams *_params, char **_result) | |
3926 { struct ns1__codon_USCOREusage soap_tmp_ns1__codon_USCOREusage; | |
3927 struct ns1__codon_USCOREusageResponse *soap_tmp_ns1__codon_USCOREusageResponse; | |
3928 if (!soap_endpoint) | |
3929 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3930 if (!soap_action) | |
3931 soap_action = "http://soap.g-language.org/GLANG#codon_usage"; | |
3932 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3933 soap_tmp_ns1__codon_USCOREusage._sequence = _sequence; | |
3934 soap_tmp_ns1__codon_USCOREusage._params = _params; | |
3935 soap_begin(soap); | |
3936 soap_serializeheader(soap); | |
3937 soap_serialize_ns1__codon_USCOREusage(soap, &soap_tmp_ns1__codon_USCOREusage); | |
3938 if (soap_begin_count(soap)) | |
3939 return soap->error; | |
3940 if (soap->mode & SOAP_IO_LENGTH) | |
3941 { if (soap_envelope_begin_out(soap) | |
3942 || soap_putheader(soap) | |
3943 || soap_body_begin_out(soap) | |
3944 || soap_put_ns1__codon_USCOREusage(soap, &soap_tmp_ns1__codon_USCOREusage, "ns1:codon_usage", NULL) | |
3945 || soap_body_end_out(soap) | |
3946 || soap_envelope_end_out(soap)) | |
3947 return soap->error; | |
3948 } | |
3949 if (soap_end_count(soap)) | |
3950 return soap->error; | |
3951 if (soap_connect(soap, soap_endpoint, soap_action) | |
3952 || soap_envelope_begin_out(soap) | |
3953 || soap_putheader(soap) | |
3954 || soap_body_begin_out(soap) | |
3955 || soap_put_ns1__codon_USCOREusage(soap, &soap_tmp_ns1__codon_USCOREusage, "ns1:codon_usage", NULL) | |
3956 || soap_body_end_out(soap) | |
3957 || soap_envelope_end_out(soap) | |
3958 || soap_end_send(soap)) | |
3959 return soap_closesock(soap); | |
3960 if (!_result) | |
3961 return soap_closesock(soap); | |
3962 *_result = NULL; | |
3963 if (soap_begin_recv(soap) | |
3964 || soap_envelope_begin_in(soap) | |
3965 || soap_recv_header(soap) | |
3966 || soap_body_begin_in(soap)) | |
3967 return soap_closesock(soap); | |
3968 if (soap_recv_fault(soap, 1)) | |
3969 return soap->error; | |
3970 soap_tmp_ns1__codon_USCOREusageResponse = soap_get_ns1__codon_USCOREusageResponse(soap, NULL, "", ""); | |
3971 if (soap->error) | |
3972 return soap_recv_fault(soap, 0); | |
3973 if (soap_body_end_in(soap) | |
3974 || soap_envelope_end_in(soap) | |
3975 || soap_end_recv(soap)) | |
3976 return soap_closesock(soap); | |
3977 if (_result && soap_tmp_ns1__codon_USCOREusageResponse->_result) | |
3978 *_result = *soap_tmp_ns1__codon_USCOREusageResponse->_result; | |
3979 return soap_closesock(soap); | |
3980 } | |
3981 | |
3982 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__min(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
3983 { struct ns1__min soap_tmp_ns1__min; | |
3984 struct ns1__minResponse *soap_tmp_ns1__minResponse; | |
3985 if (!soap_endpoint) | |
3986 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
3987 if (!soap_action) | |
3988 soap_action = "http://soap.g-language.org/GLANG#min"; | |
3989 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
3990 soap_tmp_ns1__min._array = _array; | |
3991 soap_begin(soap); | |
3992 soap_serializeheader(soap); | |
3993 soap_serialize_ns1__min(soap, &soap_tmp_ns1__min); | |
3994 if (soap_begin_count(soap)) | |
3995 return soap->error; | |
3996 if (soap->mode & SOAP_IO_LENGTH) | |
3997 { if (soap_envelope_begin_out(soap) | |
3998 || soap_putheader(soap) | |
3999 || soap_body_begin_out(soap) | |
4000 || soap_put_ns1__min(soap, &soap_tmp_ns1__min, "ns1:min", NULL) | |
4001 || soap_body_end_out(soap) | |
4002 || soap_envelope_end_out(soap)) | |
4003 return soap->error; | |
4004 } | |
4005 if (soap_end_count(soap)) | |
4006 return soap->error; | |
4007 if (soap_connect(soap, soap_endpoint, soap_action) | |
4008 || soap_envelope_begin_out(soap) | |
4009 || soap_putheader(soap) | |
4010 || soap_body_begin_out(soap) | |
4011 || soap_put_ns1__min(soap, &soap_tmp_ns1__min, "ns1:min", NULL) | |
4012 || soap_body_end_out(soap) | |
4013 || soap_envelope_end_out(soap) | |
4014 || soap_end_send(soap)) | |
4015 return soap_closesock(soap); | |
4016 if (!_result) | |
4017 return soap_closesock(soap); | |
4018 *_result = NULL; | |
4019 if (soap_begin_recv(soap) | |
4020 || soap_envelope_begin_in(soap) | |
4021 || soap_recv_header(soap) | |
4022 || soap_body_begin_in(soap)) | |
4023 return soap_closesock(soap); | |
4024 if (soap_recv_fault(soap, 1)) | |
4025 return soap->error; | |
4026 soap_tmp_ns1__minResponse = soap_get_ns1__minResponse(soap, NULL, "", ""); | |
4027 if (soap->error) | |
4028 return soap_recv_fault(soap, 0); | |
4029 if (soap_body_end_in(soap) | |
4030 || soap_envelope_end_in(soap) | |
4031 || soap_end_recv(soap)) | |
4032 return soap_closesock(soap); | |
4033 if (_result && soap_tmp_ns1__minResponse->_result) | |
4034 *_result = *soap_tmp_ns1__minResponse->_result; | |
4035 return soap_closesock(soap); | |
4036 } | |
4037 | |
4038 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREiteron(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__find_USCOREiteronInputParams *_params, char **_result) | |
4039 { struct ns1__find_USCOREiteron soap_tmp_ns1__find_USCOREiteron; | |
4040 struct ns1__find_USCOREiteronResponse *soap_tmp_ns1__find_USCOREiteronResponse; | |
4041 if (!soap_endpoint) | |
4042 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4043 if (!soap_action) | |
4044 soap_action = "http://soap.g-language.org/GLANG#find_iteron"; | |
4045 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4046 soap_tmp_ns1__find_USCOREiteron._sequence = _sequence; | |
4047 soap_tmp_ns1__find_USCOREiteron._params = _params; | |
4048 soap_begin(soap); | |
4049 soap_serializeheader(soap); | |
4050 soap_serialize_ns1__find_USCOREiteron(soap, &soap_tmp_ns1__find_USCOREiteron); | |
4051 if (soap_begin_count(soap)) | |
4052 return soap->error; | |
4053 if (soap->mode & SOAP_IO_LENGTH) | |
4054 { if (soap_envelope_begin_out(soap) | |
4055 || soap_putheader(soap) | |
4056 || soap_body_begin_out(soap) | |
4057 || soap_put_ns1__find_USCOREiteron(soap, &soap_tmp_ns1__find_USCOREiteron, "ns1:find_iteron", NULL) | |
4058 || soap_body_end_out(soap) | |
4059 || soap_envelope_end_out(soap)) | |
4060 return soap->error; | |
4061 } | |
4062 if (soap_end_count(soap)) | |
4063 return soap->error; | |
4064 if (soap_connect(soap, soap_endpoint, soap_action) | |
4065 || soap_envelope_begin_out(soap) | |
4066 || soap_putheader(soap) | |
4067 || soap_body_begin_out(soap) | |
4068 || soap_put_ns1__find_USCOREiteron(soap, &soap_tmp_ns1__find_USCOREiteron, "ns1:find_iteron", NULL) | |
4069 || soap_body_end_out(soap) | |
4070 || soap_envelope_end_out(soap) | |
4071 || soap_end_send(soap)) | |
4072 return soap_closesock(soap); | |
4073 if (!_result) | |
4074 return soap_closesock(soap); | |
4075 *_result = NULL; | |
4076 if (soap_begin_recv(soap) | |
4077 || soap_envelope_begin_in(soap) | |
4078 || soap_recv_header(soap) | |
4079 || soap_body_begin_in(soap)) | |
4080 return soap_closesock(soap); | |
4081 if (soap_recv_fault(soap, 1)) | |
4082 return soap->error; | |
4083 soap_tmp_ns1__find_USCOREiteronResponse = soap_get_ns1__find_USCOREiteronResponse(soap, NULL, "", ""); | |
4084 if (soap->error) | |
4085 return soap_recv_fault(soap, 0); | |
4086 if (soap_body_end_in(soap) | |
4087 || soap_envelope_end_in(soap) | |
4088 || soap_end_recv(soap)) | |
4089 return soap_closesock(soap); | |
4090 if (_result && soap_tmp_ns1__find_USCOREiteronResponse->_result) | |
4091 *_result = *soap_tmp_ns1__find_USCOREiteronResponse->_result; | |
4092 return soap_closesock(soap); | |
4093 } | |
4094 | |
4095 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__complement(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
4096 { struct ns1__complement soap_tmp_ns1__complement; | |
4097 struct ns1__complementResponse *soap_tmp_ns1__complementResponse; | |
4098 if (!soap_endpoint) | |
4099 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4100 if (!soap_action) | |
4101 soap_action = "http://soap.g-language.org/GLANG#complement"; | |
4102 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4103 soap_tmp_ns1__complement._sequence = _sequence; | |
4104 soap_begin(soap); | |
4105 soap_serializeheader(soap); | |
4106 soap_serialize_ns1__complement(soap, &soap_tmp_ns1__complement); | |
4107 if (soap_begin_count(soap)) | |
4108 return soap->error; | |
4109 if (soap->mode & SOAP_IO_LENGTH) | |
4110 { if (soap_envelope_begin_out(soap) | |
4111 || soap_putheader(soap) | |
4112 || soap_body_begin_out(soap) | |
4113 || soap_put_ns1__complement(soap, &soap_tmp_ns1__complement, "ns1:complement", NULL) | |
4114 || soap_body_end_out(soap) | |
4115 || soap_envelope_end_out(soap)) | |
4116 return soap->error; | |
4117 } | |
4118 if (soap_end_count(soap)) | |
4119 return soap->error; | |
4120 if (soap_connect(soap, soap_endpoint, soap_action) | |
4121 || soap_envelope_begin_out(soap) | |
4122 || soap_putheader(soap) | |
4123 || soap_body_begin_out(soap) | |
4124 || soap_put_ns1__complement(soap, &soap_tmp_ns1__complement, "ns1:complement", NULL) | |
4125 || soap_body_end_out(soap) | |
4126 || soap_envelope_end_out(soap) | |
4127 || soap_end_send(soap)) | |
4128 return soap_closesock(soap); | |
4129 if (!_result) | |
4130 return soap_closesock(soap); | |
4131 *_result = NULL; | |
4132 if (soap_begin_recv(soap) | |
4133 || soap_envelope_begin_in(soap) | |
4134 || soap_recv_header(soap) | |
4135 || soap_body_begin_in(soap)) | |
4136 return soap_closesock(soap); | |
4137 if (soap_recv_fault(soap, 1)) | |
4138 return soap->error; | |
4139 soap_tmp_ns1__complementResponse = soap_get_ns1__complementResponse(soap, NULL, "", ""); | |
4140 if (soap->error) | |
4141 return soap_recv_fault(soap, 0); | |
4142 if (soap_body_end_in(soap) | |
4143 || soap_envelope_end_in(soap) | |
4144 || soap_end_recv(soap)) | |
4145 return soap_closesock(soap); | |
4146 if (_result && soap_tmp_ns1__complementResponse->_result) | |
4147 *_result = *soap_tmp_ns1__complementResponse->_result; | |
4148 return soap_closesock(soap); | |
4149 } | |
4150 | |
4151 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__mean(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, char **_result) | |
4152 { struct ns1__mean soap_tmp_ns1__mean; | |
4153 struct ns1__meanResponse *soap_tmp_ns1__meanResponse; | |
4154 if (!soap_endpoint) | |
4155 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4156 if (!soap_action) | |
4157 soap_action = "http://soap.g-language.org/GLANG#mean"; | |
4158 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4159 soap_tmp_ns1__mean._array = _array; | |
4160 soap_begin(soap); | |
4161 soap_serializeheader(soap); | |
4162 soap_serialize_ns1__mean(soap, &soap_tmp_ns1__mean); | |
4163 if (soap_begin_count(soap)) | |
4164 return soap->error; | |
4165 if (soap->mode & SOAP_IO_LENGTH) | |
4166 { if (soap_envelope_begin_out(soap) | |
4167 || soap_putheader(soap) | |
4168 || soap_body_begin_out(soap) | |
4169 || soap_put_ns1__mean(soap, &soap_tmp_ns1__mean, "ns1:mean", NULL) | |
4170 || soap_body_end_out(soap) | |
4171 || soap_envelope_end_out(soap)) | |
4172 return soap->error; | |
4173 } | |
4174 if (soap_end_count(soap)) | |
4175 return soap->error; | |
4176 if (soap_connect(soap, soap_endpoint, soap_action) | |
4177 || soap_envelope_begin_out(soap) | |
4178 || soap_putheader(soap) | |
4179 || soap_body_begin_out(soap) | |
4180 || soap_put_ns1__mean(soap, &soap_tmp_ns1__mean, "ns1:mean", NULL) | |
4181 || soap_body_end_out(soap) | |
4182 || soap_envelope_end_out(soap) | |
4183 || soap_end_send(soap)) | |
4184 return soap_closesock(soap); | |
4185 if (!_result) | |
4186 return soap_closesock(soap); | |
4187 *_result = NULL; | |
4188 if (soap_begin_recv(soap) | |
4189 || soap_envelope_begin_in(soap) | |
4190 || soap_recv_header(soap) | |
4191 || soap_body_begin_in(soap)) | |
4192 return soap_closesock(soap); | |
4193 if (soap_recv_fault(soap, 1)) | |
4194 return soap->error; | |
4195 soap_tmp_ns1__meanResponse = soap_get_ns1__meanResponse(soap, NULL, "", ""); | |
4196 if (soap->error) | |
4197 return soap_recv_fault(soap, 0); | |
4198 if (soap_body_end_in(soap) | |
4199 || soap_envelope_end_in(soap) | |
4200 || soap_end_recv(soap)) | |
4201 return soap_closesock(soap); | |
4202 if (_result && soap_tmp_ns1__meanResponse->_result) | |
4203 *_result = *soap_tmp_ns1__meanResponse->_result; | |
4204 return soap_closesock(soap); | |
4205 } | |
4206 | |
4207 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__codon_USCOREcounter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__codon_USCOREcounterInputParams *_params, char **_result) | |
4208 { struct ns1__codon_USCOREcounter soap_tmp_ns1__codon_USCOREcounter; | |
4209 struct ns1__codon_USCOREcounterResponse *soap_tmp_ns1__codon_USCOREcounterResponse; | |
4210 if (!soap_endpoint) | |
4211 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4212 if (!soap_action) | |
4213 soap_action = "http://soap.g-language.org/GLANG#codon_counter"; | |
4214 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4215 soap_tmp_ns1__codon_USCOREcounter._sequence = _sequence; | |
4216 soap_tmp_ns1__codon_USCOREcounter._params = _params; | |
4217 soap_begin(soap); | |
4218 soap_serializeheader(soap); | |
4219 soap_serialize_ns1__codon_USCOREcounter(soap, &soap_tmp_ns1__codon_USCOREcounter); | |
4220 if (soap_begin_count(soap)) | |
4221 return soap->error; | |
4222 if (soap->mode & SOAP_IO_LENGTH) | |
4223 { if (soap_envelope_begin_out(soap) | |
4224 || soap_putheader(soap) | |
4225 || soap_body_begin_out(soap) | |
4226 || soap_put_ns1__codon_USCOREcounter(soap, &soap_tmp_ns1__codon_USCOREcounter, "ns1:codon_counter", NULL) | |
4227 || soap_body_end_out(soap) | |
4228 || soap_envelope_end_out(soap)) | |
4229 return soap->error; | |
4230 } | |
4231 if (soap_end_count(soap)) | |
4232 return soap->error; | |
4233 if (soap_connect(soap, soap_endpoint, soap_action) | |
4234 || soap_envelope_begin_out(soap) | |
4235 || soap_putheader(soap) | |
4236 || soap_body_begin_out(soap) | |
4237 || soap_put_ns1__codon_USCOREcounter(soap, &soap_tmp_ns1__codon_USCOREcounter, "ns1:codon_counter", NULL) | |
4238 || soap_body_end_out(soap) | |
4239 || soap_envelope_end_out(soap) | |
4240 || soap_end_send(soap)) | |
4241 return soap_closesock(soap); | |
4242 if (!_result) | |
4243 return soap_closesock(soap); | |
4244 *_result = NULL; | |
4245 if (soap_begin_recv(soap) | |
4246 || soap_envelope_begin_in(soap) | |
4247 || soap_recv_header(soap) | |
4248 || soap_body_begin_in(soap)) | |
4249 return soap_closesock(soap); | |
4250 if (soap_recv_fault(soap, 1)) | |
4251 return soap->error; | |
4252 soap_tmp_ns1__codon_USCOREcounterResponse = soap_get_ns1__codon_USCOREcounterResponse(soap, NULL, "", ""); | |
4253 if (soap->error) | |
4254 return soap_recv_fault(soap, 0); | |
4255 if (soap_body_end_in(soap) | |
4256 || soap_envelope_end_in(soap) | |
4257 || soap_end_recv(soap)) | |
4258 return soap_closesock(soap); | |
4259 if (_result && soap_tmp_ns1__codon_USCOREcounterResponse->_result) | |
4260 *_result = *soap_tmp_ns1__codon_USCOREcounterResponse->_result; | |
4261 return soap_closesock(soap); | |
4262 } | |
4263 | |
4264 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__entrez(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_database, char *_query, char **_result) | |
4265 { struct ns1__entrez soap_tmp_ns1__entrez; | |
4266 struct ns1__entrezResponse *soap_tmp_ns1__entrezResponse; | |
4267 if (!soap_endpoint) | |
4268 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4269 if (!soap_action) | |
4270 soap_action = "http://soap.g-language.org/GLANG#entrez"; | |
4271 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4272 soap_tmp_ns1__entrez._database = _database; | |
4273 soap_tmp_ns1__entrez._query = _query; | |
4274 soap_begin(soap); | |
4275 soap_serializeheader(soap); | |
4276 soap_serialize_ns1__entrez(soap, &soap_tmp_ns1__entrez); | |
4277 if (soap_begin_count(soap)) | |
4278 return soap->error; | |
4279 if (soap->mode & SOAP_IO_LENGTH) | |
4280 { if (soap_envelope_begin_out(soap) | |
4281 || soap_putheader(soap) | |
4282 || soap_body_begin_out(soap) | |
4283 || soap_put_ns1__entrez(soap, &soap_tmp_ns1__entrez, "ns1:entrez", NULL) | |
4284 || soap_body_end_out(soap) | |
4285 || soap_envelope_end_out(soap)) | |
4286 return soap->error; | |
4287 } | |
4288 if (soap_end_count(soap)) | |
4289 return soap->error; | |
4290 if (soap_connect(soap, soap_endpoint, soap_action) | |
4291 || soap_envelope_begin_out(soap) | |
4292 || soap_putheader(soap) | |
4293 || soap_body_begin_out(soap) | |
4294 || soap_put_ns1__entrez(soap, &soap_tmp_ns1__entrez, "ns1:entrez", NULL) | |
4295 || soap_body_end_out(soap) | |
4296 || soap_envelope_end_out(soap) | |
4297 || soap_end_send(soap)) | |
4298 return soap_closesock(soap); | |
4299 if (!_result) | |
4300 return soap_closesock(soap); | |
4301 *_result = NULL; | |
4302 if (soap_begin_recv(soap) | |
4303 || soap_envelope_begin_in(soap) | |
4304 || soap_recv_header(soap) | |
4305 || soap_body_begin_in(soap)) | |
4306 return soap_closesock(soap); | |
4307 if (soap_recv_fault(soap, 1)) | |
4308 return soap->error; | |
4309 soap_tmp_ns1__entrezResponse = soap_get_ns1__entrezResponse(soap, NULL, "", ""); | |
4310 if (soap->error) | |
4311 return soap_recv_fault(soap, 0); | |
4312 if (soap_body_end_in(soap) | |
4313 || soap_envelope_end_in(soap) | |
4314 || soap_end_recv(soap)) | |
4315 return soap_closesock(soap); | |
4316 if (_result && soap_tmp_ns1__entrezResponse->_result) | |
4317 *_result = *soap_tmp_ns1__entrezResponse->_result; | |
4318 return soap_closesock(soap); | |
4319 } | |
4320 | |
4321 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__palindrome(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__palindromeInputParams *_params, char **_result) | |
4322 { struct ns1__palindrome soap_tmp_ns1__palindrome; | |
4323 struct ns1__palindromeResponse *soap_tmp_ns1__palindromeResponse; | |
4324 if (!soap_endpoint) | |
4325 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4326 if (!soap_action) | |
4327 soap_action = "http://soap.g-language.org/GLANG#palindrome"; | |
4328 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4329 soap_tmp_ns1__palindrome._sequence = _sequence; | |
4330 soap_tmp_ns1__palindrome._params = _params; | |
4331 soap_begin(soap); | |
4332 soap_serializeheader(soap); | |
4333 soap_serialize_ns1__palindrome(soap, &soap_tmp_ns1__palindrome); | |
4334 if (soap_begin_count(soap)) | |
4335 return soap->error; | |
4336 if (soap->mode & SOAP_IO_LENGTH) | |
4337 { if (soap_envelope_begin_out(soap) | |
4338 || soap_putheader(soap) | |
4339 || soap_body_begin_out(soap) | |
4340 || soap_put_ns1__palindrome(soap, &soap_tmp_ns1__palindrome, "ns1:palindrome", NULL) | |
4341 || soap_body_end_out(soap) | |
4342 || soap_envelope_end_out(soap)) | |
4343 return soap->error; | |
4344 } | |
4345 if (soap_end_count(soap)) | |
4346 return soap->error; | |
4347 if (soap_connect(soap, soap_endpoint, soap_action) | |
4348 || soap_envelope_begin_out(soap) | |
4349 || soap_putheader(soap) | |
4350 || soap_body_begin_out(soap) | |
4351 || soap_put_ns1__palindrome(soap, &soap_tmp_ns1__palindrome, "ns1:palindrome", NULL) | |
4352 || soap_body_end_out(soap) | |
4353 || soap_envelope_end_out(soap) | |
4354 || soap_end_send(soap)) | |
4355 return soap_closesock(soap); | |
4356 if (!_result) | |
4357 return soap_closesock(soap); | |
4358 *_result = NULL; | |
4359 if (soap_begin_recv(soap) | |
4360 || soap_envelope_begin_in(soap) | |
4361 || soap_recv_header(soap) | |
4362 || soap_body_begin_in(soap)) | |
4363 return soap_closesock(soap); | |
4364 if (soap_recv_fault(soap, 1)) | |
4365 return soap->error; | |
4366 soap_tmp_ns1__palindromeResponse = soap_get_ns1__palindromeResponse(soap, NULL, "", ""); | |
4367 if (soap->error) | |
4368 return soap_recv_fault(soap, 0); | |
4369 if (soap_body_end_in(soap) | |
4370 || soap_envelope_end_in(soap) | |
4371 || soap_end_recv(soap)) | |
4372 return soap_closesock(soap); | |
4373 if (_result && soap_tmp_ns1__palindromeResponse->_result) | |
4374 *_result = *soap_tmp_ns1__palindromeResponse->_result; | |
4375 return soap_closesock(soap); | |
4376 } | |
4377 | |
4378 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__least_USCOREsquares_USCOREfit(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct arrayIn *_array, struct ns1__least_USCOREsquares_USCOREfitResponse *_param_9) | |
4379 { struct ns1__least_USCOREsquares_USCOREfit soap_tmp_ns1__least_USCOREsquares_USCOREfit; | |
4380 if (!soap_endpoint) | |
4381 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4382 if (!soap_action) | |
4383 soap_action = "http://soap.g-language.org/GLANG#least_squares_fit"; | |
4384 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4385 soap_tmp_ns1__least_USCOREsquares_USCOREfit._array = _array; | |
4386 soap_begin(soap); | |
4387 soap_serializeheader(soap); | |
4388 soap_serialize_ns1__least_USCOREsquares_USCOREfit(soap, &soap_tmp_ns1__least_USCOREsquares_USCOREfit); | |
4389 if (soap_begin_count(soap)) | |
4390 return soap->error; | |
4391 if (soap->mode & SOAP_IO_LENGTH) | |
4392 { if (soap_envelope_begin_out(soap) | |
4393 || soap_putheader(soap) | |
4394 || soap_body_begin_out(soap) | |
4395 || soap_put_ns1__least_USCOREsquares_USCOREfit(soap, &soap_tmp_ns1__least_USCOREsquares_USCOREfit, "ns1:least_squares_fit", NULL) | |
4396 || soap_body_end_out(soap) | |
4397 || soap_envelope_end_out(soap)) | |
4398 return soap->error; | |
4399 } | |
4400 if (soap_end_count(soap)) | |
4401 return soap->error; | |
4402 if (soap_connect(soap, soap_endpoint, soap_action) | |
4403 || soap_envelope_begin_out(soap) | |
4404 || soap_putheader(soap) | |
4405 || soap_body_begin_out(soap) | |
4406 || soap_put_ns1__least_USCOREsquares_USCOREfit(soap, &soap_tmp_ns1__least_USCOREsquares_USCOREfit, "ns1:least_squares_fit", NULL) | |
4407 || soap_body_end_out(soap) | |
4408 || soap_envelope_end_out(soap) | |
4409 || soap_end_send(soap)) | |
4410 return soap_closesock(soap); | |
4411 if (!_param_9) | |
4412 return soap_closesock(soap); | |
4413 soap_default_ns1__least_USCOREsquares_USCOREfitResponse(soap, _param_9); | |
4414 if (soap_begin_recv(soap) | |
4415 || soap_envelope_begin_in(soap) | |
4416 || soap_recv_header(soap) | |
4417 || soap_body_begin_in(soap)) | |
4418 return soap_closesock(soap); | |
4419 if (soap_recv_fault(soap, 1)) | |
4420 return soap->error; | |
4421 soap_get_ns1__least_USCOREsquares_USCOREfitResponse(soap, _param_9, "", ""); | |
4422 if (soap->error) | |
4423 return soap_recv_fault(soap, 0); | |
4424 if (soap_body_end_in(soap) | |
4425 || soap_envelope_end_in(soap) | |
4426 || soap_end_recv(soap)) | |
4427 return soap_closesock(soap); | |
4428 return soap_closesock(soap); | |
4429 } | |
4430 | |
4431 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__dinuc(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__dinucInputParams *_params, char **_result) | |
4432 { struct ns1__dinuc soap_tmp_ns1__dinuc; | |
4433 struct ns1__dinucResponse *soap_tmp_ns1__dinucResponse; | |
4434 if (!soap_endpoint) | |
4435 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4436 if (!soap_action) | |
4437 soap_action = "http://soap.g-language.org/GLANG#dinuc"; | |
4438 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4439 soap_tmp_ns1__dinuc._sequence = _sequence; | |
4440 soap_tmp_ns1__dinuc._params = _params; | |
4441 soap_begin(soap); | |
4442 soap_serializeheader(soap); | |
4443 soap_serialize_ns1__dinuc(soap, &soap_tmp_ns1__dinuc); | |
4444 if (soap_begin_count(soap)) | |
4445 return soap->error; | |
4446 if (soap->mode & SOAP_IO_LENGTH) | |
4447 { if (soap_envelope_begin_out(soap) | |
4448 || soap_putheader(soap) | |
4449 || soap_body_begin_out(soap) | |
4450 || soap_put_ns1__dinuc(soap, &soap_tmp_ns1__dinuc, "ns1:dinuc", NULL) | |
4451 || soap_body_end_out(soap) | |
4452 || soap_envelope_end_out(soap)) | |
4453 return soap->error; | |
4454 } | |
4455 if (soap_end_count(soap)) | |
4456 return soap->error; | |
4457 if (soap_connect(soap, soap_endpoint, soap_action) | |
4458 || soap_envelope_begin_out(soap) | |
4459 || soap_putheader(soap) | |
4460 || soap_body_begin_out(soap) | |
4461 || soap_put_ns1__dinuc(soap, &soap_tmp_ns1__dinuc, "ns1:dinuc", NULL) | |
4462 || soap_body_end_out(soap) | |
4463 || soap_envelope_end_out(soap) | |
4464 || soap_end_send(soap)) | |
4465 return soap_closesock(soap); | |
4466 if (!_result) | |
4467 return soap_closesock(soap); | |
4468 *_result = NULL; | |
4469 if (soap_begin_recv(soap) | |
4470 || soap_envelope_begin_in(soap) | |
4471 || soap_recv_header(soap) | |
4472 || soap_body_begin_in(soap)) | |
4473 return soap_closesock(soap); | |
4474 if (soap_recv_fault(soap, 1)) | |
4475 return soap->error; | |
4476 soap_tmp_ns1__dinucResponse = soap_get_ns1__dinucResponse(soap, NULL, "", ""); | |
4477 if (soap->error) | |
4478 return soap_recv_fault(soap, 0); | |
4479 if (soap_body_end_in(soap) | |
4480 || soap_envelope_end_in(soap) | |
4481 || soap_end_recv(soap)) | |
4482 return soap_closesock(soap); | |
4483 if (_result && soap_tmp_ns1__dinucResponse->_result) | |
4484 *_result = *soap_tmp_ns1__dinucResponse->_result; | |
4485 return soap_closesock(soap); | |
4486 } | |
4487 | |
4488 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__cgr(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__cgrInputParams *_params, char **_result) | |
4489 { struct ns1__cgr soap_tmp_ns1__cgr; | |
4490 struct ns1__cgrResponse *soap_tmp_ns1__cgrResponse; | |
4491 if (!soap_endpoint) | |
4492 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4493 if (!soap_action) | |
4494 soap_action = "http://soap.g-language.org/GLANG#cgr"; | |
4495 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4496 soap_tmp_ns1__cgr._sequence = _sequence; | |
4497 soap_tmp_ns1__cgr._params = _params; | |
4498 soap_begin(soap); | |
4499 soap_serializeheader(soap); | |
4500 soap_serialize_ns1__cgr(soap, &soap_tmp_ns1__cgr); | |
4501 if (soap_begin_count(soap)) | |
4502 return soap->error; | |
4503 if (soap->mode & SOAP_IO_LENGTH) | |
4504 { if (soap_envelope_begin_out(soap) | |
4505 || soap_putheader(soap) | |
4506 || soap_body_begin_out(soap) | |
4507 || soap_put_ns1__cgr(soap, &soap_tmp_ns1__cgr, "ns1:cgr", NULL) | |
4508 || soap_body_end_out(soap) | |
4509 || soap_envelope_end_out(soap)) | |
4510 return soap->error; | |
4511 } | |
4512 if (soap_end_count(soap)) | |
4513 return soap->error; | |
4514 if (soap_connect(soap, soap_endpoint, soap_action) | |
4515 || soap_envelope_begin_out(soap) | |
4516 || soap_putheader(soap) | |
4517 || soap_body_begin_out(soap) | |
4518 || soap_put_ns1__cgr(soap, &soap_tmp_ns1__cgr, "ns1:cgr", NULL) | |
4519 || soap_body_end_out(soap) | |
4520 || soap_envelope_end_out(soap) | |
4521 || soap_end_send(soap)) | |
4522 return soap_closesock(soap); | |
4523 if (!_result) | |
4524 return soap_closesock(soap); | |
4525 *_result = NULL; | |
4526 if (soap_begin_recv(soap) | |
4527 || soap_envelope_begin_in(soap) | |
4528 || soap_recv_header(soap) | |
4529 || soap_body_begin_in(soap)) | |
4530 return soap_closesock(soap); | |
4531 if (soap_recv_fault(soap, 1)) | |
4532 return soap->error; | |
4533 soap_tmp_ns1__cgrResponse = soap_get_ns1__cgrResponse(soap, NULL, "", ""); | |
4534 if (soap->error) | |
4535 return soap_recv_fault(soap, 0); | |
4536 if (soap_body_end_in(soap) | |
4537 || soap_envelope_end_in(soap) | |
4538 || soap_end_recv(soap)) | |
4539 return soap_closesock(soap); | |
4540 if (_result && soap_tmp_ns1__cgrResponse->_result) | |
4541 *_result = *soap_tmp_ns1__cgrResponse->_result; | |
4542 return soap_closesock(soap); | |
4543 } | |
4544 | |
4545 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__B1(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__B1InputParams *_params, char **_result) | |
4546 { struct ns1__B1 soap_tmp_ns1__B1; | |
4547 struct ns1__B1Response *soap_tmp_ns1__B1Response; | |
4548 if (!soap_endpoint) | |
4549 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4550 if (!soap_action) | |
4551 soap_action = "http://soap.g-language.org/GLANG#B1"; | |
4552 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4553 soap_tmp_ns1__B1._sequence = _sequence; | |
4554 soap_tmp_ns1__B1._params = _params; | |
4555 soap_begin(soap); | |
4556 soap_serializeheader(soap); | |
4557 soap_serialize_ns1__B1(soap, &soap_tmp_ns1__B1); | |
4558 if (soap_begin_count(soap)) | |
4559 return soap->error; | |
4560 if (soap->mode & SOAP_IO_LENGTH) | |
4561 { if (soap_envelope_begin_out(soap) | |
4562 || soap_putheader(soap) | |
4563 || soap_body_begin_out(soap) | |
4564 || soap_put_ns1__B1(soap, &soap_tmp_ns1__B1, "ns1:B1", NULL) | |
4565 || soap_body_end_out(soap) | |
4566 || soap_envelope_end_out(soap)) | |
4567 return soap->error; | |
4568 } | |
4569 if (soap_end_count(soap)) | |
4570 return soap->error; | |
4571 if (soap_connect(soap, soap_endpoint, soap_action) | |
4572 || soap_envelope_begin_out(soap) | |
4573 || soap_putheader(soap) | |
4574 || soap_body_begin_out(soap) | |
4575 || soap_put_ns1__B1(soap, &soap_tmp_ns1__B1, "ns1:B1", NULL) | |
4576 || soap_body_end_out(soap) | |
4577 || soap_envelope_end_out(soap) | |
4578 || soap_end_send(soap)) | |
4579 return soap_closesock(soap); | |
4580 if (!_result) | |
4581 return soap_closesock(soap); | |
4582 *_result = NULL; | |
4583 if (soap_begin_recv(soap) | |
4584 || soap_envelope_begin_in(soap) | |
4585 || soap_recv_header(soap) | |
4586 || soap_body_begin_in(soap)) | |
4587 return soap_closesock(soap); | |
4588 if (soap_recv_fault(soap, 1)) | |
4589 return soap->error; | |
4590 soap_tmp_ns1__B1Response = soap_get_ns1__B1Response(soap, NULL, "", ""); | |
4591 if (soap->error) | |
4592 return soap_recv_fault(soap, 0); | |
4593 if (soap_body_end_in(soap) | |
4594 || soap_envelope_end_in(soap) | |
4595 || soap_end_recv(soap)) | |
4596 return soap_closesock(soap); | |
4597 if (_result && soap_tmp_ns1__B1Response->_result) | |
4598 *_result = *soap_tmp_ns1__B1Response->_result; | |
4599 return soap_closesock(soap); | |
4600 } | |
4601 | |
4602 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__B2(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, char **_result) | |
4603 { struct ns1__B2 soap_tmp_ns1__B2; | |
4604 struct ns1__B2Response *soap_tmp_ns1__B2Response; | |
4605 if (!soap_endpoint) | |
4606 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4607 if (!soap_action) | |
4608 soap_action = "http://soap.g-language.org/GLANG#B2"; | |
4609 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4610 soap_tmp_ns1__B2._sequence = _sequence; | |
4611 soap_begin(soap); | |
4612 soap_serializeheader(soap); | |
4613 soap_serialize_ns1__B2(soap, &soap_tmp_ns1__B2); | |
4614 if (soap_begin_count(soap)) | |
4615 return soap->error; | |
4616 if (soap->mode & SOAP_IO_LENGTH) | |
4617 { if (soap_envelope_begin_out(soap) | |
4618 || soap_putheader(soap) | |
4619 || soap_body_begin_out(soap) | |
4620 || soap_put_ns1__B2(soap, &soap_tmp_ns1__B2, "ns1:B2", NULL) | |
4621 || soap_body_end_out(soap) | |
4622 || soap_envelope_end_out(soap)) | |
4623 return soap->error; | |
4624 } | |
4625 if (soap_end_count(soap)) | |
4626 return soap->error; | |
4627 if (soap_connect(soap, soap_endpoint, soap_action) | |
4628 || soap_envelope_begin_out(soap) | |
4629 || soap_putheader(soap) | |
4630 || soap_body_begin_out(soap) | |
4631 || soap_put_ns1__B2(soap, &soap_tmp_ns1__B2, "ns1:B2", NULL) | |
4632 || soap_body_end_out(soap) | |
4633 || soap_envelope_end_out(soap) | |
4634 || soap_end_send(soap)) | |
4635 return soap_closesock(soap); | |
4636 if (!_result) | |
4637 return soap_closesock(soap); | |
4638 *_result = NULL; | |
4639 if (soap_begin_recv(soap) | |
4640 || soap_envelope_begin_in(soap) | |
4641 || soap_recv_header(soap) | |
4642 || soap_body_begin_in(soap)) | |
4643 return soap_closesock(soap); | |
4644 if (soap_recv_fault(soap, 1)) | |
4645 return soap->error; | |
4646 soap_tmp_ns1__B2Response = soap_get_ns1__B2Response(soap, NULL, "", ""); | |
4647 if (soap->error) | |
4648 return soap_recv_fault(soap, 0); | |
4649 if (soap_body_end_in(soap) | |
4650 || soap_envelope_end_in(soap) | |
4651 || soap_end_recv(soap)) | |
4652 return soap_closesock(soap); | |
4653 if (_result && soap_tmp_ns1__B2Response->_result) | |
4654 *_result = *soap_tmp_ns1__B2Response->_result; | |
4655 return soap_closesock(soap); | |
4656 } | |
4657 | |
4658 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__base_USCOREcounter(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__base_USCOREcounterInputParams *_params, char **_result) | |
4659 { struct ns1__base_USCOREcounter soap_tmp_ns1__base_USCOREcounter; | |
4660 struct ns1__base_USCOREcounterResponse *soap_tmp_ns1__base_USCOREcounterResponse; | |
4661 if (!soap_endpoint) | |
4662 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4663 if (!soap_action) | |
4664 soap_action = "http://soap.g-language.org/GLANG#base_counter"; | |
4665 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4666 soap_tmp_ns1__base_USCOREcounter._sequence = _sequence; | |
4667 soap_tmp_ns1__base_USCOREcounter._params = _params; | |
4668 soap_begin(soap); | |
4669 soap_serializeheader(soap); | |
4670 soap_serialize_ns1__base_USCOREcounter(soap, &soap_tmp_ns1__base_USCOREcounter); | |
4671 if (soap_begin_count(soap)) | |
4672 return soap->error; | |
4673 if (soap->mode & SOAP_IO_LENGTH) | |
4674 { if (soap_envelope_begin_out(soap) | |
4675 || soap_putheader(soap) | |
4676 || soap_body_begin_out(soap) | |
4677 || soap_put_ns1__base_USCOREcounter(soap, &soap_tmp_ns1__base_USCOREcounter, "ns1:base_counter", NULL) | |
4678 || soap_body_end_out(soap) | |
4679 || soap_envelope_end_out(soap)) | |
4680 return soap->error; | |
4681 } | |
4682 if (soap_end_count(soap)) | |
4683 return soap->error; | |
4684 if (soap_connect(soap, soap_endpoint, soap_action) | |
4685 || soap_envelope_begin_out(soap) | |
4686 || soap_putheader(soap) | |
4687 || soap_body_begin_out(soap) | |
4688 || soap_put_ns1__base_USCOREcounter(soap, &soap_tmp_ns1__base_USCOREcounter, "ns1:base_counter", NULL) | |
4689 || soap_body_end_out(soap) | |
4690 || soap_envelope_end_out(soap) | |
4691 || soap_end_send(soap)) | |
4692 return soap_closesock(soap); | |
4693 if (!_result) | |
4694 return soap_closesock(soap); | |
4695 *_result = NULL; | |
4696 if (soap_begin_recv(soap) | |
4697 || soap_envelope_begin_in(soap) | |
4698 || soap_recv_header(soap) | |
4699 || soap_body_begin_in(soap)) | |
4700 return soap_closesock(soap); | |
4701 if (soap_recv_fault(soap, 1)) | |
4702 return soap->error; | |
4703 soap_tmp_ns1__base_USCOREcounterResponse = soap_get_ns1__base_USCOREcounterResponse(soap, NULL, "", ""); | |
4704 if (soap->error) | |
4705 return soap_recv_fault(soap, 0); | |
4706 if (soap_body_end_in(soap) | |
4707 || soap_envelope_end_in(soap) | |
4708 || soap_end_recv(soap)) | |
4709 return soap_closesock(soap); | |
4710 if (_result && soap_tmp_ns1__base_USCOREcounterResponse->_result) | |
4711 *_result = *soap_tmp_ns1__base_USCOREcounterResponse->_result; | |
4712 return soap_closesock(soap); | |
4713 } | |
4714 | |
4715 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__base_USCOREz_USCOREvalue(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__base_USCOREz_USCOREvalueInputParams *_params, char **_result) | |
4716 { struct ns1__base_USCOREz_USCOREvalue soap_tmp_ns1__base_USCOREz_USCOREvalue; | |
4717 struct ns1__base_USCOREz_USCOREvalueResponse *soap_tmp_ns1__base_USCOREz_USCOREvalueResponse; | |
4718 if (!soap_endpoint) | |
4719 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4720 if (!soap_action) | |
4721 soap_action = "http://soap.g-language.org/GLANG#base_z_value"; | |
4722 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4723 soap_tmp_ns1__base_USCOREz_USCOREvalue._sequence = _sequence; | |
4724 soap_tmp_ns1__base_USCOREz_USCOREvalue._params = _params; | |
4725 soap_begin(soap); | |
4726 soap_serializeheader(soap); | |
4727 soap_serialize_ns1__base_USCOREz_USCOREvalue(soap, &soap_tmp_ns1__base_USCOREz_USCOREvalue); | |
4728 if (soap_begin_count(soap)) | |
4729 return soap->error; | |
4730 if (soap->mode & SOAP_IO_LENGTH) | |
4731 { if (soap_envelope_begin_out(soap) | |
4732 || soap_putheader(soap) | |
4733 || soap_body_begin_out(soap) | |
4734 || soap_put_ns1__base_USCOREz_USCOREvalue(soap, &soap_tmp_ns1__base_USCOREz_USCOREvalue, "ns1:base_z_value", NULL) | |
4735 || soap_body_end_out(soap) | |
4736 || soap_envelope_end_out(soap)) | |
4737 return soap->error; | |
4738 } | |
4739 if (soap_end_count(soap)) | |
4740 return soap->error; | |
4741 if (soap_connect(soap, soap_endpoint, soap_action) | |
4742 || soap_envelope_begin_out(soap) | |
4743 || soap_putheader(soap) | |
4744 || soap_body_begin_out(soap) | |
4745 || soap_put_ns1__base_USCOREz_USCOREvalue(soap, &soap_tmp_ns1__base_USCOREz_USCOREvalue, "ns1:base_z_value", NULL) | |
4746 || soap_body_end_out(soap) | |
4747 || soap_envelope_end_out(soap) | |
4748 || soap_end_send(soap)) | |
4749 return soap_closesock(soap); | |
4750 if (!_result) | |
4751 return soap_closesock(soap); | |
4752 *_result = NULL; | |
4753 if (soap_begin_recv(soap) | |
4754 || soap_envelope_begin_in(soap) | |
4755 || soap_recv_header(soap) | |
4756 || soap_body_begin_in(soap)) | |
4757 return soap_closesock(soap); | |
4758 if (soap_recv_fault(soap, 1)) | |
4759 return soap->error; | |
4760 soap_tmp_ns1__base_USCOREz_USCOREvalueResponse = soap_get_ns1__base_USCOREz_USCOREvalueResponse(soap, NULL, "", ""); | |
4761 if (soap->error) | |
4762 return soap_recv_fault(soap, 0); | |
4763 if (soap_body_end_in(soap) | |
4764 || soap_envelope_end_in(soap) | |
4765 || soap_end_recv(soap)) | |
4766 return soap_closesock(soap); | |
4767 if (_result && soap_tmp_ns1__base_USCOREz_USCOREvalueResponse->_result) | |
4768 *_result = *soap_tmp_ns1__base_USCOREz_USCOREvalueResponse->_result; | |
4769 return soap_closesock(soap); | |
4770 } | |
4771 | |
4772 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__kmer_USCOREtable(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__kmer_USCOREtableInputParams *_params, char **_result) | |
4773 { struct ns1__kmer_USCOREtable soap_tmp_ns1__kmer_USCOREtable; | |
4774 struct ns1__kmer_USCOREtableResponse *soap_tmp_ns1__kmer_USCOREtableResponse; | |
4775 if (!soap_endpoint) | |
4776 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4777 if (!soap_action) | |
4778 soap_action = "http://soap.g-language.org/GLANG#kmer_table"; | |
4779 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4780 soap_tmp_ns1__kmer_USCOREtable._sequence = _sequence; | |
4781 soap_tmp_ns1__kmer_USCOREtable._params = _params; | |
4782 soap_begin(soap); | |
4783 soap_serializeheader(soap); | |
4784 soap_serialize_ns1__kmer_USCOREtable(soap, &soap_tmp_ns1__kmer_USCOREtable); | |
4785 if (soap_begin_count(soap)) | |
4786 return soap->error; | |
4787 if (soap->mode & SOAP_IO_LENGTH) | |
4788 { if (soap_envelope_begin_out(soap) | |
4789 || soap_putheader(soap) | |
4790 || soap_body_begin_out(soap) | |
4791 || soap_put_ns1__kmer_USCOREtable(soap, &soap_tmp_ns1__kmer_USCOREtable, "ns1:kmer_table", NULL) | |
4792 || soap_body_end_out(soap) | |
4793 || soap_envelope_end_out(soap)) | |
4794 return soap->error; | |
4795 } | |
4796 if (soap_end_count(soap)) | |
4797 return soap->error; | |
4798 if (soap_connect(soap, soap_endpoint, soap_action) | |
4799 || soap_envelope_begin_out(soap) | |
4800 || soap_putheader(soap) | |
4801 || soap_body_begin_out(soap) | |
4802 || soap_put_ns1__kmer_USCOREtable(soap, &soap_tmp_ns1__kmer_USCOREtable, "ns1:kmer_table", NULL) | |
4803 || soap_body_end_out(soap) | |
4804 || soap_envelope_end_out(soap) | |
4805 || soap_end_send(soap)) | |
4806 return soap_closesock(soap); | |
4807 if (!_result) | |
4808 return soap_closesock(soap); | |
4809 *_result = NULL; | |
4810 if (soap_begin_recv(soap) | |
4811 || soap_envelope_begin_in(soap) | |
4812 || soap_recv_header(soap) | |
4813 || soap_body_begin_in(soap)) | |
4814 return soap_closesock(soap); | |
4815 if (soap_recv_fault(soap, 1)) | |
4816 return soap->error; | |
4817 soap_tmp_ns1__kmer_USCOREtableResponse = soap_get_ns1__kmer_USCOREtableResponse(soap, NULL, "", ""); | |
4818 if (soap->error) | |
4819 return soap_recv_fault(soap, 0); | |
4820 if (soap_body_end_in(soap) | |
4821 || soap_envelope_end_in(soap) | |
4822 || soap_end_recv(soap)) | |
4823 return soap_closesock(soap); | |
4824 if (_result && soap_tmp_ns1__kmer_USCOREtableResponse->_result) | |
4825 *_result = *soap_tmp_ns1__kmer_USCOREtableResponse->_result; | |
4826 return soap_closesock(soap); | |
4827 } | |
4828 | |
4829 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__lda_USCOREbias(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__lda_USCOREbiasInputParams *_params, char **_result) | |
4830 { struct ns1__lda_USCOREbias soap_tmp_ns1__lda_USCOREbias; | |
4831 struct ns1__lda_USCOREbiasResponse *soap_tmp_ns1__lda_USCOREbiasResponse; | |
4832 if (!soap_endpoint) | |
4833 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4834 if (!soap_action) | |
4835 soap_action = "http://soap.g-language.org/GLANG#lda_bias"; | |
4836 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4837 soap_tmp_ns1__lda_USCOREbias._sequence = _sequence; | |
4838 soap_tmp_ns1__lda_USCOREbias._params = _params; | |
4839 soap_begin(soap); | |
4840 soap_serializeheader(soap); | |
4841 soap_serialize_ns1__lda_USCOREbias(soap, &soap_tmp_ns1__lda_USCOREbias); | |
4842 if (soap_begin_count(soap)) | |
4843 return soap->error; | |
4844 if (soap->mode & SOAP_IO_LENGTH) | |
4845 { if (soap_envelope_begin_out(soap) | |
4846 || soap_putheader(soap) | |
4847 || soap_body_begin_out(soap) | |
4848 || soap_put_ns1__lda_USCOREbias(soap, &soap_tmp_ns1__lda_USCOREbias, "ns1:lda_bias", NULL) | |
4849 || soap_body_end_out(soap) | |
4850 || soap_envelope_end_out(soap)) | |
4851 return soap->error; | |
4852 } | |
4853 if (soap_end_count(soap)) | |
4854 return soap->error; | |
4855 if (soap_connect(soap, soap_endpoint, soap_action) | |
4856 || soap_envelope_begin_out(soap) | |
4857 || soap_putheader(soap) | |
4858 || soap_body_begin_out(soap) | |
4859 || soap_put_ns1__lda_USCOREbias(soap, &soap_tmp_ns1__lda_USCOREbias, "ns1:lda_bias", NULL) | |
4860 || soap_body_end_out(soap) | |
4861 || soap_envelope_end_out(soap) | |
4862 || soap_end_send(soap)) | |
4863 return soap_closesock(soap); | |
4864 if (!_result) | |
4865 return soap_closesock(soap); | |
4866 *_result = NULL; | |
4867 if (soap_begin_recv(soap) | |
4868 || soap_envelope_begin_in(soap) | |
4869 || soap_recv_header(soap) | |
4870 || soap_body_begin_in(soap)) | |
4871 return soap_closesock(soap); | |
4872 if (soap_recv_fault(soap, 1)) | |
4873 return soap->error; | |
4874 soap_tmp_ns1__lda_USCOREbiasResponse = soap_get_ns1__lda_USCOREbiasResponse(soap, NULL, "", ""); | |
4875 if (soap->error) | |
4876 return soap_recv_fault(soap, 0); | |
4877 if (soap_body_end_in(soap) | |
4878 || soap_envelope_end_in(soap) | |
4879 || soap_end_recv(soap)) | |
4880 return soap_closesock(soap); | |
4881 if (_result && soap_tmp_ns1__lda_USCOREbiasResponse->_result) | |
4882 *_result = *soap_tmp_ns1__lda_USCOREbiasResponse->_result; | |
4883 return soap_closesock(soap); | |
4884 } | |
4885 | |
4886 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__scs(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__scsInputParams *_params, char **_result) | |
4887 { struct ns1__scs soap_tmp_ns1__scs; | |
4888 struct ns1__scsResponse *soap_tmp_ns1__scsResponse; | |
4889 if (!soap_endpoint) | |
4890 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4891 if (!soap_action) | |
4892 soap_action = "http://soap.g-language.org/GLANG#scs"; | |
4893 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4894 soap_tmp_ns1__scs._sequence = _sequence; | |
4895 soap_tmp_ns1__scs._params = _params; | |
4896 soap_begin(soap); | |
4897 soap_serializeheader(soap); | |
4898 soap_serialize_ns1__scs(soap, &soap_tmp_ns1__scs); | |
4899 if (soap_begin_count(soap)) | |
4900 return soap->error; | |
4901 if (soap->mode & SOAP_IO_LENGTH) | |
4902 { if (soap_envelope_begin_out(soap) | |
4903 || soap_putheader(soap) | |
4904 || soap_body_begin_out(soap) | |
4905 || soap_put_ns1__scs(soap, &soap_tmp_ns1__scs, "ns1:scs", NULL) | |
4906 || soap_body_end_out(soap) | |
4907 || soap_envelope_end_out(soap)) | |
4908 return soap->error; | |
4909 } | |
4910 if (soap_end_count(soap)) | |
4911 return soap->error; | |
4912 if (soap_connect(soap, soap_endpoint, soap_action) | |
4913 || soap_envelope_begin_out(soap) | |
4914 || soap_putheader(soap) | |
4915 || soap_body_begin_out(soap) | |
4916 || soap_put_ns1__scs(soap, &soap_tmp_ns1__scs, "ns1:scs", NULL) | |
4917 || soap_body_end_out(soap) | |
4918 || soap_envelope_end_out(soap) | |
4919 || soap_end_send(soap)) | |
4920 return soap_closesock(soap); | |
4921 if (!_result) | |
4922 return soap_closesock(soap); | |
4923 *_result = NULL; | |
4924 if (soap_begin_recv(soap) | |
4925 || soap_envelope_begin_in(soap) | |
4926 || soap_recv_header(soap) | |
4927 || soap_body_begin_in(soap)) | |
4928 return soap_closesock(soap); | |
4929 if (soap_recv_fault(soap, 1)) | |
4930 return soap->error; | |
4931 soap_tmp_ns1__scsResponse = soap_get_ns1__scsResponse(soap, NULL, "", ""); | |
4932 if (soap->error) | |
4933 return soap_recv_fault(soap, 0); | |
4934 if (soap_body_end_in(soap) | |
4935 || soap_envelope_end_in(soap) | |
4936 || soap_end_recv(soap)) | |
4937 return soap_closesock(soap); | |
4938 if (_result && soap_tmp_ns1__scsResponse->_result) | |
4939 *_result = *soap_tmp_ns1__scsResponse->_result; | |
4940 return soap_closesock(soap); | |
4941 } | |
4942 | |
4943 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__leading_USCOREstrand(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__leading_USCOREstrandResponse *_param_10) | |
4944 { struct ns1__leading_USCOREstrand soap_tmp_ns1__leading_USCOREstrand; | |
4945 if (!soap_endpoint) | |
4946 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
4947 if (!soap_action) | |
4948 soap_action = "http://soap.g-language.org/GLANG#leading_strand"; | |
4949 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
4950 soap_tmp_ns1__leading_USCOREstrand._sequence = _sequence; | |
4951 soap_begin(soap); | |
4952 soap_serializeheader(soap); | |
4953 soap_serialize_ns1__leading_USCOREstrand(soap, &soap_tmp_ns1__leading_USCOREstrand); | |
4954 if (soap_begin_count(soap)) | |
4955 return soap->error; | |
4956 if (soap->mode & SOAP_IO_LENGTH) | |
4957 { if (soap_envelope_begin_out(soap) | |
4958 || soap_putheader(soap) | |
4959 || soap_body_begin_out(soap) | |
4960 || soap_put_ns1__leading_USCOREstrand(soap, &soap_tmp_ns1__leading_USCOREstrand, "ns1:leading_strand", NULL) | |
4961 || soap_body_end_out(soap) | |
4962 || soap_envelope_end_out(soap)) | |
4963 return soap->error; | |
4964 } | |
4965 if (soap_end_count(soap)) | |
4966 return soap->error; | |
4967 if (soap_connect(soap, soap_endpoint, soap_action) | |
4968 || soap_envelope_begin_out(soap) | |
4969 || soap_putheader(soap) | |
4970 || soap_body_begin_out(soap) | |
4971 || soap_put_ns1__leading_USCOREstrand(soap, &soap_tmp_ns1__leading_USCOREstrand, "ns1:leading_strand", NULL) | |
4972 || soap_body_end_out(soap) | |
4973 || soap_envelope_end_out(soap) | |
4974 || soap_end_send(soap)) | |
4975 return soap_closesock(soap); | |
4976 if (!_param_10) | |
4977 return soap_closesock(soap); | |
4978 soap_default_ns1__leading_USCOREstrandResponse(soap, _param_10); | |
4979 if (soap_begin_recv(soap) | |
4980 || soap_envelope_begin_in(soap) | |
4981 || soap_recv_header(soap) | |
4982 || soap_body_begin_in(soap)) | |
4983 return soap_closesock(soap); | |
4984 if (soap_recv_fault(soap, 1)) | |
4985 return soap->error; | |
4986 soap_get_ns1__leading_USCOREstrandResponse(soap, _param_10, "", ""); | |
4987 if (soap->error) | |
4988 return soap_recv_fault(soap, 0); | |
4989 if (soap_body_end_in(soap) | |
4990 || soap_envelope_end_in(soap) | |
4991 || soap_end_recv(soap)) | |
4992 return soap_closesock(soap); | |
4993 return soap_closesock(soap); | |
4994 } | |
4995 | |
4996 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__S_USCOREvalue(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, struct ns1__S_USCOREvalueInputParams *_params, char **_result) | |
4997 { struct ns1__S_USCOREvalue soap_tmp_ns1__S_USCOREvalue; | |
4998 struct ns1__S_USCOREvalueResponse *soap_tmp_ns1__S_USCOREvalueResponse; | |
4999 if (!soap_endpoint) | |
5000 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
5001 if (!soap_action) | |
5002 soap_action = "http://soap.g-language.org/GLANG#S_value"; | |
5003 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
5004 soap_tmp_ns1__S_USCOREvalue._sequence = _sequence; | |
5005 soap_tmp_ns1__S_USCOREvalue._params = _params; | |
5006 soap_begin(soap); | |
5007 soap_serializeheader(soap); | |
5008 soap_serialize_ns1__S_USCOREvalue(soap, &soap_tmp_ns1__S_USCOREvalue); | |
5009 if (soap_begin_count(soap)) | |
5010 return soap->error; | |
5011 if (soap->mode & SOAP_IO_LENGTH) | |
5012 { if (soap_envelope_begin_out(soap) | |
5013 || soap_putheader(soap) | |
5014 || soap_body_begin_out(soap) | |
5015 || soap_put_ns1__S_USCOREvalue(soap, &soap_tmp_ns1__S_USCOREvalue, "ns1:S_value", NULL) | |
5016 || soap_body_end_out(soap) | |
5017 || soap_envelope_end_out(soap)) | |
5018 return soap->error; | |
5019 } | |
5020 if (soap_end_count(soap)) | |
5021 return soap->error; | |
5022 if (soap_connect(soap, soap_endpoint, soap_action) | |
5023 || soap_envelope_begin_out(soap) | |
5024 || soap_putheader(soap) | |
5025 || soap_body_begin_out(soap) | |
5026 || soap_put_ns1__S_USCOREvalue(soap, &soap_tmp_ns1__S_USCOREvalue, "ns1:S_value", NULL) | |
5027 || soap_body_end_out(soap) | |
5028 || soap_envelope_end_out(soap) | |
5029 || soap_end_send(soap)) | |
5030 return soap_closesock(soap); | |
5031 if (!_result) | |
5032 return soap_closesock(soap); | |
5033 *_result = NULL; | |
5034 if (soap_begin_recv(soap) | |
5035 || soap_envelope_begin_in(soap) | |
5036 || soap_recv_header(soap) | |
5037 || soap_body_begin_in(soap)) | |
5038 return soap_closesock(soap); | |
5039 if (soap_recv_fault(soap, 1)) | |
5040 return soap->error; | |
5041 soap_tmp_ns1__S_USCOREvalueResponse = soap_get_ns1__S_USCOREvalueResponse(soap, NULL, "", ""); | |
5042 if (soap->error) | |
5043 return soap_recv_fault(soap, 0); | |
5044 if (soap_body_end_in(soap) | |
5045 || soap_envelope_end_in(soap) | |
5046 || soap_end_recv(soap)) | |
5047 return soap_closesock(soap); | |
5048 if (_result && soap_tmp_ns1__S_USCOREvalueResponse->_result) | |
5049 *_result = *soap_tmp_ns1__S_USCOREvalueResponse->_result; | |
5050 return soap_closesock(soap); | |
5051 } | |
5052 | |
5053 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__help(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_keywords, char **_result) | |
5054 { struct ns1__help soap_tmp_ns1__help; | |
5055 struct ns1__helpResponse *soap_tmp_ns1__helpResponse; | |
5056 if (!soap_endpoint) | |
5057 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
5058 if (!soap_action) | |
5059 soap_action = "http://soap.g-language.org/GLANG#help"; | |
5060 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
5061 soap_tmp_ns1__help._keywords = _keywords; | |
5062 soap_begin(soap); | |
5063 soap_serializeheader(soap); | |
5064 soap_serialize_ns1__help(soap, &soap_tmp_ns1__help); | |
5065 if (soap_begin_count(soap)) | |
5066 return soap->error; | |
5067 if (soap->mode & SOAP_IO_LENGTH) | |
5068 { if (soap_envelope_begin_out(soap) | |
5069 || soap_putheader(soap) | |
5070 || soap_body_begin_out(soap) | |
5071 || soap_put_ns1__help(soap, &soap_tmp_ns1__help, "ns1:help", NULL) | |
5072 || soap_body_end_out(soap) | |
5073 || soap_envelope_end_out(soap)) | |
5074 return soap->error; | |
5075 } | |
5076 if (soap_end_count(soap)) | |
5077 return soap->error; | |
5078 if (soap_connect(soap, soap_endpoint, soap_action) | |
5079 || soap_envelope_begin_out(soap) | |
5080 || soap_putheader(soap) | |
5081 || soap_body_begin_out(soap) | |
5082 || soap_put_ns1__help(soap, &soap_tmp_ns1__help, "ns1:help", NULL) | |
5083 || soap_body_end_out(soap) | |
5084 || soap_envelope_end_out(soap) | |
5085 || soap_end_send(soap)) | |
5086 return soap_closesock(soap); | |
5087 if (!_result) | |
5088 return soap_closesock(soap); | |
5089 *_result = NULL; | |
5090 if (soap_begin_recv(soap) | |
5091 || soap_envelope_begin_in(soap) | |
5092 || soap_recv_header(soap) | |
5093 || soap_body_begin_in(soap)) | |
5094 return soap_closesock(soap); | |
5095 if (soap_recv_fault(soap, 1)) | |
5096 return soap->error; | |
5097 soap_tmp_ns1__helpResponse = soap_get_ns1__helpResponse(soap, NULL, "", ""); | |
5098 if (soap->error) | |
5099 return soap_recv_fault(soap, 0); | |
5100 if (soap_body_end_in(soap) | |
5101 || soap_envelope_end_in(soap) | |
5102 || soap_end_recv(soap)) | |
5103 return soap_closesock(soap); | |
5104 if (_result && soap_tmp_ns1__helpResponse->_result) | |
5105 *_result = *soap_tmp_ns1__helpResponse->_result; | |
5106 return soap_closesock(soap); | |
5107 } | |
5108 | |
5109 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__hydropathy(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_sequence, float *_result) | |
5110 { struct ns1__hydropathy soap_tmp_ns1__hydropathy; | |
5111 struct ns1__hydropathyResponse *soap_tmp_ns1__hydropathyResponse; | |
5112 if (!soap_endpoint) | |
5113 soap_endpoint = "http://soap.g-language.org/WS/g-language.cgi"; | |
5114 if (!soap_action) | |
5115 soap_action = "http://soap.g-language.org/GLANG#hydropathy"; | |
5116 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; | |
5117 soap_tmp_ns1__hydropathy._sequence = _sequence; | |
5118 soap_begin(soap); | |
5119 soap_serializeheader(soap); | |
5120 soap_serialize_ns1__hydropathy(soap, &soap_tmp_ns1__hydropathy); | |
5121 if (soap_begin_count(soap)) | |
5122 return soap->error; | |
5123 if (soap->mode & SOAP_IO_LENGTH) | |
5124 { if (soap_envelope_begin_out(soap) | |
5125 || soap_putheader(soap) | |
5126 || soap_body_begin_out(soap) | |
5127 || soap_put_ns1__hydropathy(soap, &soap_tmp_ns1__hydropathy, "ns1:hydropathy", NULL) | |
5128 || soap_body_end_out(soap) | |
5129 || soap_envelope_end_out(soap)) | |
5130 return soap->error; | |
5131 } | |
5132 if (soap_end_count(soap)) | |
5133 return soap->error; | |
5134 if (soap_connect(soap, soap_endpoint, soap_action) | |
5135 || soap_envelope_begin_out(soap) | |
5136 || soap_putheader(soap) | |
5137 || soap_body_begin_out(soap) | |
5138 || soap_put_ns1__hydropathy(soap, &soap_tmp_ns1__hydropathy, "ns1:hydropathy", NULL) | |
5139 || soap_body_end_out(soap) | |
5140 || soap_envelope_end_out(soap) | |
5141 || soap_end_send(soap)) | |
5142 return soap_closesock(soap); | |
5143 if (!_result) | |
5144 return soap_closesock(soap); | |
5145 soap_default_float(soap, _result); | |
5146 if (soap_begin_recv(soap) | |
5147 || soap_envelope_begin_in(soap) | |
5148 || soap_recv_header(soap) | |
5149 || soap_body_begin_in(soap)) | |
5150 return soap_closesock(soap); | |
5151 if (soap_recv_fault(soap, 1)) | |
5152 return soap->error; | |
5153 soap_tmp_ns1__hydropathyResponse = soap_get_ns1__hydropathyResponse(soap, NULL, "", ""); | |
5154 if (soap->error) | |
5155 return soap_recv_fault(soap, 0); | |
5156 if (soap_body_end_in(soap) | |
5157 || soap_envelope_end_in(soap) | |
5158 || soap_end_recv(soap)) | |
5159 return soap_closesock(soap); | |
5160 if (_result && soap_tmp_ns1__hydropathyResponse->_result) | |
5161 *_result = *soap_tmp_ns1__hydropathyResponse->_result; | |
5162 return soap_closesock(soap); | |
5163 } | |
5164 | |
5165 #ifdef __cplusplus | |
5166 } | |
5167 #endif | |
5168 | |
5169 #if defined(__BORLANDC__) | |
5170 #pragma option pop | |
5171 #pragma option pop | |
5172 #endif | |
5173 | |
5174 /* End of soapClient.c */ |