xref: /onnv-gate/usr/src/lib/libkmsagent/common/SOAP/KMS_AgentClient.cpp (revision 12720:3db6e0082404)
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_AgentClient.cpp
27*12720SWyllys.Ingersoll@Sun.COM    Generated by gSOAP 2.7.17 from ../gsoapStubs/AgentService/KMS_Agent_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 #include "KMS_AgentH.h"
38*12720SWyllys.Ingersoll@Sun.COM 
39*12720SWyllys.Ingersoll@Sun.COM namespace KMS_Agent {
40*12720SWyllys.Ingersoll@Sun.COM 
41*12720SWyllys.Ingersoll@Sun.COM SOAP_SOURCE_STAMP("@(#) KMS_AgentClient.cpp ver 2.7.17 2010-06-08 19:16:38 GMT")
42*12720SWyllys.Ingersoll@Sun.COM 
43*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__ListKeyGroups(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__QueryParameters QueryParameters,struct KMS_Agent__ListKeyGroupsResponse & result)44*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__ListKeyGroups(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__QueryParameters QueryParameters, struct KMS_Agent__ListKeyGroupsResponse &result)
45*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__ListKeyGroups soap_tmp_KMS_Agent__ListKeyGroups;
46*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__ListKeyGroups.QueryParameters = QueryParameters;
47*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
48*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
49*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__ListKeyGroups(soap, &soap_tmp_KMS_Agent__ListKeyGroups);
50*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
51*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
52*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
53*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
54*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
55*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
56*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__ListKeyGroups(soap, &soap_tmp_KMS_Agent__ListKeyGroups, "KMS-Agent:ListKeyGroups", NULL)
57*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
58*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
59*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
60*12720SWyllys.Ingersoll@Sun.COM 	}
61*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
62*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
63*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
64*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
65*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
66*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
67*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__ListKeyGroups(soap, &soap_tmp_KMS_Agent__ListKeyGroups, "KMS-Agent:ListKeyGroups", NULL)
68*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
69*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
70*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
71*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
72*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
73*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
74*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__ListKeyGroupsResponse(soap, &result);
75*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
76*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
77*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
78*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
79*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
80*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
81*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
82*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__ListKeyGroupsResponse(soap, &result, "", "");
83*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
84*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
85*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
86*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
87*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
88*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
89*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
90*12720SWyllys.Ingersoll@Sun.COM }
91*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__CreateDataUnit(struct soap * soap,const char * soap_endpoint,const char * soap_action,char * ExternalUniqueID,char * ExternalTag,char * Description,struct KMS_Agent__CreateDataUnitResponse & result)92*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__CreateDataUnit(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *ExternalUniqueID, char *ExternalTag, char *Description, struct KMS_Agent__CreateDataUnitResponse &result)
93*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__CreateDataUnit soap_tmp_KMS_Agent__CreateDataUnit;
94*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateDataUnit.ExternalUniqueID = ExternalUniqueID;
95*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateDataUnit.ExternalTag = ExternalTag;
96*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateDataUnit.Description = Description;
97*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
98*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
99*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__CreateDataUnit(soap, &soap_tmp_KMS_Agent__CreateDataUnit);
100*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
101*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
102*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
103*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
104*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
105*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
106*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__CreateDataUnit(soap, &soap_tmp_KMS_Agent__CreateDataUnit, "KMS-Agent:CreateDataUnit", NULL)
107*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
108*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
109*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
110*12720SWyllys.Ingersoll@Sun.COM 	}
111*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
112*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
113*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
114*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
115*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
116*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
117*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__CreateDataUnit(soap, &soap_tmp_KMS_Agent__CreateDataUnit, "KMS-Agent:CreateDataUnit", NULL)
118*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
119*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
120*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
121*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
122*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
123*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
124*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__CreateDataUnitResponse(soap, &result);
125*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
126*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
127*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
128*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
129*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
130*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
131*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
132*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__CreateDataUnitResponse(soap, &result, "", "");
133*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
134*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
135*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
136*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
137*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
138*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
139*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
140*12720SWyllys.Ingersoll@Sun.COM }
141*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveDataUnit(struct soap * soap,const char * soap_endpoint,const char * soap_action,char * DataUnitID,char * ExternalUniqueID,char * ExternalTag,char * Description,struct KMS_Agent__RetrieveDataUnitResponse & result)142*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveDataUnit(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *DataUnitID, char *ExternalUniqueID, char *ExternalTag, char *Description, struct KMS_Agent__RetrieveDataUnitResponse &result)
143*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveDataUnit soap_tmp_KMS_Agent__RetrieveDataUnit;
144*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnit.DataUnitID = DataUnitID;
145*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnit.ExternalUniqueID = ExternalUniqueID;
146*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnit.ExternalTag = ExternalTag;
147*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnit.Description = Description;
148*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
149*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
150*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveDataUnit(soap, &soap_tmp_KMS_Agent__RetrieveDataUnit);
151*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
152*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
153*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
154*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
155*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
156*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
157*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveDataUnit(soap, &soap_tmp_KMS_Agent__RetrieveDataUnit, "KMS-Agent:RetrieveDataUnit", NULL)
158*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
159*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
160*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
161*12720SWyllys.Ingersoll@Sun.COM 	}
162*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
163*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
164*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
165*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
166*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
167*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
168*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveDataUnit(soap, &soap_tmp_KMS_Agent__RetrieveDataUnit, "KMS-Agent:RetrieveDataUnit", NULL)
169*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
170*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
171*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
172*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
173*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
174*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
175*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveDataUnitResponse(soap, &result);
176*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
177*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
178*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
179*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
180*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
181*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
182*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
183*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveDataUnitResponse(soap, &result, "", "");
184*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
185*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
186*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
187*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
188*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
189*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
190*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
191*12720SWyllys.Ingersoll@Sun.COM }
192*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveDataUnitByExternalUniqueID(struct soap * soap,const char * soap_endpoint,const char * soap_action,char * ExternalUniqueID,char * ExternalTag,char * Description,struct KMS_Agent__RetrieveDataUnitByExternalUniqueIDResponse & result)193*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveDataUnitByExternalUniqueID(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *ExternalUniqueID, char *ExternalTag, char *Description, struct KMS_Agent__RetrieveDataUnitByExternalUniqueIDResponse &result)
194*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveDataUnitByExternalUniqueID soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID;
195*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID.ExternalUniqueID = ExternalUniqueID;
196*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID.ExternalTag = ExternalTag;
197*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID.Description = Description;
198*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
199*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
200*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveDataUnitByExternalUniqueID(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID);
201*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
202*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
203*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
204*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
205*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
206*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
207*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveDataUnitByExternalUniqueID(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID, "KMS-Agent:RetrieveDataUnitByExternalUniqueID", NULL)
208*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
209*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
210*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
211*12720SWyllys.Ingersoll@Sun.COM 	}
212*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
213*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
214*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
215*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
216*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
217*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
218*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveDataUnitByExternalUniqueID(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitByExternalUniqueID, "KMS-Agent:RetrieveDataUnitByExternalUniqueID", NULL)
219*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
220*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
221*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
222*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
223*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
224*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
225*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveDataUnitByExternalUniqueIDResponse(soap, &result);
226*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
227*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
228*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
229*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
230*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
231*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
232*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
233*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveDataUnitByExternalUniqueIDResponse(soap, &result, "", "");
234*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
235*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
236*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
237*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
238*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
239*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
240*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
241*12720SWyllys.Ingersoll@Sun.COM }
242*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__DisassociateDataUnitKeys(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,struct KMS_Agent__DisassociateDataUnitKeysResponse & result)243*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__DisassociateDataUnitKeys(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, struct KMS_Agent__DisassociateDataUnitKeysResponse &result)
244*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__DisassociateDataUnitKeys soap_tmp_KMS_Agent__DisassociateDataUnitKeys;
245*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__DisassociateDataUnitKeys.DataUnit = DataUnit;
246*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
247*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
248*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__DisassociateDataUnitKeys(soap, &soap_tmp_KMS_Agent__DisassociateDataUnitKeys);
249*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
250*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
251*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
252*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
253*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
254*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
255*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__DisassociateDataUnitKeys(soap, &soap_tmp_KMS_Agent__DisassociateDataUnitKeys, "KMS-Agent:DisassociateDataUnitKeys", NULL)
256*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
257*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
258*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
259*12720SWyllys.Ingersoll@Sun.COM 	}
260*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
261*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
262*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
263*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
264*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
265*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
266*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__DisassociateDataUnitKeys(soap, &soap_tmp_KMS_Agent__DisassociateDataUnitKeys, "KMS-Agent:DisassociateDataUnitKeys", NULL)
267*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
268*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
269*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
270*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
271*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
272*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
273*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__DisassociateDataUnitKeysResponse(soap, &result);
274*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
275*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
276*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
277*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
278*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
279*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
280*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
281*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__DisassociateDataUnitKeysResponse(soap, &result, "", "");
282*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
283*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
284*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
285*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
286*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
287*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
288*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
289*12720SWyllys.Ingersoll@Sun.COM }
290*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__CreateKey(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,struct KMS_Agent__CreateKeyResponse & result)291*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__CreateKey(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, struct KMS_Agent__CreateKeyResponse &result)
292*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__CreateKey soap_tmp_KMS_Agent__CreateKey;
293*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateKey.DataUnit = DataUnit;
294*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateKey.KeyGroupID = KeyGroupID;
295*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
296*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
297*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__CreateKey(soap, &soap_tmp_KMS_Agent__CreateKey);
298*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
299*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
300*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
301*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
302*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
303*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
304*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__CreateKey(soap, &soap_tmp_KMS_Agent__CreateKey, "KMS-Agent:CreateKey", NULL)
305*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
306*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
307*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
308*12720SWyllys.Ingersoll@Sun.COM 	}
309*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
310*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
311*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
312*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
313*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
314*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
315*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__CreateKey(soap, &soap_tmp_KMS_Agent__CreateKey, "KMS-Agent:CreateKey", NULL)
316*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
317*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
318*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
319*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
320*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
321*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
322*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__CreateKeyResponse(soap, &result);
323*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
324*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
325*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
326*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
327*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
328*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
329*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
330*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__CreateKeyResponse(soap, &result, "", "");
331*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
332*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
333*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
334*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
335*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
336*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
337*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
338*12720SWyllys.Ingersoll@Sun.COM }
339*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__CreateKey2(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,char * AgentKWKID,struct KMS_Agent__CreateKey2Response & result)340*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__CreateKey2(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, char *AgentKWKID, struct KMS_Agent__CreateKey2Response &result)
341*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__CreateKey2 soap_tmp_KMS_Agent__CreateKey2;
342*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateKey2.DataUnit = DataUnit;
343*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateKey2.KeyGroupID = KeyGroupID;
344*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateKey2.AgentKWKID = AgentKWKID;
345*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
346*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
347*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__CreateKey2(soap, &soap_tmp_KMS_Agent__CreateKey2);
348*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
349*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
350*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
351*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
352*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
353*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
354*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__CreateKey2(soap, &soap_tmp_KMS_Agent__CreateKey2, "KMS-Agent:CreateKey2", NULL)
355*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
356*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
357*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
358*12720SWyllys.Ingersoll@Sun.COM 	}
359*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
360*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
361*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
362*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
363*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
364*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
365*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__CreateKey2(soap, &soap_tmp_KMS_Agent__CreateKey2, "KMS-Agent:CreateKey2", NULL)
366*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
367*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
368*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
369*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
370*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
371*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
372*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__CreateKey2Response(soap, &result);
373*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
374*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
375*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
376*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
377*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
378*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
379*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
380*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__CreateKey2Response(soap, &result, "", "");
381*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
382*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
383*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
384*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
385*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
386*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
387*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
388*12720SWyllys.Ingersoll@Sun.COM }
389*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveKey(struct soap * soap,const char * soap_endpoint,const char * soap_action,char * KeyID,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,struct KMS_Agent__RetrieveKeyResponse & result)390*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveKey(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *KeyID, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, struct KMS_Agent__RetrieveKeyResponse &result)
391*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveKey soap_tmp_KMS_Agent__RetrieveKey;
392*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey.KeyID = KeyID;
393*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey.DataUnit = DataUnit;
394*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey.KeyGroupID = KeyGroupID;
395*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
396*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
397*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveKey(soap, &soap_tmp_KMS_Agent__RetrieveKey);
398*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
399*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
400*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
401*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
402*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
403*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
404*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveKey(soap, &soap_tmp_KMS_Agent__RetrieveKey, "KMS-Agent:RetrieveKey", NULL)
405*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
406*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
407*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
408*12720SWyllys.Ingersoll@Sun.COM 	}
409*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
410*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
411*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
412*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
413*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
414*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
415*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveKey(soap, &soap_tmp_KMS_Agent__RetrieveKey, "KMS-Agent:RetrieveKey", NULL)
416*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
417*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
418*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
419*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
420*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
421*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
422*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveKeyResponse(soap, &result);
423*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
424*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
425*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
426*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
427*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
428*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
429*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
430*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveKeyResponse(soap, &result, "", "");
431*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
432*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
433*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
434*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
435*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
436*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
437*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
438*12720SWyllys.Ingersoll@Sun.COM }
439*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveKey2(struct soap * soap,const char * soap_endpoint,const char * soap_action,char * KeyID,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,char * AgentKWKID,struct KMS_Agent__RetrieveKey2Response & result)440*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveKey2(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *KeyID, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, char *AgentKWKID, struct KMS_Agent__RetrieveKey2Response &result)
441*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveKey2 soap_tmp_KMS_Agent__RetrieveKey2;
442*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey2.KeyID = KeyID;
443*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey2.DataUnit = DataUnit;
444*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey2.KeyGroupID = KeyGroupID;
445*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveKey2.AgentKWKID = AgentKWKID;
446*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
447*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
448*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveKey2(soap, &soap_tmp_KMS_Agent__RetrieveKey2);
449*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
450*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
451*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
452*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
453*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
454*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
455*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveKey2(soap, &soap_tmp_KMS_Agent__RetrieveKey2, "KMS-Agent:RetrieveKey2", NULL)
456*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
457*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
458*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
459*12720SWyllys.Ingersoll@Sun.COM 	}
460*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
461*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
462*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
463*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
464*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
465*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
466*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveKey2(soap, &soap_tmp_KMS_Agent__RetrieveKey2, "KMS-Agent:RetrieveKey2", NULL)
467*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
468*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
469*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
470*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
471*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
472*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
473*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveKey2Response(soap, &result);
474*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
475*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
476*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
477*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
478*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
479*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
480*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
481*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveKey2Response(soap, &result, "", "");
482*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
483*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
484*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
485*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
486*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
487*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
488*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
489*12720SWyllys.Ingersoll@Sun.COM }
490*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveDataUnitKeys(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,long PageSize,long PageOffset,char * KeyID,struct KMS_Agent__RetrieveDataUnitKeysResponse & result)491*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveDataUnitKeys(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, long PageSize, long PageOffset, char *KeyID, struct KMS_Agent__RetrieveDataUnitKeysResponse &result)
492*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveDataUnitKeys soap_tmp_KMS_Agent__RetrieveDataUnitKeys;
493*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys.DataUnit = DataUnit;
494*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys.PageSize = PageSize;
495*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys.PageOffset = PageOffset;
496*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys.KeyID = KeyID;
497*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
498*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
499*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveDataUnitKeys(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys);
500*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
501*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
502*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
503*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
504*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
505*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
506*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveDataUnitKeys(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys, "KMS-Agent:RetrieveDataUnitKeys", NULL)
507*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
508*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
509*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
510*12720SWyllys.Ingersoll@Sun.COM 	}
511*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
512*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
513*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
514*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
515*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
516*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
517*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveDataUnitKeys(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys, "KMS-Agent:RetrieveDataUnitKeys", NULL)
518*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
519*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
520*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
521*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
522*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
523*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
524*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveDataUnitKeysResponse(soap, &result);
525*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
526*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
527*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
528*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
529*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
530*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
531*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
532*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveDataUnitKeysResponse(soap, &result, "", "");
533*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
534*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
535*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
536*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
537*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
538*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
539*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
540*12720SWyllys.Ingersoll@Sun.COM }
541*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveDataUnitKeys2(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,long PageSize,long PageOffset,char * KeyID,char * AgentKWKID,struct KMS_Agent__RetrieveDataUnitKeys2Response & result)542*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveDataUnitKeys2(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, long PageSize, long PageOffset, char *KeyID, char *AgentKWKID, struct KMS_Agent__RetrieveDataUnitKeys2Response &result)
543*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveDataUnitKeys2 soap_tmp_KMS_Agent__RetrieveDataUnitKeys2;
544*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys2.DataUnit = DataUnit;
545*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys2.PageSize = PageSize;
546*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys2.PageOffset = PageOffset;
547*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys2.KeyID = KeyID;
548*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveDataUnitKeys2.AgentKWKID = AgentKWKID;
549*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
550*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
551*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveDataUnitKeys2(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys2);
552*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
553*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
554*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
555*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
556*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
557*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
558*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveDataUnitKeys2(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys2, "KMS-Agent:RetrieveDataUnitKeys2", NULL)
559*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
560*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
561*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
562*12720SWyllys.Ingersoll@Sun.COM 	}
563*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
564*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
565*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
566*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
567*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
568*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
569*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveDataUnitKeys2(soap, &soap_tmp_KMS_Agent__RetrieveDataUnitKeys2, "KMS-Agent:RetrieveDataUnitKeys2", NULL)
570*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
571*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
572*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
573*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
574*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
575*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
576*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveDataUnitKeys2Response(soap, &result);
577*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
578*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
579*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
580*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
581*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
582*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
583*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
584*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveDataUnitKeys2Response(soap, &result, "", "");
585*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
586*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
587*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
588*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
589*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
590*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
591*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
592*12720SWyllys.Ingersoll@Sun.COM }
593*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveProtectAndProcessKey(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,struct KMS_Agent__RetrieveProtectAndProcessKeyResponse & result)594*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveProtectAndProcessKey(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, struct KMS_Agent__RetrieveProtectAndProcessKeyResponse &result)
595*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveProtectAndProcessKey soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey;
596*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey.DataUnit = DataUnit;
597*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey.KeyGroupID = KeyGroupID;
598*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
599*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
600*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveProtectAndProcessKey(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey);
601*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
602*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
603*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
604*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
605*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
606*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
607*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveProtectAndProcessKey(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey, "KMS-Agent:RetrieveProtectAndProcessKey", NULL)
608*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
609*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
610*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
611*12720SWyllys.Ingersoll@Sun.COM 	}
612*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
613*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
614*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
615*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
616*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
617*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
618*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveProtectAndProcessKey(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey, "KMS-Agent:RetrieveProtectAndProcessKey", NULL)
619*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
620*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
621*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
622*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
623*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
624*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
625*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveProtectAndProcessKeyResponse(soap, &result);
626*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
627*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
628*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
629*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
630*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
631*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
632*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
633*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveProtectAndProcessKeyResponse(soap, &result, "", "");
634*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
635*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
636*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
637*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
638*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
639*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
640*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
641*12720SWyllys.Ingersoll@Sun.COM }
642*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RetrieveProtectAndProcessKey2(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__DataUnit DataUnit,char * KeyGroupID,char * AgentKWKID,struct KMS_Agent__RetrieveProtectAndProcessKey2Response & result)643*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RetrieveProtectAndProcessKey2(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__DataUnit DataUnit, char *KeyGroupID, char *AgentKWKID, struct KMS_Agent__RetrieveProtectAndProcessKey2Response &result)
644*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RetrieveProtectAndProcessKey2 soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2;
645*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2.DataUnit = DataUnit;
646*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2.KeyGroupID = KeyGroupID;
647*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2.AgentKWKID = AgentKWKID;
648*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
649*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
650*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RetrieveProtectAndProcessKey2(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2);
651*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
652*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
653*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
654*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
655*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
656*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
657*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RetrieveProtectAndProcessKey2(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2, "KMS-Agent:RetrieveProtectAndProcessKey2", NULL)
658*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
659*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
660*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
661*12720SWyllys.Ingersoll@Sun.COM 	}
662*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
663*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
664*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
665*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
666*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
667*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
668*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RetrieveProtectAndProcessKey2(soap, &soap_tmp_KMS_Agent__RetrieveProtectAndProcessKey2, "KMS-Agent:RetrieveProtectAndProcessKey2", NULL)
669*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
670*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
671*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
672*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
673*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
674*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
675*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RetrieveProtectAndProcessKey2Response(soap, &result);
676*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
677*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
678*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
679*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
680*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
681*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
682*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
683*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RetrieveProtectAndProcessKey2Response(soap, &result, "", "");
684*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
685*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
686*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
687*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
688*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
689*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
690*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
691*12720SWyllys.Ingersoll@Sun.COM }
692*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__CreateAuditLog(struct soap * soap,const char * soap_endpoint,const char * soap_action,enum KMS_Agent__AuditLogRetention Retention,enum KMS_Agent__AuditLogCondition Condition,bool IssueAlert,char * Message,struct KMS_Agent__CreateAuditLogResponse & result)693*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__CreateAuditLog(struct soap *soap, const char *soap_endpoint, const char *soap_action, enum KMS_Agent__AuditLogRetention Retention, enum KMS_Agent__AuditLogCondition Condition, bool IssueAlert, char *Message, struct KMS_Agent__CreateAuditLogResponse &result)
694*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__CreateAuditLog soap_tmp_KMS_Agent__CreateAuditLog;
695*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateAuditLog.Retention = Retention;
696*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateAuditLog.Condition = Condition;
697*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateAuditLog.IssueAlert = IssueAlert;
698*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__CreateAuditLog.Message = Message;
699*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
700*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
701*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__CreateAuditLog(soap, &soap_tmp_KMS_Agent__CreateAuditLog);
702*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
703*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
704*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
705*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
706*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
707*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
708*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__CreateAuditLog(soap, &soap_tmp_KMS_Agent__CreateAuditLog, "KMS-Agent:CreateAuditLog", NULL)
709*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
710*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
711*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
712*12720SWyllys.Ingersoll@Sun.COM 	}
713*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
714*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
715*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
716*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
717*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
718*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
719*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__CreateAuditLog(soap, &soap_tmp_KMS_Agent__CreateAuditLog, "KMS-Agent:CreateAuditLog", NULL)
720*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
721*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
722*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
723*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
724*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
725*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
726*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__CreateAuditLogResponse(soap, &result);
727*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
728*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
729*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
730*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
731*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
732*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
733*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
734*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__CreateAuditLogResponse(soap, &result, "", "");
735*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
736*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
737*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
738*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
739*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
740*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
741*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
742*12720SWyllys.Ingersoll@Sun.COM }
743*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__GetAgentKWKPublicKey(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct KMS_Agent__GetAgentKWKPublicKeyResponse & result)744*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__GetAgentKWKPublicKey(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct KMS_Agent__GetAgentKWKPublicKeyResponse &result)
745*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__GetAgentKWKPublicKey soap_tmp_KMS_Agent__GetAgentKWKPublicKey;
746*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
747*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
748*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__GetAgentKWKPublicKey(soap, &soap_tmp_KMS_Agent__GetAgentKWKPublicKey);
749*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
750*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
751*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
752*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
753*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
754*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
755*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__GetAgentKWKPublicKey(soap, &soap_tmp_KMS_Agent__GetAgentKWKPublicKey, "KMS-Agent:GetAgentKWKPublicKey", NULL)
756*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
757*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
758*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
759*12720SWyllys.Ingersoll@Sun.COM 	}
760*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
761*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
762*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
763*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
764*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
765*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
766*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__GetAgentKWKPublicKey(soap, &soap_tmp_KMS_Agent__GetAgentKWKPublicKey, "KMS-Agent:GetAgentKWKPublicKey", NULL)
767*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
768*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
769*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
770*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
771*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
772*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
773*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__GetAgentKWKPublicKeyResponse(soap, &result);
774*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
775*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
776*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
777*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
778*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
779*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
780*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
781*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__GetAgentKWKPublicKeyResponse(soap, &result, "", "");
782*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
783*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
784*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
785*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
786*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
787*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
788*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
789*12720SWyllys.Ingersoll@Sun.COM }
790*12720SWyllys.Ingersoll@Sun.COM 
soap_call_KMS_Agent__RegisterAgentKWK(struct soap * soap,const char * soap_endpoint,const char * soap_action,struct xsd__hexBinary AgentKWK,struct KMS_Agent__RegisterAgentKWKResponse & result)791*12720SWyllys.Ingersoll@Sun.COM SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Agent__RegisterAgentKWK(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct xsd__hexBinary AgentKWK, struct KMS_Agent__RegisterAgentKWKResponse &result)
792*12720SWyllys.Ingersoll@Sun.COM {	struct KMS_Agent__RegisterAgentKWK soap_tmp_KMS_Agent__RegisterAgentKWK;
793*12720SWyllys.Ingersoll@Sun.COM 	soap_tmp_KMS_Agent__RegisterAgentKWK.AgentKWK = AgentKWK;
794*12720SWyllys.Ingersoll@Sun.COM 	soap_begin(soap);
795*12720SWyllys.Ingersoll@Sun.COM 	soap_serializeheader(soap);
796*12720SWyllys.Ingersoll@Sun.COM 	soap_serialize_KMS_Agent__RegisterAgentKWK(soap, &soap_tmp_KMS_Agent__RegisterAgentKWK);
797*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_count(soap))
798*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
799*12720SWyllys.Ingersoll@Sun.COM 	if (soap->mode & SOAP_IO_LENGTH)
800*12720SWyllys.Ingersoll@Sun.COM 	{	if (soap_envelope_begin_out(soap)
801*12720SWyllys.Ingersoll@Sun.COM 		 || soap_putheader(soap)
802*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_begin_out(soap)
803*12720SWyllys.Ingersoll@Sun.COM 		 || soap_put_KMS_Agent__RegisterAgentKWK(soap, &soap_tmp_KMS_Agent__RegisterAgentKWK, "KMS-Agent:RegisterAgentKWK", NULL)
804*12720SWyllys.Ingersoll@Sun.COM 		 || soap_body_end_out(soap)
805*12720SWyllys.Ingersoll@Sun.COM 		 || soap_envelope_end_out(soap))
806*12720SWyllys.Ingersoll@Sun.COM 			 return soap->error;
807*12720SWyllys.Ingersoll@Sun.COM 	}
808*12720SWyllys.Ingersoll@Sun.COM 	if (soap_end_count(soap))
809*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
810*12720SWyllys.Ingersoll@Sun.COM 	if (soap_connect(soap, soap_endpoint, soap_action)
811*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_out(soap)
812*12720SWyllys.Ingersoll@Sun.COM 	 || soap_putheader(soap)
813*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_out(soap)
814*12720SWyllys.Ingersoll@Sun.COM 	 || soap_put_KMS_Agent__RegisterAgentKWK(soap, &soap_tmp_KMS_Agent__RegisterAgentKWK, "KMS-Agent:RegisterAgentKWK", NULL)
815*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_end_out(soap)
816*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_out(soap)
817*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_send(soap))
818*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
819*12720SWyllys.Ingersoll@Sun.COM 	if (!&result)
820*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
821*12720SWyllys.Ingersoll@Sun.COM 	soap_default_KMS_Agent__RegisterAgentKWKResponse(soap, &result);
822*12720SWyllys.Ingersoll@Sun.COM 	if (soap_begin_recv(soap)
823*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_begin_in(soap)
824*12720SWyllys.Ingersoll@Sun.COM 	 || soap_recv_header(soap)
825*12720SWyllys.Ingersoll@Sun.COM 	 || soap_body_begin_in(soap))
826*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
827*12720SWyllys.Ingersoll@Sun.COM 	if (soap_recv_fault(soap, 1))
828*12720SWyllys.Ingersoll@Sun.COM 		return soap->error;
829*12720SWyllys.Ingersoll@Sun.COM 	soap_get_KMS_Agent__RegisterAgentKWKResponse(soap, &result, "", "");
830*12720SWyllys.Ingersoll@Sun.COM 	if (soap->error)
831*12720SWyllys.Ingersoll@Sun.COM 		return soap_recv_fault(soap, 0);
832*12720SWyllys.Ingersoll@Sun.COM 	if (soap_body_end_in(soap)
833*12720SWyllys.Ingersoll@Sun.COM 	 || soap_envelope_end_in(soap)
834*12720SWyllys.Ingersoll@Sun.COM 	 || soap_end_recv(soap))
835*12720SWyllys.Ingersoll@Sun.COM 		return soap_closesock(soap);
836*12720SWyllys.Ingersoll@Sun.COM 	return soap_closesock(soap);
837*12720SWyllys.Ingersoll@Sun.COM }
838*12720SWyllys.Ingersoll@Sun.COM 
839*12720SWyllys.Ingersoll@Sun.COM } // namespace KMS_Agent
840*12720SWyllys.Ingersoll@Sun.COM 
841*12720SWyllys.Ingersoll@Sun.COM 
842*12720SWyllys.Ingersoll@Sun.COM #if defined(__BORLANDC__)
843*12720SWyllys.Ingersoll@Sun.COM #pragma option pop
844*12720SWyllys.Ingersoll@Sun.COM #pragma option pop
845*12720SWyllys.Ingersoll@Sun.COM #endif
846*12720SWyllys.Ingersoll@Sun.COM 
847*12720SWyllys.Ingersoll@Sun.COM /* End of KMS_AgentClient.cpp */
848