1*12720SWyllys.Ingersoll@Sun.COM /*
2*12720SWyllys.Ingersoll@Sun.COM * CDDL HEADER START
3*12720SWyllys.Ingersoll@Sun.COM *
4*12720SWyllys.Ingersoll@Sun.COM * The contents of this file are subject to the terms of the
5*12720SWyllys.Ingersoll@Sun.COM * Common Development and Distribution License (the "License").
6*12720SWyllys.Ingersoll@Sun.COM * You may not use this file except in compliance with the License.
7*12720SWyllys.Ingersoll@Sun.COM *
8*12720SWyllys.Ingersoll@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*12720SWyllys.Ingersoll@Sun.COM * or http://www.opensolaris.org/os/licensing.
10*12720SWyllys.Ingersoll@Sun.COM * See the License for the specific language governing permissions
11*12720SWyllys.Ingersoll@Sun.COM * and limitations under the License.
12*12720SWyllys.Ingersoll@Sun.COM *
13*12720SWyllys.Ingersoll@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each
14*12720SWyllys.Ingersoll@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*12720SWyllys.Ingersoll@Sun.COM * If applicable, add the following below this CDDL HEADER, with the
16*12720SWyllys.Ingersoll@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying
17*12720SWyllys.Ingersoll@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner]
18*12720SWyllys.Ingersoll@Sun.COM *
19*12720SWyllys.Ingersoll@Sun.COM * CDDL HEADER END
20*12720SWyllys.Ingersoll@Sun.COM */
21*12720SWyllys.Ingersoll@Sun.COM
22*12720SWyllys.Ingersoll@Sun.COM /*
23*12720SWyllys.Ingersoll@Sun.COM * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*12720SWyllys.Ingersoll@Sun.COM */
25*12720SWyllys.Ingersoll@Sun.COM
26*12720SWyllys.Ingersoll@Sun.COM /* KMS_CertificateC.cpp
27*12720SWyllys.Ingersoll@Sun.COM Generated by gSOAP 2.7.17 from ../gsoapStubs/CertificateService/KMS_Certificate_SOAP.h
28*12720SWyllys.Ingersoll@Sun.COM Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
29*12720SWyllys.Ingersoll@Sun.COM This part of the software is released under one of the following licenses:
30*12720SWyllys.Ingersoll@Sun.COM GPL, the gSOAP public license, or Genivia's license for commercial use.
31*12720SWyllys.Ingersoll@Sun.COM */
32*12720SWyllys.Ingersoll@Sun.COM
33*12720SWyllys.Ingersoll@Sun.COM #if defined(__BORLANDC__)
34*12720SWyllys.Ingersoll@Sun.COM #pragma option push -w-8060
35*12720SWyllys.Ingersoll@Sun.COM #pragma option push -w-8004
36*12720SWyllys.Ingersoll@Sun.COM #endif
37*12720SWyllys.Ingersoll@Sun.COM
38*12720SWyllys.Ingersoll@Sun.COM #include "KMS_CertificateH.h"
39*12720SWyllys.Ingersoll@Sun.COM
40*12720SWyllys.Ingersoll@Sun.COM namespace KMS_Certificate {
41*12720SWyllys.Ingersoll@Sun.COM
42*12720SWyllys.Ingersoll@Sun.COM SOAP_SOURCE_STAMP("@(#) KMS_CertificateC.cpp ver 2.7.17 2010-06-08 19:16:38 GMT")
43*12720SWyllys.Ingersoll@Sun.COM
44*12720SWyllys.Ingersoll@Sun.COM
45*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
46*12720SWyllys.Ingersoll@Sun.COM
soap_serializeheader(struct soap * soap)47*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
48*12720SWyllys.Ingersoll@Sun.COM {
49*12720SWyllys.Ingersoll@Sun.COM if (soap->header)
50*12720SWyllys.Ingersoll@Sun.COM soap_serialize_SOAP_ENV__Header(soap, soap->header);
51*12720SWyllys.Ingersoll@Sun.COM }
52*12720SWyllys.Ingersoll@Sun.COM
soap_putheader(struct soap * soap)53*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
54*12720SWyllys.Ingersoll@Sun.COM {
55*12720SWyllys.Ingersoll@Sun.COM if (soap->header)
56*12720SWyllys.Ingersoll@Sun.COM { soap->part = SOAP_IN_HEADER;
57*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, NULL))
58*12720SWyllys.Ingersoll@Sun.COM return soap->error;
59*12720SWyllys.Ingersoll@Sun.COM soap->part = SOAP_END_HEADER;
60*12720SWyllys.Ingersoll@Sun.COM }
61*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
62*12720SWyllys.Ingersoll@Sun.COM }
63*12720SWyllys.Ingersoll@Sun.COM
soap_getheader(struct soap * soap)64*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap)
65*12720SWyllys.Ingersoll@Sun.COM {
66*12720SWyllys.Ingersoll@Sun.COM soap->part = SOAP_IN_HEADER;
67*12720SWyllys.Ingersoll@Sun.COM soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", NULL, NULL);
68*12720SWyllys.Ingersoll@Sun.COM soap->part = SOAP_END_HEADER;
69*12720SWyllys.Ingersoll@Sun.COM return soap->header == NULL;
70*12720SWyllys.Ingersoll@Sun.COM }
71*12720SWyllys.Ingersoll@Sun.COM
soap_header(struct soap * soap)72*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
73*12720SWyllys.Ingersoll@Sun.COM {
74*12720SWyllys.Ingersoll@Sun.COM if (!soap->header)
75*12720SWyllys.Ingersoll@Sun.COM { if ((soap->header = soap_new_SOAP_ENV__Header(soap, -1)))
76*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Header(soap, soap->header);
77*12720SWyllys.Ingersoll@Sun.COM }
78*12720SWyllys.Ingersoll@Sun.COM }
79*12720SWyllys.Ingersoll@Sun.COM
soap_fault(struct soap * soap)80*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
81*12720SWyllys.Ingersoll@Sun.COM {
82*12720SWyllys.Ingersoll@Sun.COM if (!soap->fault)
83*12720SWyllys.Ingersoll@Sun.COM { soap->fault = soap_new_SOAP_ENV__Fault(soap, -1);
84*12720SWyllys.Ingersoll@Sun.COM if (!soap->fault)
85*12720SWyllys.Ingersoll@Sun.COM return;
86*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Fault(soap, soap->fault);
87*12720SWyllys.Ingersoll@Sun.COM }
88*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 2 && !soap->fault->SOAP_ENV__Code)
89*12720SWyllys.Ingersoll@Sun.COM { soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap, -1);
90*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code);
91*12720SWyllys.Ingersoll@Sun.COM }
92*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 2 && !soap->fault->SOAP_ENV__Reason)
93*12720SWyllys.Ingersoll@Sun.COM { soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap, -1);
94*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Reason(soap, soap->fault->SOAP_ENV__Reason);
95*12720SWyllys.Ingersoll@Sun.COM }
96*12720SWyllys.Ingersoll@Sun.COM }
97*12720SWyllys.Ingersoll@Sun.COM
soap_serializefault(struct soap * soap)98*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
99*12720SWyllys.Ingersoll@Sun.COM {
100*12720SWyllys.Ingersoll@Sun.COM soap_fault(soap);
101*12720SWyllys.Ingersoll@Sun.COM if (soap->fault)
102*12720SWyllys.Ingersoll@Sun.COM soap_serialize_SOAP_ENV__Fault(soap, soap->fault);
103*12720SWyllys.Ingersoll@Sun.COM }
104*12720SWyllys.Ingersoll@Sun.COM
soap_putfault(struct soap * soap)105*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap)
106*12720SWyllys.Ingersoll@Sun.COM {
107*12720SWyllys.Ingersoll@Sun.COM if (soap->fault)
108*12720SWyllys.Ingersoll@Sun.COM return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", NULL);
109*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
110*12720SWyllys.Ingersoll@Sun.COM }
111*12720SWyllys.Ingersoll@Sun.COM
soap_getfault(struct soap * soap)112*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap)
113*12720SWyllys.Ingersoll@Sun.COM {
114*12720SWyllys.Ingersoll@Sun.COM return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL;
115*12720SWyllys.Ingersoll@Sun.COM }
116*12720SWyllys.Ingersoll@Sun.COM
soap_faultcode(struct soap * soap)117*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
118*12720SWyllys.Ingersoll@Sun.COM {
119*12720SWyllys.Ingersoll@Sun.COM soap_fault(soap);
120*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 2)
121*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
122*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->faultcode;
123*12720SWyllys.Ingersoll@Sun.COM }
124*12720SWyllys.Ingersoll@Sun.COM
soap_faultsubcode(struct soap * soap)125*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
126*12720SWyllys.Ingersoll@Sun.COM {
127*12720SWyllys.Ingersoll@Sun.COM soap_fault(soap);
128*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 2)
129*12720SWyllys.Ingersoll@Sun.COM { if (!soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode)
130*12720SWyllys.Ingersoll@Sun.COM { soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap, -1);
131*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode);
132*12720SWyllys.Ingersoll@Sun.COM }
133*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
134*12720SWyllys.Ingersoll@Sun.COM }
135*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->faultcode;
136*12720SWyllys.Ingersoll@Sun.COM }
137*12720SWyllys.Ingersoll@Sun.COM
soap_faultstring(struct soap * soap)138*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
139*12720SWyllys.Ingersoll@Sun.COM {
140*12720SWyllys.Ingersoll@Sun.COM soap_fault(soap);
141*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 2)
142*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text;
143*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->faultstring;
144*12720SWyllys.Ingersoll@Sun.COM }
145*12720SWyllys.Ingersoll@Sun.COM
soap_faultdetail(struct soap * soap)146*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
147*12720SWyllys.Ingersoll@Sun.COM {
148*12720SWyllys.Ingersoll@Sun.COM soap_fault(soap);
149*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 1)
150*12720SWyllys.Ingersoll@Sun.COM { if (!soap->fault->detail)
151*12720SWyllys.Ingersoll@Sun.COM { soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
152*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
153*12720SWyllys.Ingersoll@Sun.COM }
154*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->detail->__any;
155*12720SWyllys.Ingersoll@Sun.COM }
156*12720SWyllys.Ingersoll@Sun.COM if (!soap->fault->SOAP_ENV__Detail)
157*12720SWyllys.Ingersoll@Sun.COM { soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
158*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
159*12720SWyllys.Ingersoll@Sun.COM }
160*12720SWyllys.Ingersoll@Sun.COM return (const char**)&soap->fault->SOAP_ENV__Detail->__any;
161*12720SWyllys.Ingersoll@Sun.COM }
162*12720SWyllys.Ingersoll@Sun.COM
163*12720SWyllys.Ingersoll@Sun.COM #endif
164*12720SWyllys.Ingersoll@Sun.COM
165*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOIDREF
soap_getindependent(struct soap * soap)166*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
167*12720SWyllys.Ingersoll@Sun.COM {
168*12720SWyllys.Ingersoll@Sun.COM int t;
169*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 1)
170*12720SWyllys.Ingersoll@Sun.COM { for (;;)
171*12720SWyllys.Ingersoll@Sun.COM { if (!soap_getelement(soap, &t))
172*12720SWyllys.Ingersoll@Sun.COM if (soap->error || soap_ignore_element(soap))
173*12720SWyllys.Ingersoll@Sun.COM break;
174*12720SWyllys.Ingersoll@Sun.COM }
175*12720SWyllys.Ingersoll@Sun.COM }
176*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF)
177*12720SWyllys.Ingersoll@Sun.COM soap->error = SOAP_OK;
178*12720SWyllys.Ingersoll@Sun.COM return soap->error;
179*12720SWyllys.Ingersoll@Sun.COM }
180*12720SWyllys.Ingersoll@Sun.COM #endif
181*12720SWyllys.Ingersoll@Sun.COM
182*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOIDREF
soap_getelement(struct soap * soap,int * type)183*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
184*12720SWyllys.Ingersoll@Sun.COM {
185*12720SWyllys.Ingersoll@Sun.COM if (soap_peek_element(soap))
186*12720SWyllys.Ingersoll@Sun.COM return NULL;
187*12720SWyllys.Ingersoll@Sun.COM if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id)))
188*12720SWyllys.Ingersoll@Sun.COM *type = soap_lookup_type(soap, soap->href);
189*12720SWyllys.Ingersoll@Sun.COM switch (*type)
190*12720SWyllys.Ingersoll@Sun.COM {
191*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_byte:
192*12720SWyllys.Ingersoll@Sun.COM return soap_in_byte(soap, NULL, NULL, "xsd:byte");
193*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_int:
194*12720SWyllys.Ingersoll@Sun.COM return soap_in_int(soap, NULL, NULL, "xsd:int");
195*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__int:
196*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__int(soap, NULL, NULL, "xsd:int");
197*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_long:
198*12720SWyllys.Ingersoll@Sun.COM return soap_in_long(soap, NULL, NULL, "xsd:long");
199*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__long:
200*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__long(soap, NULL, NULL, "xsd:long");
201*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_LONG64:
202*12720SWyllys.Ingersoll@Sun.COM return soap_in_LONG64(soap, NULL, NULL, "xsd:long");
203*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__float:
204*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__float(soap, NULL, NULL, "xsd:float");
205*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_float:
206*12720SWyllys.Ingersoll@Sun.COM return soap_in_float(soap, NULL, NULL, "xsd:float");
207*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_unsignedByte:
208*12720SWyllys.Ingersoll@Sun.COM return soap_in_unsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
209*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_unsignedInt:
210*12720SWyllys.Ingersoll@Sun.COM return soap_in_unsignedInt(soap, NULL, NULL, "xsd:unsignedInt");
211*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__boolean:
212*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__boolean(soap, NULL, NULL, "xsd:boolean");
213*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_bool:
214*12720SWyllys.Ingersoll@Sun.COM return soap_in_bool(soap, NULL, NULL, "xsd:boolean");
215*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate:
216*12720SWyllys.Ingersoll@Sun.COM return soap_in_KMS_Certificate__RetrieveEntityCertificate(soap, NULL, NULL, "KMS-Certificate:RetrieveEntityCertificate");
217*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse:
218*12720SWyllys.Ingersoll@Sun.COM return soap_in_KMS_Certificate__RetrieveEntityCertificateResponse(soap, NULL, NULL, "KMS-Certificate:RetrieveEntityCertificateResponse");
219*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__hexBinary:
220*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__hexBinary(soap, NULL, NULL, "xsd:hexBinary");
221*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_PointerTounsignedByte:
222*12720SWyllys.Ingersoll@Sun.COM return soap_in_PointerTounsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
223*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__duration:
224*12720SWyllys.Ingersoll@Sun.COM { char **s;
225*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__duration(soap, NULL, NULL, "xsd:duration");
226*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
227*12720SWyllys.Ingersoll@Sun.COM }
228*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__dateTime:
229*12720SWyllys.Ingersoll@Sun.COM { char **s;
230*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__dateTime(soap, NULL, NULL, "xsd:dateTime");
231*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
232*12720SWyllys.Ingersoll@Sun.COM }
233*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__string:
234*12720SWyllys.Ingersoll@Sun.COM { char **s;
235*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__string(soap, NULL, NULL, "xsd:string");
236*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
237*12720SWyllys.Ingersoll@Sun.COM }
238*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate__QName:
239*12720SWyllys.Ingersoll@Sun.COM { char **s;
240*12720SWyllys.Ingersoll@Sun.COM s = soap_in__QName(soap, NULL, NULL, "xsd:QName");
241*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
242*12720SWyllys.Ingersoll@Sun.COM }
243*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_string:
244*12720SWyllys.Ingersoll@Sun.COM { char **s;
245*12720SWyllys.Ingersoll@Sun.COM s = soap_in_string(soap, NULL, NULL, "xsd:string");
246*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
247*12720SWyllys.Ingersoll@Sun.COM }
248*12720SWyllys.Ingersoll@Sun.COM default:
249*12720SWyllys.Ingersoll@Sun.COM { const char *t = soap->type;
250*12720SWyllys.Ingersoll@Sun.COM if (!*t)
251*12720SWyllys.Ingersoll@Sun.COM t = soap->tag;
252*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:byte"))
253*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_byte;
254*12720SWyllys.Ingersoll@Sun.COM return soap_in_byte(soap, NULL, NULL, NULL);
255*12720SWyllys.Ingersoll@Sun.COM }
256*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:int"))
257*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_int;
258*12720SWyllys.Ingersoll@Sun.COM return soap_in_int(soap, NULL, NULL, NULL);
259*12720SWyllys.Ingersoll@Sun.COM }
260*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:int"))
261*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_xsd__int;
262*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__int(soap, NULL, NULL, NULL);
263*12720SWyllys.Ingersoll@Sun.COM }
264*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:long"))
265*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_long;
266*12720SWyllys.Ingersoll@Sun.COM return soap_in_long(soap, NULL, NULL, NULL);
267*12720SWyllys.Ingersoll@Sun.COM }
268*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:long"))
269*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_xsd__long;
270*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__long(soap, NULL, NULL, NULL);
271*12720SWyllys.Ingersoll@Sun.COM }
272*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:long"))
273*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_LONG64;
274*12720SWyllys.Ingersoll@Sun.COM return soap_in_LONG64(soap, NULL, NULL, NULL);
275*12720SWyllys.Ingersoll@Sun.COM }
276*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:float"))
277*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_xsd__float;
278*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__float(soap, NULL, NULL, NULL);
279*12720SWyllys.Ingersoll@Sun.COM }
280*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:float"))
281*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_float;
282*12720SWyllys.Ingersoll@Sun.COM return soap_in_float(soap, NULL, NULL, NULL);
283*12720SWyllys.Ingersoll@Sun.COM }
284*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:unsignedByte"))
285*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_unsignedByte;
286*12720SWyllys.Ingersoll@Sun.COM return soap_in_unsignedByte(soap, NULL, NULL, NULL);
287*12720SWyllys.Ingersoll@Sun.COM }
288*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:unsignedInt"))
289*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_unsignedInt;
290*12720SWyllys.Ingersoll@Sun.COM return soap_in_unsignedInt(soap, NULL, NULL, NULL);
291*12720SWyllys.Ingersoll@Sun.COM }
292*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:boolean"))
293*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_xsd__boolean;
294*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__boolean(soap, NULL, NULL, NULL);
295*12720SWyllys.Ingersoll@Sun.COM }
296*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:boolean"))
297*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_bool;
298*12720SWyllys.Ingersoll@Sun.COM return soap_in_bool(soap, NULL, NULL, NULL);
299*12720SWyllys.Ingersoll@Sun.COM }
300*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "KMS-Certificate:RetrieveEntityCertificate"))
301*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate;
302*12720SWyllys.Ingersoll@Sun.COM return soap_in_KMS_Certificate__RetrieveEntityCertificate(soap, NULL, NULL, NULL);
303*12720SWyllys.Ingersoll@Sun.COM }
304*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "KMS-Certificate:RetrieveEntityCertificateResponse"))
305*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse;
306*12720SWyllys.Ingersoll@Sun.COM return soap_in_KMS_Certificate__RetrieveEntityCertificateResponse(soap, NULL, NULL, NULL);
307*12720SWyllys.Ingersoll@Sun.COM }
308*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:hexBinary"))
309*12720SWyllys.Ingersoll@Sun.COM { *type = SOAP_TYPE_KMS_Certificate_xsd__hexBinary;
310*12720SWyllys.Ingersoll@Sun.COM return soap_in_xsd__hexBinary(soap, NULL, NULL, NULL);
311*12720SWyllys.Ingersoll@Sun.COM }
312*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:duration"))
313*12720SWyllys.Ingersoll@Sun.COM { char **s;
314*12720SWyllys.Ingersoll@Sun.COM *type = SOAP_TYPE_KMS_Certificate_xsd__duration;
315*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__duration(soap, NULL, NULL, NULL);
316*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
317*12720SWyllys.Ingersoll@Sun.COM }
318*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:dateTime"))
319*12720SWyllys.Ingersoll@Sun.COM { char **s;
320*12720SWyllys.Ingersoll@Sun.COM *type = SOAP_TYPE_KMS_Certificate_xsd__dateTime;
321*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__dateTime(soap, NULL, NULL, NULL);
322*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
323*12720SWyllys.Ingersoll@Sun.COM }
324*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:string"))
325*12720SWyllys.Ingersoll@Sun.COM { char **s;
326*12720SWyllys.Ingersoll@Sun.COM *type = SOAP_TYPE_KMS_Certificate_xsd__string;
327*12720SWyllys.Ingersoll@Sun.COM s = soap_in_xsd__string(soap, NULL, NULL, NULL);
328*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
329*12720SWyllys.Ingersoll@Sun.COM }
330*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:QName"))
331*12720SWyllys.Ingersoll@Sun.COM { char **s;
332*12720SWyllys.Ingersoll@Sun.COM *type = SOAP_TYPE_KMS_Certificate__QName;
333*12720SWyllys.Ingersoll@Sun.COM s = soap_in__QName(soap, NULL, NULL, NULL);
334*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
335*12720SWyllys.Ingersoll@Sun.COM }
336*12720SWyllys.Ingersoll@Sun.COM if (!soap_match_tag(soap, t, "xsd:string"))
337*12720SWyllys.Ingersoll@Sun.COM { char **s;
338*12720SWyllys.Ingersoll@Sun.COM *type = SOAP_TYPE_KMS_Certificate_string;
339*12720SWyllys.Ingersoll@Sun.COM s = soap_in_string(soap, NULL, NULL, NULL);
340*12720SWyllys.Ingersoll@Sun.COM return s ? *s : NULL;
341*12720SWyllys.Ingersoll@Sun.COM }
342*12720SWyllys.Ingersoll@Sun.COM t = soap->tag;
343*12720SWyllys.Ingersoll@Sun.COM }
344*12720SWyllys.Ingersoll@Sun.COM }
345*12720SWyllys.Ingersoll@Sun.COM soap->error = SOAP_TAG_MISMATCH;
346*12720SWyllys.Ingersoll@Sun.COM return NULL;
347*12720SWyllys.Ingersoll@Sun.COM }
348*12720SWyllys.Ingersoll@Sun.COM #endif
349*12720SWyllys.Ingersoll@Sun.COM
soap_ignore_element(struct soap * soap)350*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap)
351*12720SWyllys.Ingersoll@Sun.COM {
352*12720SWyllys.Ingersoll@Sun.COM if (!soap_peek_element(soap))
353*12720SWyllys.Ingersoll@Sun.COM { int t;
354*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input (level=%u, %d)\n", soap->tag, soap->level, soap->body));
355*12720SWyllys.Ingersoll@Sun.COM if (soap->mustUnderstand && !soap->other)
356*12720SWyllys.Ingersoll@Sun.COM return soap->error = SOAP_MUSTUNDERSTAND;
357*12720SWyllys.Ingersoll@Sun.COM if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:"))
358*12720SWyllys.Ingersoll@Sun.COM { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag));
359*12720SWyllys.Ingersoll@Sun.COM return soap->error = SOAP_TAG_MISMATCH;
360*12720SWyllys.Ingersoll@Sun.COM }
361*12720SWyllys.Ingersoll@Sun.COM if (!*soap->id || !soap_getelement(soap, &t))
362*12720SWyllys.Ingersoll@Sun.COM { soap->peeked = 0;
363*12720SWyllys.Ingersoll@Sun.COM if (soap->fignore)
364*12720SWyllys.Ingersoll@Sun.COM soap->error = soap->fignore(soap, soap->tag);
365*12720SWyllys.Ingersoll@Sun.COM else
366*12720SWyllys.Ingersoll@Sun.COM soap->error = SOAP_OK;
367*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag));
368*12720SWyllys.Ingersoll@Sun.COM if (!soap->error && soap->body)
369*12720SWyllys.Ingersoll@Sun.COM { soap->level++;
370*12720SWyllys.Ingersoll@Sun.COM while (!soap_ignore_element(soap))
371*12720SWyllys.Ingersoll@Sun.COM ;
372*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
373*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_element_end_in(soap, NULL);
374*12720SWyllys.Ingersoll@Sun.COM }
375*12720SWyllys.Ingersoll@Sun.COM }
376*12720SWyllys.Ingersoll@Sun.COM }
377*12720SWyllys.Ingersoll@Sun.COM return soap->error;
378*12720SWyllys.Ingersoll@Sun.COM }
379*12720SWyllys.Ingersoll@Sun.COM
380*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOIDREF
soap_putindependent(struct soap * soap)381*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap)
382*12720SWyllys.Ingersoll@Sun.COM {
383*12720SWyllys.Ingersoll@Sun.COM int i;
384*12720SWyllys.Ingersoll@Sun.COM struct soap_plist *pp;
385*12720SWyllys.Ingersoll@Sun.COM if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)))
386*12720SWyllys.Ingersoll@Sun.COM for (i = 0; i < SOAP_PTRHASH; i++)
387*12720SWyllys.Ingersoll@Sun.COM for (pp = soap->pht[i]; pp; pp = pp->next)
388*12720SWyllys.Ingersoll@Sun.COM if (pp->mark1 == 2 || pp->mark2 == 2)
389*12720SWyllys.Ingersoll@Sun.COM if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type))
390*12720SWyllys.Ingersoll@Sun.COM return soap->error;
391*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
392*12720SWyllys.Ingersoll@Sun.COM }
393*12720SWyllys.Ingersoll@Sun.COM #endif
394*12720SWyllys.Ingersoll@Sun.COM
395*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOIDREF
soap_putelement(struct soap * soap,const void * ptr,const char * tag,int id,int type)396*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type)
397*12720SWyllys.Ingersoll@Sun.COM {
398*12720SWyllys.Ingersoll@Sun.COM switch (type)
399*12720SWyllys.Ingersoll@Sun.COM {
400*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_byte:
401*12720SWyllys.Ingersoll@Sun.COM return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
402*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_int:
403*12720SWyllys.Ingersoll@Sun.COM return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
404*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__int:
405*12720SWyllys.Ingersoll@Sun.COM return soap_out_xsd__int(soap, tag, id, (const long *)ptr, "xsd:int");
406*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_long:
407*12720SWyllys.Ingersoll@Sun.COM return soap_out_long(soap, tag, id, (const long *)ptr, "xsd:long");
408*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__long:
409*12720SWyllys.Ingersoll@Sun.COM return soap_out_xsd__long(soap, tag, id, (const LONG64 *)ptr, "xsd:long");
410*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_LONG64:
411*12720SWyllys.Ingersoll@Sun.COM return soap_out_LONG64(soap, tag, id, (const LONG64 *)ptr, "xsd:long");
412*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__float:
413*12720SWyllys.Ingersoll@Sun.COM return soap_out_xsd__float(soap, tag, id, (const float *)ptr, "xsd:float");
414*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_float:
415*12720SWyllys.Ingersoll@Sun.COM return soap_out_float(soap, tag, id, (const float *)ptr, "xsd:float");
416*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_unsignedByte:
417*12720SWyllys.Ingersoll@Sun.COM return soap_out_unsignedByte(soap, tag, id, (const unsigned char *)ptr, "xsd:unsignedByte");
418*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_unsignedInt:
419*12720SWyllys.Ingersoll@Sun.COM return soap_out_unsignedInt(soap, tag, id, (const unsigned int *)ptr, "xsd:unsignedInt");
420*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__boolean:
421*12720SWyllys.Ingersoll@Sun.COM return soap_out_xsd__boolean(soap, tag, id, (const bool *)ptr, "xsd:boolean");
422*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_bool:
423*12720SWyllys.Ingersoll@Sun.COM return soap_out_bool(soap, tag, id, (const bool *)ptr, "xsd:boolean");
424*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate:
425*12720SWyllys.Ingersoll@Sun.COM return soap_out_KMS_Certificate__RetrieveEntityCertificate(soap, tag, id, (const struct KMS_Certificate__RetrieveEntityCertificate *)ptr, "KMS-Certificate:RetrieveEntityCertificate");
426*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse:
427*12720SWyllys.Ingersoll@Sun.COM return soap_out_KMS_Certificate__RetrieveEntityCertificateResponse(soap, tag, id, (const struct KMS_Certificate__RetrieveEntityCertificateResponse *)ptr, "KMS-Certificate:RetrieveEntityCertificateResponse");
428*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__hexBinary:
429*12720SWyllys.Ingersoll@Sun.COM return soap_out_xsd__hexBinary(soap, tag, id, (const struct xsd__hexBinary *)ptr, "xsd:hexBinary");
430*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_PointerTounsignedByte:
431*12720SWyllys.Ingersoll@Sun.COM return soap_out_PointerTounsignedByte(soap, tag, id, (unsigned char *const*)ptr, "xsd:unsignedByte");
432*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__duration:
433*12720SWyllys.Ingersoll@Sun.COM return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:duration");
434*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__dateTime:
435*12720SWyllys.Ingersoll@Sun.COM return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:dateTime");
436*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__string:
437*12720SWyllys.Ingersoll@Sun.COM return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string");
438*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate__QName:
439*12720SWyllys.Ingersoll@Sun.COM return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName");
440*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_string:
441*12720SWyllys.Ingersoll@Sun.COM return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string");
442*12720SWyllys.Ingersoll@Sun.COM }
443*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
444*12720SWyllys.Ingersoll@Sun.COM }
445*12720SWyllys.Ingersoll@Sun.COM #endif
446*12720SWyllys.Ingersoll@Sun.COM
447*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOIDREF
soap_markelement(struct soap * soap,const void * ptr,int type)448*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr, int type)
449*12720SWyllys.Ingersoll@Sun.COM {
450*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
451*12720SWyllys.Ingersoll@Sun.COM switch (type)
452*12720SWyllys.Ingersoll@Sun.COM {
453*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate:
454*12720SWyllys.Ingersoll@Sun.COM soap_serialize_KMS_Certificate__RetrieveEntityCertificate(soap, (const struct KMS_Certificate__RetrieveEntityCertificate *)ptr);
455*12720SWyllys.Ingersoll@Sun.COM break;
456*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse:
457*12720SWyllys.Ingersoll@Sun.COM soap_serialize_KMS_Certificate__RetrieveEntityCertificateResponse(soap, (const struct KMS_Certificate__RetrieveEntityCertificateResponse *)ptr);
458*12720SWyllys.Ingersoll@Sun.COM break;
459*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__hexBinary:
460*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, (const struct xsd__hexBinary *)ptr);
461*12720SWyllys.Ingersoll@Sun.COM break;
462*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_PointerTounsignedByte:
463*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerTounsignedByte(soap, (unsigned char *const*)ptr);
464*12720SWyllys.Ingersoll@Sun.COM break;
465*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__duration:
466*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, (char*const*)&ptr);
467*12720SWyllys.Ingersoll@Sun.COM break;
468*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__dateTime:
469*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, (char*const*)&ptr);
470*12720SWyllys.Ingersoll@Sun.COM break;
471*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__string:
472*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, (char*const*)&ptr);
473*12720SWyllys.Ingersoll@Sun.COM break;
474*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate__QName:
475*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, (char*const*)&ptr);
476*12720SWyllys.Ingersoll@Sun.COM break;
477*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_string:
478*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, (char*const*)&ptr);
479*12720SWyllys.Ingersoll@Sun.COM break;
480*12720SWyllys.Ingersoll@Sun.COM }
481*12720SWyllys.Ingersoll@Sun.COM }
482*12720SWyllys.Ingersoll@Sun.COM #endif
483*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate(struct soap * soap,int t,const char * type,const char * arrayType,size_t * n)484*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n)
485*12720SWyllys.Ingersoll@Sun.COM {
486*12720SWyllys.Ingersoll@Sun.COM switch (t)
487*12720SWyllys.Ingersoll@Sun.COM {
488*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__hexBinary:
489*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_xsd__hexBinary(soap, -1, type, arrayType, n);
490*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse:
491*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_KMS_Certificate__RetrieveEntityCertificateResponse(soap, -1, type, arrayType, n);
492*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate:
493*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_KMS_Certificate__RetrieveEntityCertificate(soap, -1, type, arrayType, n);
494*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
495*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header:
496*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n);
497*12720SWyllys.Ingersoll@Sun.COM #endif
498*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
499*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code:
500*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_SOAP_ENV__Code(soap, -1, type, arrayType, n);
501*12720SWyllys.Ingersoll@Sun.COM #endif
502*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
503*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail:
504*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_SOAP_ENV__Detail(soap, -1, type, arrayType, n);
505*12720SWyllys.Ingersoll@Sun.COM #endif
506*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
507*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason:
508*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_SOAP_ENV__Reason(soap, -1, type, arrayType, n);
509*12720SWyllys.Ingersoll@Sun.COM #endif
510*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
511*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault:
512*12720SWyllys.Ingersoll@Sun.COM return (void*)soap_instantiate_SOAP_ENV__Fault(soap, -1, type, arrayType, n);
513*12720SWyllys.Ingersoll@Sun.COM #endif
514*12720SWyllys.Ingersoll@Sun.COM }
515*12720SWyllys.Ingersoll@Sun.COM return NULL;
516*12720SWyllys.Ingersoll@Sun.COM }
517*12720SWyllys.Ingersoll@Sun.COM
soap_fdelete(struct soap_clist * p)518*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
519*12720SWyllys.Ingersoll@Sun.COM { switch (p->type)
520*12720SWyllys.Ingersoll@Sun.COM {
521*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_xsd__hexBinary:
522*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
523*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct xsd__hexBinary*)p->ptr);
524*12720SWyllys.Ingersoll@Sun.COM else
525*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct xsd__hexBinary*)p->ptr);
526*12720SWyllys.Ingersoll@Sun.COM break;
527*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse:
528*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
529*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct KMS_Certificate__RetrieveEntityCertificateResponse*)p->ptr);
530*12720SWyllys.Ingersoll@Sun.COM else
531*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct KMS_Certificate__RetrieveEntityCertificateResponse*)p->ptr);
532*12720SWyllys.Ingersoll@Sun.COM break;
533*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate:
534*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
535*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct KMS_Certificate__RetrieveEntityCertificate*)p->ptr);
536*12720SWyllys.Ingersoll@Sun.COM else
537*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct KMS_Certificate__RetrieveEntityCertificate*)p->ptr);
538*12720SWyllys.Ingersoll@Sun.COM break;
539*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header:
540*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
541*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct SOAP_ENV__Header*)p->ptr);
542*12720SWyllys.Ingersoll@Sun.COM else
543*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct SOAP_ENV__Header*)p->ptr);
544*12720SWyllys.Ingersoll@Sun.COM break;
545*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code:
546*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
547*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct SOAP_ENV__Code*)p->ptr);
548*12720SWyllys.Ingersoll@Sun.COM else
549*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct SOAP_ENV__Code*)p->ptr);
550*12720SWyllys.Ingersoll@Sun.COM break;
551*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail:
552*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
553*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct SOAP_ENV__Detail*)p->ptr);
554*12720SWyllys.Ingersoll@Sun.COM else
555*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct SOAP_ENV__Detail*)p->ptr);
556*12720SWyllys.Ingersoll@Sun.COM break;
557*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason:
558*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
559*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct SOAP_ENV__Reason*)p->ptr);
560*12720SWyllys.Ingersoll@Sun.COM else
561*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct SOAP_ENV__Reason*)p->ptr);
562*12720SWyllys.Ingersoll@Sun.COM break;
563*12720SWyllys.Ingersoll@Sun.COM case SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault:
564*12720SWyllys.Ingersoll@Sun.COM if (p->size < 0)
565*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE((struct SOAP_ENV__Fault*)p->ptr);
566*12720SWyllys.Ingersoll@Sun.COM else
567*12720SWyllys.Ingersoll@Sun.COM SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault*)p->ptr);
568*12720SWyllys.Ingersoll@Sun.COM break;
569*12720SWyllys.Ingersoll@Sun.COM default: return SOAP_ERR;
570*12720SWyllys.Ingersoll@Sun.COM }
571*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
572*12720SWyllys.Ingersoll@Sun.COM }
573*12720SWyllys.Ingersoll@Sun.COM
soap_class_id_enter(struct soap * soap,const char * id,void * p,int t,size_t n,const char * type,const char * arrayType)574*12720SWyllys.Ingersoll@Sun.COM 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)
575*12720SWyllys.Ingersoll@Sun.COM { return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, soap_instantiate);
576*12720SWyllys.Ingersoll@Sun.COM }
577*12720SWyllys.Ingersoll@Sun.COM
soap_default_byte(struct soap * soap,char * a)578*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a)
579*12720SWyllys.Ingersoll@Sun.COM {
580*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
581*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_byte
582*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_byte;
583*12720SWyllys.Ingersoll@Sun.COM #else
584*12720SWyllys.Ingersoll@Sun.COM *a = (char)0;
585*12720SWyllys.Ingersoll@Sun.COM #endif
586*12720SWyllys.Ingersoll@Sun.COM }
587*12720SWyllys.Ingersoll@Sun.COM
soap_out_byte(struct soap * soap,const char * tag,int id,const char * a,const char * type)588*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type)
589*12720SWyllys.Ingersoll@Sun.COM {
590*12720SWyllys.Ingersoll@Sun.COM return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_byte);
591*12720SWyllys.Ingersoll@Sun.COM }
592*12720SWyllys.Ingersoll@Sun.COM
soap_in_byte(struct soap * soap,const char * tag,char * a,const char * type)593*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, char *a, const char *type)
594*12720SWyllys.Ingersoll@Sun.COM { char *p;
595*12720SWyllys.Ingersoll@Sun.COM p = soap_inbyte(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_byte);
596*12720SWyllys.Ingersoll@Sun.COM return p;
597*12720SWyllys.Ingersoll@Sun.COM }
598*12720SWyllys.Ingersoll@Sun.COM
soap_put_byte(struct soap * soap,const char * a,const char * tag,const char * type)599*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type)
600*12720SWyllys.Ingersoll@Sun.COM {
601*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_byte);
602*12720SWyllys.Ingersoll@Sun.COM if (soap_out_byte(soap, tag?tag:"byte", id, a, type))
603*12720SWyllys.Ingersoll@Sun.COM return soap->error;
604*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
605*12720SWyllys.Ingersoll@Sun.COM }
606*12720SWyllys.Ingersoll@Sun.COM
soap_get_byte(struct soap * soap,char * p,const char * tag,const char * type)607*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const char *tag, const char *type)
608*12720SWyllys.Ingersoll@Sun.COM {
609*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_byte(soap, tag, p, type)))
610*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
611*12720SWyllys.Ingersoll@Sun.COM return NULL;
612*12720SWyllys.Ingersoll@Sun.COM return p;
613*12720SWyllys.Ingersoll@Sun.COM }
614*12720SWyllys.Ingersoll@Sun.COM
soap_default_int(struct soap * soap,int * a)615*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a)
616*12720SWyllys.Ingersoll@Sun.COM {
617*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
618*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_int
619*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_int;
620*12720SWyllys.Ingersoll@Sun.COM #else
621*12720SWyllys.Ingersoll@Sun.COM *a = (int)0;
622*12720SWyllys.Ingersoll@Sun.COM #endif
623*12720SWyllys.Ingersoll@Sun.COM }
624*12720SWyllys.Ingersoll@Sun.COM
soap_out_int(struct soap * soap,const char * tag,int id,const int * a,const char * type)625*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type)
626*12720SWyllys.Ingersoll@Sun.COM {
627*12720SWyllys.Ingersoll@Sun.COM return soap_outint(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_int);
628*12720SWyllys.Ingersoll@Sun.COM }
629*12720SWyllys.Ingersoll@Sun.COM
soap_in_int(struct soap * soap,const char * tag,int * a,const char * type)630*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int *a, const char *type)
631*12720SWyllys.Ingersoll@Sun.COM { int *p;
632*12720SWyllys.Ingersoll@Sun.COM p = soap_inint(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_int);
633*12720SWyllys.Ingersoll@Sun.COM return p;
634*12720SWyllys.Ingersoll@Sun.COM }
635*12720SWyllys.Ingersoll@Sun.COM
soap_put_int(struct soap * soap,const int * a,const char * tag,const char * type)636*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type)
637*12720SWyllys.Ingersoll@Sun.COM {
638*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_int);
639*12720SWyllys.Ingersoll@Sun.COM if (soap_out_int(soap, tag?tag:"int", id, a, type))
640*12720SWyllys.Ingersoll@Sun.COM return soap->error;
641*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
642*12720SWyllys.Ingersoll@Sun.COM }
643*12720SWyllys.Ingersoll@Sun.COM
soap_get_int(struct soap * soap,int * p,const char * tag,const char * type)644*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap *soap, int *p, const char *tag, const char *type)
645*12720SWyllys.Ingersoll@Sun.COM {
646*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_int(soap, tag, p, type)))
647*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
648*12720SWyllys.Ingersoll@Sun.COM return NULL;
649*12720SWyllys.Ingersoll@Sun.COM return p;
650*12720SWyllys.Ingersoll@Sun.COM }
651*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__int(struct soap * soap,const char * tag,int id,const long * a,const char * type)652*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__int(struct soap *soap, const char *tag, int id, const long *a, const char *type)
653*12720SWyllys.Ingersoll@Sun.COM {
654*12720SWyllys.Ingersoll@Sun.COM return soap_outlong(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__int);
655*12720SWyllys.Ingersoll@Sun.COM }
656*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__int(struct soap * soap,const char * tag,long * a,const char * type)657*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 long * SOAP_FMAC4 soap_in_xsd__int(struct soap *soap, const char *tag, long *a, const char *type)
658*12720SWyllys.Ingersoll@Sun.COM { long *p;
659*12720SWyllys.Ingersoll@Sun.COM p = soap_inlong(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__int);
660*12720SWyllys.Ingersoll@Sun.COM return p;
661*12720SWyllys.Ingersoll@Sun.COM }
662*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__int(struct soap * soap,const long * a,const char * tag,const char * type)663*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__int(struct soap *soap, const long *a, const char *tag, const char *type)
664*12720SWyllys.Ingersoll@Sun.COM {
665*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__int);
666*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__int(soap, tag?tag:"xsd:int", id, a, type))
667*12720SWyllys.Ingersoll@Sun.COM return soap->error;
668*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
669*12720SWyllys.Ingersoll@Sun.COM }
670*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__int(struct soap * soap,long * p,const char * tag,const char * type)671*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 long * SOAP_FMAC4 soap_get_xsd__int(struct soap *soap, long *p, const char *tag, const char *type)
672*12720SWyllys.Ingersoll@Sun.COM {
673*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__int(soap, tag, p, type)))
674*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
675*12720SWyllys.Ingersoll@Sun.COM return NULL;
676*12720SWyllys.Ingersoll@Sun.COM return p;
677*12720SWyllys.Ingersoll@Sun.COM }
678*12720SWyllys.Ingersoll@Sun.COM
soap_default_long(struct soap * soap,long * a)679*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_long(struct soap *soap, long *a)
680*12720SWyllys.Ingersoll@Sun.COM {
681*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
682*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_long
683*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_long;
684*12720SWyllys.Ingersoll@Sun.COM #else
685*12720SWyllys.Ingersoll@Sun.COM *a = (long)0;
686*12720SWyllys.Ingersoll@Sun.COM #endif
687*12720SWyllys.Ingersoll@Sun.COM }
688*12720SWyllys.Ingersoll@Sun.COM
soap_out_long(struct soap * soap,const char * tag,int id,const long * a,const char * type)689*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_long(struct soap *soap, const char *tag, int id, const long *a, const char *type)
690*12720SWyllys.Ingersoll@Sun.COM {
691*12720SWyllys.Ingersoll@Sun.COM return soap_outlong(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_long);
692*12720SWyllys.Ingersoll@Sun.COM }
693*12720SWyllys.Ingersoll@Sun.COM
soap_in_long(struct soap * soap,const char * tag,long * a,const char * type)694*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 long * SOAP_FMAC4 soap_in_long(struct soap *soap, const char *tag, long *a, const char *type)
695*12720SWyllys.Ingersoll@Sun.COM { long *p;
696*12720SWyllys.Ingersoll@Sun.COM p = soap_inlong(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_long);
697*12720SWyllys.Ingersoll@Sun.COM return p;
698*12720SWyllys.Ingersoll@Sun.COM }
699*12720SWyllys.Ingersoll@Sun.COM
soap_put_long(struct soap * soap,const long * a,const char * tag,const char * type)700*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_long(struct soap *soap, const long *a, const char *tag, const char *type)
701*12720SWyllys.Ingersoll@Sun.COM {
702*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_long);
703*12720SWyllys.Ingersoll@Sun.COM if (soap_out_long(soap, tag?tag:"long", id, a, type))
704*12720SWyllys.Ingersoll@Sun.COM return soap->error;
705*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
706*12720SWyllys.Ingersoll@Sun.COM }
707*12720SWyllys.Ingersoll@Sun.COM
soap_get_long(struct soap * soap,long * p,const char * tag,const char * type)708*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 long * SOAP_FMAC4 soap_get_long(struct soap *soap, long *p, const char *tag, const char *type)
709*12720SWyllys.Ingersoll@Sun.COM {
710*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_long(soap, tag, p, type)))
711*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
712*12720SWyllys.Ingersoll@Sun.COM return NULL;
713*12720SWyllys.Ingersoll@Sun.COM return p;
714*12720SWyllys.Ingersoll@Sun.COM }
715*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__long(struct soap * soap,const char * tag,int id,const LONG64 * a,const char * type)716*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__long(struct soap *soap, const char *tag, int id, const LONG64 *a, const char *type)
717*12720SWyllys.Ingersoll@Sun.COM {
718*12720SWyllys.Ingersoll@Sun.COM return soap_outLONG64(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__long);
719*12720SWyllys.Ingersoll@Sun.COM }
720*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__long(struct soap * soap,const char * tag,LONG64 * a,const char * type)721*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 LONG64 * SOAP_FMAC4 soap_in_xsd__long(struct soap *soap, const char *tag, LONG64 *a, const char *type)
722*12720SWyllys.Ingersoll@Sun.COM { LONG64 *p;
723*12720SWyllys.Ingersoll@Sun.COM p = soap_inLONG64(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__long);
724*12720SWyllys.Ingersoll@Sun.COM return p;
725*12720SWyllys.Ingersoll@Sun.COM }
726*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__long(struct soap * soap,const LONG64 * a,const char * tag,const char * type)727*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__long(struct soap *soap, const LONG64 *a, const char *tag, const char *type)
728*12720SWyllys.Ingersoll@Sun.COM {
729*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__long);
730*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__long(soap, tag?tag:"xsd:long", id, a, type))
731*12720SWyllys.Ingersoll@Sun.COM return soap->error;
732*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
733*12720SWyllys.Ingersoll@Sun.COM }
734*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__long(struct soap * soap,LONG64 * p,const char * tag,const char * type)735*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 LONG64 * SOAP_FMAC4 soap_get_xsd__long(struct soap *soap, LONG64 *p, const char *tag, const char *type)
736*12720SWyllys.Ingersoll@Sun.COM {
737*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__long(soap, tag, p, type)))
738*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
739*12720SWyllys.Ingersoll@Sun.COM return NULL;
740*12720SWyllys.Ingersoll@Sun.COM return p;
741*12720SWyllys.Ingersoll@Sun.COM }
742*12720SWyllys.Ingersoll@Sun.COM
soap_default_LONG64(struct soap * soap,LONG64 * a)743*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_LONG64(struct soap *soap, LONG64 *a)
744*12720SWyllys.Ingersoll@Sun.COM {
745*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
746*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_LONG64
747*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_LONG64;
748*12720SWyllys.Ingersoll@Sun.COM #else
749*12720SWyllys.Ingersoll@Sun.COM *a = (LONG64)0;
750*12720SWyllys.Ingersoll@Sun.COM #endif
751*12720SWyllys.Ingersoll@Sun.COM }
752*12720SWyllys.Ingersoll@Sun.COM
soap_out_LONG64(struct soap * soap,const char * tag,int id,const LONG64 * a,const char * type)753*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_LONG64(struct soap *soap, const char *tag, int id, const LONG64 *a, const char *type)
754*12720SWyllys.Ingersoll@Sun.COM {
755*12720SWyllys.Ingersoll@Sun.COM return soap_outLONG64(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_LONG64);
756*12720SWyllys.Ingersoll@Sun.COM }
757*12720SWyllys.Ingersoll@Sun.COM
soap_in_LONG64(struct soap * soap,const char * tag,LONG64 * a,const char * type)758*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 LONG64 * SOAP_FMAC4 soap_in_LONG64(struct soap *soap, const char *tag, LONG64 *a, const char *type)
759*12720SWyllys.Ingersoll@Sun.COM { LONG64 *p;
760*12720SWyllys.Ingersoll@Sun.COM p = soap_inLONG64(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_LONG64);
761*12720SWyllys.Ingersoll@Sun.COM return p;
762*12720SWyllys.Ingersoll@Sun.COM }
763*12720SWyllys.Ingersoll@Sun.COM
soap_put_LONG64(struct soap * soap,const LONG64 * a,const char * tag,const char * type)764*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_LONG64(struct soap *soap, const LONG64 *a, const char *tag, const char *type)
765*12720SWyllys.Ingersoll@Sun.COM {
766*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_LONG64);
767*12720SWyllys.Ingersoll@Sun.COM if (soap_out_LONG64(soap, tag?tag:"long", id, a, type))
768*12720SWyllys.Ingersoll@Sun.COM return soap->error;
769*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
770*12720SWyllys.Ingersoll@Sun.COM }
771*12720SWyllys.Ingersoll@Sun.COM
soap_get_LONG64(struct soap * soap,LONG64 * p,const char * tag,const char * type)772*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 LONG64 * SOAP_FMAC4 soap_get_LONG64(struct soap *soap, LONG64 *p, const char *tag, const char *type)
773*12720SWyllys.Ingersoll@Sun.COM {
774*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_LONG64(soap, tag, p, type)))
775*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
776*12720SWyllys.Ingersoll@Sun.COM return NULL;
777*12720SWyllys.Ingersoll@Sun.COM return p;
778*12720SWyllys.Ingersoll@Sun.COM }
779*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__float(struct soap * soap,const char * tag,int id,const float * a,const char * type)780*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__float(struct soap *soap, const char *tag, int id, const float *a, const char *type)
781*12720SWyllys.Ingersoll@Sun.COM {
782*12720SWyllys.Ingersoll@Sun.COM return soap_outfloat(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__float);
783*12720SWyllys.Ingersoll@Sun.COM }
784*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__float(struct soap * soap,const char * tag,float * a,const char * type)785*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 float * SOAP_FMAC4 soap_in_xsd__float(struct soap *soap, const char *tag, float *a, const char *type)
786*12720SWyllys.Ingersoll@Sun.COM { float *p;
787*12720SWyllys.Ingersoll@Sun.COM p = soap_infloat(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__float);
788*12720SWyllys.Ingersoll@Sun.COM return p;
789*12720SWyllys.Ingersoll@Sun.COM }
790*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__float(struct soap * soap,const float * a,const char * tag,const char * type)791*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__float(struct soap *soap, const float *a, const char *tag, const char *type)
792*12720SWyllys.Ingersoll@Sun.COM {
793*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__float);
794*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__float(soap, tag?tag:"xsd:float", id, a, type))
795*12720SWyllys.Ingersoll@Sun.COM return soap->error;
796*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
797*12720SWyllys.Ingersoll@Sun.COM }
798*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__float(struct soap * soap,float * p,const char * tag,const char * type)799*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 float * SOAP_FMAC4 soap_get_xsd__float(struct soap *soap, float *p, const char *tag, const char *type)
800*12720SWyllys.Ingersoll@Sun.COM {
801*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__float(soap, tag, p, type)))
802*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
803*12720SWyllys.Ingersoll@Sun.COM return NULL;
804*12720SWyllys.Ingersoll@Sun.COM return p;
805*12720SWyllys.Ingersoll@Sun.COM }
806*12720SWyllys.Ingersoll@Sun.COM
soap_default_float(struct soap * soap,float * a)807*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_float(struct soap *soap, float *a)
808*12720SWyllys.Ingersoll@Sun.COM {
809*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
810*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_float
811*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_float;
812*12720SWyllys.Ingersoll@Sun.COM #else
813*12720SWyllys.Ingersoll@Sun.COM *a = (float)0;
814*12720SWyllys.Ingersoll@Sun.COM #endif
815*12720SWyllys.Ingersoll@Sun.COM }
816*12720SWyllys.Ingersoll@Sun.COM
soap_out_float(struct soap * soap,const char * tag,int id,const float * a,const char * type)817*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_float(struct soap *soap, const char *tag, int id, const float *a, const char *type)
818*12720SWyllys.Ingersoll@Sun.COM {
819*12720SWyllys.Ingersoll@Sun.COM return soap_outfloat(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_float);
820*12720SWyllys.Ingersoll@Sun.COM }
821*12720SWyllys.Ingersoll@Sun.COM
soap_in_float(struct soap * soap,const char * tag,float * a,const char * type)822*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 float * SOAP_FMAC4 soap_in_float(struct soap *soap, const char *tag, float *a, const char *type)
823*12720SWyllys.Ingersoll@Sun.COM { float *p;
824*12720SWyllys.Ingersoll@Sun.COM p = soap_infloat(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_float);
825*12720SWyllys.Ingersoll@Sun.COM return p;
826*12720SWyllys.Ingersoll@Sun.COM }
827*12720SWyllys.Ingersoll@Sun.COM
soap_put_float(struct soap * soap,const float * a,const char * tag,const char * type)828*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_float(struct soap *soap, const float *a, const char *tag, const char *type)
829*12720SWyllys.Ingersoll@Sun.COM {
830*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_float);
831*12720SWyllys.Ingersoll@Sun.COM if (soap_out_float(soap, tag?tag:"float", id, a, type))
832*12720SWyllys.Ingersoll@Sun.COM return soap->error;
833*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
834*12720SWyllys.Ingersoll@Sun.COM }
835*12720SWyllys.Ingersoll@Sun.COM
soap_get_float(struct soap * soap,float * p,const char * tag,const char * type)836*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 float * SOAP_FMAC4 soap_get_float(struct soap *soap, float *p, const char *tag, const char *type)
837*12720SWyllys.Ingersoll@Sun.COM {
838*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_float(soap, tag, p, type)))
839*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
840*12720SWyllys.Ingersoll@Sun.COM return NULL;
841*12720SWyllys.Ingersoll@Sun.COM return p;
842*12720SWyllys.Ingersoll@Sun.COM }
843*12720SWyllys.Ingersoll@Sun.COM
soap_default_unsignedByte(struct soap * soap,unsigned char * a)844*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap *soap, unsigned char *a)
845*12720SWyllys.Ingersoll@Sun.COM {
846*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
847*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_unsignedByte
848*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_unsignedByte;
849*12720SWyllys.Ingersoll@Sun.COM #else
850*12720SWyllys.Ingersoll@Sun.COM *a = (unsigned char)0;
851*12720SWyllys.Ingersoll@Sun.COM #endif
852*12720SWyllys.Ingersoll@Sun.COM }
853*12720SWyllys.Ingersoll@Sun.COM
soap_out_unsignedByte(struct soap * soap,const char * tag,int id,const unsigned char * a,const char * type)854*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
855*12720SWyllys.Ingersoll@Sun.COM {
856*12720SWyllys.Ingersoll@Sun.COM return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_unsignedByte);
857*12720SWyllys.Ingersoll@Sun.COM }
858*12720SWyllys.Ingersoll@Sun.COM
soap_in_unsignedByte(struct soap * soap,const char * tag,unsigned char * a,const char * type)859*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap *soap, const char *tag, unsigned char *a, const char *type)
860*12720SWyllys.Ingersoll@Sun.COM { unsigned char *p;
861*12720SWyllys.Ingersoll@Sun.COM p = soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_unsignedByte);
862*12720SWyllys.Ingersoll@Sun.COM return p;
863*12720SWyllys.Ingersoll@Sun.COM }
864*12720SWyllys.Ingersoll@Sun.COM
soap_put_unsignedByte(struct soap * soap,const unsigned char * a,const char * tag,const char * type)865*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
866*12720SWyllys.Ingersoll@Sun.COM {
867*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_unsignedByte);
868*12720SWyllys.Ingersoll@Sun.COM if (soap_out_unsignedByte(soap, tag?tag:"unsignedByte", id, a, type))
869*12720SWyllys.Ingersoll@Sun.COM return soap->error;
870*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
871*12720SWyllys.Ingersoll@Sun.COM }
872*12720SWyllys.Ingersoll@Sun.COM
soap_get_unsignedByte(struct soap * soap,unsigned char * p,const char * tag,const char * type)873*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap *soap, unsigned char *p, const char *tag, const char *type)
874*12720SWyllys.Ingersoll@Sun.COM {
875*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_unsignedByte(soap, tag, p, type)))
876*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
877*12720SWyllys.Ingersoll@Sun.COM return NULL;
878*12720SWyllys.Ingersoll@Sun.COM return p;
879*12720SWyllys.Ingersoll@Sun.COM }
880*12720SWyllys.Ingersoll@Sun.COM
soap_default_unsignedInt(struct soap * soap,unsigned int * a)881*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap *soap, unsigned int *a)
882*12720SWyllys.Ingersoll@Sun.COM {
883*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
884*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_unsignedInt
885*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_unsignedInt;
886*12720SWyllys.Ingersoll@Sun.COM #else
887*12720SWyllys.Ingersoll@Sun.COM *a = (unsigned int)0;
888*12720SWyllys.Ingersoll@Sun.COM #endif
889*12720SWyllys.Ingersoll@Sun.COM }
890*12720SWyllys.Ingersoll@Sun.COM
soap_out_unsignedInt(struct soap * soap,const char * tag,int id,const unsigned int * a,const char * type)891*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *a, const char *type)
892*12720SWyllys.Ingersoll@Sun.COM {
893*12720SWyllys.Ingersoll@Sun.COM return soap_outunsignedInt(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_unsignedInt);
894*12720SWyllys.Ingersoll@Sun.COM }
895*12720SWyllys.Ingersoll@Sun.COM
soap_in_unsignedInt(struct soap * soap,const char * tag,unsigned int * a,const char * type)896*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap *soap, const char *tag, unsigned int *a, const char *type)
897*12720SWyllys.Ingersoll@Sun.COM { unsigned int *p;
898*12720SWyllys.Ingersoll@Sun.COM p = soap_inunsignedInt(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_unsignedInt);
899*12720SWyllys.Ingersoll@Sun.COM return p;
900*12720SWyllys.Ingersoll@Sun.COM }
901*12720SWyllys.Ingersoll@Sun.COM
soap_put_unsignedInt(struct soap * soap,const unsigned int * a,const char * tag,const char * type)902*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap *soap, const unsigned int *a, const char *tag, const char *type)
903*12720SWyllys.Ingersoll@Sun.COM {
904*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_unsignedInt);
905*12720SWyllys.Ingersoll@Sun.COM if (soap_out_unsignedInt(soap, tag?tag:"unsignedInt", id, a, type))
906*12720SWyllys.Ingersoll@Sun.COM return soap->error;
907*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
908*12720SWyllys.Ingersoll@Sun.COM }
909*12720SWyllys.Ingersoll@Sun.COM
soap_get_unsignedInt(struct soap * soap,unsigned int * p,const char * tag,const char * type)910*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap *soap, unsigned int *p, const char *tag, const char *type)
911*12720SWyllys.Ingersoll@Sun.COM {
912*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_unsignedInt(soap, tag, p, type)))
913*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
914*12720SWyllys.Ingersoll@Sun.COM return NULL;
915*12720SWyllys.Ingersoll@Sun.COM return p;
916*12720SWyllys.Ingersoll@Sun.COM }
917*12720SWyllys.Ingersoll@Sun.COM
soap_xsd__boolean2s(struct soap * soap,bool n)918*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3S const char* SOAP_FMAC4S soap_xsd__boolean2s(struct soap *soap, bool n)
919*12720SWyllys.Ingersoll@Sun.COM { return soap_bool2s(soap, n);
920*12720SWyllys.Ingersoll@Sun.COM }
921*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__boolean(struct soap * soap,const char * tag,int id,const bool * a,const char * type)922*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__boolean(struct soap *soap, const char *tag, int id, const bool *a, const char *type)
923*12720SWyllys.Ingersoll@Sun.COM { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_xsd__boolean), type) || soap_send(soap, soap_xsd__boolean2s(soap, *a)))
924*12720SWyllys.Ingersoll@Sun.COM return soap->error;
925*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
926*12720SWyllys.Ingersoll@Sun.COM }
927*12720SWyllys.Ingersoll@Sun.COM
soap_s2xsd__boolean(struct soap * soap,const char * s,bool * a)928*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3S int SOAP_FMAC4S soap_s2xsd__boolean(struct soap *soap, const char *s, bool *a)
929*12720SWyllys.Ingersoll@Sun.COM {
930*12720SWyllys.Ingersoll@Sun.COM return soap_s2bool(soap, s, a);
931*12720SWyllys.Ingersoll@Sun.COM }
932*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__boolean(struct soap * soap,const char * tag,bool * a,const char * type)933*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_xsd__boolean(struct soap *soap, const char *tag, bool *a, const char *type)
934*12720SWyllys.Ingersoll@Sun.COM {
935*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, NULL))
936*12720SWyllys.Ingersoll@Sun.COM return NULL;
937*12720SWyllys.Ingersoll@Sun.COM if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":boolean"))
938*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TYPE;
939*12720SWyllys.Ingersoll@Sun.COM return NULL;
940*12720SWyllys.Ingersoll@Sun.COM }
941*12720SWyllys.Ingersoll@Sun.COM a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_xsd__boolean, sizeof(bool), 0, NULL, NULL, NULL);
942*12720SWyllys.Ingersoll@Sun.COM if (!a)
943*12720SWyllys.Ingersoll@Sun.COM return NULL;
944*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
945*12720SWyllys.Ingersoll@Sun.COM { if (!a || soap_s2xsd__boolean(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
946*12720SWyllys.Ingersoll@Sun.COM return NULL;
947*12720SWyllys.Ingersoll@Sun.COM }
948*12720SWyllys.Ingersoll@Sun.COM else
949*12720SWyllys.Ingersoll@Sun.COM { a = (bool *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_xsd__boolean, 0, sizeof(bool), 0, NULL);
950*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
951*12720SWyllys.Ingersoll@Sun.COM return NULL;
952*12720SWyllys.Ingersoll@Sun.COM }
953*12720SWyllys.Ingersoll@Sun.COM return a;
954*12720SWyllys.Ingersoll@Sun.COM }
955*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__boolean(struct soap * soap,const bool * a,const char * tag,const char * type)956*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__boolean(struct soap *soap, const bool *a, const char *tag, const char *type)
957*12720SWyllys.Ingersoll@Sun.COM {
958*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__boolean);
959*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__boolean(soap, tag?tag:"xsd:boolean", id, a, type))
960*12720SWyllys.Ingersoll@Sun.COM return soap->error;
961*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
962*12720SWyllys.Ingersoll@Sun.COM }
963*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__boolean(struct soap * soap,bool * p,const char * tag,const char * type)964*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_xsd__boolean(struct soap *soap, bool *p, const char *tag, const char *type)
965*12720SWyllys.Ingersoll@Sun.COM {
966*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__boolean(soap, tag, p, type)))
967*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
968*12720SWyllys.Ingersoll@Sun.COM return NULL;
969*12720SWyllys.Ingersoll@Sun.COM return p;
970*12720SWyllys.Ingersoll@Sun.COM }
971*12720SWyllys.Ingersoll@Sun.COM
soap_default_bool(struct soap * soap,bool * a)972*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap *soap, bool *a)
973*12720SWyllys.Ingersoll@Sun.COM {
974*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
975*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_bool
976*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_bool;
977*12720SWyllys.Ingersoll@Sun.COM #else
978*12720SWyllys.Ingersoll@Sun.COM *a = (bool)0;
979*12720SWyllys.Ingersoll@Sun.COM #endif
980*12720SWyllys.Ingersoll@Sun.COM }
981*12720SWyllys.Ingersoll@Sun.COM
982*12720SWyllys.Ingersoll@Sun.COM static const struct soap_code_map soap_codes_bool[] =
983*12720SWyllys.Ingersoll@Sun.COM { { (long)false, "false" },
984*12720SWyllys.Ingersoll@Sun.COM { (long)true, "true" },
985*12720SWyllys.Ingersoll@Sun.COM { 0, NULL }
986*12720SWyllys.Ingersoll@Sun.COM };
987*12720SWyllys.Ingersoll@Sun.COM
soap_bool2s(struct soap * soap,bool n)988*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap *soap, bool n)
989*12720SWyllys.Ingersoll@Sun.COM {
990*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
991*12720SWyllys.Ingersoll@Sun.COM return soap_code_str(soap_codes_bool, n!=0);
992*12720SWyllys.Ingersoll@Sun.COM }
993*12720SWyllys.Ingersoll@Sun.COM
soap_out_bool(struct soap * soap,const char * tag,int id,const bool * a,const char * type)994*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap *soap, const char *tag, int id, const bool *a, const char *type)
995*12720SWyllys.Ingersoll@Sun.COM { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_bool), type) || soap_send(soap, soap_bool2s(soap, *a)))
996*12720SWyllys.Ingersoll@Sun.COM return soap->error;
997*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
998*12720SWyllys.Ingersoll@Sun.COM }
999*12720SWyllys.Ingersoll@Sun.COM
soap_s2bool(struct soap * soap,const char * s,bool * a)1000*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap *soap, const char *s, bool *a)
1001*12720SWyllys.Ingersoll@Sun.COM {
1002*12720SWyllys.Ingersoll@Sun.COM const struct soap_code_map *map;
1003*12720SWyllys.Ingersoll@Sun.COM if (!s)
1004*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1005*12720SWyllys.Ingersoll@Sun.COM map = soap_code(soap_codes_bool, s);
1006*12720SWyllys.Ingersoll@Sun.COM if (map)
1007*12720SWyllys.Ingersoll@Sun.COM *a = (bool)(map->code != 0);
1008*12720SWyllys.Ingersoll@Sun.COM else
1009*12720SWyllys.Ingersoll@Sun.COM { long n;
1010*12720SWyllys.Ingersoll@Sun.COM if (soap_s2long(soap, s, &n) || n < 0 || n > 1)
1011*12720SWyllys.Ingersoll@Sun.COM return soap->error = SOAP_TYPE;
1012*12720SWyllys.Ingersoll@Sun.COM *a = (bool)(n != 0);
1013*12720SWyllys.Ingersoll@Sun.COM }
1014*12720SWyllys.Ingersoll@Sun.COM return SOAP_OK;
1015*12720SWyllys.Ingersoll@Sun.COM }
1016*12720SWyllys.Ingersoll@Sun.COM
soap_in_bool(struct soap * soap,const char * tag,bool * a,const char * type)1017*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap *soap, const char *tag, bool *a, const char *type)
1018*12720SWyllys.Ingersoll@Sun.COM {
1019*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, NULL))
1020*12720SWyllys.Ingersoll@Sun.COM return NULL;
1021*12720SWyllys.Ingersoll@Sun.COM if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":boolean"))
1022*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TYPE;
1023*12720SWyllys.Ingersoll@Sun.COM return NULL;
1024*12720SWyllys.Ingersoll@Sun.COM }
1025*12720SWyllys.Ingersoll@Sun.COM a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_bool, sizeof(bool), 0, NULL, NULL, NULL);
1026*12720SWyllys.Ingersoll@Sun.COM if (!a)
1027*12720SWyllys.Ingersoll@Sun.COM return NULL;
1028*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1029*12720SWyllys.Ingersoll@Sun.COM { if (!a || soap_s2bool(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
1030*12720SWyllys.Ingersoll@Sun.COM return NULL;
1031*12720SWyllys.Ingersoll@Sun.COM }
1032*12720SWyllys.Ingersoll@Sun.COM else
1033*12720SWyllys.Ingersoll@Sun.COM { a = (bool *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_bool, 0, sizeof(bool), 0, NULL);
1034*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1035*12720SWyllys.Ingersoll@Sun.COM return NULL;
1036*12720SWyllys.Ingersoll@Sun.COM }
1037*12720SWyllys.Ingersoll@Sun.COM return a;
1038*12720SWyllys.Ingersoll@Sun.COM }
1039*12720SWyllys.Ingersoll@Sun.COM
soap_put_bool(struct soap * soap,const bool * a,const char * tag,const char * type)1040*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap *soap, const bool *a, const char *tag, const char *type)
1041*12720SWyllys.Ingersoll@Sun.COM {
1042*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_bool);
1043*12720SWyllys.Ingersoll@Sun.COM if (soap_out_bool(soap, tag?tag:"boolean", id, a, type))
1044*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1045*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1046*12720SWyllys.Ingersoll@Sun.COM }
1047*12720SWyllys.Ingersoll@Sun.COM
soap_get_bool(struct soap * soap,bool * p,const char * tag,const char * type)1048*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap *soap, bool *p, const char *tag, const char *type)
1049*12720SWyllys.Ingersoll@Sun.COM {
1050*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_bool(soap, tag, p, type)))
1051*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1052*12720SWyllys.Ingersoll@Sun.COM return NULL;
1053*12720SWyllys.Ingersoll@Sun.COM return p;
1054*12720SWyllys.Ingersoll@Sun.COM }
1055*12720SWyllys.Ingersoll@Sun.COM
1056*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
1057*12720SWyllys.Ingersoll@Sun.COM
soap_default_SOAP_ENV__Fault(struct soap * soap,struct SOAP_ENV__Fault * a)1058*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *a)
1059*12720SWyllys.Ingersoll@Sun.COM {
1060*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1061*12720SWyllys.Ingersoll@Sun.COM soap_default__QName(soap, &a->faultcode);
1062*12720SWyllys.Ingersoll@Sun.COM soap_default_string(soap, &a->faultstring);
1063*12720SWyllys.Ingersoll@Sun.COM soap_default_string(soap, &a->faultactor);
1064*12720SWyllys.Ingersoll@Sun.COM a->detail = NULL;
1065*12720SWyllys.Ingersoll@Sun.COM a->SOAP_ENV__Code = NULL;
1066*12720SWyllys.Ingersoll@Sun.COM a->SOAP_ENV__Reason = NULL;
1067*12720SWyllys.Ingersoll@Sun.COM soap_default_string(soap, &a->SOAP_ENV__Node);
1068*12720SWyllys.Ingersoll@Sun.COM soap_default_string(soap, &a->SOAP_ENV__Role);
1069*12720SWyllys.Ingersoll@Sun.COM a->SOAP_ENV__Detail = NULL;
1070*12720SWyllys.Ingersoll@Sun.COM }
1071*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_SOAP_ENV__Fault(struct soap * soap,const struct SOAP_ENV__Fault * a)1072*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a)
1073*12720SWyllys.Ingersoll@Sun.COM {
1074*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1075*12720SWyllys.Ingersoll@Sun.COM soap_serialize__QName(soap, &a->faultcode);
1076*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, &a->faultstring);
1077*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, &a->faultactor);
1078*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->detail);
1079*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Code);
1080*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerToSOAP_ENV__Reason(soap, &a->SOAP_ENV__Reason);
1081*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, &a->SOAP_ENV__Node);
1082*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, &a->SOAP_ENV__Role);
1083*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail);
1084*12720SWyllys.Ingersoll@Sun.COM }
1085*12720SWyllys.Ingersoll@Sun.COM
soap_out_SOAP_ENV__Fault(struct soap * soap,const char * tag,int id,const struct SOAP_ENV__Fault * a,const char * type)1086*12720SWyllys.Ingersoll@Sun.COM 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)
1087*12720SWyllys.Ingersoll@Sun.COM {
1088*12720SWyllys.Ingersoll@Sun.COM const char *soap_tmp_faultcode = soap_QName2s(soap, a->faultcode);
1089*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault), type))
1090*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1091*12720SWyllys.Ingersoll@Sun.COM if (soap_out__QName(soap, "faultcode", -1, (char*const*)&soap_tmp_faultcode, ""))
1092*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1093*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, "faultstring", -1, &a->faultstring, "xsd:string"))
1094*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1095*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, "faultactor", -1, &a->faultactor, "xsd:string"))
1096*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1097*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, ""))
1098*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1099*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", -1, &a->SOAP_ENV__Code, ""))
1100*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1101*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", -1, &a->SOAP_ENV__Reason, ""))
1102*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1103*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, "SOAP-ENV:Node", -1, &a->SOAP_ENV__Node, ""))
1104*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1105*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, "SOAP-ENV:Role", -1, &a->SOAP_ENV__Role, ""))
1106*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1107*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", -1, &a->SOAP_ENV__Detail, ""))
1108*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1109*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1110*12720SWyllys.Ingersoll@Sun.COM }
1111*12720SWyllys.Ingersoll@Sun.COM
soap_in_SOAP_ENV__Fault(struct soap * soap,const char * tag,struct SOAP_ENV__Fault * a,const char * type)1112*12720SWyllys.Ingersoll@Sun.COM 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)
1113*12720SWyllys.Ingersoll@Sun.COM {
1114*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_faultcode = 1;
1115*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_faultstring = 1;
1116*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_faultactor = 1;
1117*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_detail = 1;
1118*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Code = 1;
1119*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Reason = 1;
1120*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Node = 1;
1121*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Role = 1;
1122*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Detail = 1;
1123*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1124*12720SWyllys.Ingersoll@Sun.COM return NULL;
1125*12720SWyllys.Ingersoll@Sun.COM a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL, NULL);
1126*12720SWyllys.Ingersoll@Sun.COM if (!a)
1127*12720SWyllys.Ingersoll@Sun.COM return NULL;
1128*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Fault(soap, a);
1129*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1130*12720SWyllys.Ingersoll@Sun.COM {
1131*12720SWyllys.Ingersoll@Sun.COM for (;;)
1132*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1133*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1134*12720SWyllys.Ingersoll@Sun.COM if (soap_in__QName(soap, "faultcode", &a->faultcode, ""))
1135*12720SWyllys.Ingersoll@Sun.COM { soap_flag_faultcode--;
1136*12720SWyllys.Ingersoll@Sun.COM continue;
1137*12720SWyllys.Ingersoll@Sun.COM }
1138*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1139*12720SWyllys.Ingersoll@Sun.COM if (soap_in_string(soap, "faultstring", &a->faultstring, "xsd:string"))
1140*12720SWyllys.Ingersoll@Sun.COM { soap_flag_faultstring--;
1141*12720SWyllys.Ingersoll@Sun.COM continue;
1142*12720SWyllys.Ingersoll@Sun.COM }
1143*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1144*12720SWyllys.Ingersoll@Sun.COM if (soap_in_string(soap, "faultactor", &a->faultactor, "xsd:string"))
1145*12720SWyllys.Ingersoll@Sun.COM { soap_flag_faultactor--;
1146*12720SWyllys.Ingersoll@Sun.COM continue;
1147*12720SWyllys.Ingersoll@Sun.COM }
1148*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH)
1149*12720SWyllys.Ingersoll@Sun.COM if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, ""))
1150*12720SWyllys.Ingersoll@Sun.COM { soap_flag_detail--;
1151*12720SWyllys.Ingersoll@Sun.COM continue;
1152*12720SWyllys.Ingersoll@Sun.COM }
1153*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH)
1154*12720SWyllys.Ingersoll@Sun.COM if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, ""))
1155*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Code--;
1156*12720SWyllys.Ingersoll@Sun.COM continue;
1157*12720SWyllys.Ingersoll@Sun.COM }
1158*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Reason && soap->error == SOAP_TAG_MISMATCH)
1159*12720SWyllys.Ingersoll@Sun.COM if (soap_in_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, ""))
1160*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Reason--;
1161*12720SWyllys.Ingersoll@Sun.COM continue;
1162*12720SWyllys.Ingersoll@Sun.COM }
1163*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1164*12720SWyllys.Ingersoll@Sun.COM if (soap_in_string(soap, "SOAP-ENV:Node", &a->SOAP_ENV__Node, "xsd:string"))
1165*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Node--;
1166*12720SWyllys.Ingersoll@Sun.COM continue;
1167*12720SWyllys.Ingersoll@Sun.COM }
1168*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1169*12720SWyllys.Ingersoll@Sun.COM if (soap_in_string(soap, "SOAP-ENV:Role", &a->SOAP_ENV__Role, "xsd:string"))
1170*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Role--;
1171*12720SWyllys.Ingersoll@Sun.COM continue;
1172*12720SWyllys.Ingersoll@Sun.COM }
1173*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH)
1174*12720SWyllys.Ingersoll@Sun.COM if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, ""))
1175*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Detail--;
1176*12720SWyllys.Ingersoll@Sun.COM continue;
1177*12720SWyllys.Ingersoll@Sun.COM }
1178*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1179*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1180*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1181*12720SWyllys.Ingersoll@Sun.COM break;
1182*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1183*12720SWyllys.Ingersoll@Sun.COM return NULL;
1184*12720SWyllys.Ingersoll@Sun.COM }
1185*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1186*12720SWyllys.Ingersoll@Sun.COM return NULL;
1187*12720SWyllys.Ingersoll@Sun.COM }
1188*12720SWyllys.Ingersoll@Sun.COM else
1189*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault, 0, sizeof(struct SOAP_ENV__Fault), 0, NULL);
1190*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1191*12720SWyllys.Ingersoll@Sun.COM return NULL;
1192*12720SWyllys.Ingersoll@Sun.COM }
1193*12720SWyllys.Ingersoll@Sun.COM return a;
1194*12720SWyllys.Ingersoll@Sun.COM }
1195*12720SWyllys.Ingersoll@Sun.COM
soap_put_SOAP_ENV__Fault(struct soap * soap,const struct SOAP_ENV__Fault * a,const char * tag,const char * type)1196*12720SWyllys.Ingersoll@Sun.COM 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)
1197*12720SWyllys.Ingersoll@Sun.COM {
1198*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault);
1199*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Fault(soap, tag?tag:"SOAP-ENV:Fault", id, a, type))
1200*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1201*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1202*12720SWyllys.Ingersoll@Sun.COM }
1203*12720SWyllys.Ingersoll@Sun.COM
soap_get_SOAP_ENV__Fault(struct soap * soap,struct SOAP_ENV__Fault * p,const char * tag,const char * type)1204*12720SWyllys.Ingersoll@Sun.COM 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)
1205*12720SWyllys.Ingersoll@Sun.COM {
1206*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_SOAP_ENV__Fault(soap, tag, p, type)))
1207*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1208*12720SWyllys.Ingersoll@Sun.COM return NULL;
1209*12720SWyllys.Ingersoll@Sun.COM return p;
1210*12720SWyllys.Ingersoll@Sun.COM }
1211*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_SOAP_ENV__Fault(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1212*12720SWyllys.Ingersoll@Sun.COM 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)
1213*12720SWyllys.Ingersoll@Sun.COM {
1214*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1215*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1216*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Fault, n, soap_fdelete);
1217*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1218*12720SWyllys.Ingersoll@Sun.COM return NULL;
1219*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1220*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault);
1221*12720SWyllys.Ingersoll@Sun.COM if (size)
1222*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct SOAP_ENV__Fault);
1223*12720SWyllys.Ingersoll@Sun.COM }
1224*12720SWyllys.Ingersoll@Sun.COM else
1225*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault[n]);
1226*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1227*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1228*12720SWyllys.Ingersoll@Sun.COM return NULL;
1229*12720SWyllys.Ingersoll@Sun.COM }
1230*12720SWyllys.Ingersoll@Sun.COM if (size)
1231*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct SOAP_ENV__Fault);
1232*12720SWyllys.Ingersoll@Sun.COM }
1233*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1234*12720SWyllys.Ingersoll@Sun.COM return (struct SOAP_ENV__Fault*)cp->ptr;
1235*12720SWyllys.Ingersoll@Sun.COM }
1236*12720SWyllys.Ingersoll@Sun.COM
soap_copy_SOAP_ENV__Fault(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1237*12720SWyllys.Ingersoll@Sun.COM 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)
1238*12720SWyllys.Ingersoll@Sun.COM {
1239*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1240*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Fault %p -> %p\n", q, p));
1241*12720SWyllys.Ingersoll@Sun.COM *(struct SOAP_ENV__Fault*)p = *(struct SOAP_ENV__Fault*)q;
1242*12720SWyllys.Ingersoll@Sun.COM }
1243*12720SWyllys.Ingersoll@Sun.COM
1244*12720SWyllys.Ingersoll@Sun.COM #endif
1245*12720SWyllys.Ingersoll@Sun.COM
1246*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
1247*12720SWyllys.Ingersoll@Sun.COM
soap_default_SOAP_ENV__Reason(struct soap * soap,struct SOAP_ENV__Reason * a)1248*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *a)
1249*12720SWyllys.Ingersoll@Sun.COM {
1250*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1251*12720SWyllys.Ingersoll@Sun.COM soap_default_string(soap, &a->SOAP_ENV__Text);
1252*12720SWyllys.Ingersoll@Sun.COM }
1253*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_SOAP_ENV__Reason(struct soap * soap,const struct SOAP_ENV__Reason * a)1254*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a)
1255*12720SWyllys.Ingersoll@Sun.COM {
1256*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1257*12720SWyllys.Ingersoll@Sun.COM soap_serialize_string(soap, &a->SOAP_ENV__Text);
1258*12720SWyllys.Ingersoll@Sun.COM }
1259*12720SWyllys.Ingersoll@Sun.COM
soap_out_SOAP_ENV__Reason(struct soap * soap,const char * tag,int id,const struct SOAP_ENV__Reason * a,const char * type)1260*12720SWyllys.Ingersoll@Sun.COM 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)
1261*12720SWyllys.Ingersoll@Sun.COM {
1262*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason), type))
1263*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1264*12720SWyllys.Ingersoll@Sun.COM if (soap->lang)
1265*12720SWyllys.Ingersoll@Sun.COM soap_set_attr(soap, "xml:lang", soap->lang, 1);
1266*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, "SOAP-ENV:Text", -1, &a->SOAP_ENV__Text, ""))
1267*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1268*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1269*12720SWyllys.Ingersoll@Sun.COM }
1270*12720SWyllys.Ingersoll@Sun.COM
soap_in_SOAP_ENV__Reason(struct soap * soap,const char * tag,struct SOAP_ENV__Reason * a,const char * type)1271*12720SWyllys.Ingersoll@Sun.COM 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)
1272*12720SWyllys.Ingersoll@Sun.COM {
1273*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Text = 1;
1274*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1275*12720SWyllys.Ingersoll@Sun.COM return NULL;
1276*12720SWyllys.Ingersoll@Sun.COM a = (struct SOAP_ENV__Reason *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL, NULL, NULL);
1277*12720SWyllys.Ingersoll@Sun.COM if (!a)
1278*12720SWyllys.Ingersoll@Sun.COM return NULL;
1279*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Reason(soap, a);
1280*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1281*12720SWyllys.Ingersoll@Sun.COM {
1282*12720SWyllys.Ingersoll@Sun.COM for (;;)
1283*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1284*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Text && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1285*12720SWyllys.Ingersoll@Sun.COM if (soap_in_string(soap, "SOAP-ENV:Text", &a->SOAP_ENV__Text, "xsd:string"))
1286*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Text--;
1287*12720SWyllys.Ingersoll@Sun.COM continue;
1288*12720SWyllys.Ingersoll@Sun.COM }
1289*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1290*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1291*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1292*12720SWyllys.Ingersoll@Sun.COM break;
1293*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1294*12720SWyllys.Ingersoll@Sun.COM return NULL;
1295*12720SWyllys.Ingersoll@Sun.COM }
1296*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1297*12720SWyllys.Ingersoll@Sun.COM return NULL;
1298*12720SWyllys.Ingersoll@Sun.COM }
1299*12720SWyllys.Ingersoll@Sun.COM else
1300*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Reason *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason, 0, sizeof(struct SOAP_ENV__Reason), 0, NULL);
1301*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1302*12720SWyllys.Ingersoll@Sun.COM return NULL;
1303*12720SWyllys.Ingersoll@Sun.COM }
1304*12720SWyllys.Ingersoll@Sun.COM return a;
1305*12720SWyllys.Ingersoll@Sun.COM }
1306*12720SWyllys.Ingersoll@Sun.COM
soap_put_SOAP_ENV__Reason(struct soap * soap,const struct SOAP_ENV__Reason * a,const char * tag,const char * type)1307*12720SWyllys.Ingersoll@Sun.COM 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)
1308*12720SWyllys.Ingersoll@Sun.COM {
1309*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason);
1310*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, a, type))
1311*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1312*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1313*12720SWyllys.Ingersoll@Sun.COM }
1314*12720SWyllys.Ingersoll@Sun.COM
soap_get_SOAP_ENV__Reason(struct soap * soap,struct SOAP_ENV__Reason * p,const char * tag,const char * type)1315*12720SWyllys.Ingersoll@Sun.COM 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)
1316*12720SWyllys.Ingersoll@Sun.COM {
1317*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_SOAP_ENV__Reason(soap, tag, p, type)))
1318*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1319*12720SWyllys.Ingersoll@Sun.COM return NULL;
1320*12720SWyllys.Ingersoll@Sun.COM return p;
1321*12720SWyllys.Ingersoll@Sun.COM }
1322*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_SOAP_ENV__Reason(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1323*12720SWyllys.Ingersoll@Sun.COM 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)
1324*12720SWyllys.Ingersoll@Sun.COM {
1325*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1326*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1327*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason, n, soap_fdelete);
1328*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1329*12720SWyllys.Ingersoll@Sun.COM return NULL;
1330*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1331*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason);
1332*12720SWyllys.Ingersoll@Sun.COM if (size)
1333*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct SOAP_ENV__Reason);
1334*12720SWyllys.Ingersoll@Sun.COM }
1335*12720SWyllys.Ingersoll@Sun.COM else
1336*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason[n]);
1337*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1338*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1339*12720SWyllys.Ingersoll@Sun.COM return NULL;
1340*12720SWyllys.Ingersoll@Sun.COM }
1341*12720SWyllys.Ingersoll@Sun.COM if (size)
1342*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct SOAP_ENV__Reason);
1343*12720SWyllys.Ingersoll@Sun.COM }
1344*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1345*12720SWyllys.Ingersoll@Sun.COM return (struct SOAP_ENV__Reason*)cp->ptr;
1346*12720SWyllys.Ingersoll@Sun.COM }
1347*12720SWyllys.Ingersoll@Sun.COM
soap_copy_SOAP_ENV__Reason(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1348*12720SWyllys.Ingersoll@Sun.COM 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)
1349*12720SWyllys.Ingersoll@Sun.COM {
1350*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1351*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Reason %p -> %p\n", q, p));
1352*12720SWyllys.Ingersoll@Sun.COM *(struct SOAP_ENV__Reason*)p = *(struct SOAP_ENV__Reason*)q;
1353*12720SWyllys.Ingersoll@Sun.COM }
1354*12720SWyllys.Ingersoll@Sun.COM
1355*12720SWyllys.Ingersoll@Sun.COM #endif
1356*12720SWyllys.Ingersoll@Sun.COM
1357*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
1358*12720SWyllys.Ingersoll@Sun.COM
soap_default_SOAP_ENV__Detail(struct soap * soap,struct SOAP_ENV__Detail * a)1359*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a)
1360*12720SWyllys.Ingersoll@Sun.COM {
1361*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1362*12720SWyllys.Ingersoll@Sun.COM a->__type = 0;
1363*12720SWyllys.Ingersoll@Sun.COM a->fault = NULL;
1364*12720SWyllys.Ingersoll@Sun.COM a->__any = NULL;
1365*12720SWyllys.Ingersoll@Sun.COM }
1366*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_SOAP_ENV__Detail(struct soap * soap,const struct SOAP_ENV__Detail * a)1367*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a)
1368*12720SWyllys.Ingersoll@Sun.COM {
1369*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1370*12720SWyllys.Ingersoll@Sun.COM soap_markelement(soap, a->fault, a->__type);
1371*12720SWyllys.Ingersoll@Sun.COM }
1372*12720SWyllys.Ingersoll@Sun.COM
soap_out_SOAP_ENV__Detail(struct soap * soap,const char * tag,int id,const struct SOAP_ENV__Detail * a,const char * type)1373*12720SWyllys.Ingersoll@Sun.COM 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)
1374*12720SWyllys.Ingersoll@Sun.COM {
1375*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail), type))
1376*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1377*12720SWyllys.Ingersoll@Sun.COM if (soap_putelement(soap, a->fault, "fault", -1, a->__type))
1378*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1379*12720SWyllys.Ingersoll@Sun.COM soap_outliteral(soap, "-any", &a->__any, NULL);
1380*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1381*12720SWyllys.Ingersoll@Sun.COM }
1382*12720SWyllys.Ingersoll@Sun.COM
soap_in_SOAP_ENV__Detail(struct soap * soap,const char * tag,struct SOAP_ENV__Detail * a,const char * type)1383*12720SWyllys.Ingersoll@Sun.COM 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)
1384*12720SWyllys.Ingersoll@Sun.COM {
1385*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_fault = 1;
1386*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag___any = 1;
1387*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1388*12720SWyllys.Ingersoll@Sun.COM return NULL;
1389*12720SWyllys.Ingersoll@Sun.COM a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL);
1390*12720SWyllys.Ingersoll@Sun.COM if (!a)
1391*12720SWyllys.Ingersoll@Sun.COM return NULL;
1392*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Detail(soap, a);
1393*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1394*12720SWyllys.Ingersoll@Sun.COM {
1395*12720SWyllys.Ingersoll@Sun.COM for (;;)
1396*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1397*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH)
1398*12720SWyllys.Ingersoll@Sun.COM if ((a->fault = soap_getelement(soap, &a->__type)))
1399*12720SWyllys.Ingersoll@Sun.COM { soap_flag_fault = 0;
1400*12720SWyllys.Ingersoll@Sun.COM continue;
1401*12720SWyllys.Ingersoll@Sun.COM }
1402*12720SWyllys.Ingersoll@Sun.COM if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1403*12720SWyllys.Ingersoll@Sun.COM if (soap_inliteral(soap, "-any", &a->__any))
1404*12720SWyllys.Ingersoll@Sun.COM { soap_flag___any--;
1405*12720SWyllys.Ingersoll@Sun.COM continue;
1406*12720SWyllys.Ingersoll@Sun.COM }
1407*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1408*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1409*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1410*12720SWyllys.Ingersoll@Sun.COM break;
1411*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1412*12720SWyllys.Ingersoll@Sun.COM return NULL;
1413*12720SWyllys.Ingersoll@Sun.COM }
1414*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1415*12720SWyllys.Ingersoll@Sun.COM return NULL;
1416*12720SWyllys.Ingersoll@Sun.COM }
1417*12720SWyllys.Ingersoll@Sun.COM else
1418*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail, 0, sizeof(struct SOAP_ENV__Detail), 0, NULL);
1419*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1420*12720SWyllys.Ingersoll@Sun.COM return NULL;
1421*12720SWyllys.Ingersoll@Sun.COM }
1422*12720SWyllys.Ingersoll@Sun.COM return a;
1423*12720SWyllys.Ingersoll@Sun.COM }
1424*12720SWyllys.Ingersoll@Sun.COM
soap_put_SOAP_ENV__Detail(struct soap * soap,const struct SOAP_ENV__Detail * a,const char * tag,const char * type)1425*12720SWyllys.Ingersoll@Sun.COM 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)
1426*12720SWyllys.Ingersoll@Sun.COM {
1427*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail);
1428*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, a, type))
1429*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1430*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1431*12720SWyllys.Ingersoll@Sun.COM }
1432*12720SWyllys.Ingersoll@Sun.COM
soap_get_SOAP_ENV__Detail(struct soap * soap,struct SOAP_ENV__Detail * p,const char * tag,const char * type)1433*12720SWyllys.Ingersoll@Sun.COM 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)
1434*12720SWyllys.Ingersoll@Sun.COM {
1435*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_SOAP_ENV__Detail(soap, tag, p, type)))
1436*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1437*12720SWyllys.Ingersoll@Sun.COM return NULL;
1438*12720SWyllys.Ingersoll@Sun.COM return p;
1439*12720SWyllys.Ingersoll@Sun.COM }
1440*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_SOAP_ENV__Detail(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1441*12720SWyllys.Ingersoll@Sun.COM 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)
1442*12720SWyllys.Ingersoll@Sun.COM {
1443*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1444*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1445*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail, n, soap_fdelete);
1446*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1447*12720SWyllys.Ingersoll@Sun.COM return NULL;
1448*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1449*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail);
1450*12720SWyllys.Ingersoll@Sun.COM if (size)
1451*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct SOAP_ENV__Detail);
1452*12720SWyllys.Ingersoll@Sun.COM }
1453*12720SWyllys.Ingersoll@Sun.COM else
1454*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail[n]);
1455*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1456*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1457*12720SWyllys.Ingersoll@Sun.COM return NULL;
1458*12720SWyllys.Ingersoll@Sun.COM }
1459*12720SWyllys.Ingersoll@Sun.COM if (size)
1460*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct SOAP_ENV__Detail);
1461*12720SWyllys.Ingersoll@Sun.COM }
1462*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1463*12720SWyllys.Ingersoll@Sun.COM return (struct SOAP_ENV__Detail*)cp->ptr;
1464*12720SWyllys.Ingersoll@Sun.COM }
1465*12720SWyllys.Ingersoll@Sun.COM
soap_copy_SOAP_ENV__Detail(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1466*12720SWyllys.Ingersoll@Sun.COM 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)
1467*12720SWyllys.Ingersoll@Sun.COM {
1468*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1469*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Detail %p -> %p\n", q, p));
1470*12720SWyllys.Ingersoll@Sun.COM *(struct SOAP_ENV__Detail*)p = *(struct SOAP_ENV__Detail*)q;
1471*12720SWyllys.Ingersoll@Sun.COM }
1472*12720SWyllys.Ingersoll@Sun.COM
1473*12720SWyllys.Ingersoll@Sun.COM #endif
1474*12720SWyllys.Ingersoll@Sun.COM
1475*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
1476*12720SWyllys.Ingersoll@Sun.COM
soap_default_SOAP_ENV__Code(struct soap * soap,struct SOAP_ENV__Code * a)1477*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *a)
1478*12720SWyllys.Ingersoll@Sun.COM {
1479*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1480*12720SWyllys.Ingersoll@Sun.COM soap_default__QName(soap, &a->SOAP_ENV__Value);
1481*12720SWyllys.Ingersoll@Sun.COM a->SOAP_ENV__Subcode = NULL;
1482*12720SWyllys.Ingersoll@Sun.COM }
1483*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_SOAP_ENV__Code(struct soap * soap,const struct SOAP_ENV__Code * a)1484*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a)
1485*12720SWyllys.Ingersoll@Sun.COM {
1486*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1487*12720SWyllys.Ingersoll@Sun.COM soap_serialize__QName(soap, &a->SOAP_ENV__Value);
1488*12720SWyllys.Ingersoll@Sun.COM soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode);
1489*12720SWyllys.Ingersoll@Sun.COM }
1490*12720SWyllys.Ingersoll@Sun.COM
soap_out_SOAP_ENV__Code(struct soap * soap,const char * tag,int id,const struct SOAP_ENV__Code * a,const char * type)1491*12720SWyllys.Ingersoll@Sun.COM 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)
1492*12720SWyllys.Ingersoll@Sun.COM {
1493*12720SWyllys.Ingersoll@Sun.COM const char *soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value);
1494*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code), type))
1495*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1496*12720SWyllys.Ingersoll@Sun.COM if (soap_out__QName(soap, "SOAP-ENV:Value", -1, (char*const*)&soap_tmp_SOAP_ENV__Value, ""))
1497*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1498*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", -1, &a->SOAP_ENV__Subcode, ""))
1499*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1500*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1501*12720SWyllys.Ingersoll@Sun.COM }
1502*12720SWyllys.Ingersoll@Sun.COM
soap_in_SOAP_ENV__Code(struct soap * soap,const char * tag,struct SOAP_ENV__Code * a,const char * type)1503*12720SWyllys.Ingersoll@Sun.COM 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)
1504*12720SWyllys.Ingersoll@Sun.COM {
1505*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Value = 1;
1506*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_SOAP_ENV__Subcode = 1;
1507*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1508*12720SWyllys.Ingersoll@Sun.COM return NULL;
1509*12720SWyllys.Ingersoll@Sun.COM a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL, NULL);
1510*12720SWyllys.Ingersoll@Sun.COM if (!a)
1511*12720SWyllys.Ingersoll@Sun.COM return NULL;
1512*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Code(soap, a);
1513*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1514*12720SWyllys.Ingersoll@Sun.COM {
1515*12720SWyllys.Ingersoll@Sun.COM for (;;)
1516*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1517*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1518*12720SWyllys.Ingersoll@Sun.COM if (soap_in__QName(soap, "SOAP-ENV:Value", &a->SOAP_ENV__Value, ""))
1519*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Value--;
1520*12720SWyllys.Ingersoll@Sun.COM continue;
1521*12720SWyllys.Ingersoll@Sun.COM }
1522*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH)
1523*12720SWyllys.Ingersoll@Sun.COM if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, ""))
1524*12720SWyllys.Ingersoll@Sun.COM { soap_flag_SOAP_ENV__Subcode--;
1525*12720SWyllys.Ingersoll@Sun.COM continue;
1526*12720SWyllys.Ingersoll@Sun.COM }
1527*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1528*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1529*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1530*12720SWyllys.Ingersoll@Sun.COM break;
1531*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1532*12720SWyllys.Ingersoll@Sun.COM return NULL;
1533*12720SWyllys.Ingersoll@Sun.COM }
1534*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1535*12720SWyllys.Ingersoll@Sun.COM return NULL;
1536*12720SWyllys.Ingersoll@Sun.COM }
1537*12720SWyllys.Ingersoll@Sun.COM else
1538*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code, 0, sizeof(struct SOAP_ENV__Code), 0, NULL);
1539*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1540*12720SWyllys.Ingersoll@Sun.COM return NULL;
1541*12720SWyllys.Ingersoll@Sun.COM }
1542*12720SWyllys.Ingersoll@Sun.COM return a;
1543*12720SWyllys.Ingersoll@Sun.COM }
1544*12720SWyllys.Ingersoll@Sun.COM
soap_put_SOAP_ENV__Code(struct soap * soap,const struct SOAP_ENV__Code * a,const char * tag,const char * type)1545*12720SWyllys.Ingersoll@Sun.COM 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)
1546*12720SWyllys.Ingersoll@Sun.COM {
1547*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code);
1548*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, a, type))
1549*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1550*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1551*12720SWyllys.Ingersoll@Sun.COM }
1552*12720SWyllys.Ingersoll@Sun.COM
soap_get_SOAP_ENV__Code(struct soap * soap,struct SOAP_ENV__Code * p,const char * tag,const char * type)1553*12720SWyllys.Ingersoll@Sun.COM 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)
1554*12720SWyllys.Ingersoll@Sun.COM {
1555*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_SOAP_ENV__Code(soap, tag, p, type)))
1556*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1557*12720SWyllys.Ingersoll@Sun.COM return NULL;
1558*12720SWyllys.Ingersoll@Sun.COM return p;
1559*12720SWyllys.Ingersoll@Sun.COM }
1560*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_SOAP_ENV__Code(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1561*12720SWyllys.Ingersoll@Sun.COM 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)
1562*12720SWyllys.Ingersoll@Sun.COM {
1563*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1564*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1565*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code, n, soap_fdelete);
1566*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1567*12720SWyllys.Ingersoll@Sun.COM return NULL;
1568*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1569*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code);
1570*12720SWyllys.Ingersoll@Sun.COM if (size)
1571*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct SOAP_ENV__Code);
1572*12720SWyllys.Ingersoll@Sun.COM }
1573*12720SWyllys.Ingersoll@Sun.COM else
1574*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code[n]);
1575*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1576*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1577*12720SWyllys.Ingersoll@Sun.COM return NULL;
1578*12720SWyllys.Ingersoll@Sun.COM }
1579*12720SWyllys.Ingersoll@Sun.COM if (size)
1580*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct SOAP_ENV__Code);
1581*12720SWyllys.Ingersoll@Sun.COM }
1582*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1583*12720SWyllys.Ingersoll@Sun.COM return (struct SOAP_ENV__Code*)cp->ptr;
1584*12720SWyllys.Ingersoll@Sun.COM }
1585*12720SWyllys.Ingersoll@Sun.COM
soap_copy_SOAP_ENV__Code(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1586*12720SWyllys.Ingersoll@Sun.COM 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)
1587*12720SWyllys.Ingersoll@Sun.COM {
1588*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1589*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Code %p -> %p\n", q, p));
1590*12720SWyllys.Ingersoll@Sun.COM *(struct SOAP_ENV__Code*)p = *(struct SOAP_ENV__Code*)q;
1591*12720SWyllys.Ingersoll@Sun.COM }
1592*12720SWyllys.Ingersoll@Sun.COM
1593*12720SWyllys.Ingersoll@Sun.COM #endif
1594*12720SWyllys.Ingersoll@Sun.COM
1595*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
1596*12720SWyllys.Ingersoll@Sun.COM
soap_default_SOAP_ENV__Header(struct soap * soap,struct SOAP_ENV__Header * a)1597*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a)
1598*12720SWyllys.Ingersoll@Sun.COM {
1599*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1600*12720SWyllys.Ingersoll@Sun.COM }
1601*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_SOAP_ENV__Header(struct soap * soap,const struct SOAP_ENV__Header * a)1602*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
1603*12720SWyllys.Ingersoll@Sun.COM {
1604*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1605*12720SWyllys.Ingersoll@Sun.COM }
1606*12720SWyllys.Ingersoll@Sun.COM
soap_out_SOAP_ENV__Header(struct soap * soap,const char * tag,int id,const struct SOAP_ENV__Header * a,const char * type)1607*12720SWyllys.Ingersoll@Sun.COM 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)
1608*12720SWyllys.Ingersoll@Sun.COM {
1609*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header), type))
1610*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1611*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1612*12720SWyllys.Ingersoll@Sun.COM }
1613*12720SWyllys.Ingersoll@Sun.COM
soap_in_SOAP_ENV__Header(struct soap * soap,const char * tag,struct SOAP_ENV__Header * a,const char * type)1614*12720SWyllys.Ingersoll@Sun.COM 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)
1615*12720SWyllys.Ingersoll@Sun.COM {
1616*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1617*12720SWyllys.Ingersoll@Sun.COM return NULL;
1618*12720SWyllys.Ingersoll@Sun.COM a = (struct SOAP_ENV__Header *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), 0, NULL, NULL, NULL);
1619*12720SWyllys.Ingersoll@Sun.COM if (!a)
1620*12720SWyllys.Ingersoll@Sun.COM return NULL;
1621*12720SWyllys.Ingersoll@Sun.COM soap_default_SOAP_ENV__Header(soap, a);
1622*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1623*12720SWyllys.Ingersoll@Sun.COM {
1624*12720SWyllys.Ingersoll@Sun.COM for (;;)
1625*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1626*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1627*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1628*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1629*12720SWyllys.Ingersoll@Sun.COM break;
1630*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1631*12720SWyllys.Ingersoll@Sun.COM return NULL;
1632*12720SWyllys.Ingersoll@Sun.COM }
1633*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1634*12720SWyllys.Ingersoll@Sun.COM return NULL;
1635*12720SWyllys.Ingersoll@Sun.COM }
1636*12720SWyllys.Ingersoll@Sun.COM else
1637*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header, 0, sizeof(struct SOAP_ENV__Header), 0, NULL);
1638*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1639*12720SWyllys.Ingersoll@Sun.COM return NULL;
1640*12720SWyllys.Ingersoll@Sun.COM }
1641*12720SWyllys.Ingersoll@Sun.COM return a;
1642*12720SWyllys.Ingersoll@Sun.COM }
1643*12720SWyllys.Ingersoll@Sun.COM
soap_put_SOAP_ENV__Header(struct soap * soap,const struct SOAP_ENV__Header * a,const char * tag,const char * type)1644*12720SWyllys.Ingersoll@Sun.COM 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)
1645*12720SWyllys.Ingersoll@Sun.COM {
1646*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header);
1647*12720SWyllys.Ingersoll@Sun.COM if (soap_out_SOAP_ENV__Header(soap, tag?tag:"SOAP-ENV:Header", id, a, type))
1648*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1649*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1650*12720SWyllys.Ingersoll@Sun.COM }
1651*12720SWyllys.Ingersoll@Sun.COM
soap_get_SOAP_ENV__Header(struct soap * soap,struct SOAP_ENV__Header * p,const char * tag,const char * type)1652*12720SWyllys.Ingersoll@Sun.COM 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)
1653*12720SWyllys.Ingersoll@Sun.COM {
1654*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_SOAP_ENV__Header(soap, tag, p, type)))
1655*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1656*12720SWyllys.Ingersoll@Sun.COM return NULL;
1657*12720SWyllys.Ingersoll@Sun.COM return p;
1658*12720SWyllys.Ingersoll@Sun.COM }
1659*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_SOAP_ENV__Header(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1660*12720SWyllys.Ingersoll@Sun.COM 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)
1661*12720SWyllys.Ingersoll@Sun.COM {
1662*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1663*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1664*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Header, n, soap_fdelete);
1665*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1666*12720SWyllys.Ingersoll@Sun.COM return NULL;
1667*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1668*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header);
1669*12720SWyllys.Ingersoll@Sun.COM if (size)
1670*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct SOAP_ENV__Header);
1671*12720SWyllys.Ingersoll@Sun.COM }
1672*12720SWyllys.Ingersoll@Sun.COM else
1673*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header[n]);
1674*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1675*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1676*12720SWyllys.Ingersoll@Sun.COM return NULL;
1677*12720SWyllys.Ingersoll@Sun.COM }
1678*12720SWyllys.Ingersoll@Sun.COM if (size)
1679*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct SOAP_ENV__Header);
1680*12720SWyllys.Ingersoll@Sun.COM }
1681*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1682*12720SWyllys.Ingersoll@Sun.COM return (struct SOAP_ENV__Header*)cp->ptr;
1683*12720SWyllys.Ingersoll@Sun.COM }
1684*12720SWyllys.Ingersoll@Sun.COM
soap_copy_SOAP_ENV__Header(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1685*12720SWyllys.Ingersoll@Sun.COM 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)
1686*12720SWyllys.Ingersoll@Sun.COM {
1687*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1688*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Header %p -> %p\n", q, p));
1689*12720SWyllys.Ingersoll@Sun.COM *(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q;
1690*12720SWyllys.Ingersoll@Sun.COM }
1691*12720SWyllys.Ingersoll@Sun.COM
1692*12720SWyllys.Ingersoll@Sun.COM #endif
1693*12720SWyllys.Ingersoll@Sun.COM
soap_default_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,struct KMS_Certificate__RetrieveEntityCertificate * a)1694*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, struct KMS_Certificate__RetrieveEntityCertificate *a)
1695*12720SWyllys.Ingersoll@Sun.COM {
1696*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1697*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__string(soap, &a->EntityID);
1698*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, &a->ClientAuthenticationResponse);
1699*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, &a->ServerAuthenticationChallenge);
1700*12720SWyllys.Ingersoll@Sun.COM }
1701*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,const struct KMS_Certificate__RetrieveEntityCertificate * a)1702*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, const struct KMS_Certificate__RetrieveEntityCertificate *a)
1703*12720SWyllys.Ingersoll@Sun.COM {
1704*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1705*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__string(soap, &a->EntityID);
1706*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, &a->ClientAuthenticationResponse);
1707*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, &a->ServerAuthenticationChallenge);
1708*12720SWyllys.Ingersoll@Sun.COM }
1709*12720SWyllys.Ingersoll@Sun.COM
soap_out_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,const char * tag,int id,const struct KMS_Certificate__RetrieveEntityCertificate * a,const char * type)1710*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, const char *tag, int id, const struct KMS_Certificate__RetrieveEntityCertificate *a, const char *type)
1711*12720SWyllys.Ingersoll@Sun.COM {
1712*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate), type))
1713*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1714*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__string(soap, "EntityID", -1, &a->EntityID, "xsd:string"))
1715*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1716*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, "ClientAuthenticationResponse", -1, &a->ClientAuthenticationResponse, "xsd:hexBinary"))
1717*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1718*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, "ServerAuthenticationChallenge", -1, &a->ServerAuthenticationChallenge, "xsd:hexBinary"))
1719*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1720*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1721*12720SWyllys.Ingersoll@Sun.COM }
1722*12720SWyllys.Ingersoll@Sun.COM
soap_in_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,const char * tag,struct KMS_Certificate__RetrieveEntityCertificate * a,const char * type)1723*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct KMS_Certificate__RetrieveEntityCertificate * SOAP_FMAC4 soap_in_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, const char *tag, struct KMS_Certificate__RetrieveEntityCertificate *a, const char *type)
1724*12720SWyllys.Ingersoll@Sun.COM {
1725*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_EntityID = 1;
1726*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_ClientAuthenticationResponse = 1;
1727*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_ServerAuthenticationChallenge = 1;
1728*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1729*12720SWyllys.Ingersoll@Sun.COM return NULL;
1730*12720SWyllys.Ingersoll@Sun.COM a = (struct KMS_Certificate__RetrieveEntityCertificate *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate, sizeof(struct KMS_Certificate__RetrieveEntityCertificate), 0, NULL, NULL, NULL);
1731*12720SWyllys.Ingersoll@Sun.COM if (!a)
1732*12720SWyllys.Ingersoll@Sun.COM return NULL;
1733*12720SWyllys.Ingersoll@Sun.COM soap_default_KMS_Certificate__RetrieveEntityCertificate(soap, a);
1734*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1735*12720SWyllys.Ingersoll@Sun.COM {
1736*12720SWyllys.Ingersoll@Sun.COM for (;;)
1737*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1738*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_EntityID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
1739*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__string(soap, "EntityID", &a->EntityID, "xsd:string"))
1740*12720SWyllys.Ingersoll@Sun.COM { soap_flag_EntityID--;
1741*12720SWyllys.Ingersoll@Sun.COM continue;
1742*12720SWyllys.Ingersoll@Sun.COM }
1743*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_ClientAuthenticationResponse && soap->error == SOAP_TAG_MISMATCH)
1744*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__hexBinary(soap, "ClientAuthenticationResponse", &a->ClientAuthenticationResponse, "xsd:hexBinary"))
1745*12720SWyllys.Ingersoll@Sun.COM { soap_flag_ClientAuthenticationResponse--;
1746*12720SWyllys.Ingersoll@Sun.COM continue;
1747*12720SWyllys.Ingersoll@Sun.COM }
1748*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_ServerAuthenticationChallenge && soap->error == SOAP_TAG_MISMATCH)
1749*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__hexBinary(soap, "ServerAuthenticationChallenge", &a->ServerAuthenticationChallenge, "xsd:hexBinary"))
1750*12720SWyllys.Ingersoll@Sun.COM { soap_flag_ServerAuthenticationChallenge--;
1751*12720SWyllys.Ingersoll@Sun.COM continue;
1752*12720SWyllys.Ingersoll@Sun.COM }
1753*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1754*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1755*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1756*12720SWyllys.Ingersoll@Sun.COM break;
1757*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1758*12720SWyllys.Ingersoll@Sun.COM return NULL;
1759*12720SWyllys.Ingersoll@Sun.COM }
1760*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1761*12720SWyllys.Ingersoll@Sun.COM return NULL;
1762*12720SWyllys.Ingersoll@Sun.COM }
1763*12720SWyllys.Ingersoll@Sun.COM else
1764*12720SWyllys.Ingersoll@Sun.COM { a = (struct KMS_Certificate__RetrieveEntityCertificate *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate, 0, sizeof(struct KMS_Certificate__RetrieveEntityCertificate), 0, NULL);
1765*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1766*12720SWyllys.Ingersoll@Sun.COM return NULL;
1767*12720SWyllys.Ingersoll@Sun.COM }
1768*12720SWyllys.Ingersoll@Sun.COM if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ClientAuthenticationResponse > 0 || soap_flag_ServerAuthenticationChallenge > 0))
1769*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_OCCURS;
1770*12720SWyllys.Ingersoll@Sun.COM return NULL;
1771*12720SWyllys.Ingersoll@Sun.COM }
1772*12720SWyllys.Ingersoll@Sun.COM return a;
1773*12720SWyllys.Ingersoll@Sun.COM }
1774*12720SWyllys.Ingersoll@Sun.COM
soap_put_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,const struct KMS_Certificate__RetrieveEntityCertificate * a,const char * tag,const char * type)1775*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, const struct KMS_Certificate__RetrieveEntityCertificate *a, const char *tag, const char *type)
1776*12720SWyllys.Ingersoll@Sun.COM {
1777*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate);
1778*12720SWyllys.Ingersoll@Sun.COM if (soap_out_KMS_Certificate__RetrieveEntityCertificate(soap, tag?tag:"KMS-Certificate:RetrieveEntityCertificate", id, a, type))
1779*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1780*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1781*12720SWyllys.Ingersoll@Sun.COM }
1782*12720SWyllys.Ingersoll@Sun.COM
soap_get_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,struct KMS_Certificate__RetrieveEntityCertificate * p,const char * tag,const char * type)1783*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct KMS_Certificate__RetrieveEntityCertificate * SOAP_FMAC4 soap_get_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, struct KMS_Certificate__RetrieveEntityCertificate *p, const char *tag, const char *type)
1784*12720SWyllys.Ingersoll@Sun.COM {
1785*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_KMS_Certificate__RetrieveEntityCertificate(soap, tag, p, type)))
1786*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1787*12720SWyllys.Ingersoll@Sun.COM return NULL;
1788*12720SWyllys.Ingersoll@Sun.COM return p;
1789*12720SWyllys.Ingersoll@Sun.COM }
1790*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1791*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC1 struct KMS_Certificate__RetrieveEntityCertificate * SOAP_FMAC2 soap_instantiate_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
1792*12720SWyllys.Ingersoll@Sun.COM {
1793*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1794*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_KMS_Certificate__RetrieveEntityCertificate(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1795*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificate, n, soap_fdelete);
1796*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1797*12720SWyllys.Ingersoll@Sun.COM return NULL;
1798*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1799*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct KMS_Certificate__RetrieveEntityCertificate);
1800*12720SWyllys.Ingersoll@Sun.COM if (size)
1801*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct KMS_Certificate__RetrieveEntityCertificate);
1802*12720SWyllys.Ingersoll@Sun.COM }
1803*12720SWyllys.Ingersoll@Sun.COM else
1804*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct KMS_Certificate__RetrieveEntityCertificate[n]);
1805*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1806*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1807*12720SWyllys.Ingersoll@Sun.COM return NULL;
1808*12720SWyllys.Ingersoll@Sun.COM }
1809*12720SWyllys.Ingersoll@Sun.COM if (size)
1810*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct KMS_Certificate__RetrieveEntityCertificate);
1811*12720SWyllys.Ingersoll@Sun.COM }
1812*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1813*12720SWyllys.Ingersoll@Sun.COM return (struct KMS_Certificate__RetrieveEntityCertificate*)cp->ptr;
1814*12720SWyllys.Ingersoll@Sun.COM }
1815*12720SWyllys.Ingersoll@Sun.COM
soap_copy_KMS_Certificate__RetrieveEntityCertificate(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1816*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_copy_KMS_Certificate__RetrieveEntityCertificate(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
1817*12720SWyllys.Ingersoll@Sun.COM {
1818*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1819*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct KMS_Certificate__RetrieveEntityCertificate %p -> %p\n", q, p));
1820*12720SWyllys.Ingersoll@Sun.COM *(struct KMS_Certificate__RetrieveEntityCertificate*)p = *(struct KMS_Certificate__RetrieveEntityCertificate*)q;
1821*12720SWyllys.Ingersoll@Sun.COM }
1822*12720SWyllys.Ingersoll@Sun.COM
soap_default_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,struct KMS_Certificate__RetrieveEntityCertificateResponse * a)1823*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, struct KMS_Certificate__RetrieveEntityCertificateResponse *a)
1824*12720SWyllys.Ingersoll@Sun.COM {
1825*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1826*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, &a->ServerAuthenticationResponse);
1827*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, &a->Certificate);
1828*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, &a->WrappedPrivateKeyMaterial);
1829*12720SWyllys.Ingersoll@Sun.COM }
1830*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,const struct KMS_Certificate__RetrieveEntityCertificateResponse * a)1831*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, const struct KMS_Certificate__RetrieveEntityCertificateResponse *a)
1832*12720SWyllys.Ingersoll@Sun.COM {
1833*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)a; /* appease -Wall -Werror */
1834*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, &a->ServerAuthenticationResponse);
1835*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, &a->Certificate);
1836*12720SWyllys.Ingersoll@Sun.COM soap_serialize_xsd__hexBinary(soap, &a->WrappedPrivateKeyMaterial);
1837*12720SWyllys.Ingersoll@Sun.COM }
1838*12720SWyllys.Ingersoll@Sun.COM
soap_out_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,const char * tag,int id,const struct KMS_Certificate__RetrieveEntityCertificateResponse * a,const char * type)1839*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, const char *tag, int id, const struct KMS_Certificate__RetrieveEntityCertificateResponse *a, const char *type)
1840*12720SWyllys.Ingersoll@Sun.COM {
1841*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse), type))
1842*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1843*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, "ServerAuthenticationResponse", -1, &a->ServerAuthenticationResponse, "xsd:hexBinary"))
1844*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1845*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, "Certificate", -1, &a->Certificate, "xsd:hexBinary"))
1846*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1847*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, "WrappedPrivateKeyMaterial", -1, &a->WrappedPrivateKeyMaterial, "xsd:hexBinary"))
1848*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1849*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1850*12720SWyllys.Ingersoll@Sun.COM }
1851*12720SWyllys.Ingersoll@Sun.COM
soap_in_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,const char * tag,struct KMS_Certificate__RetrieveEntityCertificateResponse * a,const char * type)1852*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct KMS_Certificate__RetrieveEntityCertificateResponse * SOAP_FMAC4 soap_in_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, const char *tag, struct KMS_Certificate__RetrieveEntityCertificateResponse *a, const char *type)
1853*12720SWyllys.Ingersoll@Sun.COM {
1854*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_ServerAuthenticationResponse = 1;
1855*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_Certificate = 1;
1856*12720SWyllys.Ingersoll@Sun.COM size_t soap_flag_WrappedPrivateKeyMaterial = 1;
1857*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 0, type))
1858*12720SWyllys.Ingersoll@Sun.COM return NULL;
1859*12720SWyllys.Ingersoll@Sun.COM a = (struct KMS_Certificate__RetrieveEntityCertificateResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse, sizeof(struct KMS_Certificate__RetrieveEntityCertificateResponse), 0, NULL, NULL, NULL);
1860*12720SWyllys.Ingersoll@Sun.COM if (!a)
1861*12720SWyllys.Ingersoll@Sun.COM return NULL;
1862*12720SWyllys.Ingersoll@Sun.COM soap_default_KMS_Certificate__RetrieveEntityCertificateResponse(soap, a);
1863*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1864*12720SWyllys.Ingersoll@Sun.COM {
1865*12720SWyllys.Ingersoll@Sun.COM for (;;)
1866*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TAG_MISMATCH;
1867*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_ServerAuthenticationResponse && soap->error == SOAP_TAG_MISMATCH)
1868*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__hexBinary(soap, "ServerAuthenticationResponse", &a->ServerAuthenticationResponse, "xsd:hexBinary"))
1869*12720SWyllys.Ingersoll@Sun.COM { soap_flag_ServerAuthenticationResponse--;
1870*12720SWyllys.Ingersoll@Sun.COM continue;
1871*12720SWyllys.Ingersoll@Sun.COM }
1872*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_Certificate && soap->error == SOAP_TAG_MISMATCH)
1873*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__hexBinary(soap, "Certificate", &a->Certificate, "xsd:hexBinary"))
1874*12720SWyllys.Ingersoll@Sun.COM { soap_flag_Certificate--;
1875*12720SWyllys.Ingersoll@Sun.COM continue;
1876*12720SWyllys.Ingersoll@Sun.COM }
1877*12720SWyllys.Ingersoll@Sun.COM if (soap_flag_WrappedPrivateKeyMaterial && soap->error == SOAP_TAG_MISMATCH)
1878*12720SWyllys.Ingersoll@Sun.COM if (soap_in_xsd__hexBinary(soap, "WrappedPrivateKeyMaterial", &a->WrappedPrivateKeyMaterial, "xsd:hexBinary"))
1879*12720SWyllys.Ingersoll@Sun.COM { soap_flag_WrappedPrivateKeyMaterial--;
1880*12720SWyllys.Ingersoll@Sun.COM continue;
1881*12720SWyllys.Ingersoll@Sun.COM }
1882*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_TAG_MISMATCH)
1883*12720SWyllys.Ingersoll@Sun.COM soap->error = soap_ignore_element(soap);
1884*12720SWyllys.Ingersoll@Sun.COM if (soap->error == SOAP_NO_TAG)
1885*12720SWyllys.Ingersoll@Sun.COM break;
1886*12720SWyllys.Ingersoll@Sun.COM if (soap->error)
1887*12720SWyllys.Ingersoll@Sun.COM return NULL;
1888*12720SWyllys.Ingersoll@Sun.COM }
1889*12720SWyllys.Ingersoll@Sun.COM if (soap_element_end_in(soap, tag))
1890*12720SWyllys.Ingersoll@Sun.COM return NULL;
1891*12720SWyllys.Ingersoll@Sun.COM }
1892*12720SWyllys.Ingersoll@Sun.COM else
1893*12720SWyllys.Ingersoll@Sun.COM { a = (struct KMS_Certificate__RetrieveEntityCertificateResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse, 0, sizeof(struct KMS_Certificate__RetrieveEntityCertificateResponse), 0, NULL);
1894*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1895*12720SWyllys.Ingersoll@Sun.COM return NULL;
1896*12720SWyllys.Ingersoll@Sun.COM }
1897*12720SWyllys.Ingersoll@Sun.COM if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ServerAuthenticationResponse > 0 || soap_flag_Certificate > 0 || soap_flag_WrappedPrivateKeyMaterial > 0))
1898*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_OCCURS;
1899*12720SWyllys.Ingersoll@Sun.COM return NULL;
1900*12720SWyllys.Ingersoll@Sun.COM }
1901*12720SWyllys.Ingersoll@Sun.COM return a;
1902*12720SWyllys.Ingersoll@Sun.COM }
1903*12720SWyllys.Ingersoll@Sun.COM
soap_put_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,const struct KMS_Certificate__RetrieveEntityCertificateResponse * a,const char * tag,const char * type)1904*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, const struct KMS_Certificate__RetrieveEntityCertificateResponse *a, const char *tag, const char *type)
1905*12720SWyllys.Ingersoll@Sun.COM {
1906*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse);
1907*12720SWyllys.Ingersoll@Sun.COM if (soap_out_KMS_Certificate__RetrieveEntityCertificateResponse(soap, tag?tag:"KMS-Certificate:RetrieveEntityCertificateResponse", id, a, type))
1908*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1909*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
1910*12720SWyllys.Ingersoll@Sun.COM }
1911*12720SWyllys.Ingersoll@Sun.COM
soap_get_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,struct KMS_Certificate__RetrieveEntityCertificateResponse * p,const char * tag,const char * type)1912*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct KMS_Certificate__RetrieveEntityCertificateResponse * SOAP_FMAC4 soap_get_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, struct KMS_Certificate__RetrieveEntityCertificateResponse *p, const char *tag, const char *type)
1913*12720SWyllys.Ingersoll@Sun.COM {
1914*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_KMS_Certificate__RetrieveEntityCertificateResponse(soap, tag, p, type)))
1915*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
1916*12720SWyllys.Ingersoll@Sun.COM return NULL;
1917*12720SWyllys.Ingersoll@Sun.COM return p;
1918*12720SWyllys.Ingersoll@Sun.COM }
1919*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)1920*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC1 struct KMS_Certificate__RetrieveEntityCertificateResponse * SOAP_FMAC2 soap_instantiate_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
1921*12720SWyllys.Ingersoll@Sun.COM {
1922*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
1923*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_KMS_Certificate__RetrieveEntityCertificateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
1924*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_KMS_Certificate__RetrieveEntityCertificateResponse, n, soap_fdelete);
1925*12720SWyllys.Ingersoll@Sun.COM if (!cp)
1926*12720SWyllys.Ingersoll@Sun.COM return NULL;
1927*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
1928*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct KMS_Certificate__RetrieveEntityCertificateResponse);
1929*12720SWyllys.Ingersoll@Sun.COM if (size)
1930*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct KMS_Certificate__RetrieveEntityCertificateResponse);
1931*12720SWyllys.Ingersoll@Sun.COM }
1932*12720SWyllys.Ingersoll@Sun.COM else
1933*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct KMS_Certificate__RetrieveEntityCertificateResponse[n]);
1934*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
1935*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
1936*12720SWyllys.Ingersoll@Sun.COM return NULL;
1937*12720SWyllys.Ingersoll@Sun.COM }
1938*12720SWyllys.Ingersoll@Sun.COM if (size)
1939*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct KMS_Certificate__RetrieveEntityCertificateResponse);
1940*12720SWyllys.Ingersoll@Sun.COM }
1941*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
1942*12720SWyllys.Ingersoll@Sun.COM return (struct KMS_Certificate__RetrieveEntityCertificateResponse*)cp->ptr;
1943*12720SWyllys.Ingersoll@Sun.COM }
1944*12720SWyllys.Ingersoll@Sun.COM
soap_copy_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)1945*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_copy_KMS_Certificate__RetrieveEntityCertificateResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
1946*12720SWyllys.Ingersoll@Sun.COM {
1947*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
1948*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct KMS_Certificate__RetrieveEntityCertificateResponse %p -> %p\n", q, p));
1949*12720SWyllys.Ingersoll@Sun.COM *(struct KMS_Certificate__RetrieveEntityCertificateResponse*)p = *(struct KMS_Certificate__RetrieveEntityCertificateResponse*)q;
1950*12720SWyllys.Ingersoll@Sun.COM }
1951*12720SWyllys.Ingersoll@Sun.COM
soap_default_xsd__hexBinary(struct soap * soap,struct xsd__hexBinary * a)1952*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_xsd__hexBinary(struct soap *soap, struct xsd__hexBinary *a)
1953*12720SWyllys.Ingersoll@Sun.COM {
1954*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
1955*12720SWyllys.Ingersoll@Sun.COM a->__size = 0;
1956*12720SWyllys.Ingersoll@Sun.COM a->__ptr = NULL;
1957*12720SWyllys.Ingersoll@Sun.COM }
1958*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_xsd__hexBinary(struct soap * soap,struct xsd__hexBinary const * a)1959*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__hexBinary(struct soap *soap, struct xsd__hexBinary const*a)
1960*12720SWyllys.Ingersoll@Sun.COM {
1961*12720SWyllys.Ingersoll@Sun.COM if (a->__ptr)
1962*12720SWyllys.Ingersoll@Sun.COM soap_array_reference(soap, a, (struct soap_array*)&a->__ptr, 1, SOAP_TYPE_KMS_Certificate_xsd__hexBinary);
1963*12720SWyllys.Ingersoll@Sun.COM }
1964*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__hexBinary(struct soap * soap,const char * tag,int id,const struct xsd__hexBinary * a,const char * type)1965*12720SWyllys.Ingersoll@Sun.COM 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)
1966*12720SWyllys.Ingersoll@Sun.COM {
1967*12720SWyllys.Ingersoll@Sun.COM id = soap_element_id(soap, tag, id, a, (struct soap_array*)&a->__ptr, 1, type, SOAP_TYPE_KMS_Certificate_xsd__hexBinary);
1968*12720SWyllys.Ingersoll@Sun.COM if (id < 0)
1969*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1970*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_out(soap, tag, id, type))
1971*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1972*12720SWyllys.Ingersoll@Sun.COM if (soap_puthex(soap, a->__ptr, a->__size))
1973*12720SWyllys.Ingersoll@Sun.COM return soap->error;
1974*12720SWyllys.Ingersoll@Sun.COM return soap_element_end_out(soap, tag);
1975*12720SWyllys.Ingersoll@Sun.COM }
1976*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__hexBinary(struct soap * soap,const char * tag,struct xsd__hexBinary * a,const char * type)1977*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct xsd__hexBinary * SOAP_FMAC4 soap_in_xsd__hexBinary(struct soap *soap, const char *tag, struct xsd__hexBinary *a, const char *type)
1978*12720SWyllys.Ingersoll@Sun.COM {
1979*12720SWyllys.Ingersoll@Sun.COM (void)type; /* appease -Wall -Werror */
1980*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 1, NULL))
1981*12720SWyllys.Ingersoll@Sun.COM return NULL;
1982*12720SWyllys.Ingersoll@Sun.COM if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":hexBinary"))
1983*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_TYPE;
1984*12720SWyllys.Ingersoll@Sun.COM return NULL;
1985*12720SWyllys.Ingersoll@Sun.COM }
1986*12720SWyllys.Ingersoll@Sun.COM a = (struct xsd__hexBinary *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_KMS_Certificate_xsd__hexBinary, sizeof(struct xsd__hexBinary), 0, NULL, NULL, NULL);
1987*12720SWyllys.Ingersoll@Sun.COM if (!a)
1988*12720SWyllys.Ingersoll@Sun.COM return NULL;
1989*12720SWyllys.Ingersoll@Sun.COM soap_default_xsd__hexBinary(soap, a);
1990*12720SWyllys.Ingersoll@Sun.COM if (soap->body && !*soap->href)
1991*12720SWyllys.Ingersoll@Sun.COM {
1992*12720SWyllys.Ingersoll@Sun.COM a->__ptr = soap_gethex(soap, &a->__size);
1993*12720SWyllys.Ingersoll@Sun.COM if ((!a->__ptr && soap->error) || soap_element_end_in(soap, tag))
1994*12720SWyllys.Ingersoll@Sun.COM return NULL;
1995*12720SWyllys.Ingersoll@Sun.COM }
1996*12720SWyllys.Ingersoll@Sun.COM else
1997*12720SWyllys.Ingersoll@Sun.COM { a = (struct xsd__hexBinary *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_KMS_Certificate_xsd__hexBinary, 0, sizeof(struct xsd__hexBinary), 0, NULL);
1998*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
1999*12720SWyllys.Ingersoll@Sun.COM return NULL;
2000*12720SWyllys.Ingersoll@Sun.COM }
2001*12720SWyllys.Ingersoll@Sun.COM return a;
2002*12720SWyllys.Ingersoll@Sun.COM }
2003*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__hexBinary(struct soap * soap,const struct xsd__hexBinary * a,const char * tag,const char * type)2004*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__hexBinary(struct soap *soap, const struct xsd__hexBinary *a, const char *tag, const char *type)
2005*12720SWyllys.Ingersoll@Sun.COM {
2006*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, (struct soap_array*)&a->__ptr, 1, tag, SOAP_TYPE_KMS_Certificate_xsd__hexBinary);
2007*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__hexBinary(soap, tag?tag:"SOAP-ENC:Array", id, a, type))
2008*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2009*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2010*12720SWyllys.Ingersoll@Sun.COM }
2011*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__hexBinary(struct soap * soap,struct xsd__hexBinary * p,const char * tag,const char * type)2012*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 struct xsd__hexBinary * SOAP_FMAC4 soap_get_xsd__hexBinary(struct soap *soap, struct xsd__hexBinary *p, const char *tag, const char *type)
2013*12720SWyllys.Ingersoll@Sun.COM {
2014*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__hexBinary(soap, tag, p, type)))
2015*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2016*12720SWyllys.Ingersoll@Sun.COM return NULL;
2017*12720SWyllys.Ingersoll@Sun.COM return p;
2018*12720SWyllys.Ingersoll@Sun.COM }
2019*12720SWyllys.Ingersoll@Sun.COM
soap_instantiate_xsd__hexBinary(struct soap * soap,int n,const char * type,const char * arrayType,size_t * size)2020*12720SWyllys.Ingersoll@Sun.COM 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)
2021*12720SWyllys.Ingersoll@Sun.COM {
2022*12720SWyllys.Ingersoll@Sun.COM (void)type; (void)arrayType; /* appease -Wall -Werror */
2023*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_xsd__hexBinary(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
2024*12720SWyllys.Ingersoll@Sun.COM struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_KMS_Certificate_xsd__hexBinary, n, soap_fdelete);
2025*12720SWyllys.Ingersoll@Sun.COM if (!cp)
2026*12720SWyllys.Ingersoll@Sun.COM return NULL;
2027*12720SWyllys.Ingersoll@Sun.COM if (n < 0)
2028*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct xsd__hexBinary);
2029*12720SWyllys.Ingersoll@Sun.COM if (size)
2030*12720SWyllys.Ingersoll@Sun.COM *size = sizeof(struct xsd__hexBinary);
2031*12720SWyllys.Ingersoll@Sun.COM }
2032*12720SWyllys.Ingersoll@Sun.COM else
2033*12720SWyllys.Ingersoll@Sun.COM { cp->ptr = (void*)SOAP_NEW(struct xsd__hexBinary[n]);
2034*12720SWyllys.Ingersoll@Sun.COM if (!cp->ptr)
2035*12720SWyllys.Ingersoll@Sun.COM { soap->error = SOAP_EOM;
2036*12720SWyllys.Ingersoll@Sun.COM return NULL;
2037*12720SWyllys.Ingersoll@Sun.COM }
2038*12720SWyllys.Ingersoll@Sun.COM if (size)
2039*12720SWyllys.Ingersoll@Sun.COM *size = n * sizeof(struct xsd__hexBinary);
2040*12720SWyllys.Ingersoll@Sun.COM }
2041*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
2042*12720SWyllys.Ingersoll@Sun.COM return (struct xsd__hexBinary*)cp->ptr;
2043*12720SWyllys.Ingersoll@Sun.COM }
2044*12720SWyllys.Ingersoll@Sun.COM
soap_copy_xsd__hexBinary(struct soap * soap,int st,int tt,void * p,size_t len,const void * q,size_t n)2045*12720SWyllys.Ingersoll@Sun.COM 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)
2046*12720SWyllys.Ingersoll@Sun.COM {
2047*12720SWyllys.Ingersoll@Sun.COM (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
2048*12720SWyllys.Ingersoll@Sun.COM DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct xsd__hexBinary %p -> %p\n", q, p));
2049*12720SWyllys.Ingersoll@Sun.COM *(struct xsd__hexBinary*)p = *(struct xsd__hexBinary*)q;
2050*12720SWyllys.Ingersoll@Sun.COM }
2051*12720SWyllys.Ingersoll@Sun.COM
2052*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
2053*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_PointerToSOAP_ENV__Reason(struct soap * soap,struct SOAP_ENV__Reason * const * a)2054*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a)
2055*12720SWyllys.Ingersoll@Sun.COM {
2056*12720SWyllys.Ingersoll@Sun.COM if (!soap_reference(soap, *a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason))
2057*12720SWyllys.Ingersoll@Sun.COM soap_serialize_SOAP_ENV__Reason(soap, *a);
2058*12720SWyllys.Ingersoll@Sun.COM }
2059*12720SWyllys.Ingersoll@Sun.COM
soap_out_PointerToSOAP_ENV__Reason(struct soap * soap,const char * tag,int id,struct SOAP_ENV__Reason * const * a,const char * type)2060*12720SWyllys.Ingersoll@Sun.COM 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)
2061*12720SWyllys.Ingersoll@Sun.COM {
2062*12720SWyllys.Ingersoll@Sun.COM id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason);
2063*12720SWyllys.Ingersoll@Sun.COM if (id < 0)
2064*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2065*12720SWyllys.Ingersoll@Sun.COM return soap_out_SOAP_ENV__Reason(soap, tag, id, *a, type);
2066*12720SWyllys.Ingersoll@Sun.COM }
2067*12720SWyllys.Ingersoll@Sun.COM
soap_in_PointerToSOAP_ENV__Reason(struct soap * soap,const char * tag,struct SOAP_ENV__Reason ** a,const char * type)2068*12720SWyllys.Ingersoll@Sun.COM 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)
2069*12720SWyllys.Ingersoll@Sun.COM {
2070*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 1, NULL))
2071*12720SWyllys.Ingersoll@Sun.COM return NULL;
2072*12720SWyllys.Ingersoll@Sun.COM if (!a)
2073*12720SWyllys.Ingersoll@Sun.COM if (!(a = (struct SOAP_ENV__Reason **)soap_malloc(soap, sizeof(struct SOAP_ENV__Reason *))))
2074*12720SWyllys.Ingersoll@Sun.COM return NULL;
2075*12720SWyllys.Ingersoll@Sun.COM *a = NULL;
2076*12720SWyllys.Ingersoll@Sun.COM if (!soap->null && *soap->href != '#')
2077*12720SWyllys.Ingersoll@Sun.COM { soap_revert(soap);
2078*12720SWyllys.Ingersoll@Sun.COM if (!(*a = soap_in_SOAP_ENV__Reason(soap, tag, *a, type)))
2079*12720SWyllys.Ingersoll@Sun.COM return NULL;
2080*12720SWyllys.Ingersoll@Sun.COM }
2081*12720SWyllys.Ingersoll@Sun.COM else
2082*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Reason **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0);
2083*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
2084*12720SWyllys.Ingersoll@Sun.COM return NULL;
2085*12720SWyllys.Ingersoll@Sun.COM }
2086*12720SWyllys.Ingersoll@Sun.COM return a;
2087*12720SWyllys.Ingersoll@Sun.COM }
2088*12720SWyllys.Ingersoll@Sun.COM
soap_put_PointerToSOAP_ENV__Reason(struct soap * soap,struct SOAP_ENV__Reason * const * a,const char * tag,const char * type)2089*12720SWyllys.Ingersoll@Sun.COM 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)
2090*12720SWyllys.Ingersoll@Sun.COM {
2091*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_PointerToSOAP_ENV__Reason);
2092*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, a, type))
2093*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2094*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2095*12720SWyllys.Ingersoll@Sun.COM }
2096*12720SWyllys.Ingersoll@Sun.COM
soap_get_PointerToSOAP_ENV__Reason(struct soap * soap,struct SOAP_ENV__Reason ** p,const char * tag,const char * type)2097*12720SWyllys.Ingersoll@Sun.COM 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)
2098*12720SWyllys.Ingersoll@Sun.COM {
2099*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_PointerToSOAP_ENV__Reason(soap, tag, p, type)))
2100*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2101*12720SWyllys.Ingersoll@Sun.COM return NULL;
2102*12720SWyllys.Ingersoll@Sun.COM return p;
2103*12720SWyllys.Ingersoll@Sun.COM }
2104*12720SWyllys.Ingersoll@Sun.COM
2105*12720SWyllys.Ingersoll@Sun.COM #endif
2106*12720SWyllys.Ingersoll@Sun.COM
2107*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
2108*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_PointerToSOAP_ENV__Detail(struct soap * soap,struct SOAP_ENV__Detail * const * a)2109*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a)
2110*12720SWyllys.Ingersoll@Sun.COM {
2111*12720SWyllys.Ingersoll@Sun.COM if (!soap_reference(soap, *a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail))
2112*12720SWyllys.Ingersoll@Sun.COM soap_serialize_SOAP_ENV__Detail(soap, *a);
2113*12720SWyllys.Ingersoll@Sun.COM }
2114*12720SWyllys.Ingersoll@Sun.COM
soap_out_PointerToSOAP_ENV__Detail(struct soap * soap,const char * tag,int id,struct SOAP_ENV__Detail * const * a,const char * type)2115*12720SWyllys.Ingersoll@Sun.COM 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)
2116*12720SWyllys.Ingersoll@Sun.COM {
2117*12720SWyllys.Ingersoll@Sun.COM id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail);
2118*12720SWyllys.Ingersoll@Sun.COM if (id < 0)
2119*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2120*12720SWyllys.Ingersoll@Sun.COM return soap_out_SOAP_ENV__Detail(soap, tag, id, *a, type);
2121*12720SWyllys.Ingersoll@Sun.COM }
2122*12720SWyllys.Ingersoll@Sun.COM
soap_in_PointerToSOAP_ENV__Detail(struct soap * soap,const char * tag,struct SOAP_ENV__Detail ** a,const char * type)2123*12720SWyllys.Ingersoll@Sun.COM 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)
2124*12720SWyllys.Ingersoll@Sun.COM {
2125*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 1, NULL))
2126*12720SWyllys.Ingersoll@Sun.COM return NULL;
2127*12720SWyllys.Ingersoll@Sun.COM if (!a)
2128*12720SWyllys.Ingersoll@Sun.COM if (!(a = (struct SOAP_ENV__Detail **)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail *))))
2129*12720SWyllys.Ingersoll@Sun.COM return NULL;
2130*12720SWyllys.Ingersoll@Sun.COM *a = NULL;
2131*12720SWyllys.Ingersoll@Sun.COM if (!soap->null && *soap->href != '#')
2132*12720SWyllys.Ingersoll@Sun.COM { soap_revert(soap);
2133*12720SWyllys.Ingersoll@Sun.COM if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type)))
2134*12720SWyllys.Ingersoll@Sun.COM return NULL;
2135*12720SWyllys.Ingersoll@Sun.COM }
2136*12720SWyllys.Ingersoll@Sun.COM else
2137*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0);
2138*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
2139*12720SWyllys.Ingersoll@Sun.COM return NULL;
2140*12720SWyllys.Ingersoll@Sun.COM }
2141*12720SWyllys.Ingersoll@Sun.COM return a;
2142*12720SWyllys.Ingersoll@Sun.COM }
2143*12720SWyllys.Ingersoll@Sun.COM
soap_put_PointerToSOAP_ENV__Detail(struct soap * soap,struct SOAP_ENV__Detail * const * a,const char * tag,const char * type)2144*12720SWyllys.Ingersoll@Sun.COM 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)
2145*12720SWyllys.Ingersoll@Sun.COM {
2146*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_PointerToSOAP_ENV__Detail);
2147*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, a, type))
2148*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2149*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2150*12720SWyllys.Ingersoll@Sun.COM }
2151*12720SWyllys.Ingersoll@Sun.COM
soap_get_PointerToSOAP_ENV__Detail(struct soap * soap,struct SOAP_ENV__Detail ** p,const char * tag,const char * type)2152*12720SWyllys.Ingersoll@Sun.COM 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)
2153*12720SWyllys.Ingersoll@Sun.COM {
2154*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_PointerToSOAP_ENV__Detail(soap, tag, p, type)))
2155*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2156*12720SWyllys.Ingersoll@Sun.COM return NULL;
2157*12720SWyllys.Ingersoll@Sun.COM return p;
2158*12720SWyllys.Ingersoll@Sun.COM }
2159*12720SWyllys.Ingersoll@Sun.COM
2160*12720SWyllys.Ingersoll@Sun.COM #endif
2161*12720SWyllys.Ingersoll@Sun.COM
2162*12720SWyllys.Ingersoll@Sun.COM #ifndef WITH_NOGLOBAL
2163*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_PointerToSOAP_ENV__Code(struct soap * soap,struct SOAP_ENV__Code * const * a)2164*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a)
2165*12720SWyllys.Ingersoll@Sun.COM {
2166*12720SWyllys.Ingersoll@Sun.COM if (!soap_reference(soap, *a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code))
2167*12720SWyllys.Ingersoll@Sun.COM soap_serialize_SOAP_ENV__Code(soap, *a);
2168*12720SWyllys.Ingersoll@Sun.COM }
2169*12720SWyllys.Ingersoll@Sun.COM
soap_out_PointerToSOAP_ENV__Code(struct soap * soap,const char * tag,int id,struct SOAP_ENV__Code * const * a,const char * type)2170*12720SWyllys.Ingersoll@Sun.COM 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)
2171*12720SWyllys.Ingersoll@Sun.COM {
2172*12720SWyllys.Ingersoll@Sun.COM id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code);
2173*12720SWyllys.Ingersoll@Sun.COM if (id < 0)
2174*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2175*12720SWyllys.Ingersoll@Sun.COM return soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
2176*12720SWyllys.Ingersoll@Sun.COM }
2177*12720SWyllys.Ingersoll@Sun.COM
soap_in_PointerToSOAP_ENV__Code(struct soap * soap,const char * tag,struct SOAP_ENV__Code ** a,const char * type)2178*12720SWyllys.Ingersoll@Sun.COM 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)
2179*12720SWyllys.Ingersoll@Sun.COM {
2180*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 1, NULL))
2181*12720SWyllys.Ingersoll@Sun.COM return NULL;
2182*12720SWyllys.Ingersoll@Sun.COM if (!a)
2183*12720SWyllys.Ingersoll@Sun.COM if (!(a = (struct SOAP_ENV__Code **)soap_malloc(soap, sizeof(struct SOAP_ENV__Code *))))
2184*12720SWyllys.Ingersoll@Sun.COM return NULL;
2185*12720SWyllys.Ingersoll@Sun.COM *a = NULL;
2186*12720SWyllys.Ingersoll@Sun.COM if (!soap->null && *soap->href != '#')
2187*12720SWyllys.Ingersoll@Sun.COM { soap_revert(soap);
2188*12720SWyllys.Ingersoll@Sun.COM if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type)))
2189*12720SWyllys.Ingersoll@Sun.COM return NULL;
2190*12720SWyllys.Ingersoll@Sun.COM }
2191*12720SWyllys.Ingersoll@Sun.COM else
2192*12720SWyllys.Ingersoll@Sun.COM { a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_KMS_Certificate_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0);
2193*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
2194*12720SWyllys.Ingersoll@Sun.COM return NULL;
2195*12720SWyllys.Ingersoll@Sun.COM }
2196*12720SWyllys.Ingersoll@Sun.COM return a;
2197*12720SWyllys.Ingersoll@Sun.COM }
2198*12720SWyllys.Ingersoll@Sun.COM
soap_put_PointerToSOAP_ENV__Code(struct soap * soap,struct SOAP_ENV__Code * const * a,const char * tag,const char * type)2199*12720SWyllys.Ingersoll@Sun.COM 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)
2200*12720SWyllys.Ingersoll@Sun.COM {
2201*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_PointerToSOAP_ENV__Code);
2202*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerToSOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, a, type))
2203*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2204*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2205*12720SWyllys.Ingersoll@Sun.COM }
2206*12720SWyllys.Ingersoll@Sun.COM
soap_get_PointerToSOAP_ENV__Code(struct soap * soap,struct SOAP_ENV__Code ** p,const char * tag,const char * type)2207*12720SWyllys.Ingersoll@Sun.COM 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)
2208*12720SWyllys.Ingersoll@Sun.COM {
2209*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type)))
2210*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2211*12720SWyllys.Ingersoll@Sun.COM return NULL;
2212*12720SWyllys.Ingersoll@Sun.COM return p;
2213*12720SWyllys.Ingersoll@Sun.COM }
2214*12720SWyllys.Ingersoll@Sun.COM
2215*12720SWyllys.Ingersoll@Sun.COM #endif
2216*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_PointerTounsignedByte(struct soap * soap,unsigned char * const * a)2217*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap *soap, unsigned char *const*a)
2218*12720SWyllys.Ingersoll@Sun.COM {
2219*12720SWyllys.Ingersoll@Sun.COM soap_reference(soap, *a, SOAP_TYPE_KMS_Certificate_unsignedByte);
2220*12720SWyllys.Ingersoll@Sun.COM }
2221*12720SWyllys.Ingersoll@Sun.COM
soap_out_PointerTounsignedByte(struct soap * soap,const char * tag,int id,unsigned char * const * a,const char * type)2222*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap *soap, const char *tag, int id, unsigned char *const*a, const char *type)
2223*12720SWyllys.Ingersoll@Sun.COM {
2224*12720SWyllys.Ingersoll@Sun.COM id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_KMS_Certificate_unsignedByte);
2225*12720SWyllys.Ingersoll@Sun.COM if (id < 0)
2226*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2227*12720SWyllys.Ingersoll@Sun.COM return soap_out_unsignedByte(soap, tag, id, *a, type);
2228*12720SWyllys.Ingersoll@Sun.COM }
2229*12720SWyllys.Ingersoll@Sun.COM
soap_in_PointerTounsignedByte(struct soap * soap,const char * tag,unsigned char ** a,const char * type)2230*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap *soap, const char *tag, unsigned char **a, const char *type)
2231*12720SWyllys.Ingersoll@Sun.COM {
2232*12720SWyllys.Ingersoll@Sun.COM if (soap_element_begin_in(soap, tag, 1, NULL))
2233*12720SWyllys.Ingersoll@Sun.COM return NULL;
2234*12720SWyllys.Ingersoll@Sun.COM if (!a)
2235*12720SWyllys.Ingersoll@Sun.COM if (!(a = (unsigned char **)soap_malloc(soap, sizeof(unsigned char *))))
2236*12720SWyllys.Ingersoll@Sun.COM return NULL;
2237*12720SWyllys.Ingersoll@Sun.COM *a = NULL;
2238*12720SWyllys.Ingersoll@Sun.COM if (!soap->null && *soap->href != '#')
2239*12720SWyllys.Ingersoll@Sun.COM { soap_revert(soap);
2240*12720SWyllys.Ingersoll@Sun.COM if (!(*a = soap_in_unsignedByte(soap, tag, *a, type)))
2241*12720SWyllys.Ingersoll@Sun.COM return NULL;
2242*12720SWyllys.Ingersoll@Sun.COM }
2243*12720SWyllys.Ingersoll@Sun.COM else
2244*12720SWyllys.Ingersoll@Sun.COM { a = (unsigned char **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_KMS_Certificate_unsignedByte, sizeof(unsigned char), 0);
2245*12720SWyllys.Ingersoll@Sun.COM if (soap->body && soap_element_end_in(soap, tag))
2246*12720SWyllys.Ingersoll@Sun.COM return NULL;
2247*12720SWyllys.Ingersoll@Sun.COM }
2248*12720SWyllys.Ingersoll@Sun.COM return a;
2249*12720SWyllys.Ingersoll@Sun.COM }
2250*12720SWyllys.Ingersoll@Sun.COM
soap_put_PointerTounsignedByte(struct soap * soap,unsigned char * const * a,const char * tag,const char * type)2251*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap *soap, unsigned char *const*a, const char *tag, const char *type)
2252*12720SWyllys.Ingersoll@Sun.COM {
2253*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_PointerTounsignedByte);
2254*12720SWyllys.Ingersoll@Sun.COM if (soap_out_PointerTounsignedByte(soap, tag?tag:"unsignedByte", id, a, type))
2255*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2256*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2257*12720SWyllys.Ingersoll@Sun.COM }
2258*12720SWyllys.Ingersoll@Sun.COM
soap_get_PointerTounsignedByte(struct soap * soap,unsigned char ** p,const char * tag,const char * type)2259*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap *soap, unsigned char **p, const char *tag, const char *type)
2260*12720SWyllys.Ingersoll@Sun.COM {
2261*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_PointerTounsignedByte(soap, tag, p, type)))
2262*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2263*12720SWyllys.Ingersoll@Sun.COM return NULL;
2264*12720SWyllys.Ingersoll@Sun.COM return p;
2265*12720SWyllys.Ingersoll@Sun.COM }
2266*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__duration(struct soap * soap,const char * tag,int id,char * const * a,const char * type)2267*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__duration(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
2268*12720SWyllys.Ingersoll@Sun.COM {
2269*12720SWyllys.Ingersoll@Sun.COM return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__duration);
2270*12720SWyllys.Ingersoll@Sun.COM }
2271*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__duration(struct soap * soap,const char * tag,char ** a,const char * type)2272*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_xsd__duration(struct soap *soap, const char *tag, char **a, const char *type)
2273*12720SWyllys.Ingersoll@Sun.COM { char **p;
2274*12720SWyllys.Ingersoll@Sun.COM p = soap_instring(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__duration, 1, -1, -1);
2275*12720SWyllys.Ingersoll@Sun.COM return p;
2276*12720SWyllys.Ingersoll@Sun.COM }
2277*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__duration(struct soap * soap,char * const * a,const char * tag,const char * type)2278*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__duration(struct soap *soap, char *const*a, const char *tag, const char *type)
2279*12720SWyllys.Ingersoll@Sun.COM {
2280*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__duration);
2281*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__duration(soap, tag?tag:"byte", id, a, type))
2282*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2283*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2284*12720SWyllys.Ingersoll@Sun.COM }
2285*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__duration(struct soap * soap,char ** p,const char * tag,const char * type)2286*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_xsd__duration(struct soap *soap, char **p, const char *tag, const char *type)
2287*12720SWyllys.Ingersoll@Sun.COM {
2288*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__duration(soap, tag, p, type)))
2289*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2290*12720SWyllys.Ingersoll@Sun.COM return NULL;
2291*12720SWyllys.Ingersoll@Sun.COM return p;
2292*12720SWyllys.Ingersoll@Sun.COM }
2293*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__dateTime(struct soap * soap,const char * tag,int id,char * const * a,const char * type)2294*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__dateTime(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
2295*12720SWyllys.Ingersoll@Sun.COM {
2296*12720SWyllys.Ingersoll@Sun.COM return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__dateTime);
2297*12720SWyllys.Ingersoll@Sun.COM }
2298*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__dateTime(struct soap * soap,const char * tag,char ** a,const char * type)2299*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_xsd__dateTime(struct soap *soap, const char *tag, char **a, const char *type)
2300*12720SWyllys.Ingersoll@Sun.COM { char **p;
2301*12720SWyllys.Ingersoll@Sun.COM p = soap_instring(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__dateTime, 1, -1, -1);
2302*12720SWyllys.Ingersoll@Sun.COM return p;
2303*12720SWyllys.Ingersoll@Sun.COM }
2304*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__dateTime(struct soap * soap,char * const * a,const char * tag,const char * type)2305*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__dateTime(struct soap *soap, char *const*a, const char *tag, const char *type)
2306*12720SWyllys.Ingersoll@Sun.COM {
2307*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__dateTime);
2308*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__dateTime(soap, tag?tag:"byte", id, a, type))
2309*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2310*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2311*12720SWyllys.Ingersoll@Sun.COM }
2312*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__dateTime(struct soap * soap,char ** p,const char * tag,const char * type)2313*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_xsd__dateTime(struct soap *soap, char **p, const char *tag, const char *type)
2314*12720SWyllys.Ingersoll@Sun.COM {
2315*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__dateTime(soap, tag, p, type)))
2316*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2317*12720SWyllys.Ingersoll@Sun.COM return NULL;
2318*12720SWyllys.Ingersoll@Sun.COM return p;
2319*12720SWyllys.Ingersoll@Sun.COM }
2320*12720SWyllys.Ingersoll@Sun.COM
soap_out_xsd__string(struct soap * soap,const char * tag,int id,char * const * a,const char * type)2321*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__string(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
2322*12720SWyllys.Ingersoll@Sun.COM {
2323*12720SWyllys.Ingersoll@Sun.COM return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_xsd__string);
2324*12720SWyllys.Ingersoll@Sun.COM }
2325*12720SWyllys.Ingersoll@Sun.COM
soap_in_xsd__string(struct soap * soap,const char * tag,char ** a,const char * type)2326*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_xsd__string(struct soap *soap, const char *tag, char **a, const char *type)
2327*12720SWyllys.Ingersoll@Sun.COM { char **p;
2328*12720SWyllys.Ingersoll@Sun.COM p = soap_instring(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_xsd__string, 1, -1, -1);
2329*12720SWyllys.Ingersoll@Sun.COM return p;
2330*12720SWyllys.Ingersoll@Sun.COM }
2331*12720SWyllys.Ingersoll@Sun.COM
soap_put_xsd__string(struct soap * soap,char * const * a,const char * tag,const char * type)2332*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__string(struct soap *soap, char *const*a, const char *tag, const char *type)
2333*12720SWyllys.Ingersoll@Sun.COM {
2334*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_xsd__string);
2335*12720SWyllys.Ingersoll@Sun.COM if (soap_out_xsd__string(soap, tag?tag:"byte", id, a, type))
2336*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2337*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2338*12720SWyllys.Ingersoll@Sun.COM }
2339*12720SWyllys.Ingersoll@Sun.COM
soap_get_xsd__string(struct soap * soap,char ** p,const char * tag,const char * type)2340*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_xsd__string(struct soap *soap, char **p, const char *tag, const char *type)
2341*12720SWyllys.Ingersoll@Sun.COM {
2342*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_xsd__string(soap, tag, p, type)))
2343*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2344*12720SWyllys.Ingersoll@Sun.COM return NULL;
2345*12720SWyllys.Ingersoll@Sun.COM return p;
2346*12720SWyllys.Ingersoll@Sun.COM }
2347*12720SWyllys.Ingersoll@Sun.COM
soap_out__QName(struct soap * soap,const char * tag,int id,char * const * a,const char * type)2348*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
2349*12720SWyllys.Ingersoll@Sun.COM {
2350*12720SWyllys.Ingersoll@Sun.COM return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate__QName);
2351*12720SWyllys.Ingersoll@Sun.COM }
2352*12720SWyllys.Ingersoll@Sun.COM
soap_in__QName(struct soap * soap,const char * tag,char ** a,const char * type)2353*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag, char **a, const char *type)
2354*12720SWyllys.Ingersoll@Sun.COM { char **p;
2355*12720SWyllys.Ingersoll@Sun.COM p = soap_instring(soap, tag, a, type, SOAP_TYPE_KMS_Certificate__QName, 2, -1, -1);
2356*12720SWyllys.Ingersoll@Sun.COM return p;
2357*12720SWyllys.Ingersoll@Sun.COM }
2358*12720SWyllys.Ingersoll@Sun.COM
soap_put__QName(struct soap * soap,char * const * a,const char * tag,const char * type)2359*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type)
2360*12720SWyllys.Ingersoll@Sun.COM {
2361*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate__QName);
2362*12720SWyllys.Ingersoll@Sun.COM if (soap_out__QName(soap, tag?tag:"byte", id, a, type))
2363*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2364*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2365*12720SWyllys.Ingersoll@Sun.COM }
2366*12720SWyllys.Ingersoll@Sun.COM
soap_get__QName(struct soap * soap,char ** p,const char * tag,const char * type)2367*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap *soap, char **p, const char *tag, const char *type)
2368*12720SWyllys.Ingersoll@Sun.COM {
2369*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in__QName(soap, tag, p, type)))
2370*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2371*12720SWyllys.Ingersoll@Sun.COM return NULL;
2372*12720SWyllys.Ingersoll@Sun.COM return p;
2373*12720SWyllys.Ingersoll@Sun.COM }
2374*12720SWyllys.Ingersoll@Sun.COM
soap_default_string(struct soap * soap,char ** a)2375*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a)
2376*12720SWyllys.Ingersoll@Sun.COM {
2377*12720SWyllys.Ingersoll@Sun.COM (void)soap; /* appease -Wall -Werror */
2378*12720SWyllys.Ingersoll@Sun.COM #ifdef SOAP_DEFAULT_string
2379*12720SWyllys.Ingersoll@Sun.COM *a = SOAP_DEFAULT_string;
2380*12720SWyllys.Ingersoll@Sun.COM #else
2381*12720SWyllys.Ingersoll@Sun.COM *a = (char *)0;
2382*12720SWyllys.Ingersoll@Sun.COM #endif
2383*12720SWyllys.Ingersoll@Sun.COM }
2384*12720SWyllys.Ingersoll@Sun.COM
soap_serialize_string(struct soap * soap,char * const * a)2385*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
2386*12720SWyllys.Ingersoll@Sun.COM {
2387*12720SWyllys.Ingersoll@Sun.COM soap_reference(soap, *a, SOAP_TYPE_KMS_Certificate_string);
2388*12720SWyllys.Ingersoll@Sun.COM }
2389*12720SWyllys.Ingersoll@Sun.COM
soap_out_string(struct soap * soap,const char * tag,int id,char * const * a,const char * type)2390*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
2391*12720SWyllys.Ingersoll@Sun.COM {
2392*12720SWyllys.Ingersoll@Sun.COM return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_KMS_Certificate_string);
2393*12720SWyllys.Ingersoll@Sun.COM }
2394*12720SWyllys.Ingersoll@Sun.COM
soap_in_string(struct soap * soap,const char * tag,char ** a,const char * type)2395*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type)
2396*12720SWyllys.Ingersoll@Sun.COM { char **p;
2397*12720SWyllys.Ingersoll@Sun.COM p = soap_instring(soap, tag, a, type, SOAP_TYPE_KMS_Certificate_string, 1, -1, -1);
2398*12720SWyllys.Ingersoll@Sun.COM return p;
2399*12720SWyllys.Ingersoll@Sun.COM }
2400*12720SWyllys.Ingersoll@Sun.COM
soap_put_string(struct soap * soap,char * const * a,const char * tag,const char * type)2401*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type)
2402*12720SWyllys.Ingersoll@Sun.COM {
2403*12720SWyllys.Ingersoll@Sun.COM register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_KMS_Certificate_string);
2404*12720SWyllys.Ingersoll@Sun.COM if (soap_out_string(soap, tag?tag:"byte", id, a, type))
2405*12720SWyllys.Ingersoll@Sun.COM return soap->error;
2406*12720SWyllys.Ingersoll@Sun.COM return soap_putindependent(soap);
2407*12720SWyllys.Ingersoll@Sun.COM }
2408*12720SWyllys.Ingersoll@Sun.COM
soap_get_string(struct soap * soap,char ** p,const char * tag,const char * type)2409*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type)
2410*12720SWyllys.Ingersoll@Sun.COM {
2411*12720SWyllys.Ingersoll@Sun.COM if ((p = soap_in_string(soap, tag, p, type)))
2412*12720SWyllys.Ingersoll@Sun.COM if (soap_getindependent(soap))
2413*12720SWyllys.Ingersoll@Sun.COM return NULL;
2414*12720SWyllys.Ingersoll@Sun.COM return p;
2415*12720SWyllys.Ingersoll@Sun.COM }
2416*12720SWyllys.Ingersoll@Sun.COM
2417*12720SWyllys.Ingersoll@Sun.COM } // namespace KMS_Certificate
2418*12720SWyllys.Ingersoll@Sun.COM
2419*12720SWyllys.Ingersoll@Sun.COM
2420*12720SWyllys.Ingersoll@Sun.COM #if defined(__BORLANDC__)
2421*12720SWyllys.Ingersoll@Sun.COM #pragma option pop
2422*12720SWyllys.Ingersoll@Sun.COM #pragma option pop
2423*12720SWyllys.Ingersoll@Sun.COM #endif
2424*12720SWyllys.Ingersoll@Sun.COM
2425*12720SWyllys.Ingersoll@Sun.COM /* End of KMS_CertificateC.cpp */
2426