4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
27 Generated by gSOAP 2.7.17 from ../gsoapStubs/CAService/KMS_CA_SOAP.h
28 Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
29 This part of the software is released under one of the following licenses:
30 GPL, the gSOAP public license, or Genivia's license for commercial use.
33 #if defined(__BORLANDC__)
34 #pragma option push -w-8060
35 #pragma option push -w-8004
42 SOAP_SOURCE_STAMP("@(#) KMS_CAC.cpp ver 2.7.17 2010-06-08 19:16:38 GMT")
47 SOAP_FMAC3
void SOAP_FMAC4
soap_serializeheader(struct soap
*soap
)
50 soap_serialize_SOAP_ENV__Header(soap
, soap
->header
);
53 SOAP_FMAC3
int SOAP_FMAC4
soap_putheader(struct soap
*soap
)
56 { soap
->part
= SOAP_IN_HEADER
;
57 if (soap_out_SOAP_ENV__Header(soap
, "SOAP-ENV:Header", 0, soap
->header
, NULL
))
59 soap
->part
= SOAP_END_HEADER
;
64 SOAP_FMAC3
int SOAP_FMAC4
soap_getheader(struct soap
*soap
)
66 soap
->part
= SOAP_IN_HEADER
;
67 soap
->header
= soap_in_SOAP_ENV__Header(soap
, "SOAP-ENV:Header", NULL
, NULL
);
68 soap
->part
= SOAP_END_HEADER
;
69 return soap
->header
== NULL
;
72 SOAP_FMAC3
void SOAP_FMAC4
soap_header(struct soap
*soap
)
75 { if ((soap
->header
= soap_new_SOAP_ENV__Header(soap
, -1)))
76 soap_default_SOAP_ENV__Header(soap
, soap
->header
);
80 SOAP_FMAC3
void SOAP_FMAC4
soap_fault(struct soap
*soap
)
83 { soap
->fault
= soap_new_SOAP_ENV__Fault(soap
, -1);
86 soap_default_SOAP_ENV__Fault(soap
, soap
->fault
);
88 if (soap
->version
== 2 && !soap
->fault
->SOAP_ENV__Code
)
89 { soap
->fault
->SOAP_ENV__Code
= soap_new_SOAP_ENV__Code(soap
, -1);
90 soap_default_SOAP_ENV__Code(soap
, soap
->fault
->SOAP_ENV__Code
);
92 if (soap
->version
== 2 && !soap
->fault
->SOAP_ENV__Reason
)
93 { soap
->fault
->SOAP_ENV__Reason
= soap_new_SOAP_ENV__Reason(soap
, -1);
94 soap_default_SOAP_ENV__Reason(soap
, soap
->fault
->SOAP_ENV__Reason
);
98 SOAP_FMAC3
void SOAP_FMAC4
soap_serializefault(struct soap
*soap
)
102 soap_serialize_SOAP_ENV__Fault(soap
, soap
->fault
);
105 SOAP_FMAC3
int SOAP_FMAC4
soap_putfault(struct soap
*soap
)
108 return soap_put_SOAP_ENV__Fault(soap
, soap
->fault
, "SOAP-ENV:Fault", NULL
);
112 SOAP_FMAC3
int SOAP_FMAC4
soap_getfault(struct soap
*soap
)
114 return (soap
->fault
= soap_get_SOAP_ENV__Fault(soap
, NULL
, "SOAP-ENV:Fault", NULL
)) == NULL
;
117 SOAP_FMAC3
const char ** SOAP_FMAC4
soap_faultcode(struct soap
*soap
)
120 if (soap
->version
== 2)
121 return (const char**)&soap
->fault
->SOAP_ENV__Code
->SOAP_ENV__Value
;
122 return (const char**)&soap
->fault
->faultcode
;
125 SOAP_FMAC3
const char ** SOAP_FMAC4
soap_faultsubcode(struct soap
*soap
)
128 if (soap
->version
== 2)
129 { if (!soap
->fault
->SOAP_ENV__Code
->SOAP_ENV__Subcode
)
130 { soap
->fault
->SOAP_ENV__Code
->SOAP_ENV__Subcode
= soap_new_SOAP_ENV__Code(soap
, -1);
131 soap_default_SOAP_ENV__Code(soap
, soap
->fault
->SOAP_ENV__Code
->SOAP_ENV__Subcode
);
133 return (const char**)&soap
->fault
->SOAP_ENV__Code
->SOAP_ENV__Subcode
->SOAP_ENV__Value
;
135 return (const char**)&soap
->fault
->faultcode
;
138 SOAP_FMAC3
const char ** SOAP_FMAC4
soap_faultstring(struct soap
*soap
)
141 if (soap
->version
== 2)
142 return (const char**)&soap
->fault
->SOAP_ENV__Reason
->SOAP_ENV__Text
;
143 return (const char**)&soap
->fault
->faultstring
;
146 SOAP_FMAC3
const char ** SOAP_FMAC4
soap_faultdetail(struct soap
*soap
)
149 if (soap
->version
== 1)
150 { if (!soap
->fault
->detail
)
151 { soap
->fault
->detail
= (struct SOAP_ENV__Detail
*)soap_malloc(soap
, sizeof(struct SOAP_ENV__Detail
));
152 soap_default_SOAP_ENV__Detail(soap
, soap
->fault
->detail
);
154 return (const char**)&soap
->fault
->detail
->__any
;
156 if (!soap
->fault
->SOAP_ENV__Detail
)
157 { soap
->fault
->SOAP_ENV__Detail
= soap_new_SOAP_ENV__Detail(soap
, -1);
158 soap_default_SOAP_ENV__Detail(soap
, soap
->fault
->SOAP_ENV__Detail
);
160 return (const char**)&soap
->fault
->SOAP_ENV__Detail
->__any
;
166 SOAP_FMAC3
int SOAP_FMAC4
soap_getindependent(struct soap
*soap
)
169 if (soap
->version
== 1)
171 { if (!soap_getelement(soap
, &t
))
172 if (soap
->error
|| soap_ignore_element(soap
))
176 if (soap
->error
== SOAP_NO_TAG
|| soap
->error
== SOAP_EOF
)
177 soap
->error
= SOAP_OK
;
183 SOAP_FMAC3
void * SOAP_FMAC4
soap_getelement(struct soap
*soap
, int *type
)
185 if (soap_peek_element(soap
))
187 if (!*soap
->id
|| !(*type
= soap_lookup_type(soap
, soap
->id
)))
188 *type
= soap_lookup_type(soap
, soap
->href
);
191 case SOAP_TYPE_KMS_CA_byte
:
192 return soap_in_byte(soap
, NULL
, NULL
, "xsd:byte");
193 case SOAP_TYPE_KMS_CA_int
:
194 return soap_in_int(soap
, NULL
, NULL
, "xsd:int");
195 case SOAP_TYPE_KMS_CA_xsd__int
:
196 return soap_in_xsd__int(soap
, NULL
, NULL
, "xsd:int");
197 case SOAP_TYPE_KMS_CA_long
:
198 return soap_in_long(soap
, NULL
, NULL
, "xsd:long");
199 case SOAP_TYPE_KMS_CA_xsd__long
:
200 return soap_in_xsd__long(soap
, NULL
, NULL
, "xsd:long");
201 case SOAP_TYPE_KMS_CA_LONG64
:
202 return soap_in_LONG64(soap
, NULL
, NULL
, "xsd:long");
203 case SOAP_TYPE_KMS_CA_xsd__float
:
204 return soap_in_xsd__float(soap
, NULL
, NULL
, "xsd:float");
205 case SOAP_TYPE_KMS_CA_float
:
206 return soap_in_float(soap
, NULL
, NULL
, "xsd:float");
207 case SOAP_TYPE_KMS_CA_unsignedByte
:
208 return soap_in_unsignedByte(soap
, NULL
, NULL
, "xsd:unsignedByte");
209 case SOAP_TYPE_KMS_CA_unsignedInt
:
210 return soap_in_unsignedInt(soap
, NULL
, NULL
, "xsd:unsignedInt");
211 case SOAP_TYPE_KMS_CA_xsd__boolean
:
212 return soap_in_xsd__boolean(soap
, NULL
, NULL
, "xsd:boolean");
213 case SOAP_TYPE_KMS_CA_bool
:
214 return soap_in_bool(soap
, NULL
, NULL
, "xsd:boolean");
215 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
:
216 return soap_in_KMS_CA__RetrieveLocalClock(soap
, NULL
, NULL
, "KMS-CA:RetrieveLocalClock");
217 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
:
218 return soap_in_KMS_CA__RetrieveLocalClockResponse(soap
, NULL
, NULL
, "KMS-CA:RetrieveLocalClockResponse");
219 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
:
220 return soap_in_KMS_CA__RetrieveRootCACertificate(soap
, NULL
, NULL
, "KMS-CA:RetrieveRootCACertificate");
221 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
:
222 return soap_in_KMS_CA__RetrieveRootCACertificateResponse(soap
, NULL
, NULL
, "KMS-CA:RetrieveRootCACertificateResponse");
223 case SOAP_TYPE_KMS_CA_xsd__hexBinary
:
224 return soap_in_xsd__hexBinary(soap
, NULL
, NULL
, "xsd:hexBinary");
225 case SOAP_TYPE_KMS_CA_PointerTounsignedByte
:
226 return soap_in_PointerTounsignedByte(soap
, NULL
, NULL
, "xsd:unsignedByte");
227 case SOAP_TYPE_KMS_CA_xsd__duration
:
229 s
= soap_in_xsd__duration(soap
, NULL
, NULL
, "xsd:duration");
230 return s
? *s
: NULL
;
232 case SOAP_TYPE_KMS_CA_xsd__dateTime
:
234 s
= soap_in_xsd__dateTime(soap
, NULL
, NULL
, "xsd:dateTime");
235 return s
? *s
: NULL
;
237 case SOAP_TYPE_KMS_CA_xsd__string
:
239 s
= soap_in_xsd__string(soap
, NULL
, NULL
, "xsd:string");
240 return s
? *s
: NULL
;
242 case SOAP_TYPE_KMS_CA__QName
:
244 s
= soap_in__QName(soap
, NULL
, NULL
, "xsd:QName");
245 return s
? *s
: NULL
;
247 case SOAP_TYPE_KMS_CA_string
:
249 s
= soap_in_string(soap
, NULL
, NULL
, "xsd:string");
250 return s
? *s
: NULL
;
253 { const char *t
= soap
->type
;
256 if (!soap_match_tag(soap
, t
, "xsd:byte"))
257 { *type
= SOAP_TYPE_KMS_CA_byte
;
258 return soap_in_byte(soap
, NULL
, NULL
, NULL
);
260 if (!soap_match_tag(soap
, t
, "xsd:int"))
261 { *type
= SOAP_TYPE_KMS_CA_int
;
262 return soap_in_int(soap
, NULL
, NULL
, NULL
);
264 if (!soap_match_tag(soap
, t
, "xsd:int"))
265 { *type
= SOAP_TYPE_KMS_CA_xsd__int
;
266 return soap_in_xsd__int(soap
, NULL
, NULL
, NULL
);
268 if (!soap_match_tag(soap
, t
, "xsd:long"))
269 { *type
= SOAP_TYPE_KMS_CA_long
;
270 return soap_in_long(soap
, NULL
, NULL
, NULL
);
272 if (!soap_match_tag(soap
, t
, "xsd:long"))
273 { *type
= SOAP_TYPE_KMS_CA_xsd__long
;
274 return soap_in_xsd__long(soap
, NULL
, NULL
, NULL
);
276 if (!soap_match_tag(soap
, t
, "xsd:long"))
277 { *type
= SOAP_TYPE_KMS_CA_LONG64
;
278 return soap_in_LONG64(soap
, NULL
, NULL
, NULL
);
280 if (!soap_match_tag(soap
, t
, "xsd:float"))
281 { *type
= SOAP_TYPE_KMS_CA_xsd__float
;
282 return soap_in_xsd__float(soap
, NULL
, NULL
, NULL
);
284 if (!soap_match_tag(soap
, t
, "xsd:float"))
285 { *type
= SOAP_TYPE_KMS_CA_float
;
286 return soap_in_float(soap
, NULL
, NULL
, NULL
);
288 if (!soap_match_tag(soap
, t
, "xsd:unsignedByte"))
289 { *type
= SOAP_TYPE_KMS_CA_unsignedByte
;
290 return soap_in_unsignedByte(soap
, NULL
, NULL
, NULL
);
292 if (!soap_match_tag(soap
, t
, "xsd:unsignedInt"))
293 { *type
= SOAP_TYPE_KMS_CA_unsignedInt
;
294 return soap_in_unsignedInt(soap
, NULL
, NULL
, NULL
);
296 if (!soap_match_tag(soap
, t
, "xsd:boolean"))
297 { *type
= SOAP_TYPE_KMS_CA_xsd__boolean
;
298 return soap_in_xsd__boolean(soap
, NULL
, NULL
, NULL
);
300 if (!soap_match_tag(soap
, t
, "xsd:boolean"))
301 { *type
= SOAP_TYPE_KMS_CA_bool
;
302 return soap_in_bool(soap
, NULL
, NULL
, NULL
);
304 if (!soap_match_tag(soap
, t
, "KMS-CA:RetrieveLocalClock"))
305 { *type
= SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
;
306 return soap_in_KMS_CA__RetrieveLocalClock(soap
, NULL
, NULL
, NULL
);
308 if (!soap_match_tag(soap
, t
, "KMS-CA:RetrieveLocalClockResponse"))
309 { *type
= SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
;
310 return soap_in_KMS_CA__RetrieveLocalClockResponse(soap
, NULL
, NULL
, NULL
);
312 if (!soap_match_tag(soap
, t
, "KMS-CA:RetrieveRootCACertificate"))
313 { *type
= SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
;
314 return soap_in_KMS_CA__RetrieveRootCACertificate(soap
, NULL
, NULL
, NULL
);
316 if (!soap_match_tag(soap
, t
, "KMS-CA:RetrieveRootCACertificateResponse"))
317 { *type
= SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
;
318 return soap_in_KMS_CA__RetrieveRootCACertificateResponse(soap
, NULL
, NULL
, NULL
);
320 if (!soap_match_tag(soap
, t
, "xsd:hexBinary"))
321 { *type
= SOAP_TYPE_KMS_CA_xsd__hexBinary
;
322 return soap_in_xsd__hexBinary(soap
, NULL
, NULL
, NULL
);
324 if (!soap_match_tag(soap
, t
, "xsd:duration"))
326 *type
= SOAP_TYPE_KMS_CA_xsd__duration
;
327 s
= soap_in_xsd__duration(soap
, NULL
, NULL
, NULL
);
328 return s
? *s
: NULL
;
330 if (!soap_match_tag(soap
, t
, "xsd:dateTime"))
332 *type
= SOAP_TYPE_KMS_CA_xsd__dateTime
;
333 s
= soap_in_xsd__dateTime(soap
, NULL
, NULL
, NULL
);
334 return s
? *s
: NULL
;
336 if (!soap_match_tag(soap
, t
, "xsd:string"))
338 *type
= SOAP_TYPE_KMS_CA_xsd__string
;
339 s
= soap_in_xsd__string(soap
, NULL
, NULL
, NULL
);
340 return s
? *s
: NULL
;
342 if (!soap_match_tag(soap
, t
, "xsd:QName"))
344 *type
= SOAP_TYPE_KMS_CA__QName
;
345 s
= soap_in__QName(soap
, NULL
, NULL
, NULL
);
346 return s
? *s
: NULL
;
348 if (!soap_match_tag(soap
, t
, "xsd:string"))
350 *type
= SOAP_TYPE_KMS_CA_string
;
351 s
= soap_in_string(soap
, NULL
, NULL
, NULL
);
352 return s
? *s
: NULL
;
357 soap
->error
= SOAP_TAG_MISMATCH
;
362 SOAP_FMAC3
int SOAP_FMAC4
soap_ignore_element(struct soap
*soap
)
364 if (!soap_peek_element(soap
))
366 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Unexpected element '%s' in input (level=%u, %d)\n", soap
->tag
, soap
->level
, soap
->body
));
367 if (soap
->mustUnderstand
&& !soap
->other
)
368 return soap
->error
= SOAP_MUSTUNDERSTAND
;
369 if (((soap
->mode
& SOAP_XML_STRICT
) && soap
->part
!= SOAP_IN_HEADER
) || !soap_match_tag(soap
, soap
->tag
, "SOAP-ENV:"))
370 { DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "REJECTING element '%s'\n", soap
->tag
));
371 return soap
->error
= SOAP_TAG_MISMATCH
;
373 if (!*soap
->id
|| !soap_getelement(soap
, &t
))
376 soap
->error
= soap
->fignore(soap
, soap
->tag
);
378 soap
->error
= SOAP_OK
;
379 DBGLOG(TEST
, if (!soap
->error
) SOAP_MESSAGE(fdebug
, "IGNORING element '%s'\n", soap
->tag
));
380 if (!soap
->error
&& soap
->body
)
382 while (!soap_ignore_element(soap
))
384 if (soap
->error
== SOAP_NO_TAG
)
385 soap
->error
= soap_element_end_in(soap
, NULL
);
393 SOAP_FMAC3
int SOAP_FMAC4
soap_putindependent(struct soap
*soap
)
396 struct soap_plist
*pp
;
397 if (soap
->version
== 1 && soap
->encodingStyle
&& !(soap
->mode
& (SOAP_XML_TREE
| SOAP_XML_GRAPH
)))
398 for (i
= 0; i
< SOAP_PTRHASH
; i
++)
399 for (pp
= soap
->pht
[i
]; pp
; pp
= pp
->next
)
400 if (pp
->mark1
== 2 || pp
->mark2
== 2)
401 if (soap_putelement(soap
, pp
->ptr
, "id", pp
->id
, pp
->type
))
408 SOAP_FMAC3
int SOAP_FMAC4
soap_putelement(struct soap
*soap
, const void *ptr
, const char *tag
, int id
, int type
)
412 case SOAP_TYPE_KMS_CA_byte
:
413 return soap_out_byte(soap
, tag
, id
, (const char *)ptr
, "xsd:byte");
414 case SOAP_TYPE_KMS_CA_int
:
415 return soap_out_int(soap
, tag
, id
, (const int *)ptr
, "xsd:int");
416 case SOAP_TYPE_KMS_CA_xsd__int
:
417 return soap_out_xsd__int(soap
, tag
, id
, (const long *)ptr
, "xsd:int");
418 case SOAP_TYPE_KMS_CA_long
:
419 return soap_out_long(soap
, tag
, id
, (const long *)ptr
, "xsd:long");
420 case SOAP_TYPE_KMS_CA_xsd__long
:
421 return soap_out_xsd__long(soap
, tag
, id
, (const LONG64
*)ptr
, "xsd:long");
422 case SOAP_TYPE_KMS_CA_LONG64
:
423 return soap_out_LONG64(soap
, tag
, id
, (const LONG64
*)ptr
, "xsd:long");
424 case SOAP_TYPE_KMS_CA_xsd__float
:
425 return soap_out_xsd__float(soap
, tag
, id
, (const float *)ptr
, "xsd:float");
426 case SOAP_TYPE_KMS_CA_float
:
427 return soap_out_float(soap
, tag
, id
, (const float *)ptr
, "xsd:float");
428 case SOAP_TYPE_KMS_CA_unsignedByte
:
429 return soap_out_unsignedByte(soap
, tag
, id
, (const unsigned char *)ptr
, "xsd:unsignedByte");
430 case SOAP_TYPE_KMS_CA_unsignedInt
:
431 return soap_out_unsignedInt(soap
, tag
, id
, (const unsigned int *)ptr
, "xsd:unsignedInt");
432 case SOAP_TYPE_KMS_CA_xsd__boolean
:
433 return soap_out_xsd__boolean(soap
, tag
, id
, (const bool *)ptr
, "xsd:boolean");
434 case SOAP_TYPE_KMS_CA_bool
:
435 return soap_out_bool(soap
, tag
, id
, (const bool *)ptr
, "xsd:boolean");
436 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
:
437 return soap_out_KMS_CA__RetrieveLocalClock(soap
, tag
, id
, (const struct KMS_CA__RetrieveLocalClock
*)ptr
, "KMS-CA:RetrieveLocalClock");
438 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
:
439 return soap_out_KMS_CA__RetrieveLocalClockResponse(soap
, tag
, id
, (const struct KMS_CA__RetrieveLocalClockResponse
*)ptr
, "KMS-CA:RetrieveLocalClockResponse");
440 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
:
441 return soap_out_KMS_CA__RetrieveRootCACertificate(soap
, tag
, id
, (const struct KMS_CA__RetrieveRootCACertificate
*)ptr
, "KMS-CA:RetrieveRootCACertificate");
442 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
:
443 return soap_out_KMS_CA__RetrieveRootCACertificateResponse(soap
, tag
, id
, (const struct KMS_CA__RetrieveRootCACertificateResponse
*)ptr
, "KMS-CA:RetrieveRootCACertificateResponse");
444 case SOAP_TYPE_KMS_CA_xsd__hexBinary
:
445 return soap_out_xsd__hexBinary(soap
, tag
, id
, (const struct xsd__hexBinary
*)ptr
, "xsd:hexBinary");
446 case SOAP_TYPE_KMS_CA_PointerTounsignedByte
:
447 return soap_out_PointerTounsignedByte(soap
, tag
, id
, (unsigned char *const*)ptr
, "xsd:unsignedByte");
448 case SOAP_TYPE_KMS_CA_xsd__duration
:
449 return soap_out_string(soap
, tag
, id
, (char*const*)&ptr
, "xsd:duration");
450 case SOAP_TYPE_KMS_CA_xsd__dateTime
:
451 return soap_out_string(soap
, tag
, id
, (char*const*)&ptr
, "xsd:dateTime");
452 case SOAP_TYPE_KMS_CA_xsd__string
:
453 return soap_out_string(soap
, tag
, id
, (char*const*)&ptr
, "xsd:string");
454 case SOAP_TYPE_KMS_CA__QName
:
455 return soap_out_string(soap
, tag
, id
, (char*const*)&ptr
, "xsd:QName");
456 case SOAP_TYPE_KMS_CA_string
:
457 return soap_out_string(soap
, tag
, id
, (char*const*)&ptr
, "xsd:string");
464 SOAP_FMAC3
void SOAP_FMAC4
soap_markelement(struct soap
*soap
, const void *ptr
, int type
)
466 (void)soap
; (void)ptr
; (void)type
; /* appease -Wall -Werror */
469 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
:
470 soap_serialize_KMS_CA__RetrieveLocalClock(soap
, (const struct KMS_CA__RetrieveLocalClock
*)ptr
);
472 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
:
473 soap_serialize_KMS_CA__RetrieveLocalClockResponse(soap
, (const struct KMS_CA__RetrieveLocalClockResponse
*)ptr
);
475 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
:
476 soap_serialize_KMS_CA__RetrieveRootCACertificate(soap
, (const struct KMS_CA__RetrieveRootCACertificate
*)ptr
);
478 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
:
479 soap_serialize_KMS_CA__RetrieveRootCACertificateResponse(soap
, (const struct KMS_CA__RetrieveRootCACertificateResponse
*)ptr
);
481 case SOAP_TYPE_KMS_CA_xsd__hexBinary
:
482 soap_serialize_xsd__hexBinary(soap
, (const struct xsd__hexBinary
*)ptr
);
484 case SOAP_TYPE_KMS_CA_PointerTounsignedByte
:
485 soap_serialize_PointerTounsignedByte(soap
, (unsigned char *const*)ptr
);
487 case SOAP_TYPE_KMS_CA_xsd__duration
:
488 soap_serialize_string(soap
, (char*const*)&ptr
);
490 case SOAP_TYPE_KMS_CA_xsd__dateTime
:
491 soap_serialize_string(soap
, (char*const*)&ptr
);
493 case SOAP_TYPE_KMS_CA_xsd__string
:
494 soap_serialize_string(soap
, (char*const*)&ptr
);
496 case SOAP_TYPE_KMS_CA__QName
:
497 soap_serialize_string(soap
, (char*const*)&ptr
);
499 case SOAP_TYPE_KMS_CA_string
:
500 soap_serialize_string(soap
, (char*const*)&ptr
);
506 SOAP_FMAC3
void * SOAP_FMAC4
soap_instantiate(struct soap
*soap
, int t
, const char *type
, const char *arrayType
, size_t *n
)
510 case SOAP_TYPE_KMS_CA_xsd__hexBinary
:
511 return (void*)soap_instantiate_xsd__hexBinary(soap
, -1, type
, arrayType
, n
);
512 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
:
513 return (void*)soap_instantiate_KMS_CA__RetrieveRootCACertificateResponse(soap
, -1, type
, arrayType
, n
);
514 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
:
515 return (void*)soap_instantiate_KMS_CA__RetrieveRootCACertificate(soap
, -1, type
, arrayType
, n
);
516 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
:
517 return (void*)soap_instantiate_KMS_CA__RetrieveLocalClockResponse(soap
, -1, type
, arrayType
, n
);
518 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
:
519 return (void*)soap_instantiate_KMS_CA__RetrieveLocalClock(soap
, -1, type
, arrayType
, n
);
520 #ifndef WITH_NOGLOBAL
521 case SOAP_TYPE_KMS_CA_SOAP_ENV__Header
:
522 return (void*)soap_instantiate_SOAP_ENV__Header(soap
, -1, type
, arrayType
, n
);
524 #ifndef WITH_NOGLOBAL
525 case SOAP_TYPE_KMS_CA_SOAP_ENV__Code
:
526 return (void*)soap_instantiate_SOAP_ENV__Code(soap
, -1, type
, arrayType
, n
);
528 #ifndef WITH_NOGLOBAL
529 case SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
:
530 return (void*)soap_instantiate_SOAP_ENV__Detail(soap
, -1, type
, arrayType
, n
);
532 #ifndef WITH_NOGLOBAL
533 case SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
:
534 return (void*)soap_instantiate_SOAP_ENV__Reason(soap
, -1, type
, arrayType
, n
);
536 #ifndef WITH_NOGLOBAL
537 case SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
:
538 return (void*)soap_instantiate_SOAP_ENV__Fault(soap
, -1, type
, arrayType
, n
);
544 SOAP_FMAC3
int SOAP_FMAC4
soap_fdelete(struct soap_clist
*p
)
547 case SOAP_TYPE_KMS_CA_xsd__hexBinary
:
549 SOAP_DELETE((struct xsd__hexBinary
*)p
->ptr
);
551 SOAP_DELETE_ARRAY((struct xsd__hexBinary
*)p
->ptr
);
553 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
:
555 SOAP_DELETE((struct KMS_CA__RetrieveRootCACertificateResponse
*)p
->ptr
);
557 SOAP_DELETE_ARRAY((struct KMS_CA__RetrieveRootCACertificateResponse
*)p
->ptr
);
559 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
:
561 SOAP_DELETE((struct KMS_CA__RetrieveRootCACertificate
*)p
->ptr
);
563 SOAP_DELETE_ARRAY((struct KMS_CA__RetrieveRootCACertificate
*)p
->ptr
);
565 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
:
567 SOAP_DELETE((struct KMS_CA__RetrieveLocalClockResponse
*)p
->ptr
);
569 SOAP_DELETE_ARRAY((struct KMS_CA__RetrieveLocalClockResponse
*)p
->ptr
);
571 case SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
:
573 SOAP_DELETE((struct KMS_CA__RetrieveLocalClock
*)p
->ptr
);
575 SOAP_DELETE_ARRAY((struct KMS_CA__RetrieveLocalClock
*)p
->ptr
);
577 case SOAP_TYPE_KMS_CA_SOAP_ENV__Header
:
579 SOAP_DELETE((struct SOAP_ENV__Header
*)p
->ptr
);
581 SOAP_DELETE_ARRAY((struct SOAP_ENV__Header
*)p
->ptr
);
583 case SOAP_TYPE_KMS_CA_SOAP_ENV__Code
:
585 SOAP_DELETE((struct SOAP_ENV__Code
*)p
->ptr
);
587 SOAP_DELETE_ARRAY((struct SOAP_ENV__Code
*)p
->ptr
);
589 case SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
:
591 SOAP_DELETE((struct SOAP_ENV__Detail
*)p
->ptr
);
593 SOAP_DELETE_ARRAY((struct SOAP_ENV__Detail
*)p
->ptr
);
595 case SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
:
597 SOAP_DELETE((struct SOAP_ENV__Reason
*)p
->ptr
);
599 SOAP_DELETE_ARRAY((struct SOAP_ENV__Reason
*)p
->ptr
);
601 case SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
:
603 SOAP_DELETE((struct SOAP_ENV__Fault
*)p
->ptr
);
605 SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault
*)p
->ptr
);
607 default: return SOAP_ERR
;
612 SOAP_FMAC3
void* SOAP_FMAC4
soap_class_id_enter(struct soap
*soap
, const char *id
, void *p
, int t
, size_t n
, const char *type
, const char *arrayType
)
613 { return soap_id_enter(soap
, id
, p
, t
, n
, 0, type
, arrayType
, soap_instantiate
);
616 SOAP_FMAC3
void SOAP_FMAC4
soap_default_byte(struct soap
*soap
, char *a
)
618 (void)soap
; /* appease -Wall -Werror */
619 #ifdef SOAP_DEFAULT_byte
620 *a
= SOAP_DEFAULT_byte
;
626 SOAP_FMAC3
int SOAP_FMAC4
soap_out_byte(struct soap
*soap
, const char *tag
, int id
, const char *a
, const char *type
)
628 return soap_outbyte(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_byte
);
631 SOAP_FMAC3
char * SOAP_FMAC4
soap_in_byte(struct soap
*soap
, const char *tag
, char *a
, const char *type
)
633 p
= soap_inbyte(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_byte
);
637 SOAP_FMAC3
int SOAP_FMAC4
soap_put_byte(struct soap
*soap
, const char *a
, const char *tag
, const char *type
)
639 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_byte
);
640 if (soap_out_byte(soap
, tag
?tag
:"byte", id
, a
, type
))
642 return soap_putindependent(soap
);
645 SOAP_FMAC3
char * SOAP_FMAC4
soap_get_byte(struct soap
*soap
, char *p
, const char *tag
, const char *type
)
647 if ((p
= soap_in_byte(soap
, tag
, p
, type
)))
648 if (soap_getindependent(soap
))
653 SOAP_FMAC3
void SOAP_FMAC4
soap_default_int(struct soap
*soap
, int *a
)
655 (void)soap
; /* appease -Wall -Werror */
656 #ifdef SOAP_DEFAULT_int
657 *a
= SOAP_DEFAULT_int
;
663 SOAP_FMAC3
int SOAP_FMAC4
soap_out_int(struct soap
*soap
, const char *tag
, int id
, const int *a
, const char *type
)
665 return soap_outint(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_int
);
668 SOAP_FMAC3
int * SOAP_FMAC4
soap_in_int(struct soap
*soap
, const char *tag
, int *a
, const char *type
)
670 p
= soap_inint(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_int
);
674 SOAP_FMAC3
int SOAP_FMAC4
soap_put_int(struct soap
*soap
, const int *a
, const char *tag
, const char *type
)
676 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_int
);
677 if (soap_out_int(soap
, tag
?tag
:"int", id
, a
, type
))
679 return soap_putindependent(soap
);
682 SOAP_FMAC3
int * SOAP_FMAC4
soap_get_int(struct soap
*soap
, int *p
, const char *tag
, const char *type
)
684 if ((p
= soap_in_int(soap
, tag
, p
, type
)))
685 if (soap_getindependent(soap
))
690 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__int(struct soap
*soap
, const char *tag
, int id
, const long *a
, const char *type
)
692 return soap_outlong(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__int
);
695 SOAP_FMAC3
long * SOAP_FMAC4
soap_in_xsd__int(struct soap
*soap
, const char *tag
, long *a
, const char *type
)
697 p
= soap_inlong(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__int
);
701 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__int(struct soap
*soap
, const long *a
, const char *tag
, const char *type
)
703 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__int
);
704 if (soap_out_xsd__int(soap
, tag
?tag
:"xsd:int", id
, a
, type
))
706 return soap_putindependent(soap
);
709 SOAP_FMAC3
long * SOAP_FMAC4
soap_get_xsd__int(struct soap
*soap
, long *p
, const char *tag
, const char *type
)
711 if ((p
= soap_in_xsd__int(soap
, tag
, p
, type
)))
712 if (soap_getindependent(soap
))
717 SOAP_FMAC3
void SOAP_FMAC4
soap_default_long(struct soap
*soap
, long *a
)
719 (void)soap
; /* appease -Wall -Werror */
720 #ifdef SOAP_DEFAULT_long
721 *a
= SOAP_DEFAULT_long
;
727 SOAP_FMAC3
int SOAP_FMAC4
soap_out_long(struct soap
*soap
, const char *tag
, int id
, const long *a
, const char *type
)
729 return soap_outlong(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_long
);
732 SOAP_FMAC3
long * SOAP_FMAC4
soap_in_long(struct soap
*soap
, const char *tag
, long *a
, const char *type
)
734 p
= soap_inlong(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_long
);
738 SOAP_FMAC3
int SOAP_FMAC4
soap_put_long(struct soap
*soap
, const long *a
, const char *tag
, const char *type
)
740 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_long
);
741 if (soap_out_long(soap
, tag
?tag
:"long", id
, a
, type
))
743 return soap_putindependent(soap
);
746 SOAP_FMAC3
long * SOAP_FMAC4
soap_get_long(struct soap
*soap
, long *p
, const char *tag
, const char *type
)
748 if ((p
= soap_in_long(soap
, tag
, p
, type
)))
749 if (soap_getindependent(soap
))
754 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__long(struct soap
*soap
, const char *tag
, int id
, const LONG64
*a
, const char *type
)
756 return soap_outLONG64(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__long
);
759 SOAP_FMAC3 LONG64
* SOAP_FMAC4
soap_in_xsd__long(struct soap
*soap
, const char *tag
, LONG64
*a
, const char *type
)
761 p
= soap_inLONG64(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__long
);
765 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__long(struct soap
*soap
, const LONG64
*a
, const char *tag
, const char *type
)
767 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__long
);
768 if (soap_out_xsd__long(soap
, tag
?tag
:"xsd:long", id
, a
, type
))
770 return soap_putindependent(soap
);
773 SOAP_FMAC3 LONG64
* SOAP_FMAC4
soap_get_xsd__long(struct soap
*soap
, LONG64
*p
, const char *tag
, const char *type
)
775 if ((p
= soap_in_xsd__long(soap
, tag
, p
, type
)))
776 if (soap_getindependent(soap
))
781 SOAP_FMAC3
void SOAP_FMAC4
soap_default_LONG64(struct soap
*soap
, LONG64
*a
)
783 (void)soap
; /* appease -Wall -Werror */
784 #ifdef SOAP_DEFAULT_LONG64
785 *a
= SOAP_DEFAULT_LONG64
;
791 SOAP_FMAC3
int SOAP_FMAC4
soap_out_LONG64(struct soap
*soap
, const char *tag
, int id
, const LONG64
*a
, const char *type
)
793 return soap_outLONG64(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_LONG64
);
796 SOAP_FMAC3 LONG64
* SOAP_FMAC4
soap_in_LONG64(struct soap
*soap
, const char *tag
, LONG64
*a
, const char *type
)
798 p
= soap_inLONG64(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_LONG64
);
802 SOAP_FMAC3
int SOAP_FMAC4
soap_put_LONG64(struct soap
*soap
, const LONG64
*a
, const char *tag
, const char *type
)
804 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_LONG64
);
805 if (soap_out_LONG64(soap
, tag
?tag
:"long", id
, a
, type
))
807 return soap_putindependent(soap
);
810 SOAP_FMAC3 LONG64
* SOAP_FMAC4
soap_get_LONG64(struct soap
*soap
, LONG64
*p
, const char *tag
, const char *type
)
812 if ((p
= soap_in_LONG64(soap
, tag
, p
, type
)))
813 if (soap_getindependent(soap
))
818 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__float(struct soap
*soap
, const char *tag
, int id
, const float *a
, const char *type
)
820 return soap_outfloat(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__float
);
823 SOAP_FMAC3
float * SOAP_FMAC4
soap_in_xsd__float(struct soap
*soap
, const char *tag
, float *a
, const char *type
)
825 p
= soap_infloat(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__float
);
829 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__float(struct soap
*soap
, const float *a
, const char *tag
, const char *type
)
831 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__float
);
832 if (soap_out_xsd__float(soap
, tag
?tag
:"xsd:float", id
, a
, type
))
834 return soap_putindependent(soap
);
837 SOAP_FMAC3
float * SOAP_FMAC4
soap_get_xsd__float(struct soap
*soap
, float *p
, const char *tag
, const char *type
)
839 if ((p
= soap_in_xsd__float(soap
, tag
, p
, type
)))
840 if (soap_getindependent(soap
))
845 SOAP_FMAC3
void SOAP_FMAC4
soap_default_float(struct soap
*soap
, float *a
)
847 (void)soap
; /* appease -Wall -Werror */
848 #ifdef SOAP_DEFAULT_float
849 *a
= SOAP_DEFAULT_float
;
855 SOAP_FMAC3
int SOAP_FMAC4
soap_out_float(struct soap
*soap
, const char *tag
, int id
, const float *a
, const char *type
)
857 return soap_outfloat(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_float
);
860 SOAP_FMAC3
float * SOAP_FMAC4
soap_in_float(struct soap
*soap
, const char *tag
, float *a
, const char *type
)
862 p
= soap_infloat(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_float
);
866 SOAP_FMAC3
int SOAP_FMAC4
soap_put_float(struct soap
*soap
, const float *a
, const char *tag
, const char *type
)
868 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_float
);
869 if (soap_out_float(soap
, tag
?tag
:"float", id
, a
, type
))
871 return soap_putindependent(soap
);
874 SOAP_FMAC3
float * SOAP_FMAC4
soap_get_float(struct soap
*soap
, float *p
, const char *tag
, const char *type
)
876 if ((p
= soap_in_float(soap
, tag
, p
, type
)))
877 if (soap_getindependent(soap
))
882 SOAP_FMAC3
void SOAP_FMAC4
soap_default_unsignedByte(struct soap
*soap
, unsigned char *a
)
884 (void)soap
; /* appease -Wall -Werror */
885 #ifdef SOAP_DEFAULT_unsignedByte
886 *a
= SOAP_DEFAULT_unsignedByte
;
888 *a
= (unsigned char)0;
892 SOAP_FMAC3
int SOAP_FMAC4
soap_out_unsignedByte(struct soap
*soap
, const char *tag
, int id
, const unsigned char *a
, const char *type
)
894 return soap_outunsignedByte(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_unsignedByte
);
897 SOAP_FMAC3
unsigned char * SOAP_FMAC4
soap_in_unsignedByte(struct soap
*soap
, const char *tag
, unsigned char *a
, const char *type
)
899 p
= soap_inunsignedByte(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_unsignedByte
);
903 SOAP_FMAC3
int SOAP_FMAC4
soap_put_unsignedByte(struct soap
*soap
, const unsigned char *a
, const char *tag
, const char *type
)
905 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_unsignedByte
);
906 if (soap_out_unsignedByte(soap
, tag
?tag
:"unsignedByte", id
, a
, type
))
908 return soap_putindependent(soap
);
911 SOAP_FMAC3
unsigned char * SOAP_FMAC4
soap_get_unsignedByte(struct soap
*soap
, unsigned char *p
, const char *tag
, const char *type
)
913 if ((p
= soap_in_unsignedByte(soap
, tag
, p
, type
)))
914 if (soap_getindependent(soap
))
919 SOAP_FMAC3
void SOAP_FMAC4
soap_default_unsignedInt(struct soap
*soap
, unsigned int *a
)
921 (void)soap
; /* appease -Wall -Werror */
922 #ifdef SOAP_DEFAULT_unsignedInt
923 *a
= SOAP_DEFAULT_unsignedInt
;
925 *a
= (unsigned int)0;
929 SOAP_FMAC3
int SOAP_FMAC4
soap_out_unsignedInt(struct soap
*soap
, const char *tag
, int id
, const unsigned int *a
, const char *type
)
931 return soap_outunsignedInt(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_unsignedInt
);
934 SOAP_FMAC3
unsigned int * SOAP_FMAC4
soap_in_unsignedInt(struct soap
*soap
, const char *tag
, unsigned int *a
, const char *type
)
936 p
= soap_inunsignedInt(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_unsignedInt
);
940 SOAP_FMAC3
int SOAP_FMAC4
soap_put_unsignedInt(struct soap
*soap
, const unsigned int *a
, const char *tag
, const char *type
)
942 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_unsignedInt
);
943 if (soap_out_unsignedInt(soap
, tag
?tag
:"unsignedInt", id
, a
, type
))
945 return soap_putindependent(soap
);
948 SOAP_FMAC3
unsigned int * SOAP_FMAC4
soap_get_unsignedInt(struct soap
*soap
, unsigned int *p
, const char *tag
, const char *type
)
950 if ((p
= soap_in_unsignedInt(soap
, tag
, p
, type
)))
951 if (soap_getindependent(soap
))
956 SOAP_FMAC3S
const char* SOAP_FMAC4S
soap_xsd__boolean2s(struct soap
*soap
, bool n
)
957 { return soap_bool2s(soap
, n
);
960 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__boolean(struct soap
*soap
, const char *tag
, int id
, const bool *a
, const char *type
)
961 { if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_xsd__boolean
), type
) || soap_send(soap
, soap_xsd__boolean2s(soap
, *a
)))
963 return soap_element_end_out(soap
, tag
);
966 SOAP_FMAC3S
int SOAP_FMAC4S
soap_s2xsd__boolean(struct soap
*soap
, const char *s
, bool *a
)
968 return soap_s2bool(soap
, s
, a
);
971 SOAP_FMAC3
bool * SOAP_FMAC4
soap_in_xsd__boolean(struct soap
*soap
, const char *tag
, bool *a
, const char *type
)
973 if (soap_element_begin_in(soap
, tag
, 0, NULL
))
975 if (*soap
->type
&& soap_match_tag(soap
, soap
->type
, type
) && soap_match_tag(soap
, soap
->type
, ":boolean"))
976 { soap
->error
= SOAP_TYPE
;
979 a
= (bool *)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_xsd__boolean
, sizeof(bool), 0, NULL
, NULL
, NULL
);
982 if (soap
->body
&& !*soap
->href
)
983 { if (!a
|| soap_s2xsd__boolean(soap
, soap_value(soap
), a
) || soap_element_end_in(soap
, tag
))
987 { a
= (bool *)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_xsd__boolean
, 0, sizeof(bool), 0, NULL
);
988 if (soap
->body
&& soap_element_end_in(soap
, tag
))
994 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__boolean(struct soap
*soap
, const bool *a
, const char *tag
, const char *type
)
996 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__boolean
);
997 if (soap_out_xsd__boolean(soap
, tag
?tag
:"xsd:boolean", id
, a
, type
))
999 return soap_putindependent(soap
);
1002 SOAP_FMAC3
bool * SOAP_FMAC4
soap_get_xsd__boolean(struct soap
*soap
, bool *p
, const char *tag
, const char *type
)
1004 if ((p
= soap_in_xsd__boolean(soap
, tag
, p
, type
)))
1005 if (soap_getindependent(soap
))
1010 SOAP_FMAC3
void SOAP_FMAC4
soap_default_bool(struct soap
*soap
, bool *a
)
1012 (void)soap
; /* appease -Wall -Werror */
1013 #ifdef SOAP_DEFAULT_bool
1014 *a
= SOAP_DEFAULT_bool
;
1020 static const struct soap_code_map soap_codes_bool
[] =
1021 { { (long)false, "false" },
1022 { (long)true, "true" },
1026 SOAP_FMAC3S
const char* SOAP_FMAC4S
soap_bool2s(struct soap
*soap
, bool n
)
1028 (void)soap
; /* appease -Wall -Werror */
1029 return soap_code_str(soap_codes_bool
, n
!=0);
1032 SOAP_FMAC3
int SOAP_FMAC4
soap_out_bool(struct soap
*soap
, const char *tag
, int id
, const bool *a
, const char *type
)
1033 { if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_bool
), type
) || soap_send(soap
, soap_bool2s(soap
, *a
)))
1035 return soap_element_end_out(soap
, tag
);
1038 SOAP_FMAC3S
int SOAP_FMAC4S
soap_s2bool(struct soap
*soap
, const char *s
, bool *a
)
1040 const struct soap_code_map
*map
;
1043 map
= soap_code(soap_codes_bool
, s
);
1045 *a
= (bool)(map
->code
!= 0);
1048 if (soap_s2long(soap
, s
, &n
) || n
< 0 || n
> 1)
1049 return soap
->error
= SOAP_TYPE
;
1050 *a
= (bool)(n
!= 0);
1055 SOAP_FMAC3
bool * SOAP_FMAC4
soap_in_bool(struct soap
*soap
, const char *tag
, bool *a
, const char *type
)
1057 if (soap_element_begin_in(soap
, tag
, 0, NULL
))
1059 if (*soap
->type
&& soap_match_tag(soap
, soap
->type
, type
) && soap_match_tag(soap
, soap
->type
, ":boolean"))
1060 { soap
->error
= SOAP_TYPE
;
1063 a
= (bool *)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_bool
, sizeof(bool), 0, NULL
, NULL
, NULL
);
1066 if (soap
->body
&& !*soap
->href
)
1067 { if (!a
|| soap_s2bool(soap
, soap_value(soap
), a
) || soap_element_end_in(soap
, tag
))
1071 { a
= (bool *)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_bool
, 0, sizeof(bool), 0, NULL
);
1072 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1078 SOAP_FMAC3
int SOAP_FMAC4
soap_put_bool(struct soap
*soap
, const bool *a
, const char *tag
, const char *type
)
1080 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_bool
);
1081 if (soap_out_bool(soap
, tag
?tag
:"boolean", id
, a
, type
))
1083 return soap_putindependent(soap
);
1086 SOAP_FMAC3
bool * SOAP_FMAC4
soap_get_bool(struct soap
*soap
, bool *p
, const char *tag
, const char *type
)
1088 if ((p
= soap_in_bool(soap
, tag
, p
, type
)))
1089 if (soap_getindependent(soap
))
1094 #ifndef WITH_NOGLOBAL
1096 SOAP_FMAC3
void SOAP_FMAC4
soap_default_SOAP_ENV__Fault(struct soap
*soap
, struct SOAP_ENV__Fault
*a
)
1098 (void)soap
; (void)a
; /* appease -Wall -Werror */
1099 soap_default__QName(soap
, &a
->faultcode
);
1100 soap_default_string(soap
, &a
->faultstring
);
1101 soap_default_string(soap
, &a
->faultactor
);
1103 a
->SOAP_ENV__Code
= NULL
;
1104 a
->SOAP_ENV__Reason
= NULL
;
1105 soap_default_string(soap
, &a
->SOAP_ENV__Node
);
1106 soap_default_string(soap
, &a
->SOAP_ENV__Role
);
1107 a
->SOAP_ENV__Detail
= NULL
;
1110 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_SOAP_ENV__Fault(struct soap
*soap
, const struct SOAP_ENV__Fault
*a
)
1112 (void)soap
; (void)a
; /* appease -Wall -Werror */
1113 soap_serialize__QName(soap
, &a
->faultcode
);
1114 soap_serialize_string(soap
, &a
->faultstring
);
1115 soap_serialize_string(soap
, &a
->faultactor
);
1116 soap_serialize_PointerToSOAP_ENV__Detail(soap
, &a
->detail
);
1117 soap_serialize_PointerToSOAP_ENV__Code(soap
, &a
->SOAP_ENV__Code
);
1118 soap_serialize_PointerToSOAP_ENV__Reason(soap
, &a
->SOAP_ENV__Reason
);
1119 soap_serialize_string(soap
, &a
->SOAP_ENV__Node
);
1120 soap_serialize_string(soap
, &a
->SOAP_ENV__Role
);
1121 soap_serialize_PointerToSOAP_ENV__Detail(soap
, &a
->SOAP_ENV__Detail
);
1124 SOAP_FMAC3
int SOAP_FMAC4
soap_out_SOAP_ENV__Fault(struct soap
*soap
, const char *tag
, int id
, const struct SOAP_ENV__Fault
*a
, const char *type
)
1126 const char *soap_tmp_faultcode
= soap_QName2s(soap
, a
->faultcode
);
1127 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
), type
))
1129 if (soap_out__QName(soap
, "faultcode", -1, (char*const*)&soap_tmp_faultcode
, ""))
1131 if (soap_out_string(soap
, "faultstring", -1, &a
->faultstring
, "xsd:string"))
1133 if (soap_out_string(soap
, "faultactor", -1, &a
->faultactor
, "xsd:string"))
1135 if (soap_out_PointerToSOAP_ENV__Detail(soap
, "detail", -1, &a
->detail
, ""))
1137 if (soap_out_PointerToSOAP_ENV__Code(soap
, "SOAP-ENV:Code", -1, &a
->SOAP_ENV__Code
, ""))
1139 if (soap_out_PointerToSOAP_ENV__Reason(soap
, "SOAP-ENV:Reason", -1, &a
->SOAP_ENV__Reason
, ""))
1141 if (soap_out_string(soap
, "SOAP-ENV:Node", -1, &a
->SOAP_ENV__Node
, ""))
1143 if (soap_out_string(soap
, "SOAP-ENV:Role", -1, &a
->SOAP_ENV__Role
, ""))
1145 if (soap_out_PointerToSOAP_ENV__Detail(soap
, "SOAP-ENV:Detail", -1, &a
->SOAP_ENV__Detail
, ""))
1147 return soap_element_end_out(soap
, tag
);
1150 SOAP_FMAC3
struct SOAP_ENV__Fault
* SOAP_FMAC4
soap_in_SOAP_ENV__Fault(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Fault
*a
, const char *type
)
1152 size_t soap_flag_faultcode
= 1;
1153 size_t soap_flag_faultstring
= 1;
1154 size_t soap_flag_faultactor
= 1;
1155 size_t soap_flag_detail
= 1;
1156 size_t soap_flag_SOAP_ENV__Code
= 1;
1157 size_t soap_flag_SOAP_ENV__Reason
= 1;
1158 size_t soap_flag_SOAP_ENV__Node
= 1;
1159 size_t soap_flag_SOAP_ENV__Role
= 1;
1160 size_t soap_flag_SOAP_ENV__Detail
= 1;
1161 if (soap_element_begin_in(soap
, tag
, 0, type
))
1163 a
= (struct SOAP_ENV__Fault
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
, sizeof(struct SOAP_ENV__Fault
), 0, NULL
, NULL
, NULL
);
1166 soap_default_SOAP_ENV__Fault(soap
, a
);
1167 if (soap
->body
&& !*soap
->href
)
1170 { soap
->error
= SOAP_TAG_MISMATCH
;
1171 if (soap_flag_faultcode
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1172 if (soap_in__QName(soap
, "faultcode", &a
->faultcode
, ""))
1173 { soap_flag_faultcode
--;
1176 if (soap_flag_faultstring
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1177 if (soap_in_string(soap
, "faultstring", &a
->faultstring
, "xsd:string"))
1178 { soap_flag_faultstring
--;
1181 if (soap_flag_faultactor
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1182 if (soap_in_string(soap
, "faultactor", &a
->faultactor
, "xsd:string"))
1183 { soap_flag_faultactor
--;
1186 if (soap_flag_detail
&& soap
->error
== SOAP_TAG_MISMATCH
)
1187 if (soap_in_PointerToSOAP_ENV__Detail(soap
, "detail", &a
->detail
, ""))
1188 { soap_flag_detail
--;
1191 if (soap_flag_SOAP_ENV__Code
&& soap
->error
== SOAP_TAG_MISMATCH
)
1192 if (soap_in_PointerToSOAP_ENV__Code(soap
, "SOAP-ENV:Code", &a
->SOAP_ENV__Code
, ""))
1193 { soap_flag_SOAP_ENV__Code
--;
1196 if (soap_flag_SOAP_ENV__Reason
&& soap
->error
== SOAP_TAG_MISMATCH
)
1197 if (soap_in_PointerToSOAP_ENV__Reason(soap
, "SOAP-ENV:Reason", &a
->SOAP_ENV__Reason
, ""))
1198 { soap_flag_SOAP_ENV__Reason
--;
1201 if (soap_flag_SOAP_ENV__Node
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1202 if (soap_in_string(soap
, "SOAP-ENV:Node", &a
->SOAP_ENV__Node
, "xsd:string"))
1203 { soap_flag_SOAP_ENV__Node
--;
1206 if (soap_flag_SOAP_ENV__Role
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1207 if (soap_in_string(soap
, "SOAP-ENV:Role", &a
->SOAP_ENV__Role
, "xsd:string"))
1208 { soap_flag_SOAP_ENV__Role
--;
1211 if (soap_flag_SOAP_ENV__Detail
&& soap
->error
== SOAP_TAG_MISMATCH
)
1212 if (soap_in_PointerToSOAP_ENV__Detail(soap
, "SOAP-ENV:Detail", &a
->SOAP_ENV__Detail
, ""))
1213 { soap_flag_SOAP_ENV__Detail
--;
1216 if (soap
->error
== SOAP_TAG_MISMATCH
)
1217 soap
->error
= soap_ignore_element(soap
);
1218 if (soap
->error
== SOAP_NO_TAG
)
1223 if (soap_element_end_in(soap
, tag
))
1227 { a
= (struct SOAP_ENV__Fault
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
, 0, sizeof(struct SOAP_ENV__Fault
), 0, NULL
);
1228 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1234 SOAP_FMAC3
int SOAP_FMAC4
soap_put_SOAP_ENV__Fault(struct soap
*soap
, const struct SOAP_ENV__Fault
*a
, const char *tag
, const char *type
)
1236 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
);
1237 if (soap_out_SOAP_ENV__Fault(soap
, tag
?tag
:"SOAP-ENV:Fault", id
, a
, type
))
1239 return soap_putindependent(soap
);
1242 SOAP_FMAC3
struct SOAP_ENV__Fault
* SOAP_FMAC4
soap_get_SOAP_ENV__Fault(struct soap
*soap
, struct SOAP_ENV__Fault
*p
, const char *tag
, const char *type
)
1244 if ((p
= soap_in_SOAP_ENV__Fault(soap
, tag
, p
, type
)))
1245 if (soap_getindependent(soap
))
1250 SOAP_FMAC1
struct SOAP_ENV__Fault
* SOAP_FMAC2
soap_instantiate_SOAP_ENV__Fault(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1252 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1253 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_SOAP_ENV__Fault(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1254 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_SOAP_ENV__Fault
, n
, soap_fdelete
);
1258 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Fault
);
1260 *size
= sizeof(struct SOAP_ENV__Fault
);
1263 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Fault
[n
]);
1265 { soap
->error
= SOAP_EOM
;
1269 *size
= n
* sizeof(struct SOAP_ENV__Fault
);
1271 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1272 return (struct SOAP_ENV__Fault
*)cp
->ptr
;
1275 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_SOAP_ENV__Fault(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1277 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1278 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct SOAP_ENV__Fault %p -> %p\n", q
, p
));
1279 *(struct SOAP_ENV__Fault
*)p
= *(struct SOAP_ENV__Fault
*)q
;
1284 #ifndef WITH_NOGLOBAL
1286 SOAP_FMAC3
void SOAP_FMAC4
soap_default_SOAP_ENV__Reason(struct soap
*soap
, struct SOAP_ENV__Reason
*a
)
1288 (void)soap
; (void)a
; /* appease -Wall -Werror */
1289 soap_default_string(soap
, &a
->SOAP_ENV__Text
);
1292 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_SOAP_ENV__Reason(struct soap
*soap
, const struct SOAP_ENV__Reason
*a
)
1294 (void)soap
; (void)a
; /* appease -Wall -Werror */
1295 soap_serialize_string(soap
, &a
->SOAP_ENV__Text
);
1298 SOAP_FMAC3
int SOAP_FMAC4
soap_out_SOAP_ENV__Reason(struct soap
*soap
, const char *tag
, int id
, const struct SOAP_ENV__Reason
*a
, const char *type
)
1300 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
), type
))
1303 soap_set_attr(soap
, "xml:lang", soap
->lang
, 1);
1304 if (soap_out_string(soap
, "SOAP-ENV:Text", -1, &a
->SOAP_ENV__Text
, ""))
1306 return soap_element_end_out(soap
, tag
);
1309 SOAP_FMAC3
struct SOAP_ENV__Reason
* SOAP_FMAC4
soap_in_SOAP_ENV__Reason(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Reason
*a
, const char *type
)
1311 size_t soap_flag_SOAP_ENV__Text
= 1;
1312 if (soap_element_begin_in(soap
, tag
, 0, type
))
1314 a
= (struct SOAP_ENV__Reason
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
, sizeof(struct SOAP_ENV__Reason
), 0, NULL
, NULL
, NULL
);
1317 soap_default_SOAP_ENV__Reason(soap
, a
);
1318 if (soap
->body
&& !*soap
->href
)
1321 { soap
->error
= SOAP_TAG_MISMATCH
;
1322 if (soap_flag_SOAP_ENV__Text
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1323 if (soap_in_string(soap
, "SOAP-ENV:Text", &a
->SOAP_ENV__Text
, "xsd:string"))
1324 { soap_flag_SOAP_ENV__Text
--;
1327 if (soap
->error
== SOAP_TAG_MISMATCH
)
1328 soap
->error
= soap_ignore_element(soap
);
1329 if (soap
->error
== SOAP_NO_TAG
)
1334 if (soap_element_end_in(soap
, tag
))
1338 { a
= (struct SOAP_ENV__Reason
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
, 0, sizeof(struct SOAP_ENV__Reason
), 0, NULL
);
1339 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1345 SOAP_FMAC3
int SOAP_FMAC4
soap_put_SOAP_ENV__Reason(struct soap
*soap
, const struct SOAP_ENV__Reason
*a
, const char *tag
, const char *type
)
1347 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
);
1348 if (soap_out_SOAP_ENV__Reason(soap
, tag
?tag
:"SOAP-ENV:Reason", id
, a
, type
))
1350 return soap_putindependent(soap
);
1353 SOAP_FMAC3
struct SOAP_ENV__Reason
* SOAP_FMAC4
soap_get_SOAP_ENV__Reason(struct soap
*soap
, struct SOAP_ENV__Reason
*p
, const char *tag
, const char *type
)
1355 if ((p
= soap_in_SOAP_ENV__Reason(soap
, tag
, p
, type
)))
1356 if (soap_getindependent(soap
))
1361 SOAP_FMAC1
struct SOAP_ENV__Reason
* SOAP_FMAC2
soap_instantiate_SOAP_ENV__Reason(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1363 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1364 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_SOAP_ENV__Reason(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1365 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
, n
, soap_fdelete
);
1369 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Reason
);
1371 *size
= sizeof(struct SOAP_ENV__Reason
);
1374 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Reason
[n
]);
1376 { soap
->error
= SOAP_EOM
;
1380 *size
= n
* sizeof(struct SOAP_ENV__Reason
);
1382 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1383 return (struct SOAP_ENV__Reason
*)cp
->ptr
;
1386 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_SOAP_ENV__Reason(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1388 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1389 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct SOAP_ENV__Reason %p -> %p\n", q
, p
));
1390 *(struct SOAP_ENV__Reason
*)p
= *(struct SOAP_ENV__Reason
*)q
;
1395 #ifndef WITH_NOGLOBAL
1397 SOAP_FMAC3
void SOAP_FMAC4
soap_default_SOAP_ENV__Detail(struct soap
*soap
, struct SOAP_ENV__Detail
*a
)
1399 (void)soap
; (void)a
; /* appease -Wall -Werror */
1405 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_SOAP_ENV__Detail(struct soap
*soap
, const struct SOAP_ENV__Detail
*a
)
1407 (void)soap
; (void)a
; /* appease -Wall -Werror */
1408 soap_markelement(soap
, a
->fault
, a
->__type
);
1411 SOAP_FMAC3
int SOAP_FMAC4
soap_out_SOAP_ENV__Detail(struct soap
*soap
, const char *tag
, int id
, const struct SOAP_ENV__Detail
*a
, const char *type
)
1413 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
), type
))
1415 if (soap_putelement(soap
, a
->fault
, "fault", -1, a
->__type
))
1417 soap_outliteral(soap
, "-any", &a
->__any
, NULL
);
1418 return soap_element_end_out(soap
, tag
);
1421 SOAP_FMAC3
struct SOAP_ENV__Detail
* SOAP_FMAC4
soap_in_SOAP_ENV__Detail(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Detail
*a
, const char *type
)
1423 size_t soap_flag_fault
= 1;
1424 size_t soap_flag___any
= 1;
1425 if (soap_element_begin_in(soap
, tag
, 0, type
))
1427 a
= (struct SOAP_ENV__Detail
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
, sizeof(struct SOAP_ENV__Detail
), 0, NULL
, NULL
, NULL
);
1430 soap_default_SOAP_ENV__Detail(soap
, a
);
1431 if (soap
->body
&& !*soap
->href
)
1434 { soap
->error
= SOAP_TAG_MISMATCH
;
1435 if (soap_flag_fault
&& soap
->error
== SOAP_TAG_MISMATCH
)
1436 if ((a
->fault
= soap_getelement(soap
, &a
->__type
)))
1437 { soap_flag_fault
= 0;
1440 if (soap_flag___any
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1441 if (soap_inliteral(soap
, "-any", &a
->__any
))
1442 { soap_flag___any
--;
1445 if (soap
->error
== SOAP_TAG_MISMATCH
)
1446 soap
->error
= soap_ignore_element(soap
);
1447 if (soap
->error
== SOAP_NO_TAG
)
1452 if (soap_element_end_in(soap
, tag
))
1456 { a
= (struct SOAP_ENV__Detail
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
, 0, sizeof(struct SOAP_ENV__Detail
), 0, NULL
);
1457 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1463 SOAP_FMAC3
int SOAP_FMAC4
soap_put_SOAP_ENV__Detail(struct soap
*soap
, const struct SOAP_ENV__Detail
*a
, const char *tag
, const char *type
)
1465 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
);
1466 if (soap_out_SOAP_ENV__Detail(soap
, tag
?tag
:"SOAP-ENV:Detail", id
, a
, type
))
1468 return soap_putindependent(soap
);
1471 SOAP_FMAC3
struct SOAP_ENV__Detail
* SOAP_FMAC4
soap_get_SOAP_ENV__Detail(struct soap
*soap
, struct SOAP_ENV__Detail
*p
, const char *tag
, const char *type
)
1473 if ((p
= soap_in_SOAP_ENV__Detail(soap
, tag
, p
, type
)))
1474 if (soap_getindependent(soap
))
1479 SOAP_FMAC1
struct SOAP_ENV__Detail
* SOAP_FMAC2
soap_instantiate_SOAP_ENV__Detail(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1481 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1482 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_SOAP_ENV__Detail(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1483 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
, n
, soap_fdelete
);
1487 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Detail
);
1489 *size
= sizeof(struct SOAP_ENV__Detail
);
1492 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Detail
[n
]);
1494 { soap
->error
= SOAP_EOM
;
1498 *size
= n
* sizeof(struct SOAP_ENV__Detail
);
1500 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1501 return (struct SOAP_ENV__Detail
*)cp
->ptr
;
1504 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_SOAP_ENV__Detail(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1506 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1507 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct SOAP_ENV__Detail %p -> %p\n", q
, p
));
1508 *(struct SOAP_ENV__Detail
*)p
= *(struct SOAP_ENV__Detail
*)q
;
1513 #ifndef WITH_NOGLOBAL
1515 SOAP_FMAC3
void SOAP_FMAC4
soap_default_SOAP_ENV__Code(struct soap
*soap
, struct SOAP_ENV__Code
*a
)
1517 (void)soap
; (void)a
; /* appease -Wall -Werror */
1518 soap_default__QName(soap
, &a
->SOAP_ENV__Value
);
1519 a
->SOAP_ENV__Subcode
= NULL
;
1522 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_SOAP_ENV__Code(struct soap
*soap
, const struct SOAP_ENV__Code
*a
)
1524 (void)soap
; (void)a
; /* appease -Wall -Werror */
1525 soap_serialize__QName(soap
, &a
->SOAP_ENV__Value
);
1526 soap_serialize_PointerToSOAP_ENV__Code(soap
, &a
->SOAP_ENV__Subcode
);
1529 SOAP_FMAC3
int SOAP_FMAC4
soap_out_SOAP_ENV__Code(struct soap
*soap
, const char *tag
, int id
, const struct SOAP_ENV__Code
*a
, const char *type
)
1531 const char *soap_tmp_SOAP_ENV__Value
= soap_QName2s(soap
, a
->SOAP_ENV__Value
);
1532 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
), type
))
1534 if (soap_out__QName(soap
, "SOAP-ENV:Value", -1, (char*const*)&soap_tmp_SOAP_ENV__Value
, ""))
1536 if (soap_out_PointerToSOAP_ENV__Code(soap
, "SOAP-ENV:Subcode", -1, &a
->SOAP_ENV__Subcode
, ""))
1538 return soap_element_end_out(soap
, tag
);
1541 SOAP_FMAC3
struct SOAP_ENV__Code
* SOAP_FMAC4
soap_in_SOAP_ENV__Code(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Code
*a
, const char *type
)
1543 size_t soap_flag_SOAP_ENV__Value
= 1;
1544 size_t soap_flag_SOAP_ENV__Subcode
= 1;
1545 if (soap_element_begin_in(soap
, tag
, 0, type
))
1547 a
= (struct SOAP_ENV__Code
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
, sizeof(struct SOAP_ENV__Code
), 0, NULL
, NULL
, NULL
);
1550 soap_default_SOAP_ENV__Code(soap
, a
);
1551 if (soap
->body
&& !*soap
->href
)
1554 { soap
->error
= SOAP_TAG_MISMATCH
;
1555 if (soap_flag_SOAP_ENV__Value
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1556 if (soap_in__QName(soap
, "SOAP-ENV:Value", &a
->SOAP_ENV__Value
, ""))
1557 { soap_flag_SOAP_ENV__Value
--;
1560 if (soap_flag_SOAP_ENV__Subcode
&& soap
->error
== SOAP_TAG_MISMATCH
)
1561 if (soap_in_PointerToSOAP_ENV__Code(soap
, "SOAP-ENV:Subcode", &a
->SOAP_ENV__Subcode
, ""))
1562 { soap_flag_SOAP_ENV__Subcode
--;
1565 if (soap
->error
== SOAP_TAG_MISMATCH
)
1566 soap
->error
= soap_ignore_element(soap
);
1567 if (soap
->error
== SOAP_NO_TAG
)
1572 if (soap_element_end_in(soap
, tag
))
1576 { a
= (struct SOAP_ENV__Code
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
, 0, sizeof(struct SOAP_ENV__Code
), 0, NULL
);
1577 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1583 SOAP_FMAC3
int SOAP_FMAC4
soap_put_SOAP_ENV__Code(struct soap
*soap
, const struct SOAP_ENV__Code
*a
, const char *tag
, const char *type
)
1585 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
);
1586 if (soap_out_SOAP_ENV__Code(soap
, tag
?tag
:"SOAP-ENV:Code", id
, a
, type
))
1588 return soap_putindependent(soap
);
1591 SOAP_FMAC3
struct SOAP_ENV__Code
* SOAP_FMAC4
soap_get_SOAP_ENV__Code(struct soap
*soap
, struct SOAP_ENV__Code
*p
, const char *tag
, const char *type
)
1593 if ((p
= soap_in_SOAP_ENV__Code(soap
, tag
, p
, type
)))
1594 if (soap_getindependent(soap
))
1599 SOAP_FMAC1
struct SOAP_ENV__Code
* SOAP_FMAC2
soap_instantiate_SOAP_ENV__Code(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1601 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1602 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_SOAP_ENV__Code(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1603 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
, n
, soap_fdelete
);
1607 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Code
);
1609 *size
= sizeof(struct SOAP_ENV__Code
);
1612 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Code
[n
]);
1614 { soap
->error
= SOAP_EOM
;
1618 *size
= n
* sizeof(struct SOAP_ENV__Code
);
1620 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1621 return (struct SOAP_ENV__Code
*)cp
->ptr
;
1624 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_SOAP_ENV__Code(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1626 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1627 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct SOAP_ENV__Code %p -> %p\n", q
, p
));
1628 *(struct SOAP_ENV__Code
*)p
= *(struct SOAP_ENV__Code
*)q
;
1633 #ifndef WITH_NOGLOBAL
1635 SOAP_FMAC3
void SOAP_FMAC4
soap_default_SOAP_ENV__Header(struct soap
*soap
, struct SOAP_ENV__Header
*a
)
1637 (void)soap
; (void)a
; /* appease -Wall -Werror */
1640 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_SOAP_ENV__Header(struct soap
*soap
, const struct SOAP_ENV__Header
*a
)
1642 (void)soap
; (void)a
; /* appease -Wall -Werror */
1645 SOAP_FMAC3
int SOAP_FMAC4
soap_out_SOAP_ENV__Header(struct soap
*soap
, const char *tag
, int id
, const struct SOAP_ENV__Header
*a
, const char *type
)
1647 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Header
), type
))
1649 return soap_element_end_out(soap
, tag
);
1652 SOAP_FMAC3
struct SOAP_ENV__Header
* SOAP_FMAC4
soap_in_SOAP_ENV__Header(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Header
*a
, const char *type
)
1654 if (soap_element_begin_in(soap
, tag
, 0, type
))
1656 a
= (struct SOAP_ENV__Header
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Header
, sizeof(struct SOAP_ENV__Header
), 0, NULL
, NULL
, NULL
);
1659 soap_default_SOAP_ENV__Header(soap
, a
);
1660 if (soap
->body
&& !*soap
->href
)
1663 { soap
->error
= SOAP_TAG_MISMATCH
;
1664 if (soap
->error
== SOAP_TAG_MISMATCH
)
1665 soap
->error
= soap_ignore_element(soap
);
1666 if (soap
->error
== SOAP_NO_TAG
)
1671 if (soap_element_end_in(soap
, tag
))
1675 { a
= (struct SOAP_ENV__Header
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_SOAP_ENV__Header
, 0, sizeof(struct SOAP_ENV__Header
), 0, NULL
);
1676 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1682 SOAP_FMAC3
int SOAP_FMAC4
soap_put_SOAP_ENV__Header(struct soap
*soap
, const struct SOAP_ENV__Header
*a
, const char *tag
, const char *type
)
1684 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_SOAP_ENV__Header
);
1685 if (soap_out_SOAP_ENV__Header(soap
, tag
?tag
:"SOAP-ENV:Header", id
, a
, type
))
1687 return soap_putindependent(soap
);
1690 SOAP_FMAC3
struct SOAP_ENV__Header
* SOAP_FMAC4
soap_get_SOAP_ENV__Header(struct soap
*soap
, struct SOAP_ENV__Header
*p
, const char *tag
, const char *type
)
1692 if ((p
= soap_in_SOAP_ENV__Header(soap
, tag
, p
, type
)))
1693 if (soap_getindependent(soap
))
1698 SOAP_FMAC1
struct SOAP_ENV__Header
* SOAP_FMAC2
soap_instantiate_SOAP_ENV__Header(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1700 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1701 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1702 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_SOAP_ENV__Header
, n
, soap_fdelete
);
1706 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Header
);
1708 *size
= sizeof(struct SOAP_ENV__Header
);
1711 { cp
->ptr
= (void*)SOAP_NEW(struct SOAP_ENV__Header
[n
]);
1713 { soap
->error
= SOAP_EOM
;
1717 *size
= n
* sizeof(struct SOAP_ENV__Header
);
1719 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1720 return (struct SOAP_ENV__Header
*)cp
->ptr
;
1723 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_SOAP_ENV__Header(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1725 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1726 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct SOAP_ENV__Header %p -> %p\n", q
, p
));
1727 *(struct SOAP_ENV__Header
*)p
= *(struct SOAP_ENV__Header
*)q
;
1732 SOAP_FMAC3
void SOAP_FMAC4
soap_default_KMS_CA__RetrieveLocalClock(struct soap
*soap
, struct KMS_CA__RetrieveLocalClock
*a
)
1734 (void)soap
; (void)a
; /* appease -Wall -Werror */
1735 soap_default_xsd__string(soap
, &a
->EntityID
);
1738 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_KMS_CA__RetrieveLocalClock(struct soap
*soap
, const struct KMS_CA__RetrieveLocalClock
*a
)
1740 (void)soap
; (void)a
; /* appease -Wall -Werror */
1741 soap_serialize_xsd__string(soap
, &a
->EntityID
);
1744 SOAP_FMAC3
int SOAP_FMAC4
soap_out_KMS_CA__RetrieveLocalClock(struct soap
*soap
, const char *tag
, int id
, const struct KMS_CA__RetrieveLocalClock
*a
, const char *type
)
1746 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
), type
))
1748 if (soap_out_xsd__string(soap
, "EntityID", -1, &a
->EntityID
, "xsd:string"))
1750 return soap_element_end_out(soap
, tag
);
1753 SOAP_FMAC3
struct KMS_CA__RetrieveLocalClock
* SOAP_FMAC4
soap_in_KMS_CA__RetrieveLocalClock(struct soap
*soap
, const char *tag
, struct KMS_CA__RetrieveLocalClock
*a
, const char *type
)
1755 size_t soap_flag_EntityID
= 1;
1756 if (soap_element_begin_in(soap
, tag
, 0, type
))
1758 a
= (struct KMS_CA__RetrieveLocalClock
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
, sizeof(struct KMS_CA__RetrieveLocalClock
), 0, NULL
, NULL
, NULL
);
1761 soap_default_KMS_CA__RetrieveLocalClock(soap
, a
);
1762 if (soap
->body
&& !*soap
->href
)
1765 { soap
->error
= SOAP_TAG_MISMATCH
;
1766 if (soap_flag_EntityID
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1767 if (soap_in_xsd__string(soap
, "EntityID", &a
->EntityID
, "xsd:string"))
1768 { soap_flag_EntityID
--;
1771 if (soap
->error
== SOAP_TAG_MISMATCH
)
1772 soap
->error
= soap_ignore_element(soap
);
1773 if (soap
->error
== SOAP_NO_TAG
)
1778 if (soap_element_end_in(soap
, tag
))
1782 { a
= (struct KMS_CA__RetrieveLocalClock
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
, 0, sizeof(struct KMS_CA__RetrieveLocalClock
), 0, NULL
);
1783 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1789 SOAP_FMAC3
int SOAP_FMAC4
soap_put_KMS_CA__RetrieveLocalClock(struct soap
*soap
, const struct KMS_CA__RetrieveLocalClock
*a
, const char *tag
, const char *type
)
1791 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
);
1792 if (soap_out_KMS_CA__RetrieveLocalClock(soap
, tag
?tag
:"KMS-CA:RetrieveLocalClock", id
, a
, type
))
1794 return soap_putindependent(soap
);
1797 SOAP_FMAC3
struct KMS_CA__RetrieveLocalClock
* SOAP_FMAC4
soap_get_KMS_CA__RetrieveLocalClock(struct soap
*soap
, struct KMS_CA__RetrieveLocalClock
*p
, const char *tag
, const char *type
)
1799 if ((p
= soap_in_KMS_CA__RetrieveLocalClock(soap
, tag
, p
, type
)))
1800 if (soap_getindependent(soap
))
1805 SOAP_FMAC1
struct KMS_CA__RetrieveLocalClock
* SOAP_FMAC2
soap_instantiate_KMS_CA__RetrieveLocalClock(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1807 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1808 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_KMS_CA__RetrieveLocalClock(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1809 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClock
, n
, soap_fdelete
);
1813 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveLocalClock
);
1815 *size
= sizeof(struct KMS_CA__RetrieveLocalClock
);
1818 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveLocalClock
[n
]);
1820 { soap
->error
= SOAP_EOM
;
1824 *size
= n
* sizeof(struct KMS_CA__RetrieveLocalClock
);
1826 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1827 return (struct KMS_CA__RetrieveLocalClock
*)cp
->ptr
;
1830 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_KMS_CA__RetrieveLocalClock(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1832 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1833 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct KMS_CA__RetrieveLocalClock %p -> %p\n", q
, p
));
1834 *(struct KMS_CA__RetrieveLocalClock
*)p
= *(struct KMS_CA__RetrieveLocalClock
*)q
;
1837 SOAP_FMAC3
void SOAP_FMAC4
soap_default_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, struct KMS_CA__RetrieveLocalClockResponse
*a
)
1839 (void)soap
; (void)a
; /* appease -Wall -Werror */
1840 soap_default_xsd__dateTime(soap
, &a
->CurrentTime
);
1843 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, const struct KMS_CA__RetrieveLocalClockResponse
*a
)
1845 (void)soap
; (void)a
; /* appease -Wall -Werror */
1846 soap_serialize_xsd__dateTime(soap
, &a
->CurrentTime
);
1849 SOAP_FMAC3
int SOAP_FMAC4
soap_out_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, const char *tag
, int id
, const struct KMS_CA__RetrieveLocalClockResponse
*a
, const char *type
)
1851 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
), type
))
1853 if (soap_out_xsd__dateTime(soap
, "CurrentTime", -1, &a
->CurrentTime
, "xsd:dateTime"))
1855 return soap_element_end_out(soap
, tag
);
1858 SOAP_FMAC3
struct KMS_CA__RetrieveLocalClockResponse
* SOAP_FMAC4
soap_in_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, const char *tag
, struct KMS_CA__RetrieveLocalClockResponse
*a
, const char *type
)
1860 size_t soap_flag_CurrentTime
= 1;
1861 if (soap_element_begin_in(soap
, tag
, 0, type
))
1863 a
= (struct KMS_CA__RetrieveLocalClockResponse
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
, sizeof(struct KMS_CA__RetrieveLocalClockResponse
), 0, NULL
, NULL
, NULL
);
1866 soap_default_KMS_CA__RetrieveLocalClockResponse(soap
, a
);
1867 if (soap
->body
&& !*soap
->href
)
1870 { soap
->error
= SOAP_TAG_MISMATCH
;
1871 if (soap_flag_CurrentTime
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1872 if (soap_in_xsd__dateTime(soap
, "CurrentTime", &a
->CurrentTime
, "xsd:dateTime"))
1873 { soap_flag_CurrentTime
--;
1876 if (soap
->error
== SOAP_TAG_MISMATCH
)
1877 soap
->error
= soap_ignore_element(soap
);
1878 if (soap
->error
== SOAP_NO_TAG
)
1883 if (soap_element_end_in(soap
, tag
))
1887 { a
= (struct KMS_CA__RetrieveLocalClockResponse
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
, 0, sizeof(struct KMS_CA__RetrieveLocalClockResponse
), 0, NULL
);
1888 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1894 SOAP_FMAC3
int SOAP_FMAC4
soap_put_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, const struct KMS_CA__RetrieveLocalClockResponse
*a
, const char *tag
, const char *type
)
1896 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
);
1897 if (soap_out_KMS_CA__RetrieveLocalClockResponse(soap
, tag
?tag
:"KMS-CA:RetrieveLocalClockResponse", id
, a
, type
))
1899 return soap_putindependent(soap
);
1902 SOAP_FMAC3
struct KMS_CA__RetrieveLocalClockResponse
* SOAP_FMAC4
soap_get_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, struct KMS_CA__RetrieveLocalClockResponse
*p
, const char *tag
, const char *type
)
1904 if ((p
= soap_in_KMS_CA__RetrieveLocalClockResponse(soap
, tag
, p
, type
)))
1905 if (soap_getindependent(soap
))
1910 SOAP_FMAC1
struct KMS_CA__RetrieveLocalClockResponse
* SOAP_FMAC2
soap_instantiate_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
1912 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
1913 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_KMS_CA__RetrieveLocalClockResponse(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
1914 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveLocalClockResponse
, n
, soap_fdelete
);
1918 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveLocalClockResponse
);
1920 *size
= sizeof(struct KMS_CA__RetrieveLocalClockResponse
);
1923 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveLocalClockResponse
[n
]);
1925 { soap
->error
= SOAP_EOM
;
1929 *size
= n
* sizeof(struct KMS_CA__RetrieveLocalClockResponse
);
1931 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
1932 return (struct KMS_CA__RetrieveLocalClockResponse
*)cp
->ptr
;
1935 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_KMS_CA__RetrieveLocalClockResponse(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
1937 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
1938 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct KMS_CA__RetrieveLocalClockResponse %p -> %p\n", q
, p
));
1939 *(struct KMS_CA__RetrieveLocalClockResponse
*)p
= *(struct KMS_CA__RetrieveLocalClockResponse
*)q
;
1942 SOAP_FMAC3
void SOAP_FMAC4
soap_default_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, struct KMS_CA__RetrieveRootCACertificate
*a
)
1944 (void)soap
; (void)a
; /* appease -Wall -Werror */
1945 soap_default_xsd__string(soap
, &a
->EntityID
);
1948 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, const struct KMS_CA__RetrieveRootCACertificate
*a
)
1950 (void)soap
; (void)a
; /* appease -Wall -Werror */
1951 soap_serialize_xsd__string(soap
, &a
->EntityID
);
1954 SOAP_FMAC3
int SOAP_FMAC4
soap_out_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, const char *tag
, int id
, const struct KMS_CA__RetrieveRootCACertificate
*a
, const char *type
)
1956 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
), type
))
1958 if (soap_out_xsd__string(soap
, "EntityID", -1, &a
->EntityID
, "xsd:string"))
1960 return soap_element_end_out(soap
, tag
);
1963 SOAP_FMAC3
struct KMS_CA__RetrieveRootCACertificate
* SOAP_FMAC4
soap_in_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, const char *tag
, struct KMS_CA__RetrieveRootCACertificate
*a
, const char *type
)
1965 size_t soap_flag_EntityID
= 1;
1966 if (soap_element_begin_in(soap
, tag
, 0, type
))
1968 a
= (struct KMS_CA__RetrieveRootCACertificate
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
, sizeof(struct KMS_CA__RetrieveRootCACertificate
), 0, NULL
, NULL
, NULL
);
1971 soap_default_KMS_CA__RetrieveRootCACertificate(soap
, a
);
1972 if (soap
->body
&& !*soap
->href
)
1975 { soap
->error
= SOAP_TAG_MISMATCH
;
1976 if (soap_flag_EntityID
&& (soap
->error
== SOAP_TAG_MISMATCH
|| soap
->error
== SOAP_NO_TAG
))
1977 if (soap_in_xsd__string(soap
, "EntityID", &a
->EntityID
, "xsd:string"))
1978 { soap_flag_EntityID
--;
1981 if (soap
->error
== SOAP_TAG_MISMATCH
)
1982 soap
->error
= soap_ignore_element(soap
);
1983 if (soap
->error
== SOAP_NO_TAG
)
1988 if (soap_element_end_in(soap
, tag
))
1992 { a
= (struct KMS_CA__RetrieveRootCACertificate
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
, 0, sizeof(struct KMS_CA__RetrieveRootCACertificate
), 0, NULL
);
1993 if (soap
->body
&& soap_element_end_in(soap
, tag
))
1999 SOAP_FMAC3
int SOAP_FMAC4
soap_put_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, const struct KMS_CA__RetrieveRootCACertificate
*a
, const char *tag
, const char *type
)
2001 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
);
2002 if (soap_out_KMS_CA__RetrieveRootCACertificate(soap
, tag
?tag
:"KMS-CA:RetrieveRootCACertificate", id
, a
, type
))
2004 return soap_putindependent(soap
);
2007 SOAP_FMAC3
struct KMS_CA__RetrieveRootCACertificate
* SOAP_FMAC4
soap_get_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, struct KMS_CA__RetrieveRootCACertificate
*p
, const char *tag
, const char *type
)
2009 if ((p
= soap_in_KMS_CA__RetrieveRootCACertificate(soap
, tag
, p
, type
)))
2010 if (soap_getindependent(soap
))
2015 SOAP_FMAC1
struct KMS_CA__RetrieveRootCACertificate
* SOAP_FMAC2
soap_instantiate_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
2017 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
2018 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_KMS_CA__RetrieveRootCACertificate(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
2019 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificate
, n
, soap_fdelete
);
2023 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveRootCACertificate
);
2025 *size
= sizeof(struct KMS_CA__RetrieveRootCACertificate
);
2028 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveRootCACertificate
[n
]);
2030 { soap
->error
= SOAP_EOM
;
2034 *size
= n
* sizeof(struct KMS_CA__RetrieveRootCACertificate
);
2036 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
2037 return (struct KMS_CA__RetrieveRootCACertificate
*)cp
->ptr
;
2040 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_KMS_CA__RetrieveRootCACertificate(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
2042 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
2043 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct KMS_CA__RetrieveRootCACertificate %p -> %p\n", q
, p
));
2044 *(struct KMS_CA__RetrieveRootCACertificate
*)p
= *(struct KMS_CA__RetrieveRootCACertificate
*)q
;
2047 SOAP_FMAC3
void SOAP_FMAC4
soap_default_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, struct KMS_CA__RetrieveRootCACertificateResponse
*a
)
2049 (void)soap
; (void)a
; /* appease -Wall -Werror */
2050 soap_default_xsd__hexBinary(soap
, &a
->RootCACertificate
);
2051 soap_default_xsd__int(soap
, &a
->AuthenticationHashIterationCount
);
2052 soap_default_xsd__hexBinary(soap
, &a
->ClientAuthenticationChallenge
);
2055 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, const struct KMS_CA__RetrieveRootCACertificateResponse
*a
)
2057 (void)soap
; (void)a
; /* appease -Wall -Werror */
2058 soap_serialize_xsd__hexBinary(soap
, &a
->RootCACertificate
);
2059 soap_serialize_xsd__hexBinary(soap
, &a
->ClientAuthenticationChallenge
);
2062 SOAP_FMAC3
int SOAP_FMAC4
soap_out_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, const char *tag
, int id
, const struct KMS_CA__RetrieveRootCACertificateResponse
*a
, const char *type
)
2064 if (soap_element_begin_out(soap
, tag
, soap_embedded_id(soap
, id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
), type
))
2066 if (soap_out_xsd__hexBinary(soap
, "RootCACertificate", -1, &a
->RootCACertificate
, "xsd:hexBinary"))
2068 if (soap_out_xsd__int(soap
, "AuthenticationHashIterationCount", -1, &a
->AuthenticationHashIterationCount
, "xsd:int"))
2070 if (soap_out_xsd__hexBinary(soap
, "ClientAuthenticationChallenge", -1, &a
->ClientAuthenticationChallenge
, "xsd:hexBinary"))
2072 return soap_element_end_out(soap
, tag
);
2075 SOAP_FMAC3
struct KMS_CA__RetrieveRootCACertificateResponse
* SOAP_FMAC4
soap_in_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, const char *tag
, struct KMS_CA__RetrieveRootCACertificateResponse
*a
, const char *type
)
2077 size_t soap_flag_RootCACertificate
= 1;
2078 size_t soap_flag_AuthenticationHashIterationCount
= 1;
2079 size_t soap_flag_ClientAuthenticationChallenge
= 1;
2080 if (soap_element_begin_in(soap
, tag
, 0, type
))
2082 a
= (struct KMS_CA__RetrieveRootCACertificateResponse
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
, sizeof(struct KMS_CA__RetrieveRootCACertificateResponse
), 0, NULL
, NULL
, NULL
);
2085 soap_default_KMS_CA__RetrieveRootCACertificateResponse(soap
, a
);
2086 if (soap
->body
&& !*soap
->href
)
2089 { soap
->error
= SOAP_TAG_MISMATCH
;
2090 if (soap_flag_RootCACertificate
&& soap
->error
== SOAP_TAG_MISMATCH
)
2091 if (soap_in_xsd__hexBinary(soap
, "RootCACertificate", &a
->RootCACertificate
, "xsd:hexBinary"))
2092 { soap_flag_RootCACertificate
--;
2095 if (soap_flag_AuthenticationHashIterationCount
&& soap
->error
== SOAP_TAG_MISMATCH
)
2096 if (soap_in_xsd__int(soap
, "AuthenticationHashIterationCount", &a
->AuthenticationHashIterationCount
, "xsd:int"))
2097 { soap_flag_AuthenticationHashIterationCount
--;
2100 if (soap_flag_ClientAuthenticationChallenge
&& soap
->error
== SOAP_TAG_MISMATCH
)
2101 if (soap_in_xsd__hexBinary(soap
, "ClientAuthenticationChallenge", &a
->ClientAuthenticationChallenge
, "xsd:hexBinary"))
2102 { soap_flag_ClientAuthenticationChallenge
--;
2105 if (soap
->error
== SOAP_TAG_MISMATCH
)
2106 soap
->error
= soap_ignore_element(soap
);
2107 if (soap
->error
== SOAP_NO_TAG
)
2112 if (soap_element_end_in(soap
, tag
))
2116 { a
= (struct KMS_CA__RetrieveRootCACertificateResponse
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
, 0, sizeof(struct KMS_CA__RetrieveRootCACertificateResponse
), 0, NULL
);
2117 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2120 if ((soap
->mode
& SOAP_XML_STRICT
) && (soap_flag_RootCACertificate
> 0 || soap_flag_AuthenticationHashIterationCount
> 0 || soap_flag_ClientAuthenticationChallenge
> 0))
2121 { soap
->error
= SOAP_OCCURS
;
2127 SOAP_FMAC3
int SOAP_FMAC4
soap_put_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, const struct KMS_CA__RetrieveRootCACertificateResponse
*a
, const char *tag
, const char *type
)
2129 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
);
2130 if (soap_out_KMS_CA__RetrieveRootCACertificateResponse(soap
, tag
?tag
:"KMS-CA:RetrieveRootCACertificateResponse", id
, a
, type
))
2132 return soap_putindependent(soap
);
2135 SOAP_FMAC3
struct KMS_CA__RetrieveRootCACertificateResponse
* SOAP_FMAC4
soap_get_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, struct KMS_CA__RetrieveRootCACertificateResponse
*p
, const char *tag
, const char *type
)
2137 if ((p
= soap_in_KMS_CA__RetrieveRootCACertificateResponse(soap
, tag
, p
, type
)))
2138 if (soap_getindependent(soap
))
2143 SOAP_FMAC1
struct KMS_CA__RetrieveRootCACertificateResponse
* SOAP_FMAC2
soap_instantiate_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
2145 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
2146 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_KMS_CA__RetrieveRootCACertificateResponse(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
2147 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_KMS_CA__RetrieveRootCACertificateResponse
, n
, soap_fdelete
);
2151 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveRootCACertificateResponse
);
2153 *size
= sizeof(struct KMS_CA__RetrieveRootCACertificateResponse
);
2156 { cp
->ptr
= (void*)SOAP_NEW(struct KMS_CA__RetrieveRootCACertificateResponse
[n
]);
2158 { soap
->error
= SOAP_EOM
;
2162 *size
= n
* sizeof(struct KMS_CA__RetrieveRootCACertificateResponse
);
2164 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
2165 return (struct KMS_CA__RetrieveRootCACertificateResponse
*)cp
->ptr
;
2168 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_KMS_CA__RetrieveRootCACertificateResponse(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
2170 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
2171 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct KMS_CA__RetrieveRootCACertificateResponse %p -> %p\n", q
, p
));
2172 *(struct KMS_CA__RetrieveRootCACertificateResponse
*)p
= *(struct KMS_CA__RetrieveRootCACertificateResponse
*)q
;
2175 SOAP_FMAC3
void SOAP_FMAC4
soap_default_xsd__hexBinary(struct soap
*soap
, struct xsd__hexBinary
*a
)
2177 (void)soap
; /* appease -Wall -Werror */
2182 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_xsd__hexBinary(struct soap
*soap
, struct xsd__hexBinary
const*a
)
2185 soap_array_reference(soap
, a
, (struct soap_array
*)&a
->__ptr
, 1, SOAP_TYPE_KMS_CA_xsd__hexBinary
);
2188 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__hexBinary(struct soap
*soap
, const char *tag
, int id
, const struct xsd__hexBinary
*a
, const char *type
)
2190 id
= soap_element_id(soap
, tag
, id
, a
, (struct soap_array
*)&a
->__ptr
, 1, type
, SOAP_TYPE_KMS_CA_xsd__hexBinary
);
2193 if (soap_element_begin_out(soap
, tag
, id
, type
))
2195 if (soap_puthex(soap
, a
->__ptr
, a
->__size
))
2197 return soap_element_end_out(soap
, tag
);
2200 SOAP_FMAC3
struct xsd__hexBinary
* SOAP_FMAC4
soap_in_xsd__hexBinary(struct soap
*soap
, const char *tag
, struct xsd__hexBinary
*a
, const char *type
)
2202 (void)type
; /* appease -Wall -Werror */
2203 if (soap_element_begin_in(soap
, tag
, 1, NULL
))
2205 if (*soap
->type
&& soap_match_tag(soap
, soap
->type
, type
) && soap_match_tag(soap
, soap
->type
, ":hexBinary"))
2206 { soap
->error
= SOAP_TYPE
;
2209 a
= (struct xsd__hexBinary
*)soap_id_enter(soap
, soap
->id
, a
, SOAP_TYPE_KMS_CA_xsd__hexBinary
, sizeof(struct xsd__hexBinary
), 0, NULL
, NULL
, NULL
);
2212 soap_default_xsd__hexBinary(soap
, a
);
2213 if (soap
->body
&& !*soap
->href
)
2215 a
->__ptr
= soap_gethex(soap
, &a
->__size
);
2216 if ((!a
->__ptr
&& soap
->error
) || soap_element_end_in(soap
, tag
))
2220 { a
= (struct xsd__hexBinary
*)soap_id_forward(soap
, soap
->href
, (void*)a
, 0, SOAP_TYPE_KMS_CA_xsd__hexBinary
, 0, sizeof(struct xsd__hexBinary
), 0, NULL
);
2221 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2227 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__hexBinary(struct soap
*soap
, const struct xsd__hexBinary
*a
, const char *tag
, const char *type
)
2229 register int id
= soap_embed(soap
, (void*)a
, (struct soap_array
*)&a
->__ptr
, 1, tag
, SOAP_TYPE_KMS_CA_xsd__hexBinary
);
2230 if (soap_out_xsd__hexBinary(soap
, tag
?tag
:"SOAP-ENC:Array", id
, a
, type
))
2232 return soap_putindependent(soap
);
2235 SOAP_FMAC3
struct xsd__hexBinary
* SOAP_FMAC4
soap_get_xsd__hexBinary(struct soap
*soap
, struct xsd__hexBinary
*p
, const char *tag
, const char *type
)
2237 if ((p
= soap_in_xsd__hexBinary(soap
, tag
, p
, type
)))
2238 if (soap_getindependent(soap
))
2243 SOAP_FMAC1
struct xsd__hexBinary
* SOAP_FMAC2
soap_instantiate_xsd__hexBinary(struct soap
*soap
, int n
, const char *type
, const char *arrayType
, size_t *size
)
2245 (void)type
; (void)arrayType
; /* appease -Wall -Werror */
2246 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "soap_instantiate_xsd__hexBinary(%d, %s, %s)\n", n
, type
?type
:"", arrayType
?arrayType
:""));
2247 struct soap_clist
*cp
= soap_link(soap
, NULL
, SOAP_TYPE_KMS_CA_xsd__hexBinary
, n
, soap_fdelete
);
2251 { cp
->ptr
= (void*)SOAP_NEW(struct xsd__hexBinary
);
2253 *size
= sizeof(struct xsd__hexBinary
);
2256 { cp
->ptr
= (void*)SOAP_NEW(struct xsd__hexBinary
[n
]);
2258 { soap
->error
= SOAP_EOM
;
2262 *size
= n
* sizeof(struct xsd__hexBinary
);
2264 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Instantiated location=%p\n", cp
->ptr
));
2265 return (struct xsd__hexBinary
*)cp
->ptr
;
2268 SOAP_FMAC3
void SOAP_FMAC4
soap_copy_xsd__hexBinary(struct soap
*soap
, int st
, int tt
, void *p
, size_t len
, const void *q
, size_t n
)
2270 (void)soap
; (void)st
; (void)len
; (void)n
; /* appease -Wall -Werror */
2271 DBGLOG(TEST
, SOAP_MESSAGE(fdebug
, "Copying struct xsd__hexBinary %p -> %p\n", q
, p
));
2272 *(struct xsd__hexBinary
*)p
= *(struct xsd__hexBinary
*)q
;
2275 #ifndef WITH_NOGLOBAL
2277 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Reason(struct soap
*soap
, struct SOAP_ENV__Reason
*const*a
)
2279 if (!soap_reference(soap
, *a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
))
2280 soap_serialize_SOAP_ENV__Reason(soap
, *a
);
2283 SOAP_FMAC3
int SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Reason(struct soap
*soap
, const char *tag
, int id
, struct SOAP_ENV__Reason
*const*a
, const char *type
)
2285 id
= soap_element_id(soap
, tag
, id
, *a
, NULL
, 0, type
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
);
2288 return soap_out_SOAP_ENV__Reason(soap
, tag
, id
, *a
, type
);
2291 SOAP_FMAC3
struct SOAP_ENV__Reason
** SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Reason(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Reason
**a
, const char *type
)
2293 if (soap_element_begin_in(soap
, tag
, 1, NULL
))
2296 if (!(a
= (struct SOAP_ENV__Reason
**)soap_malloc(soap
, sizeof(struct SOAP_ENV__Reason
*))))
2299 if (!soap
->null
&& *soap
->href
!= '#')
2300 { soap_revert(soap
);
2301 if (!(*a
= soap_in_SOAP_ENV__Reason(soap
, tag
, *a
, type
)))
2305 { a
= (struct SOAP_ENV__Reason
**)soap_id_lookup(soap
, soap
->href
, (void**)a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Reason
, sizeof(struct SOAP_ENV__Reason
), 0);
2306 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2312 SOAP_FMAC3
int SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Reason(struct soap
*soap
, struct SOAP_ENV__Reason
*const*a
, const char *tag
, const char *type
)
2314 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_PointerToSOAP_ENV__Reason
);
2315 if (soap_out_PointerToSOAP_ENV__Reason(soap
, tag
?tag
:"SOAP-ENV:Reason", id
, a
, type
))
2317 return soap_putindependent(soap
);
2320 SOAP_FMAC3
struct SOAP_ENV__Reason
** SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Reason(struct soap
*soap
, struct SOAP_ENV__Reason
**p
, const char *tag
, const char *type
)
2322 if ((p
= soap_in_PointerToSOAP_ENV__Reason(soap
, tag
, p
, type
)))
2323 if (soap_getindependent(soap
))
2330 #ifndef WITH_NOGLOBAL
2332 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Detail(struct soap
*soap
, struct SOAP_ENV__Detail
*const*a
)
2334 if (!soap_reference(soap
, *a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
))
2335 soap_serialize_SOAP_ENV__Detail(soap
, *a
);
2338 SOAP_FMAC3
int SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Detail(struct soap
*soap
, const char *tag
, int id
, struct SOAP_ENV__Detail
*const*a
, const char *type
)
2340 id
= soap_element_id(soap
, tag
, id
, *a
, NULL
, 0, type
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
);
2343 return soap_out_SOAP_ENV__Detail(soap
, tag
, id
, *a
, type
);
2346 SOAP_FMAC3
struct SOAP_ENV__Detail
** SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Detail(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Detail
**a
, const char *type
)
2348 if (soap_element_begin_in(soap
, tag
, 1, NULL
))
2351 if (!(a
= (struct SOAP_ENV__Detail
**)soap_malloc(soap
, sizeof(struct SOAP_ENV__Detail
*))))
2354 if (!soap
->null
&& *soap
->href
!= '#')
2355 { soap_revert(soap
);
2356 if (!(*a
= soap_in_SOAP_ENV__Detail(soap
, tag
, *a
, type
)))
2360 { a
= (struct SOAP_ENV__Detail
**)soap_id_lookup(soap
, soap
->href
, (void**)a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Detail
, sizeof(struct SOAP_ENV__Detail
), 0);
2361 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2367 SOAP_FMAC3
int SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Detail(struct soap
*soap
, struct SOAP_ENV__Detail
*const*a
, const char *tag
, const char *type
)
2369 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_PointerToSOAP_ENV__Detail
);
2370 if (soap_out_PointerToSOAP_ENV__Detail(soap
, tag
?tag
:"SOAP-ENV:Detail", id
, a
, type
))
2372 return soap_putindependent(soap
);
2375 SOAP_FMAC3
struct SOAP_ENV__Detail
** SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Detail(struct soap
*soap
, struct SOAP_ENV__Detail
**p
, const char *tag
, const char *type
)
2377 if ((p
= soap_in_PointerToSOAP_ENV__Detail(soap
, tag
, p
, type
)))
2378 if (soap_getindependent(soap
))
2385 #ifndef WITH_NOGLOBAL
2387 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_PointerToSOAP_ENV__Code(struct soap
*soap
, struct SOAP_ENV__Code
*const*a
)
2389 if (!soap_reference(soap
, *a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
))
2390 soap_serialize_SOAP_ENV__Code(soap
, *a
);
2393 SOAP_FMAC3
int SOAP_FMAC4
soap_out_PointerToSOAP_ENV__Code(struct soap
*soap
, const char *tag
, int id
, struct SOAP_ENV__Code
*const*a
, const char *type
)
2395 id
= soap_element_id(soap
, tag
, id
, *a
, NULL
, 0, type
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
);
2398 return soap_out_SOAP_ENV__Code(soap
, tag
, id
, *a
, type
);
2401 SOAP_FMAC3
struct SOAP_ENV__Code
** SOAP_FMAC4
soap_in_PointerToSOAP_ENV__Code(struct soap
*soap
, const char *tag
, struct SOAP_ENV__Code
**a
, const char *type
)
2403 if (soap_element_begin_in(soap
, tag
, 1, NULL
))
2406 if (!(a
= (struct SOAP_ENV__Code
**)soap_malloc(soap
, sizeof(struct SOAP_ENV__Code
*))))
2409 if (!soap
->null
&& *soap
->href
!= '#')
2410 { soap_revert(soap
);
2411 if (!(*a
= soap_in_SOAP_ENV__Code(soap
, tag
, *a
, type
)))
2415 { a
= (struct SOAP_ENV__Code
**)soap_id_lookup(soap
, soap
->href
, (void**)a
, SOAP_TYPE_KMS_CA_SOAP_ENV__Code
, sizeof(struct SOAP_ENV__Code
), 0);
2416 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2422 SOAP_FMAC3
int SOAP_FMAC4
soap_put_PointerToSOAP_ENV__Code(struct soap
*soap
, struct SOAP_ENV__Code
*const*a
, const char *tag
, const char *type
)
2424 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_PointerToSOAP_ENV__Code
);
2425 if (soap_out_PointerToSOAP_ENV__Code(soap
, tag
?tag
:"SOAP-ENV:Code", id
, a
, type
))
2427 return soap_putindependent(soap
);
2430 SOAP_FMAC3
struct SOAP_ENV__Code
** SOAP_FMAC4
soap_get_PointerToSOAP_ENV__Code(struct soap
*soap
, struct SOAP_ENV__Code
**p
, const char *tag
, const char *type
)
2432 if ((p
= soap_in_PointerToSOAP_ENV__Code(soap
, tag
, p
, type
)))
2433 if (soap_getindependent(soap
))
2440 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_PointerTounsignedByte(struct soap
*soap
, unsigned char *const*a
)
2442 soap_reference(soap
, *a
, SOAP_TYPE_KMS_CA_unsignedByte
);
2445 SOAP_FMAC3
int SOAP_FMAC4
soap_out_PointerTounsignedByte(struct soap
*soap
, const char *tag
, int id
, unsigned char *const*a
, const char *type
)
2447 id
= soap_element_id(soap
, tag
, id
, *a
, NULL
, 0, type
, SOAP_TYPE_KMS_CA_unsignedByte
);
2450 return soap_out_unsignedByte(soap
, tag
, id
, *a
, type
);
2453 SOAP_FMAC3
unsigned char ** SOAP_FMAC4
soap_in_PointerTounsignedByte(struct soap
*soap
, const char *tag
, unsigned char **a
, const char *type
)
2455 if (soap_element_begin_in(soap
, tag
, 1, NULL
))
2458 if (!(a
= (unsigned char **)soap_malloc(soap
, sizeof(unsigned char *))))
2461 if (!soap
->null
&& *soap
->href
!= '#')
2462 { soap_revert(soap
);
2463 if (!(*a
= soap_in_unsignedByte(soap
, tag
, *a
, type
)))
2467 { a
= (unsigned char **)soap_id_lookup(soap
, soap
->href
, (void**)a
, SOAP_TYPE_KMS_CA_unsignedByte
, sizeof(unsigned char), 0);
2468 if (soap
->body
&& soap_element_end_in(soap
, tag
))
2474 SOAP_FMAC3
int SOAP_FMAC4
soap_put_PointerTounsignedByte(struct soap
*soap
, unsigned char *const*a
, const char *tag
, const char *type
)
2476 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_PointerTounsignedByte
);
2477 if (soap_out_PointerTounsignedByte(soap
, tag
?tag
:"unsignedByte", id
, a
, type
))
2479 return soap_putindependent(soap
);
2482 SOAP_FMAC3
unsigned char ** SOAP_FMAC4
soap_get_PointerTounsignedByte(struct soap
*soap
, unsigned char **p
, const char *tag
, const char *type
)
2484 if ((p
= soap_in_PointerTounsignedByte(soap
, tag
, p
, type
)))
2485 if (soap_getindependent(soap
))
2490 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__duration(struct soap
*soap
, const char *tag
, int id
, char *const*a
, const char *type
)
2492 return soap_outstring(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__duration
);
2495 SOAP_FMAC3
char * * SOAP_FMAC4
soap_in_xsd__duration(struct soap
*soap
, const char *tag
, char **a
, const char *type
)
2497 p
= soap_instring(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__duration
, 1, -1, -1);
2501 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__duration(struct soap
*soap
, char *const*a
, const char *tag
, const char *type
)
2503 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__duration
);
2504 if (soap_out_xsd__duration(soap
, tag
?tag
:"byte", id
, a
, type
))
2506 return soap_putindependent(soap
);
2509 SOAP_FMAC3
char ** SOAP_FMAC4
soap_get_xsd__duration(struct soap
*soap
, char **p
, const char *tag
, const char *type
)
2511 if ((p
= soap_in_xsd__duration(soap
, tag
, p
, type
)))
2512 if (soap_getindependent(soap
))
2517 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__dateTime(struct soap
*soap
, const char *tag
, int id
, char *const*a
, const char *type
)
2519 return soap_outstring(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__dateTime
);
2522 SOAP_FMAC3
char * * SOAP_FMAC4
soap_in_xsd__dateTime(struct soap
*soap
, const char *tag
, char **a
, const char *type
)
2524 p
= soap_instring(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__dateTime
, 1, -1, -1);
2528 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__dateTime(struct soap
*soap
, char *const*a
, const char *tag
, const char *type
)
2530 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__dateTime
);
2531 if (soap_out_xsd__dateTime(soap
, tag
?tag
:"byte", id
, a
, type
))
2533 return soap_putindependent(soap
);
2536 SOAP_FMAC3
char ** SOAP_FMAC4
soap_get_xsd__dateTime(struct soap
*soap
, char **p
, const char *tag
, const char *type
)
2538 if ((p
= soap_in_xsd__dateTime(soap
, tag
, p
, type
)))
2539 if (soap_getindependent(soap
))
2544 SOAP_FMAC3
int SOAP_FMAC4
soap_out_xsd__string(struct soap
*soap
, const char *tag
, int id
, char *const*a
, const char *type
)
2546 return soap_outstring(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_xsd__string
);
2549 SOAP_FMAC3
char * * SOAP_FMAC4
soap_in_xsd__string(struct soap
*soap
, const char *tag
, char **a
, const char *type
)
2551 p
= soap_instring(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_xsd__string
, 1, -1, -1);
2555 SOAP_FMAC3
int SOAP_FMAC4
soap_put_xsd__string(struct soap
*soap
, char *const*a
, const char *tag
, const char *type
)
2557 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_xsd__string
);
2558 if (soap_out_xsd__string(soap
, tag
?tag
:"byte", id
, a
, type
))
2560 return soap_putindependent(soap
);
2563 SOAP_FMAC3
char ** SOAP_FMAC4
soap_get_xsd__string(struct soap
*soap
, char **p
, const char *tag
, const char *type
)
2565 if ((p
= soap_in_xsd__string(soap
, tag
, p
, type
)))
2566 if (soap_getindependent(soap
))
2571 SOAP_FMAC3
int SOAP_FMAC4
soap_out__QName(struct soap
*soap
, const char *tag
, int id
, char *const*a
, const char *type
)
2573 return soap_outstring(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA__QName
);
2576 SOAP_FMAC3
char * * SOAP_FMAC4
soap_in__QName(struct soap
*soap
, const char *tag
, char **a
, const char *type
)
2578 p
= soap_instring(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA__QName
, 2, -1, -1);
2582 SOAP_FMAC3
int SOAP_FMAC4
soap_put__QName(struct soap
*soap
, char *const*a
, const char *tag
, const char *type
)
2584 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA__QName
);
2585 if (soap_out__QName(soap
, tag
?tag
:"byte", id
, a
, type
))
2587 return soap_putindependent(soap
);
2590 SOAP_FMAC3
char ** SOAP_FMAC4
soap_get__QName(struct soap
*soap
, char **p
, const char *tag
, const char *type
)
2592 if ((p
= soap_in__QName(soap
, tag
, p
, type
)))
2593 if (soap_getindependent(soap
))
2598 SOAP_FMAC3
void SOAP_FMAC4
soap_default_string(struct soap
*soap
, char **a
)
2600 (void)soap
; /* appease -Wall -Werror */
2601 #ifdef SOAP_DEFAULT_string
2602 *a
= SOAP_DEFAULT_string
;
2608 SOAP_FMAC3
void SOAP_FMAC4
soap_serialize_string(struct soap
*soap
, char *const*a
)
2610 soap_reference(soap
, *a
, SOAP_TYPE_KMS_CA_string
);
2613 SOAP_FMAC3
int SOAP_FMAC4
soap_out_string(struct soap
*soap
, const char *tag
, int id
, char *const*a
, const char *type
)
2615 return soap_outstring(soap
, tag
, id
, a
, type
, SOAP_TYPE_KMS_CA_string
);
2618 SOAP_FMAC3
char * * SOAP_FMAC4
soap_in_string(struct soap
*soap
, const char *tag
, char **a
, const char *type
)
2620 p
= soap_instring(soap
, tag
, a
, type
, SOAP_TYPE_KMS_CA_string
, 1, -1, -1);
2624 SOAP_FMAC3
int SOAP_FMAC4
soap_put_string(struct soap
*soap
, char *const*a
, const char *tag
, const char *type
)
2626 register int id
= soap_embed(soap
, (void*)a
, NULL
, 0, tag
, SOAP_TYPE_KMS_CA_string
);
2627 if (soap_out_string(soap
, tag
?tag
:"byte", id
, a
, type
))
2629 return soap_putindependent(soap
);
2632 SOAP_FMAC3
char ** SOAP_FMAC4
soap_get_string(struct soap
*soap
, char **p
, const char *tag
, const char *type
)
2634 if ((p
= soap_in_string(soap
, tag
, p
, type
)))
2635 if (soap_getindependent(soap
))
2640 } // namespace KMS_CA
2643 #if defined(__BORLANDC__)
2648 /* End of KMS_CAC.cpp */