GDBMS 1.0
|
00001 /* soapC.cpp 00002 Generated by gSOAP 2.8.0 from service_1.h 00003 Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved. 00004 The generated code is released under one of the following licenses: 00005 GPL, the gSOAP public license, or Genivia's license for commercial use. 00006 */ 00007 00008 #if defined(__BORLANDC__) 00009 #pragma option push -w-8060 00010 #pragma option push -w-8004 00011 #endif 00012 00013 #include "soapH.h" 00014 00015 SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.0 2011-02-28 12:39:25 GMT") 00016 00017 00018 #ifndef WITH_NOGLOBAL 00019 00020 SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap) 00021 { 00022 if (soap->header) 00023 soap_serialize_SOAP_ENV__Header(soap, soap->header); 00024 } 00025 00026 SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap) 00027 { 00028 if (soap->header) 00029 { soap->part = SOAP_IN_HEADER; 00030 if (soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, NULL)) 00031 return soap->error; 00032 soap->part = SOAP_END_HEADER; 00033 } 00034 return SOAP_OK; 00035 } 00036 00037 SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap) 00038 { 00039 soap->part = SOAP_IN_HEADER; 00040 soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", NULL, NULL); 00041 soap->part = SOAP_END_HEADER; 00042 return soap->header == NULL; 00043 } 00044 00045 SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap) 00046 { 00047 if (!soap->header) 00048 { if ((soap->header = soap_new_SOAP_ENV__Header(soap, -1))) 00049 soap_default_SOAP_ENV__Header(soap, soap->header); 00050 } 00051 } 00052 00053 SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap) 00054 { 00055 if (!soap->fault) 00056 { soap->fault = soap_new_SOAP_ENV__Fault(soap, -1); 00057 if (!soap->fault) 00058 return; 00059 soap_default_SOAP_ENV__Fault(soap, soap->fault); 00060 } 00061 if (soap->version == 2 && !soap->fault->SOAP_ENV__Code) 00062 { soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap, -1); 00063 soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code); 00064 } 00065 if (soap->version == 2 && !soap->fault->SOAP_ENV__Reason) 00066 { soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap, -1); 00067 soap_default_SOAP_ENV__Reason(soap, soap->fault->SOAP_ENV__Reason); 00068 } 00069 } 00070 00071 SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap) 00072 { 00073 soap_fault(soap); 00074 if (soap->fault) 00075 soap_serialize_SOAP_ENV__Fault(soap, soap->fault); 00076 } 00077 00078 SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap) 00079 { 00080 if (soap->fault) 00081 return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", NULL); 00082 return SOAP_OK; 00083 } 00084 00085 SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap) 00086 { 00087 return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL; 00088 } 00089 00090 SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap) 00091 { 00092 soap_fault(soap); 00093 if (soap->version == 2) 00094 return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value; 00095 return (const char**)&soap->fault->faultcode; 00096 } 00097 00098 SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap) 00099 { 00100 soap_fault(soap); 00101 if (soap->version == 2) 00102 { if (!soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode) 00103 { soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap, -1); 00104 soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode); 00105 } 00106 return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value; 00107 } 00108 return (const char**)&soap->fault->faultcode; 00109 } 00110 00111 SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap) 00112 { 00113 soap_fault(soap); 00114 if (soap->version == 2) 00115 return (const char**)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text; 00116 return (const char**)&soap->fault->faultstring; 00117 } 00118 00119 SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap) 00120 { 00121 soap_fault(soap); 00122 if (soap->version == 1) 00123 { if (!soap->fault->detail) 00124 { soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail)); 00125 soap_default_SOAP_ENV__Detail(soap, soap->fault->detail); 00126 } 00127 return (const char**)&soap->fault->detail->__any; 00128 } 00129 if (!soap->fault->SOAP_ENV__Detail) 00130 { soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1); 00131 soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail); 00132 } 00133 return (const char**)&soap->fault->SOAP_ENV__Detail->__any; 00134 } 00135 00136 #endif 00137 00138 #ifndef WITH_NOIDREF 00139 SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap) 00140 { 00141 int t; 00142 if (soap->version == 1) 00143 { for (;;) 00144 { if (!soap_getelement(soap, &t)) 00145 if (soap->error || soap_ignore_element(soap)) 00146 break; 00147 } 00148 } 00149 if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF) 00150 soap->error = SOAP_OK; 00151 return soap->error; 00152 } 00153 #endif 00154 00155 #ifndef WITH_NOIDREF 00156 00157 #ifdef __cplusplus 00158 extern "C" { 00159 #endif 00160 SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type) 00161 { 00162 if (soap_peek_element(soap)) 00163 return NULL; 00164 if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id))) 00165 *type = soap_lookup_type(soap, soap->href); 00166 switch (*type) 00167 { 00168 case SOAP_TYPE_byte: 00169 return soap_in_byte(soap, NULL, NULL, "xsd:byte"); 00170 case SOAP_TYPE_int: 00171 return soap_in_int(soap, NULL, NULL, "xsd:int"); 00172 case SOAP_TYPE_std__string: 00173 return soap_in_std__string(soap, NULL, NULL, "xsd:string"); 00174 case SOAP_TYPE_ns1__InitiateTransactionStop: 00175 return soap_in_ns1__InitiateTransactionStop(soap, NULL, NULL, "ns1:InitiateTransactionStop"); 00176 case SOAP_TYPE_ns1__InitiateTransactionStopResponse: 00177 return soap_in_ns1__InitiateTransactionStopResponse(soap, NULL, NULL, "ns1:InitiateTransactionStopResponse"); 00178 case SOAP_TYPE_ns1__FindDFS: 00179 return soap_in_ns1__FindDFS(soap, NULL, NULL, "ns1:FindDFS"); 00180 case SOAP_TYPE_ns1__FindDFSResponse: 00181 return soap_in_ns1__FindDFSResponse(soap, NULL, NULL, "ns1:FindDFSResponse"); 00182 case SOAP_TYPE_ns1__FindBFS: 00183 return soap_in_ns1__FindBFS(soap, NULL, NULL, "ns1:FindBFS"); 00184 case SOAP_TYPE_ns1__FindBFSResponse: 00185 return soap_in_ns1__FindBFSResponse(soap, NULL, NULL, "ns1:FindBFSResponse"); 00186 case SOAP_TYPE_ns1__FindAllFriends: 00187 return soap_in_ns1__FindAllFriends(soap, NULL, NULL, "ns1:FindAllFriends"); 00188 case SOAP_TYPE_ns1__FindAllFriendsResponse: 00189 return soap_in_ns1__FindAllFriendsResponse(soap, NULL, NULL, "ns1:FindAllFriendsResponse"); 00190 case SOAP_TYPE_ns1__FindAllPathsBetweenNodes: 00191 return soap_in_ns1__FindAllPathsBetweenNodes(soap, NULL, NULL, "ns1:FindAllPathsBetweenNodes"); 00192 case SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse: 00193 return soap_in_ns1__FindAllPathsBetweenNodesResponse(soap, NULL, NULL, "ns1:FindAllPathsBetweenNodesResponse"); 00194 case SOAP_TYPE_ns1__FindMaxPathBetweenNodes: 00195 return soap_in_ns1__FindMaxPathBetweenNodes(soap, NULL, NULL, "ns1:FindMaxPathBetweenNodes"); 00196 case SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse: 00197 return soap_in_ns1__FindMaxPathBetweenNodesResponse(soap, NULL, NULL, "ns1:FindMaxPathBetweenNodesResponse"); 00198 case SOAP_TYPE_ns1__FindMinPathBetweenNodes: 00199 return soap_in_ns1__FindMinPathBetweenNodes(soap, NULL, NULL, "ns1:FindMinPathBetweenNodes"); 00200 case SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse: 00201 return soap_in_ns1__FindMinPathBetweenNodesResponse(soap, NULL, NULL, "ns1:FindMinPathBetweenNodesResponse"); 00202 case SOAP_TYPE_ns1__DeleteEdge: 00203 return soap_in_ns1__DeleteEdge(soap, NULL, NULL, "ns1:DeleteEdge"); 00204 case SOAP_TYPE_ns1__DeleteEdgeResponse: 00205 return soap_in_ns1__DeleteEdgeResponse(soap, NULL, NULL, "ns1:DeleteEdgeResponse"); 00206 case SOAP_TYPE_ns1__AddValueToEdge: 00207 return soap_in_ns1__AddValueToEdge(soap, NULL, NULL, "ns1:AddValueToEdge"); 00208 case SOAP_TYPE_ns1__AddValueToEdgeResponse: 00209 return soap_in_ns1__AddValueToEdgeResponse(soap, NULL, NULL, "ns1:AddValueToEdgeResponse"); 00210 case SOAP_TYPE_ns1__AddEdge: 00211 return soap_in_ns1__AddEdge(soap, NULL, NULL, "ns1:AddEdge"); 00212 case SOAP_TYPE_ns1__AddEdgeResponse: 00213 return soap_in_ns1__AddEdgeResponse(soap, NULL, NULL, "ns1:AddEdgeResponse"); 00214 case SOAP_TYPE_ns1__DeleteNode: 00215 return soap_in_ns1__DeleteNode(soap, NULL, NULL, "ns1:DeleteNode"); 00216 case SOAP_TYPE_ns1__DeleteNodeResponse: 00217 return soap_in_ns1__DeleteNodeResponse(soap, NULL, NULL, "ns1:DeleteNodeResponse"); 00218 case SOAP_TYPE_ns1__AddValueToNode: 00219 return soap_in_ns1__AddValueToNode(soap, NULL, NULL, "ns1:AddValueToNode"); 00220 case SOAP_TYPE_ns1__AddValueToNodeResponse: 00221 return soap_in_ns1__AddValueToNodeResponse(soap, NULL, NULL, "ns1:AddValueToNodeResponse"); 00222 case SOAP_TYPE_ns1__AddNode: 00223 return soap_in_ns1__AddNode(soap, NULL, NULL, "ns1:AddNode"); 00224 case SOAP_TYPE_ns1__AddNodeResponse: 00225 return soap_in_ns1__AddNodeResponse(soap, NULL, NULL, "ns1:AddNodeResponse"); 00226 case SOAP_TYPE_ns1__GetTypeId: 00227 return soap_in_ns1__GetTypeId(soap, NULL, NULL, "ns1:GetTypeId"); 00228 case SOAP_TYPE_ns1__GetTypeIdResponse: 00229 return soap_in_ns1__GetTypeIdResponse(soap, NULL, NULL, "ns1:GetTypeIdResponse"); 00230 case SOAP_TYPE_ns1__AddMemberToType: 00231 return soap_in_ns1__AddMemberToType(soap, NULL, NULL, "ns1:AddMemberToType"); 00232 case SOAP_TYPE_ns1__AddMemberToTypeResponse: 00233 return soap_in_ns1__AddMemberToTypeResponse(soap, NULL, NULL, "ns1:AddMemberToTypeResponse"); 00234 case SOAP_TYPE_ns1__DeleteType: 00235 return soap_in_ns1__DeleteType(soap, NULL, NULL, "ns1:DeleteType"); 00236 case SOAP_TYPE_ns1__DeleteTypeResponse: 00237 return soap_in_ns1__DeleteTypeResponse(soap, NULL, NULL, "ns1:DeleteTypeResponse"); 00238 case SOAP_TYPE_ns1__DefineType: 00239 return soap_in_ns1__DefineType(soap, NULL, NULL, "ns1:DefineType"); 00240 case SOAP_TYPE_ns1__DefineTypeResponse: 00241 return soap_in_ns1__DefineTypeResponse(soap, NULL, NULL, "ns1:DefineTypeResponse"); 00242 case SOAP_TYPE_ns1__CloseTransaction: 00243 return soap_in_ns1__CloseTransaction(soap, NULL, NULL, "ns1:CloseTransaction"); 00244 case SOAP_TYPE_ns1__CloseTransactionResponse: 00245 return soap_in_ns1__CloseTransactionResponse(soap, NULL, NULL, "ns1:CloseTransactionResponse"); 00246 case SOAP_TYPE_ns1__GetTransactionId: 00247 return soap_in_ns1__GetTransactionId(soap, NULL, NULL, "ns1:GetTransactionId"); 00248 case SOAP_TYPE_ns1__GetTransactionIdResponse: 00249 return soap_in_ns1__GetTransactionIdResponse(soap, NULL, NULL, "ns1:GetTransactionIdResponse"); 00250 case SOAP_TYPE_ns1__CloseSession: 00251 return soap_in_ns1__CloseSession(soap, NULL, NULL, "ns1:CloseSession"); 00252 case SOAP_TYPE_ns1__CloseSessionResponse: 00253 return soap_in_ns1__CloseSessionResponse(soap, NULL, NULL, "ns1:CloseSessionResponse"); 00254 case SOAP_TYPE_ns1__GrantRightsToGraph: 00255 return soap_in_ns1__GrantRightsToGraph(soap, NULL, NULL, "ns1:GrantRightsToGraph"); 00256 case SOAP_TYPE_ns1__GrantRightsToGraphResponse: 00257 return soap_in_ns1__GrantRightsToGraphResponse(soap, NULL, NULL, "ns1:GrantRightsToGraphResponse"); 00258 case SOAP_TYPE_ns1__DeleteGraph: 00259 return soap_in_ns1__DeleteGraph(soap, NULL, NULL, "ns1:DeleteGraph"); 00260 case SOAP_TYPE_ns1__DeleteGraphResponse: 00261 return soap_in_ns1__DeleteGraphResponse(soap, NULL, NULL, "ns1:DeleteGraphResponse"); 00262 case SOAP_TYPE_ns1__CreateGraph: 00263 return soap_in_ns1__CreateGraph(soap, NULL, NULL, "ns1:CreateGraph"); 00264 case SOAP_TYPE_ns1__CreateGraphResponse: 00265 return soap_in_ns1__CreateGraphResponse(soap, NULL, NULL, "ns1:CreateGraphResponse"); 00266 case SOAP_TYPE_ns1__DeleteUser: 00267 return soap_in_ns1__DeleteUser(soap, NULL, NULL, "ns1:DeleteUser"); 00268 case SOAP_TYPE_ns1__DeleteUserResponse: 00269 return soap_in_ns1__DeleteUserResponse(soap, NULL, NULL, "ns1:DeleteUserResponse"); 00270 case SOAP_TYPE_ns1__CreateUser: 00271 return soap_in_ns1__CreateUser(soap, NULL, NULL, "ns1:CreateUser"); 00272 case SOAP_TYPE_ns1__CreateUserResponse: 00273 return soap_in_ns1__CreateUserResponse(soap, NULL, NULL, "ns1:CreateUserResponse"); 00274 case SOAP_TYPE_ns1__GrantRightsToGroup: 00275 return soap_in_ns1__GrantRightsToGroup(soap, NULL, NULL, "ns1:GrantRightsToGroup"); 00276 case SOAP_TYPE_ns1__GrantRightsToGroupResponse: 00277 return soap_in_ns1__GrantRightsToGroupResponse(soap, NULL, NULL, "ns1:GrantRightsToGroupResponse"); 00278 case SOAP_TYPE_ns1__DeleteUserGroup: 00279 return soap_in_ns1__DeleteUserGroup(soap, NULL, NULL, "ns1:DeleteUserGroup"); 00280 case SOAP_TYPE_ns1__DeleteUserGroupResponse: 00281 return soap_in_ns1__DeleteUserGroupResponse(soap, NULL, NULL, "ns1:DeleteUserGroupResponse"); 00282 case SOAP_TYPE_ns1__CreateUserGroup: 00283 return soap_in_ns1__CreateUserGroup(soap, NULL, NULL, "ns1:CreateUserGroup"); 00284 case SOAP_TYPE_ns1__CreateUserGroupResponse: 00285 return soap_in_ns1__CreateUserGroupResponse(soap, NULL, NULL, "ns1:CreateUserGroupResponse"); 00286 case SOAP_TYPE_ns1__GetSessionId: 00287 return soap_in_ns1__GetSessionId(soap, NULL, NULL, "ns1:GetSessionId"); 00288 case SOAP_TYPE_ns1__GetSessionIdResponse: 00289 return soap_in_ns1__GetSessionIdResponse(soap, NULL, NULL, "ns1:GetSessionIdResponse"); 00290 case SOAP_TYPE_ns1__Connect: 00291 return soap_in_ns1__Connect(soap, NULL, NULL, "ns1:Connect"); 00292 case SOAP_TYPE_ns1__ConnectResponse: 00293 return soap_in_ns1__ConnectResponse(soap, NULL, NULL, "ns1:ConnectResponse"); 00294 case SOAP_TYPE__QName: 00295 { char **s; 00296 s = soap_in__QName(soap, NULL, NULL, "xsd:QName"); 00297 return s ? *s : NULL; 00298 } 00299 case SOAP_TYPE_string: 00300 { char **s; 00301 s = soap_in_string(soap, NULL, NULL, "xsd:string"); 00302 return s ? *s : NULL; 00303 } 00304 default: 00305 { const char *t = soap->type; 00306 if (!*t) 00307 t = soap->tag; 00308 if (!soap_match_tag(soap, t, "xsd:string")) 00309 { *type = SOAP_TYPE_std__string; 00310 return soap_in_std__string(soap, NULL, NULL, NULL); 00311 } 00312 if (!soap_match_tag(soap, t, "xsd:byte")) 00313 { *type = SOAP_TYPE_byte; 00314 return soap_in_byte(soap, NULL, NULL, NULL); 00315 } 00316 if (!soap_match_tag(soap, t, "xsd:int")) 00317 { *type = SOAP_TYPE_int; 00318 return soap_in_int(soap, NULL, NULL, NULL); 00319 } 00320 if (!soap_match_tag(soap, t, "ns1:InitiateTransactionStop")) 00321 { *type = SOAP_TYPE_ns1__InitiateTransactionStop; 00322 return soap_in_ns1__InitiateTransactionStop(soap, NULL, NULL, NULL); 00323 } 00324 if (!soap_match_tag(soap, t, "ns1:InitiateTransactionStopResponse")) 00325 { *type = SOAP_TYPE_ns1__InitiateTransactionStopResponse; 00326 return soap_in_ns1__InitiateTransactionStopResponse(soap, NULL, NULL, NULL); 00327 } 00328 if (!soap_match_tag(soap, t, "ns1:FindDFS")) 00329 { *type = SOAP_TYPE_ns1__FindDFS; 00330 return soap_in_ns1__FindDFS(soap, NULL, NULL, NULL); 00331 } 00332 if (!soap_match_tag(soap, t, "ns1:FindDFSResponse")) 00333 { *type = SOAP_TYPE_ns1__FindDFSResponse; 00334 return soap_in_ns1__FindDFSResponse(soap, NULL, NULL, NULL); 00335 } 00336 if (!soap_match_tag(soap, t, "ns1:FindBFS")) 00337 { *type = SOAP_TYPE_ns1__FindBFS; 00338 return soap_in_ns1__FindBFS(soap, NULL, NULL, NULL); 00339 } 00340 if (!soap_match_tag(soap, t, "ns1:FindBFSResponse")) 00341 { *type = SOAP_TYPE_ns1__FindBFSResponse; 00342 return soap_in_ns1__FindBFSResponse(soap, NULL, NULL, NULL); 00343 } 00344 if (!soap_match_tag(soap, t, "ns1:FindAllFriends")) 00345 { *type = SOAP_TYPE_ns1__FindAllFriends; 00346 return soap_in_ns1__FindAllFriends(soap, NULL, NULL, NULL); 00347 } 00348 if (!soap_match_tag(soap, t, "ns1:FindAllFriendsResponse")) 00349 { *type = SOAP_TYPE_ns1__FindAllFriendsResponse; 00350 return soap_in_ns1__FindAllFriendsResponse(soap, NULL, NULL, NULL); 00351 } 00352 if (!soap_match_tag(soap, t, "ns1:FindAllPathsBetweenNodes")) 00353 { *type = SOAP_TYPE_ns1__FindAllPathsBetweenNodes; 00354 return soap_in_ns1__FindAllPathsBetweenNodes(soap, NULL, NULL, NULL); 00355 } 00356 if (!soap_match_tag(soap, t, "ns1:FindAllPathsBetweenNodesResponse")) 00357 { *type = SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse; 00358 return soap_in_ns1__FindAllPathsBetweenNodesResponse(soap, NULL, NULL, NULL); 00359 } 00360 if (!soap_match_tag(soap, t, "ns1:FindMaxPathBetweenNodes")) 00361 { *type = SOAP_TYPE_ns1__FindMaxPathBetweenNodes; 00362 return soap_in_ns1__FindMaxPathBetweenNodes(soap, NULL, NULL, NULL); 00363 } 00364 if (!soap_match_tag(soap, t, "ns1:FindMaxPathBetweenNodesResponse")) 00365 { *type = SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse; 00366 return soap_in_ns1__FindMaxPathBetweenNodesResponse(soap, NULL, NULL, NULL); 00367 } 00368 if (!soap_match_tag(soap, t, "ns1:FindMinPathBetweenNodes")) 00369 { *type = SOAP_TYPE_ns1__FindMinPathBetweenNodes; 00370 return soap_in_ns1__FindMinPathBetweenNodes(soap, NULL, NULL, NULL); 00371 } 00372 if (!soap_match_tag(soap, t, "ns1:FindMinPathBetweenNodesResponse")) 00373 { *type = SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse; 00374 return soap_in_ns1__FindMinPathBetweenNodesResponse(soap, NULL, NULL, NULL); 00375 } 00376 if (!soap_match_tag(soap, t, "ns1:DeleteEdge")) 00377 { *type = SOAP_TYPE_ns1__DeleteEdge; 00378 return soap_in_ns1__DeleteEdge(soap, NULL, NULL, NULL); 00379 } 00380 if (!soap_match_tag(soap, t, "ns1:DeleteEdgeResponse")) 00381 { *type = SOAP_TYPE_ns1__DeleteEdgeResponse; 00382 return soap_in_ns1__DeleteEdgeResponse(soap, NULL, NULL, NULL); 00383 } 00384 if (!soap_match_tag(soap, t, "ns1:AddValueToEdge")) 00385 { *type = SOAP_TYPE_ns1__AddValueToEdge; 00386 return soap_in_ns1__AddValueToEdge(soap, NULL, NULL, NULL); 00387 } 00388 if (!soap_match_tag(soap, t, "ns1:AddValueToEdgeResponse")) 00389 { *type = SOAP_TYPE_ns1__AddValueToEdgeResponse; 00390 return soap_in_ns1__AddValueToEdgeResponse(soap, NULL, NULL, NULL); 00391 } 00392 if (!soap_match_tag(soap, t, "ns1:AddEdge")) 00393 { *type = SOAP_TYPE_ns1__AddEdge; 00394 return soap_in_ns1__AddEdge(soap, NULL, NULL, NULL); 00395 } 00396 if (!soap_match_tag(soap, t, "ns1:AddEdgeResponse")) 00397 { *type = SOAP_TYPE_ns1__AddEdgeResponse; 00398 return soap_in_ns1__AddEdgeResponse(soap, NULL, NULL, NULL); 00399 } 00400 if (!soap_match_tag(soap, t, "ns1:DeleteNode")) 00401 { *type = SOAP_TYPE_ns1__DeleteNode; 00402 return soap_in_ns1__DeleteNode(soap, NULL, NULL, NULL); 00403 } 00404 if (!soap_match_tag(soap, t, "ns1:DeleteNodeResponse")) 00405 { *type = SOAP_TYPE_ns1__DeleteNodeResponse; 00406 return soap_in_ns1__DeleteNodeResponse(soap, NULL, NULL, NULL); 00407 } 00408 if (!soap_match_tag(soap, t, "ns1:AddValueToNode")) 00409 { *type = SOAP_TYPE_ns1__AddValueToNode; 00410 return soap_in_ns1__AddValueToNode(soap, NULL, NULL, NULL); 00411 } 00412 if (!soap_match_tag(soap, t, "ns1:AddValueToNodeResponse")) 00413 { *type = SOAP_TYPE_ns1__AddValueToNodeResponse; 00414 return soap_in_ns1__AddValueToNodeResponse(soap, NULL, NULL, NULL); 00415 } 00416 if (!soap_match_tag(soap, t, "ns1:AddNode")) 00417 { *type = SOAP_TYPE_ns1__AddNode; 00418 return soap_in_ns1__AddNode(soap, NULL, NULL, NULL); 00419 } 00420 if (!soap_match_tag(soap, t, "ns1:AddNodeResponse")) 00421 { *type = SOAP_TYPE_ns1__AddNodeResponse; 00422 return soap_in_ns1__AddNodeResponse(soap, NULL, NULL, NULL); 00423 } 00424 if (!soap_match_tag(soap, t, "ns1:GetTypeId")) 00425 { *type = SOAP_TYPE_ns1__GetTypeId; 00426 return soap_in_ns1__GetTypeId(soap, NULL, NULL, NULL); 00427 } 00428 if (!soap_match_tag(soap, t, "ns1:GetTypeIdResponse")) 00429 { *type = SOAP_TYPE_ns1__GetTypeIdResponse; 00430 return soap_in_ns1__GetTypeIdResponse(soap, NULL, NULL, NULL); 00431 } 00432 if (!soap_match_tag(soap, t, "ns1:AddMemberToType")) 00433 { *type = SOAP_TYPE_ns1__AddMemberToType; 00434 return soap_in_ns1__AddMemberToType(soap, NULL, NULL, NULL); 00435 } 00436 if (!soap_match_tag(soap, t, "ns1:AddMemberToTypeResponse")) 00437 { *type = SOAP_TYPE_ns1__AddMemberToTypeResponse; 00438 return soap_in_ns1__AddMemberToTypeResponse(soap, NULL, NULL, NULL); 00439 } 00440 if (!soap_match_tag(soap, t, "ns1:DeleteType")) 00441 { *type = SOAP_TYPE_ns1__DeleteType; 00442 return soap_in_ns1__DeleteType(soap, NULL, NULL, NULL); 00443 } 00444 if (!soap_match_tag(soap, t, "ns1:DeleteTypeResponse")) 00445 { *type = SOAP_TYPE_ns1__DeleteTypeResponse; 00446 return soap_in_ns1__DeleteTypeResponse(soap, NULL, NULL, NULL); 00447 } 00448 if (!soap_match_tag(soap, t, "ns1:DefineType")) 00449 { *type = SOAP_TYPE_ns1__DefineType; 00450 return soap_in_ns1__DefineType(soap, NULL, NULL, NULL); 00451 } 00452 if (!soap_match_tag(soap, t, "ns1:DefineTypeResponse")) 00453 { *type = SOAP_TYPE_ns1__DefineTypeResponse; 00454 return soap_in_ns1__DefineTypeResponse(soap, NULL, NULL, NULL); 00455 } 00456 if (!soap_match_tag(soap, t, "ns1:CloseTransaction")) 00457 { *type = SOAP_TYPE_ns1__CloseTransaction; 00458 return soap_in_ns1__CloseTransaction(soap, NULL, NULL, NULL); 00459 } 00460 if (!soap_match_tag(soap, t, "ns1:CloseTransactionResponse")) 00461 { *type = SOAP_TYPE_ns1__CloseTransactionResponse; 00462 return soap_in_ns1__CloseTransactionResponse(soap, NULL, NULL, NULL); 00463 } 00464 if (!soap_match_tag(soap, t, "ns1:GetTransactionId")) 00465 { *type = SOAP_TYPE_ns1__GetTransactionId; 00466 return soap_in_ns1__GetTransactionId(soap, NULL, NULL, NULL); 00467 } 00468 if (!soap_match_tag(soap, t, "ns1:GetTransactionIdResponse")) 00469 { *type = SOAP_TYPE_ns1__GetTransactionIdResponse; 00470 return soap_in_ns1__GetTransactionIdResponse(soap, NULL, NULL, NULL); 00471 } 00472 if (!soap_match_tag(soap, t, "ns1:CloseSession")) 00473 { *type = SOAP_TYPE_ns1__CloseSession; 00474 return soap_in_ns1__CloseSession(soap, NULL, NULL, NULL); 00475 } 00476 if (!soap_match_tag(soap, t, "ns1:CloseSessionResponse")) 00477 { *type = SOAP_TYPE_ns1__CloseSessionResponse; 00478 return soap_in_ns1__CloseSessionResponse(soap, NULL, NULL, NULL); 00479 } 00480 if (!soap_match_tag(soap, t, "ns1:GrantRightsToGraph")) 00481 { *type = SOAP_TYPE_ns1__GrantRightsToGraph; 00482 return soap_in_ns1__GrantRightsToGraph(soap, NULL, NULL, NULL); 00483 } 00484 if (!soap_match_tag(soap, t, "ns1:GrantRightsToGraphResponse")) 00485 { *type = SOAP_TYPE_ns1__GrantRightsToGraphResponse; 00486 return soap_in_ns1__GrantRightsToGraphResponse(soap, NULL, NULL, NULL); 00487 } 00488 if (!soap_match_tag(soap, t, "ns1:DeleteGraph")) 00489 { *type = SOAP_TYPE_ns1__DeleteGraph; 00490 return soap_in_ns1__DeleteGraph(soap, NULL, NULL, NULL); 00491 } 00492 if (!soap_match_tag(soap, t, "ns1:DeleteGraphResponse")) 00493 { *type = SOAP_TYPE_ns1__DeleteGraphResponse; 00494 return soap_in_ns1__DeleteGraphResponse(soap, NULL, NULL, NULL); 00495 } 00496 if (!soap_match_tag(soap, t, "ns1:CreateGraph")) 00497 { *type = SOAP_TYPE_ns1__CreateGraph; 00498 return soap_in_ns1__CreateGraph(soap, NULL, NULL, NULL); 00499 } 00500 if (!soap_match_tag(soap, t, "ns1:CreateGraphResponse")) 00501 { *type = SOAP_TYPE_ns1__CreateGraphResponse; 00502 return soap_in_ns1__CreateGraphResponse(soap, NULL, NULL, NULL); 00503 } 00504 if (!soap_match_tag(soap, t, "ns1:DeleteUser")) 00505 { *type = SOAP_TYPE_ns1__DeleteUser; 00506 return soap_in_ns1__DeleteUser(soap, NULL, NULL, NULL); 00507 } 00508 if (!soap_match_tag(soap, t, "ns1:DeleteUserResponse")) 00509 { *type = SOAP_TYPE_ns1__DeleteUserResponse; 00510 return soap_in_ns1__DeleteUserResponse(soap, NULL, NULL, NULL); 00511 } 00512 if (!soap_match_tag(soap, t, "ns1:CreateUser")) 00513 { *type = SOAP_TYPE_ns1__CreateUser; 00514 return soap_in_ns1__CreateUser(soap, NULL, NULL, NULL); 00515 } 00516 if (!soap_match_tag(soap, t, "ns1:CreateUserResponse")) 00517 { *type = SOAP_TYPE_ns1__CreateUserResponse; 00518 return soap_in_ns1__CreateUserResponse(soap, NULL, NULL, NULL); 00519 } 00520 if (!soap_match_tag(soap, t, "ns1:GrantRightsToGroup")) 00521 { *type = SOAP_TYPE_ns1__GrantRightsToGroup; 00522 return soap_in_ns1__GrantRightsToGroup(soap, NULL, NULL, NULL); 00523 } 00524 if (!soap_match_tag(soap, t, "ns1:GrantRightsToGroupResponse")) 00525 { *type = SOAP_TYPE_ns1__GrantRightsToGroupResponse; 00526 return soap_in_ns1__GrantRightsToGroupResponse(soap, NULL, NULL, NULL); 00527 } 00528 if (!soap_match_tag(soap, t, "ns1:DeleteUserGroup")) 00529 { *type = SOAP_TYPE_ns1__DeleteUserGroup; 00530 return soap_in_ns1__DeleteUserGroup(soap, NULL, NULL, NULL); 00531 } 00532 if (!soap_match_tag(soap, t, "ns1:DeleteUserGroupResponse")) 00533 { *type = SOAP_TYPE_ns1__DeleteUserGroupResponse; 00534 return soap_in_ns1__DeleteUserGroupResponse(soap, NULL, NULL, NULL); 00535 } 00536 if (!soap_match_tag(soap, t, "ns1:CreateUserGroup")) 00537 { *type = SOAP_TYPE_ns1__CreateUserGroup; 00538 return soap_in_ns1__CreateUserGroup(soap, NULL, NULL, NULL); 00539 } 00540 if (!soap_match_tag(soap, t, "ns1:CreateUserGroupResponse")) 00541 { *type = SOAP_TYPE_ns1__CreateUserGroupResponse; 00542 return soap_in_ns1__CreateUserGroupResponse(soap, NULL, NULL, NULL); 00543 } 00544 if (!soap_match_tag(soap, t, "ns1:GetSessionId")) 00545 { *type = SOAP_TYPE_ns1__GetSessionId; 00546 return soap_in_ns1__GetSessionId(soap, NULL, NULL, NULL); 00547 } 00548 if (!soap_match_tag(soap, t, "ns1:GetSessionIdResponse")) 00549 { *type = SOAP_TYPE_ns1__GetSessionIdResponse; 00550 return soap_in_ns1__GetSessionIdResponse(soap, NULL, NULL, NULL); 00551 } 00552 if (!soap_match_tag(soap, t, "ns1:Connect")) 00553 { *type = SOAP_TYPE_ns1__Connect; 00554 return soap_in_ns1__Connect(soap, NULL, NULL, NULL); 00555 } 00556 if (!soap_match_tag(soap, t, "ns1:ConnectResponse")) 00557 { *type = SOAP_TYPE_ns1__ConnectResponse; 00558 return soap_in_ns1__ConnectResponse(soap, NULL, NULL, NULL); 00559 } 00560 if (!soap_match_tag(soap, t, "xsd:QName")) 00561 { char **s; 00562 *type = SOAP_TYPE__QName; 00563 s = soap_in__QName(soap, NULL, NULL, NULL); 00564 return s ? *s : NULL; 00565 } 00566 if (!soap_match_tag(soap, t, "xsd:string")) 00567 { char **s; 00568 *type = SOAP_TYPE_string; 00569 s = soap_in_string(soap, NULL, NULL, NULL); 00570 return s ? *s : NULL; 00571 } 00572 t = soap->tag; 00573 } 00574 } 00575 soap->error = SOAP_TAG_MISMATCH; 00576 return NULL; 00577 } 00578 00579 #ifdef __cplusplus 00580 } 00581 #endif 00582 #endif 00583 00584 SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap) 00585 { 00586 if (!soap_peek_element(soap)) 00587 { int t; 00588 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input (level=%u, %d)\n", soap->tag, soap->level, soap->body)); 00589 if (soap->mustUnderstand && !soap->other) 00590 return soap->error = SOAP_MUSTUNDERSTAND; 00591 if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:")) 00592 { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag)); 00593 return soap->error = SOAP_TAG_MISMATCH; 00594 } 00595 if (!*soap->id || !soap_getelement(soap, &t)) 00596 { soap->peeked = 0; 00597 if (soap->fignore) 00598 soap->error = soap->fignore(soap, soap->tag); 00599 else 00600 soap->error = SOAP_OK; 00601 DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag)); 00602 if (!soap->error && soap->body) 00603 { soap->level++; 00604 while (!soap_ignore_element(soap)) 00605 ; 00606 if (soap->error == SOAP_NO_TAG) 00607 soap->error = soap_element_end_in(soap, NULL); 00608 } 00609 } 00610 } 00611 return soap->error; 00612 } 00613 00614 #ifndef WITH_NOIDREF 00615 SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap) 00616 { 00617 int i; 00618 struct soap_plist *pp; 00619 if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH))) 00620 for (i = 0; i < SOAP_PTRHASH; i++) 00621 for (pp = soap->pht[i]; pp; pp = pp->next) 00622 if (pp->mark1 == 2 || pp->mark2 == 2) 00623 if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type)) 00624 return soap->error; 00625 return SOAP_OK; 00626 } 00627 #endif 00628 00629 #ifndef WITH_NOIDREF 00630 00631 #ifdef __cplusplus 00632 extern "C" { 00633 #endif 00634 SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type) 00635 { 00636 switch (type) 00637 { 00638 case SOAP_TYPE_byte: 00639 return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte"); 00640 case SOAP_TYPE_int: 00641 return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int"); 00642 case SOAP_TYPE_std__string: 00643 return soap_out_std__string(soap, tag, id, (const std::string *)ptr, "xsd:string"); 00644 case SOAP_TYPE_ns1__InitiateTransactionStop: 00645 return soap_out_ns1__InitiateTransactionStop(soap, tag, id, (const struct ns1__InitiateTransactionStop *)ptr, "ns1:InitiateTransactionStop"); 00646 case SOAP_TYPE_ns1__InitiateTransactionStopResponse: 00647 return soap_out_ns1__InitiateTransactionStopResponse(soap, tag, id, (const struct ns1__InitiateTransactionStopResponse *)ptr, "ns1:InitiateTransactionStopResponse"); 00648 case SOAP_TYPE_ns1__FindDFS: 00649 return soap_out_ns1__FindDFS(soap, tag, id, (const struct ns1__FindDFS *)ptr, "ns1:FindDFS"); 00650 case SOAP_TYPE_ns1__FindDFSResponse: 00651 return soap_out_ns1__FindDFSResponse(soap, tag, id, (const struct ns1__FindDFSResponse *)ptr, "ns1:FindDFSResponse"); 00652 case SOAP_TYPE_ns1__FindBFS: 00653 return soap_out_ns1__FindBFS(soap, tag, id, (const struct ns1__FindBFS *)ptr, "ns1:FindBFS"); 00654 case SOAP_TYPE_ns1__FindBFSResponse: 00655 return soap_out_ns1__FindBFSResponse(soap, tag, id, (const struct ns1__FindBFSResponse *)ptr, "ns1:FindBFSResponse"); 00656 case SOAP_TYPE_ns1__FindAllFriends: 00657 return soap_out_ns1__FindAllFriends(soap, tag, id, (const struct ns1__FindAllFriends *)ptr, "ns1:FindAllFriends"); 00658 case SOAP_TYPE_ns1__FindAllFriendsResponse: 00659 return soap_out_ns1__FindAllFriendsResponse(soap, tag, id, (const struct ns1__FindAllFriendsResponse *)ptr, "ns1:FindAllFriendsResponse"); 00660 case SOAP_TYPE_ns1__FindAllPathsBetweenNodes: 00661 return soap_out_ns1__FindAllPathsBetweenNodes(soap, tag, id, (const struct ns1__FindAllPathsBetweenNodes *)ptr, "ns1:FindAllPathsBetweenNodes"); 00662 case SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse: 00663 return soap_out_ns1__FindAllPathsBetweenNodesResponse(soap, tag, id, (const struct ns1__FindAllPathsBetweenNodesResponse *)ptr, "ns1:FindAllPathsBetweenNodesResponse"); 00664 case SOAP_TYPE_ns1__FindMaxPathBetweenNodes: 00665 return soap_out_ns1__FindMaxPathBetweenNodes(soap, tag, id, (const struct ns1__FindMaxPathBetweenNodes *)ptr, "ns1:FindMaxPathBetweenNodes"); 00666 case SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse: 00667 return soap_out_ns1__FindMaxPathBetweenNodesResponse(soap, tag, id, (const struct ns1__FindMaxPathBetweenNodesResponse *)ptr, "ns1:FindMaxPathBetweenNodesResponse"); 00668 case SOAP_TYPE_ns1__FindMinPathBetweenNodes: 00669 return soap_out_ns1__FindMinPathBetweenNodes(soap, tag, id, (const struct ns1__FindMinPathBetweenNodes *)ptr, "ns1:FindMinPathBetweenNodes"); 00670 case SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse: 00671 return soap_out_ns1__FindMinPathBetweenNodesResponse(soap, tag, id, (const struct ns1__FindMinPathBetweenNodesResponse *)ptr, "ns1:FindMinPathBetweenNodesResponse"); 00672 case SOAP_TYPE_ns1__DeleteEdge: 00673 return soap_out_ns1__DeleteEdge(soap, tag, id, (const struct ns1__DeleteEdge *)ptr, "ns1:DeleteEdge"); 00674 case SOAP_TYPE_ns1__DeleteEdgeResponse: 00675 return soap_out_ns1__DeleteEdgeResponse(soap, tag, id, (const struct ns1__DeleteEdgeResponse *)ptr, "ns1:DeleteEdgeResponse"); 00676 case SOAP_TYPE_ns1__AddValueToEdge: 00677 return soap_out_ns1__AddValueToEdge(soap, tag, id, (const struct ns1__AddValueToEdge *)ptr, "ns1:AddValueToEdge"); 00678 case SOAP_TYPE_ns1__AddValueToEdgeResponse: 00679 return soap_out_ns1__AddValueToEdgeResponse(soap, tag, id, (const struct ns1__AddValueToEdgeResponse *)ptr, "ns1:AddValueToEdgeResponse"); 00680 case SOAP_TYPE_ns1__AddEdge: 00681 return soap_out_ns1__AddEdge(soap, tag, id, (const struct ns1__AddEdge *)ptr, "ns1:AddEdge"); 00682 case SOAP_TYPE_ns1__AddEdgeResponse: 00683 return soap_out_ns1__AddEdgeResponse(soap, tag, id, (const struct ns1__AddEdgeResponse *)ptr, "ns1:AddEdgeResponse"); 00684 case SOAP_TYPE_ns1__DeleteNode: 00685 return soap_out_ns1__DeleteNode(soap, tag, id, (const struct ns1__DeleteNode *)ptr, "ns1:DeleteNode"); 00686 case SOAP_TYPE_ns1__DeleteNodeResponse: 00687 return soap_out_ns1__DeleteNodeResponse(soap, tag, id, (const struct ns1__DeleteNodeResponse *)ptr, "ns1:DeleteNodeResponse"); 00688 case SOAP_TYPE_ns1__AddValueToNode: 00689 return soap_out_ns1__AddValueToNode(soap, tag, id, (const struct ns1__AddValueToNode *)ptr, "ns1:AddValueToNode"); 00690 case SOAP_TYPE_ns1__AddValueToNodeResponse: 00691 return soap_out_ns1__AddValueToNodeResponse(soap, tag, id, (const struct ns1__AddValueToNodeResponse *)ptr, "ns1:AddValueToNodeResponse"); 00692 case SOAP_TYPE_ns1__AddNode: 00693 return soap_out_ns1__AddNode(soap, tag, id, (const struct ns1__AddNode *)ptr, "ns1:AddNode"); 00694 case SOAP_TYPE_ns1__AddNodeResponse: 00695 return soap_out_ns1__AddNodeResponse(soap, tag, id, (const struct ns1__AddNodeResponse *)ptr, "ns1:AddNodeResponse"); 00696 case SOAP_TYPE_ns1__GetTypeId: 00697 return soap_out_ns1__GetTypeId(soap, tag, id, (const struct ns1__GetTypeId *)ptr, "ns1:GetTypeId"); 00698 case SOAP_TYPE_ns1__GetTypeIdResponse: 00699 return soap_out_ns1__GetTypeIdResponse(soap, tag, id, (const struct ns1__GetTypeIdResponse *)ptr, "ns1:GetTypeIdResponse"); 00700 case SOAP_TYPE_ns1__AddMemberToType: 00701 return soap_out_ns1__AddMemberToType(soap, tag, id, (const struct ns1__AddMemberToType *)ptr, "ns1:AddMemberToType"); 00702 case SOAP_TYPE_ns1__AddMemberToTypeResponse: 00703 return soap_out_ns1__AddMemberToTypeResponse(soap, tag, id, (const struct ns1__AddMemberToTypeResponse *)ptr, "ns1:AddMemberToTypeResponse"); 00704 case SOAP_TYPE_ns1__DeleteType: 00705 return soap_out_ns1__DeleteType(soap, tag, id, (const struct ns1__DeleteType *)ptr, "ns1:DeleteType"); 00706 case SOAP_TYPE_ns1__DeleteTypeResponse: 00707 return soap_out_ns1__DeleteTypeResponse(soap, tag, id, (const struct ns1__DeleteTypeResponse *)ptr, "ns1:DeleteTypeResponse"); 00708 case SOAP_TYPE_ns1__DefineType: 00709 return soap_out_ns1__DefineType(soap, tag, id, (const struct ns1__DefineType *)ptr, "ns1:DefineType"); 00710 case SOAP_TYPE_ns1__DefineTypeResponse: 00711 return soap_out_ns1__DefineTypeResponse(soap, tag, id, (const struct ns1__DefineTypeResponse *)ptr, "ns1:DefineTypeResponse"); 00712 case SOAP_TYPE_ns1__CloseTransaction: 00713 return soap_out_ns1__CloseTransaction(soap, tag, id, (const struct ns1__CloseTransaction *)ptr, "ns1:CloseTransaction"); 00714 case SOAP_TYPE_ns1__CloseTransactionResponse: 00715 return soap_out_ns1__CloseTransactionResponse(soap, tag, id, (const struct ns1__CloseTransactionResponse *)ptr, "ns1:CloseTransactionResponse"); 00716 case SOAP_TYPE_ns1__GetTransactionId: 00717 return soap_out_ns1__GetTransactionId(soap, tag, id, (const struct ns1__GetTransactionId *)ptr, "ns1:GetTransactionId"); 00718 case SOAP_TYPE_ns1__GetTransactionIdResponse: 00719 return soap_out_ns1__GetTransactionIdResponse(soap, tag, id, (const struct ns1__GetTransactionIdResponse *)ptr, "ns1:GetTransactionIdResponse"); 00720 case SOAP_TYPE_ns1__CloseSession: 00721 return soap_out_ns1__CloseSession(soap, tag, id, (const struct ns1__CloseSession *)ptr, "ns1:CloseSession"); 00722 case SOAP_TYPE_ns1__CloseSessionResponse: 00723 return soap_out_ns1__CloseSessionResponse(soap, tag, id, (const struct ns1__CloseSessionResponse *)ptr, "ns1:CloseSessionResponse"); 00724 case SOAP_TYPE_ns1__GrantRightsToGraph: 00725 return soap_out_ns1__GrantRightsToGraph(soap, tag, id, (const struct ns1__GrantRightsToGraph *)ptr, "ns1:GrantRightsToGraph"); 00726 case SOAP_TYPE_ns1__GrantRightsToGraphResponse: 00727 return soap_out_ns1__GrantRightsToGraphResponse(soap, tag, id, (const struct ns1__GrantRightsToGraphResponse *)ptr, "ns1:GrantRightsToGraphResponse"); 00728 case SOAP_TYPE_ns1__DeleteGraph: 00729 return soap_out_ns1__DeleteGraph(soap, tag, id, (const struct ns1__DeleteGraph *)ptr, "ns1:DeleteGraph"); 00730 case SOAP_TYPE_ns1__DeleteGraphResponse: 00731 return soap_out_ns1__DeleteGraphResponse(soap, tag, id, (const struct ns1__DeleteGraphResponse *)ptr, "ns1:DeleteGraphResponse"); 00732 case SOAP_TYPE_ns1__CreateGraph: 00733 return soap_out_ns1__CreateGraph(soap, tag, id, (const struct ns1__CreateGraph *)ptr, "ns1:CreateGraph"); 00734 case SOAP_TYPE_ns1__CreateGraphResponse: 00735 return soap_out_ns1__CreateGraphResponse(soap, tag, id, (const struct ns1__CreateGraphResponse *)ptr, "ns1:CreateGraphResponse"); 00736 case SOAP_TYPE_ns1__DeleteUser: 00737 return soap_out_ns1__DeleteUser(soap, tag, id, (const struct ns1__DeleteUser *)ptr, "ns1:DeleteUser"); 00738 case SOAP_TYPE_ns1__DeleteUserResponse: 00739 return soap_out_ns1__DeleteUserResponse(soap, tag, id, (const struct ns1__DeleteUserResponse *)ptr, "ns1:DeleteUserResponse"); 00740 case SOAP_TYPE_ns1__CreateUser: 00741 return soap_out_ns1__CreateUser(soap, tag, id, (const struct ns1__CreateUser *)ptr, "ns1:CreateUser"); 00742 case SOAP_TYPE_ns1__CreateUserResponse: 00743 return soap_out_ns1__CreateUserResponse(soap, tag, id, (const struct ns1__CreateUserResponse *)ptr, "ns1:CreateUserResponse"); 00744 case SOAP_TYPE_ns1__GrantRightsToGroup: 00745 return soap_out_ns1__GrantRightsToGroup(soap, tag, id, (const struct ns1__GrantRightsToGroup *)ptr, "ns1:GrantRightsToGroup"); 00746 case SOAP_TYPE_ns1__GrantRightsToGroupResponse: 00747 return soap_out_ns1__GrantRightsToGroupResponse(soap, tag, id, (const struct ns1__GrantRightsToGroupResponse *)ptr, "ns1:GrantRightsToGroupResponse"); 00748 case SOAP_TYPE_ns1__DeleteUserGroup: 00749 return soap_out_ns1__DeleteUserGroup(soap, tag, id, (const struct ns1__DeleteUserGroup *)ptr, "ns1:DeleteUserGroup"); 00750 case SOAP_TYPE_ns1__DeleteUserGroupResponse: 00751 return soap_out_ns1__DeleteUserGroupResponse(soap, tag, id, (const struct ns1__DeleteUserGroupResponse *)ptr, "ns1:DeleteUserGroupResponse"); 00752 case SOAP_TYPE_ns1__CreateUserGroup: 00753 return soap_out_ns1__CreateUserGroup(soap, tag, id, (const struct ns1__CreateUserGroup *)ptr, "ns1:CreateUserGroup"); 00754 case SOAP_TYPE_ns1__CreateUserGroupResponse: 00755 return soap_out_ns1__CreateUserGroupResponse(soap, tag, id, (const struct ns1__CreateUserGroupResponse *)ptr, "ns1:CreateUserGroupResponse"); 00756 case SOAP_TYPE_ns1__GetSessionId: 00757 return soap_out_ns1__GetSessionId(soap, tag, id, (const struct ns1__GetSessionId *)ptr, "ns1:GetSessionId"); 00758 case SOAP_TYPE_ns1__GetSessionIdResponse: 00759 return soap_out_ns1__GetSessionIdResponse(soap, tag, id, (const struct ns1__GetSessionIdResponse *)ptr, "ns1:GetSessionIdResponse"); 00760 case SOAP_TYPE_ns1__Connect: 00761 return soap_out_ns1__Connect(soap, tag, id, (const struct ns1__Connect *)ptr, "ns1:Connect"); 00762 case SOAP_TYPE_ns1__ConnectResponse: 00763 return soap_out_ns1__ConnectResponse(soap, tag, id, (const struct ns1__ConnectResponse *)ptr, "ns1:ConnectResponse"); 00764 case SOAP_TYPE__QName: 00765 return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName"); 00766 case SOAP_TYPE_string: 00767 return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string"); 00768 } 00769 return SOAP_OK; 00770 } 00771 00772 #ifdef __cplusplus 00773 } 00774 #endif 00775 #endif 00776 00777 #ifndef WITH_NOIDREF 00778 00779 #ifdef __cplusplus 00780 extern "C" { 00781 #endif 00782 SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr, int type) 00783 { 00784 (void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */ 00785 switch (type) 00786 { 00787 case SOAP_TYPE_std__string: 00788 soap_serialize_std__string(soap, (const std::string *)ptr); 00789 break; 00790 case SOAP_TYPE_ns1__InitiateTransactionStop: 00791 soap_serialize_ns1__InitiateTransactionStop(soap, (const struct ns1__InitiateTransactionStop *)ptr); 00792 break; 00793 case SOAP_TYPE_ns1__InitiateTransactionStopResponse: 00794 soap_serialize_ns1__InitiateTransactionStopResponse(soap, (const struct ns1__InitiateTransactionStopResponse *)ptr); 00795 break; 00796 case SOAP_TYPE_ns1__FindDFS: 00797 soap_serialize_ns1__FindDFS(soap, (const struct ns1__FindDFS *)ptr); 00798 break; 00799 case SOAP_TYPE_ns1__FindDFSResponse: 00800 soap_serialize_ns1__FindDFSResponse(soap, (const struct ns1__FindDFSResponse *)ptr); 00801 break; 00802 case SOAP_TYPE_ns1__FindBFS: 00803 soap_serialize_ns1__FindBFS(soap, (const struct ns1__FindBFS *)ptr); 00804 break; 00805 case SOAP_TYPE_ns1__FindBFSResponse: 00806 soap_serialize_ns1__FindBFSResponse(soap, (const struct ns1__FindBFSResponse *)ptr); 00807 break; 00808 case SOAP_TYPE_ns1__FindAllFriends: 00809 soap_serialize_ns1__FindAllFriends(soap, (const struct ns1__FindAllFriends *)ptr); 00810 break; 00811 case SOAP_TYPE_ns1__FindAllFriendsResponse: 00812 soap_serialize_ns1__FindAllFriendsResponse(soap, (const struct ns1__FindAllFriendsResponse *)ptr); 00813 break; 00814 case SOAP_TYPE_ns1__FindAllPathsBetweenNodes: 00815 soap_serialize_ns1__FindAllPathsBetweenNodes(soap, (const struct ns1__FindAllPathsBetweenNodes *)ptr); 00816 break; 00817 case SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse: 00818 soap_serialize_ns1__FindAllPathsBetweenNodesResponse(soap, (const struct ns1__FindAllPathsBetweenNodesResponse *)ptr); 00819 break; 00820 case SOAP_TYPE_ns1__FindMaxPathBetweenNodes: 00821 soap_serialize_ns1__FindMaxPathBetweenNodes(soap, (const struct ns1__FindMaxPathBetweenNodes *)ptr); 00822 break; 00823 case SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse: 00824 soap_serialize_ns1__FindMaxPathBetweenNodesResponse(soap, (const struct ns1__FindMaxPathBetweenNodesResponse *)ptr); 00825 break; 00826 case SOAP_TYPE_ns1__FindMinPathBetweenNodes: 00827 soap_serialize_ns1__FindMinPathBetweenNodes(soap, (const struct ns1__FindMinPathBetweenNodes *)ptr); 00828 break; 00829 case SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse: 00830 soap_serialize_ns1__FindMinPathBetweenNodesResponse(soap, (const struct ns1__FindMinPathBetweenNodesResponse *)ptr); 00831 break; 00832 case SOAP_TYPE_ns1__DeleteEdge: 00833 soap_serialize_ns1__DeleteEdge(soap, (const struct ns1__DeleteEdge *)ptr); 00834 break; 00835 case SOAP_TYPE_ns1__DeleteEdgeResponse: 00836 soap_serialize_ns1__DeleteEdgeResponse(soap, (const struct ns1__DeleteEdgeResponse *)ptr); 00837 break; 00838 case SOAP_TYPE_ns1__AddValueToEdge: 00839 soap_serialize_ns1__AddValueToEdge(soap, (const struct ns1__AddValueToEdge *)ptr); 00840 break; 00841 case SOAP_TYPE_ns1__AddValueToEdgeResponse: 00842 soap_serialize_ns1__AddValueToEdgeResponse(soap, (const struct ns1__AddValueToEdgeResponse *)ptr); 00843 break; 00844 case SOAP_TYPE_ns1__AddEdge: 00845 soap_serialize_ns1__AddEdge(soap, (const struct ns1__AddEdge *)ptr); 00846 break; 00847 case SOAP_TYPE_ns1__AddEdgeResponse: 00848 soap_serialize_ns1__AddEdgeResponse(soap, (const struct ns1__AddEdgeResponse *)ptr); 00849 break; 00850 case SOAP_TYPE_ns1__DeleteNode: 00851 soap_serialize_ns1__DeleteNode(soap, (const struct ns1__DeleteNode *)ptr); 00852 break; 00853 case SOAP_TYPE_ns1__DeleteNodeResponse: 00854 soap_serialize_ns1__DeleteNodeResponse(soap, (const struct ns1__DeleteNodeResponse *)ptr); 00855 break; 00856 case SOAP_TYPE_ns1__AddValueToNode: 00857 soap_serialize_ns1__AddValueToNode(soap, (const struct ns1__AddValueToNode *)ptr); 00858 break; 00859 case SOAP_TYPE_ns1__AddValueToNodeResponse: 00860 soap_serialize_ns1__AddValueToNodeResponse(soap, (const struct ns1__AddValueToNodeResponse *)ptr); 00861 break; 00862 case SOAP_TYPE_ns1__AddNode: 00863 soap_serialize_ns1__AddNode(soap, (const struct ns1__AddNode *)ptr); 00864 break; 00865 case SOAP_TYPE_ns1__AddNodeResponse: 00866 soap_serialize_ns1__AddNodeResponse(soap, (const struct ns1__AddNodeResponse *)ptr); 00867 break; 00868 case SOAP_TYPE_ns1__GetTypeId: 00869 soap_serialize_ns1__GetTypeId(soap, (const struct ns1__GetTypeId *)ptr); 00870 break; 00871 case SOAP_TYPE_ns1__GetTypeIdResponse: 00872 soap_serialize_ns1__GetTypeIdResponse(soap, (const struct ns1__GetTypeIdResponse *)ptr); 00873 break; 00874 case SOAP_TYPE_ns1__AddMemberToType: 00875 soap_serialize_ns1__AddMemberToType(soap, (const struct ns1__AddMemberToType *)ptr); 00876 break; 00877 case SOAP_TYPE_ns1__AddMemberToTypeResponse: 00878 soap_serialize_ns1__AddMemberToTypeResponse(soap, (const struct ns1__AddMemberToTypeResponse *)ptr); 00879 break; 00880 case SOAP_TYPE_ns1__DeleteType: 00881 soap_serialize_ns1__DeleteType(soap, (const struct ns1__DeleteType *)ptr); 00882 break; 00883 case SOAP_TYPE_ns1__DeleteTypeResponse: 00884 soap_serialize_ns1__DeleteTypeResponse(soap, (const struct ns1__DeleteTypeResponse *)ptr); 00885 break; 00886 case SOAP_TYPE_ns1__DefineType: 00887 soap_serialize_ns1__DefineType(soap, (const struct ns1__DefineType *)ptr); 00888 break; 00889 case SOAP_TYPE_ns1__DefineTypeResponse: 00890 soap_serialize_ns1__DefineTypeResponse(soap, (const struct ns1__DefineTypeResponse *)ptr); 00891 break; 00892 case SOAP_TYPE_ns1__CloseTransaction: 00893 soap_serialize_ns1__CloseTransaction(soap, (const struct ns1__CloseTransaction *)ptr); 00894 break; 00895 case SOAP_TYPE_ns1__CloseTransactionResponse: 00896 soap_serialize_ns1__CloseTransactionResponse(soap, (const struct ns1__CloseTransactionResponse *)ptr); 00897 break; 00898 case SOAP_TYPE_ns1__GetTransactionId: 00899 soap_serialize_ns1__GetTransactionId(soap, (const struct ns1__GetTransactionId *)ptr); 00900 break; 00901 case SOAP_TYPE_ns1__GetTransactionIdResponse: 00902 soap_serialize_ns1__GetTransactionIdResponse(soap, (const struct ns1__GetTransactionIdResponse *)ptr); 00903 break; 00904 case SOAP_TYPE_ns1__CloseSession: 00905 soap_serialize_ns1__CloseSession(soap, (const struct ns1__CloseSession *)ptr); 00906 break; 00907 case SOAP_TYPE_ns1__CloseSessionResponse: 00908 soap_serialize_ns1__CloseSessionResponse(soap, (const struct ns1__CloseSessionResponse *)ptr); 00909 break; 00910 case SOAP_TYPE_ns1__GrantRightsToGraph: 00911 soap_serialize_ns1__GrantRightsToGraph(soap, (const struct ns1__GrantRightsToGraph *)ptr); 00912 break; 00913 case SOAP_TYPE_ns1__GrantRightsToGraphResponse: 00914 soap_serialize_ns1__GrantRightsToGraphResponse(soap, (const struct ns1__GrantRightsToGraphResponse *)ptr); 00915 break; 00916 case SOAP_TYPE_ns1__DeleteGraph: 00917 soap_serialize_ns1__DeleteGraph(soap, (const struct ns1__DeleteGraph *)ptr); 00918 break; 00919 case SOAP_TYPE_ns1__DeleteGraphResponse: 00920 soap_serialize_ns1__DeleteGraphResponse(soap, (const struct ns1__DeleteGraphResponse *)ptr); 00921 break; 00922 case SOAP_TYPE_ns1__CreateGraph: 00923 soap_serialize_ns1__CreateGraph(soap, (const struct ns1__CreateGraph *)ptr); 00924 break; 00925 case SOAP_TYPE_ns1__CreateGraphResponse: 00926 soap_serialize_ns1__CreateGraphResponse(soap, (const struct ns1__CreateGraphResponse *)ptr); 00927 break; 00928 case SOAP_TYPE_ns1__DeleteUser: 00929 soap_serialize_ns1__DeleteUser(soap, (const struct ns1__DeleteUser *)ptr); 00930 break; 00931 case SOAP_TYPE_ns1__DeleteUserResponse: 00932 soap_serialize_ns1__DeleteUserResponse(soap, (const struct ns1__DeleteUserResponse *)ptr); 00933 break; 00934 case SOAP_TYPE_ns1__CreateUser: 00935 soap_serialize_ns1__CreateUser(soap, (const struct ns1__CreateUser *)ptr); 00936 break; 00937 case SOAP_TYPE_ns1__CreateUserResponse: 00938 soap_serialize_ns1__CreateUserResponse(soap, (const struct ns1__CreateUserResponse *)ptr); 00939 break; 00940 case SOAP_TYPE_ns1__GrantRightsToGroup: 00941 soap_serialize_ns1__GrantRightsToGroup(soap, (const struct ns1__GrantRightsToGroup *)ptr); 00942 break; 00943 case SOAP_TYPE_ns1__GrantRightsToGroupResponse: 00944 soap_serialize_ns1__GrantRightsToGroupResponse(soap, (const struct ns1__GrantRightsToGroupResponse *)ptr); 00945 break; 00946 case SOAP_TYPE_ns1__DeleteUserGroup: 00947 soap_serialize_ns1__DeleteUserGroup(soap, (const struct ns1__DeleteUserGroup *)ptr); 00948 break; 00949 case SOAP_TYPE_ns1__DeleteUserGroupResponse: 00950 soap_serialize_ns1__DeleteUserGroupResponse(soap, (const struct ns1__DeleteUserGroupResponse *)ptr); 00951 break; 00952 case SOAP_TYPE_ns1__CreateUserGroup: 00953 soap_serialize_ns1__CreateUserGroup(soap, (const struct ns1__CreateUserGroup *)ptr); 00954 break; 00955 case SOAP_TYPE_ns1__CreateUserGroupResponse: 00956 soap_serialize_ns1__CreateUserGroupResponse(soap, (const struct ns1__CreateUserGroupResponse *)ptr); 00957 break; 00958 case SOAP_TYPE_ns1__GetSessionId: 00959 soap_serialize_ns1__GetSessionId(soap, (const struct ns1__GetSessionId *)ptr); 00960 break; 00961 case SOAP_TYPE_ns1__GetSessionIdResponse: 00962 soap_serialize_ns1__GetSessionIdResponse(soap, (const struct ns1__GetSessionIdResponse *)ptr); 00963 break; 00964 case SOAP_TYPE_ns1__Connect: 00965 soap_serialize_ns1__Connect(soap, (const struct ns1__Connect *)ptr); 00966 break; 00967 case SOAP_TYPE_ns1__ConnectResponse: 00968 soap_serialize_ns1__ConnectResponse(soap, (const struct ns1__ConnectResponse *)ptr); 00969 break; 00970 case SOAP_TYPE__QName: 00971 soap_serialize_string(soap, (char*const*)&ptr); 00972 break; 00973 case SOAP_TYPE_string: 00974 soap_serialize_string(soap, (char*const*)&ptr); 00975 break; 00976 } 00977 } 00978 00979 #ifdef __cplusplus 00980 } 00981 #endif 00982 #endif 00983 00984 SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n) 00985 { 00986 switch (t) 00987 { 00988 case SOAP_TYPE_ns1__ConnectResponse: 00989 return (void*)soap_instantiate_ns1__ConnectResponse(soap, -1, type, arrayType, n); 00990 case SOAP_TYPE_std__string: 00991 return (void*)soap_instantiate_std__string(soap, -1, type, arrayType, n); 00992 case SOAP_TYPE_ns1__Connect: 00993 return (void*)soap_instantiate_ns1__Connect(soap, -1, type, arrayType, n); 00994 case SOAP_TYPE_ns1__GetSessionIdResponse: 00995 return (void*)soap_instantiate_ns1__GetSessionIdResponse(soap, -1, type, arrayType, n); 00996 case SOAP_TYPE_ns1__GetSessionId: 00997 return (void*)soap_instantiate_ns1__GetSessionId(soap, -1, type, arrayType, n); 00998 case SOAP_TYPE_ns1__CreateUserGroupResponse: 00999 return (void*)soap_instantiate_ns1__CreateUserGroupResponse(soap, -1, type, arrayType, n); 01000 case SOAP_TYPE_ns1__CreateUserGroup: 01001 return (void*)soap_instantiate_ns1__CreateUserGroup(soap, -1, type, arrayType, n); 01002 case SOAP_TYPE_ns1__DeleteUserGroupResponse: 01003 return (void*)soap_instantiate_ns1__DeleteUserGroupResponse(soap, -1, type, arrayType, n); 01004 case SOAP_TYPE_ns1__DeleteUserGroup: 01005 return (void*)soap_instantiate_ns1__DeleteUserGroup(soap, -1, type, arrayType, n); 01006 case SOAP_TYPE_ns1__GrantRightsToGroupResponse: 01007 return (void*)soap_instantiate_ns1__GrantRightsToGroupResponse(soap, -1, type, arrayType, n); 01008 case SOAP_TYPE_ns1__GrantRightsToGroup: 01009 return (void*)soap_instantiate_ns1__GrantRightsToGroup(soap, -1, type, arrayType, n); 01010 case SOAP_TYPE_ns1__CreateUserResponse: 01011 return (void*)soap_instantiate_ns1__CreateUserResponse(soap, -1, type, arrayType, n); 01012 case SOAP_TYPE_ns1__CreateUser: 01013 return (void*)soap_instantiate_ns1__CreateUser(soap, -1, type, arrayType, n); 01014 case SOAP_TYPE_ns1__DeleteUserResponse: 01015 return (void*)soap_instantiate_ns1__DeleteUserResponse(soap, -1, type, arrayType, n); 01016 case SOAP_TYPE_ns1__DeleteUser: 01017 return (void*)soap_instantiate_ns1__DeleteUser(soap, -1, type, arrayType, n); 01018 case SOAP_TYPE_ns1__CreateGraphResponse: 01019 return (void*)soap_instantiate_ns1__CreateGraphResponse(soap, -1, type, arrayType, n); 01020 case SOAP_TYPE_ns1__CreateGraph: 01021 return (void*)soap_instantiate_ns1__CreateGraph(soap, -1, type, arrayType, n); 01022 case SOAP_TYPE_ns1__DeleteGraphResponse: 01023 return (void*)soap_instantiate_ns1__DeleteGraphResponse(soap, -1, type, arrayType, n); 01024 case SOAP_TYPE_ns1__DeleteGraph: 01025 return (void*)soap_instantiate_ns1__DeleteGraph(soap, -1, type, arrayType, n); 01026 case SOAP_TYPE_ns1__GrantRightsToGraphResponse: 01027 return (void*)soap_instantiate_ns1__GrantRightsToGraphResponse(soap, -1, type, arrayType, n); 01028 case SOAP_TYPE_ns1__GrantRightsToGraph: 01029 return (void*)soap_instantiate_ns1__GrantRightsToGraph(soap, -1, type, arrayType, n); 01030 case SOAP_TYPE_ns1__CloseSessionResponse: 01031 return (void*)soap_instantiate_ns1__CloseSessionResponse(soap, -1, type, arrayType, n); 01032 case SOAP_TYPE_ns1__CloseSession: 01033 return (void*)soap_instantiate_ns1__CloseSession(soap, -1, type, arrayType, n); 01034 case SOAP_TYPE_ns1__GetTransactionIdResponse: 01035 return (void*)soap_instantiate_ns1__GetTransactionIdResponse(soap, -1, type, arrayType, n); 01036 case SOAP_TYPE_ns1__GetTransactionId: 01037 return (void*)soap_instantiate_ns1__GetTransactionId(soap, -1, type, arrayType, n); 01038 case SOAP_TYPE_ns1__CloseTransactionResponse: 01039 return (void*)soap_instantiate_ns1__CloseTransactionResponse(soap, -1, type, arrayType, n); 01040 case SOAP_TYPE_ns1__CloseTransaction: 01041 return (void*)soap_instantiate_ns1__CloseTransaction(soap, -1, type, arrayType, n); 01042 case SOAP_TYPE_ns1__DefineTypeResponse: 01043 return (void*)soap_instantiate_ns1__DefineTypeResponse(soap, -1, type, arrayType, n); 01044 case SOAP_TYPE_ns1__DefineType: 01045 return (void*)soap_instantiate_ns1__DefineType(soap, -1, type, arrayType, n); 01046 case SOAP_TYPE_ns1__DeleteTypeResponse: 01047 return (void*)soap_instantiate_ns1__DeleteTypeResponse(soap, -1, type, arrayType, n); 01048 case SOAP_TYPE_ns1__DeleteType: 01049 return (void*)soap_instantiate_ns1__DeleteType(soap, -1, type, arrayType, n); 01050 case SOAP_TYPE_ns1__AddMemberToTypeResponse: 01051 return (void*)soap_instantiate_ns1__AddMemberToTypeResponse(soap, -1, type, arrayType, n); 01052 case SOAP_TYPE_ns1__AddMemberToType: 01053 return (void*)soap_instantiate_ns1__AddMemberToType(soap, -1, type, arrayType, n); 01054 case SOAP_TYPE_ns1__GetTypeIdResponse: 01055 return (void*)soap_instantiate_ns1__GetTypeIdResponse(soap, -1, type, arrayType, n); 01056 case SOAP_TYPE_ns1__GetTypeId: 01057 return (void*)soap_instantiate_ns1__GetTypeId(soap, -1, type, arrayType, n); 01058 case SOAP_TYPE_ns1__AddNodeResponse: 01059 return (void*)soap_instantiate_ns1__AddNodeResponse(soap, -1, type, arrayType, n); 01060 case SOAP_TYPE_ns1__AddNode: 01061 return (void*)soap_instantiate_ns1__AddNode(soap, -1, type, arrayType, n); 01062 case SOAP_TYPE_ns1__AddValueToNodeResponse: 01063 return (void*)soap_instantiate_ns1__AddValueToNodeResponse(soap, -1, type, arrayType, n); 01064 case SOAP_TYPE_ns1__AddValueToNode: 01065 return (void*)soap_instantiate_ns1__AddValueToNode(soap, -1, type, arrayType, n); 01066 case SOAP_TYPE_ns1__DeleteNodeResponse: 01067 return (void*)soap_instantiate_ns1__DeleteNodeResponse(soap, -1, type, arrayType, n); 01068 case SOAP_TYPE_ns1__DeleteNode: 01069 return (void*)soap_instantiate_ns1__DeleteNode(soap, -1, type, arrayType, n); 01070 case SOAP_TYPE_ns1__AddEdgeResponse: 01071 return (void*)soap_instantiate_ns1__AddEdgeResponse(soap, -1, type, arrayType, n); 01072 case SOAP_TYPE_ns1__AddEdge: 01073 return (void*)soap_instantiate_ns1__AddEdge(soap, -1, type, arrayType, n); 01074 case SOAP_TYPE_ns1__AddValueToEdgeResponse: 01075 return (void*)soap_instantiate_ns1__AddValueToEdgeResponse(soap, -1, type, arrayType, n); 01076 case SOAP_TYPE_ns1__AddValueToEdge: 01077 return (void*)soap_instantiate_ns1__AddValueToEdge(soap, -1, type, arrayType, n); 01078 case SOAP_TYPE_ns1__DeleteEdgeResponse: 01079 return (void*)soap_instantiate_ns1__DeleteEdgeResponse(soap, -1, type, arrayType, n); 01080 case SOAP_TYPE_ns1__DeleteEdge: 01081 return (void*)soap_instantiate_ns1__DeleteEdge(soap, -1, type, arrayType, n); 01082 case SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse: 01083 return (void*)soap_instantiate_ns1__FindMinPathBetweenNodesResponse(soap, -1, type, arrayType, n); 01084 case SOAP_TYPE_ns1__FindMinPathBetweenNodes: 01085 return (void*)soap_instantiate_ns1__FindMinPathBetweenNodes(soap, -1, type, arrayType, n); 01086 case SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse: 01087 return (void*)soap_instantiate_ns1__FindMaxPathBetweenNodesResponse(soap, -1, type, arrayType, n); 01088 case SOAP_TYPE_ns1__FindMaxPathBetweenNodes: 01089 return (void*)soap_instantiate_ns1__FindMaxPathBetweenNodes(soap, -1, type, arrayType, n); 01090 case SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse: 01091 return (void*)soap_instantiate_ns1__FindAllPathsBetweenNodesResponse(soap, -1, type, arrayType, n); 01092 case SOAP_TYPE_ns1__FindAllPathsBetweenNodes: 01093 return (void*)soap_instantiate_ns1__FindAllPathsBetweenNodes(soap, -1, type, arrayType, n); 01094 case SOAP_TYPE_ns1__FindAllFriendsResponse: 01095 return (void*)soap_instantiate_ns1__FindAllFriendsResponse(soap, -1, type, arrayType, n); 01096 case SOAP_TYPE_ns1__FindAllFriends: 01097 return (void*)soap_instantiate_ns1__FindAllFriends(soap, -1, type, arrayType, n); 01098 case SOAP_TYPE_ns1__FindBFSResponse: 01099 return (void*)soap_instantiate_ns1__FindBFSResponse(soap, -1, type, arrayType, n); 01100 case SOAP_TYPE_ns1__FindBFS: 01101 return (void*)soap_instantiate_ns1__FindBFS(soap, -1, type, arrayType, n); 01102 case SOAP_TYPE_ns1__FindDFSResponse: 01103 return (void*)soap_instantiate_ns1__FindDFSResponse(soap, -1, type, arrayType, n); 01104 case SOAP_TYPE_ns1__FindDFS: 01105 return (void*)soap_instantiate_ns1__FindDFS(soap, -1, type, arrayType, n); 01106 case SOAP_TYPE_ns1__InitiateTransactionStopResponse: 01107 return (void*)soap_instantiate_ns1__InitiateTransactionStopResponse(soap, -1, type, arrayType, n); 01108 case SOAP_TYPE_ns1__InitiateTransactionStop: 01109 return (void*)soap_instantiate_ns1__InitiateTransactionStop(soap, -1, type, arrayType, n); 01110 #ifndef WITH_NOGLOBAL 01111 case SOAP_TYPE_SOAP_ENV__Header: 01112 return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n); 01113 #endif 01114 #ifndef WITH_NOGLOBAL 01115 case SOAP_TYPE_SOAP_ENV__Code: 01116 return (void*)soap_instantiate_SOAP_ENV__Code(soap, -1, type, arrayType, n); 01117 #endif 01118 #ifndef WITH_NOGLOBAL 01119 case SOAP_TYPE_SOAP_ENV__Detail: 01120 return (void*)soap_instantiate_SOAP_ENV__Detail(soap, -1, type, arrayType, n); 01121 #endif 01122 #ifndef WITH_NOGLOBAL 01123 case SOAP_TYPE_SOAP_ENV__Reason: 01124 return (void*)soap_instantiate_SOAP_ENV__Reason(soap, -1, type, arrayType, n); 01125 #endif 01126 #ifndef WITH_NOGLOBAL 01127 case SOAP_TYPE_SOAP_ENV__Fault: 01128 return (void*)soap_instantiate_SOAP_ENV__Fault(soap, -1, type, arrayType, n); 01129 #endif 01130 } 01131 return NULL; 01132 } 01133 01134 SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p) 01135 { switch (p->type) 01136 { 01137 case SOAP_TYPE_ns1__ConnectResponse: 01138 if (p->size < 0) 01139 SOAP_DELETE((struct ns1__ConnectResponse*)p->ptr); 01140 else 01141 SOAP_DELETE_ARRAY((struct ns1__ConnectResponse*)p->ptr); 01142 break; 01143 case SOAP_TYPE_std__string: 01144 if (p->size < 0) 01145 SOAP_DELETE((std::string*)p->ptr); 01146 else 01147 SOAP_DELETE_ARRAY((std::string*)p->ptr); 01148 break; 01149 case SOAP_TYPE_ns1__Connect: 01150 if (p->size < 0) 01151 SOAP_DELETE((struct ns1__Connect*)p->ptr); 01152 else 01153 SOAP_DELETE_ARRAY((struct ns1__Connect*)p->ptr); 01154 break; 01155 case SOAP_TYPE_ns1__GetSessionIdResponse: 01156 if (p->size < 0) 01157 SOAP_DELETE((struct ns1__GetSessionIdResponse*)p->ptr); 01158 else 01159 SOAP_DELETE_ARRAY((struct ns1__GetSessionIdResponse*)p->ptr); 01160 break; 01161 case SOAP_TYPE_ns1__GetSessionId: 01162 if (p->size < 0) 01163 SOAP_DELETE((struct ns1__GetSessionId*)p->ptr); 01164 else 01165 SOAP_DELETE_ARRAY((struct ns1__GetSessionId*)p->ptr); 01166 break; 01167 case SOAP_TYPE_ns1__CreateUserGroupResponse: 01168 if (p->size < 0) 01169 SOAP_DELETE((struct ns1__CreateUserGroupResponse*)p->ptr); 01170 else 01171 SOAP_DELETE_ARRAY((struct ns1__CreateUserGroupResponse*)p->ptr); 01172 break; 01173 case SOAP_TYPE_ns1__CreateUserGroup: 01174 if (p->size < 0) 01175 SOAP_DELETE((struct ns1__CreateUserGroup*)p->ptr); 01176 else 01177 SOAP_DELETE_ARRAY((struct ns1__CreateUserGroup*)p->ptr); 01178 break; 01179 case SOAP_TYPE_ns1__DeleteUserGroupResponse: 01180 if (p->size < 0) 01181 SOAP_DELETE((struct ns1__DeleteUserGroupResponse*)p->ptr); 01182 else 01183 SOAP_DELETE_ARRAY((struct ns1__DeleteUserGroupResponse*)p->ptr); 01184 break; 01185 case SOAP_TYPE_ns1__DeleteUserGroup: 01186 if (p->size < 0) 01187 SOAP_DELETE((struct ns1__DeleteUserGroup*)p->ptr); 01188 else 01189 SOAP_DELETE_ARRAY((struct ns1__DeleteUserGroup*)p->ptr); 01190 break; 01191 case SOAP_TYPE_ns1__GrantRightsToGroupResponse: 01192 if (p->size < 0) 01193 SOAP_DELETE((struct ns1__GrantRightsToGroupResponse*)p->ptr); 01194 else 01195 SOAP_DELETE_ARRAY((struct ns1__GrantRightsToGroupResponse*)p->ptr); 01196 break; 01197 case SOAP_TYPE_ns1__GrantRightsToGroup: 01198 if (p->size < 0) 01199 SOAP_DELETE((struct ns1__GrantRightsToGroup*)p->ptr); 01200 else 01201 SOAP_DELETE_ARRAY((struct ns1__GrantRightsToGroup*)p->ptr); 01202 break; 01203 case SOAP_TYPE_ns1__CreateUserResponse: 01204 if (p->size < 0) 01205 SOAP_DELETE((struct ns1__CreateUserResponse*)p->ptr); 01206 else 01207 SOAP_DELETE_ARRAY((struct ns1__CreateUserResponse*)p->ptr); 01208 break; 01209 case SOAP_TYPE_ns1__CreateUser: 01210 if (p->size < 0) 01211 SOAP_DELETE((struct ns1__CreateUser*)p->ptr); 01212 else 01213 SOAP_DELETE_ARRAY((struct ns1__CreateUser*)p->ptr); 01214 break; 01215 case SOAP_TYPE_ns1__DeleteUserResponse: 01216 if (p->size < 0) 01217 SOAP_DELETE((struct ns1__DeleteUserResponse*)p->ptr); 01218 else 01219 SOAP_DELETE_ARRAY((struct ns1__DeleteUserResponse*)p->ptr); 01220 break; 01221 case SOAP_TYPE_ns1__DeleteUser: 01222 if (p->size < 0) 01223 SOAP_DELETE((struct ns1__DeleteUser*)p->ptr); 01224 else 01225 SOAP_DELETE_ARRAY((struct ns1__DeleteUser*)p->ptr); 01226 break; 01227 case SOAP_TYPE_ns1__CreateGraphResponse: 01228 if (p->size < 0) 01229 SOAP_DELETE((struct ns1__CreateGraphResponse*)p->ptr); 01230 else 01231 SOAP_DELETE_ARRAY((struct ns1__CreateGraphResponse*)p->ptr); 01232 break; 01233 case SOAP_TYPE_ns1__CreateGraph: 01234 if (p->size < 0) 01235 SOAP_DELETE((struct ns1__CreateGraph*)p->ptr); 01236 else 01237 SOAP_DELETE_ARRAY((struct ns1__CreateGraph*)p->ptr); 01238 break; 01239 case SOAP_TYPE_ns1__DeleteGraphResponse: 01240 if (p->size < 0) 01241 SOAP_DELETE((struct ns1__DeleteGraphResponse*)p->ptr); 01242 else 01243 SOAP_DELETE_ARRAY((struct ns1__DeleteGraphResponse*)p->ptr); 01244 break; 01245 case SOAP_TYPE_ns1__DeleteGraph: 01246 if (p->size < 0) 01247 SOAP_DELETE((struct ns1__DeleteGraph*)p->ptr); 01248 else 01249 SOAP_DELETE_ARRAY((struct ns1__DeleteGraph*)p->ptr); 01250 break; 01251 case SOAP_TYPE_ns1__GrantRightsToGraphResponse: 01252 if (p->size < 0) 01253 SOAP_DELETE((struct ns1__GrantRightsToGraphResponse*)p->ptr); 01254 else 01255 SOAP_DELETE_ARRAY((struct ns1__GrantRightsToGraphResponse*)p->ptr); 01256 break; 01257 case SOAP_TYPE_ns1__GrantRightsToGraph: 01258 if (p->size < 0) 01259 SOAP_DELETE((struct ns1__GrantRightsToGraph*)p->ptr); 01260 else 01261 SOAP_DELETE_ARRAY((struct ns1__GrantRightsToGraph*)p->ptr); 01262 break; 01263 case SOAP_TYPE_ns1__CloseSessionResponse: 01264 if (p->size < 0) 01265 SOAP_DELETE((struct ns1__CloseSessionResponse*)p->ptr); 01266 else 01267 SOAP_DELETE_ARRAY((struct ns1__CloseSessionResponse*)p->ptr); 01268 break; 01269 case SOAP_TYPE_ns1__CloseSession: 01270 if (p->size < 0) 01271 SOAP_DELETE((struct ns1__CloseSession*)p->ptr); 01272 else 01273 SOAP_DELETE_ARRAY((struct ns1__CloseSession*)p->ptr); 01274 break; 01275 case SOAP_TYPE_ns1__GetTransactionIdResponse: 01276 if (p->size < 0) 01277 SOAP_DELETE((struct ns1__GetTransactionIdResponse*)p->ptr); 01278 else 01279 SOAP_DELETE_ARRAY((struct ns1__GetTransactionIdResponse*)p->ptr); 01280 break; 01281 case SOAP_TYPE_ns1__GetTransactionId: 01282 if (p->size < 0) 01283 SOAP_DELETE((struct ns1__GetTransactionId*)p->ptr); 01284 else 01285 SOAP_DELETE_ARRAY((struct ns1__GetTransactionId*)p->ptr); 01286 break; 01287 case SOAP_TYPE_ns1__CloseTransactionResponse: 01288 if (p->size < 0) 01289 SOAP_DELETE((struct ns1__CloseTransactionResponse*)p->ptr); 01290 else 01291 SOAP_DELETE_ARRAY((struct ns1__CloseTransactionResponse*)p->ptr); 01292 break; 01293 case SOAP_TYPE_ns1__CloseTransaction: 01294 if (p->size < 0) 01295 SOAP_DELETE((struct ns1__CloseTransaction*)p->ptr); 01296 else 01297 SOAP_DELETE_ARRAY((struct ns1__CloseTransaction*)p->ptr); 01298 break; 01299 case SOAP_TYPE_ns1__DefineTypeResponse: 01300 if (p->size < 0) 01301 SOAP_DELETE((struct ns1__DefineTypeResponse*)p->ptr); 01302 else 01303 SOAP_DELETE_ARRAY((struct ns1__DefineTypeResponse*)p->ptr); 01304 break; 01305 case SOAP_TYPE_ns1__DefineType: 01306 if (p->size < 0) 01307 SOAP_DELETE((struct ns1__DefineType*)p->ptr); 01308 else 01309 SOAP_DELETE_ARRAY((struct ns1__DefineType*)p->ptr); 01310 break; 01311 case SOAP_TYPE_ns1__DeleteTypeResponse: 01312 if (p->size < 0) 01313 SOAP_DELETE((struct ns1__DeleteTypeResponse*)p->ptr); 01314 else 01315 SOAP_DELETE_ARRAY((struct ns1__DeleteTypeResponse*)p->ptr); 01316 break; 01317 case SOAP_TYPE_ns1__DeleteType: 01318 if (p->size < 0) 01319 SOAP_DELETE((struct ns1__DeleteType*)p->ptr); 01320 else 01321 SOAP_DELETE_ARRAY((struct ns1__DeleteType*)p->ptr); 01322 break; 01323 case SOAP_TYPE_ns1__AddMemberToTypeResponse: 01324 if (p->size < 0) 01325 SOAP_DELETE((struct ns1__AddMemberToTypeResponse*)p->ptr); 01326 else 01327 SOAP_DELETE_ARRAY((struct ns1__AddMemberToTypeResponse*)p->ptr); 01328 break; 01329 case SOAP_TYPE_ns1__AddMemberToType: 01330 if (p->size < 0) 01331 SOAP_DELETE((struct ns1__AddMemberToType*)p->ptr); 01332 else 01333 SOAP_DELETE_ARRAY((struct ns1__AddMemberToType*)p->ptr); 01334 break; 01335 case SOAP_TYPE_ns1__GetTypeIdResponse: 01336 if (p->size < 0) 01337 SOAP_DELETE((struct ns1__GetTypeIdResponse*)p->ptr); 01338 else 01339 SOAP_DELETE_ARRAY((struct ns1__GetTypeIdResponse*)p->ptr); 01340 break; 01341 case SOAP_TYPE_ns1__GetTypeId: 01342 if (p->size < 0) 01343 SOAP_DELETE((struct ns1__GetTypeId*)p->ptr); 01344 else 01345 SOAP_DELETE_ARRAY((struct ns1__GetTypeId*)p->ptr); 01346 break; 01347 case SOAP_TYPE_ns1__AddNodeResponse: 01348 if (p->size < 0) 01349 SOAP_DELETE((struct ns1__AddNodeResponse*)p->ptr); 01350 else 01351 SOAP_DELETE_ARRAY((struct ns1__AddNodeResponse*)p->ptr); 01352 break; 01353 case SOAP_TYPE_ns1__AddNode: 01354 if (p->size < 0) 01355 SOAP_DELETE((struct ns1__AddNode*)p->ptr); 01356 else 01357 SOAP_DELETE_ARRAY((struct ns1__AddNode*)p->ptr); 01358 break; 01359 case SOAP_TYPE_ns1__AddValueToNodeResponse: 01360 if (p->size < 0) 01361 SOAP_DELETE((struct ns1__AddValueToNodeResponse*)p->ptr); 01362 else 01363 SOAP_DELETE_ARRAY((struct ns1__AddValueToNodeResponse*)p->ptr); 01364 break; 01365 case SOAP_TYPE_ns1__AddValueToNode: 01366 if (p->size < 0) 01367 SOAP_DELETE((struct ns1__AddValueToNode*)p->ptr); 01368 else 01369 SOAP_DELETE_ARRAY((struct ns1__AddValueToNode*)p->ptr); 01370 break; 01371 case SOAP_TYPE_ns1__DeleteNodeResponse: 01372 if (p->size < 0) 01373 SOAP_DELETE((struct ns1__DeleteNodeResponse*)p->ptr); 01374 else 01375 SOAP_DELETE_ARRAY((struct ns1__DeleteNodeResponse*)p->ptr); 01376 break; 01377 case SOAP_TYPE_ns1__DeleteNode: 01378 if (p->size < 0) 01379 SOAP_DELETE((struct ns1__DeleteNode*)p->ptr); 01380 else 01381 SOAP_DELETE_ARRAY((struct ns1__DeleteNode*)p->ptr); 01382 break; 01383 case SOAP_TYPE_ns1__AddEdgeResponse: 01384 if (p->size < 0) 01385 SOAP_DELETE((struct ns1__AddEdgeResponse*)p->ptr); 01386 else 01387 SOAP_DELETE_ARRAY((struct ns1__AddEdgeResponse*)p->ptr); 01388 break; 01389 case SOAP_TYPE_ns1__AddEdge: 01390 if (p->size < 0) 01391 SOAP_DELETE((struct ns1__AddEdge*)p->ptr); 01392 else 01393 SOAP_DELETE_ARRAY((struct ns1__AddEdge*)p->ptr); 01394 break; 01395 case SOAP_TYPE_ns1__AddValueToEdgeResponse: 01396 if (p->size < 0) 01397 SOAP_DELETE((struct ns1__AddValueToEdgeResponse*)p->ptr); 01398 else 01399 SOAP_DELETE_ARRAY((struct ns1__AddValueToEdgeResponse*)p->ptr); 01400 break; 01401 case SOAP_TYPE_ns1__AddValueToEdge: 01402 if (p->size < 0) 01403 SOAP_DELETE((struct ns1__AddValueToEdge*)p->ptr); 01404 else 01405 SOAP_DELETE_ARRAY((struct ns1__AddValueToEdge*)p->ptr); 01406 break; 01407 case SOAP_TYPE_ns1__DeleteEdgeResponse: 01408 if (p->size < 0) 01409 SOAP_DELETE((struct ns1__DeleteEdgeResponse*)p->ptr); 01410 else 01411 SOAP_DELETE_ARRAY((struct ns1__DeleteEdgeResponse*)p->ptr); 01412 break; 01413 case SOAP_TYPE_ns1__DeleteEdge: 01414 if (p->size < 0) 01415 SOAP_DELETE((struct ns1__DeleteEdge*)p->ptr); 01416 else 01417 SOAP_DELETE_ARRAY((struct ns1__DeleteEdge*)p->ptr); 01418 break; 01419 case SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse: 01420 if (p->size < 0) 01421 SOAP_DELETE((struct ns1__FindMinPathBetweenNodesResponse*)p->ptr); 01422 else 01423 SOAP_DELETE_ARRAY((struct ns1__FindMinPathBetweenNodesResponse*)p->ptr); 01424 break; 01425 case SOAP_TYPE_ns1__FindMinPathBetweenNodes: 01426 if (p->size < 0) 01427 SOAP_DELETE((struct ns1__FindMinPathBetweenNodes*)p->ptr); 01428 else 01429 SOAP_DELETE_ARRAY((struct ns1__FindMinPathBetweenNodes*)p->ptr); 01430 break; 01431 case SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse: 01432 if (p->size < 0) 01433 SOAP_DELETE((struct ns1__FindMaxPathBetweenNodesResponse*)p->ptr); 01434 else 01435 SOAP_DELETE_ARRAY((struct ns1__FindMaxPathBetweenNodesResponse*)p->ptr); 01436 break; 01437 case SOAP_TYPE_ns1__FindMaxPathBetweenNodes: 01438 if (p->size < 0) 01439 SOAP_DELETE((struct ns1__FindMaxPathBetweenNodes*)p->ptr); 01440 else 01441 SOAP_DELETE_ARRAY((struct ns1__FindMaxPathBetweenNodes*)p->ptr); 01442 break; 01443 case SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse: 01444 if (p->size < 0) 01445 SOAP_DELETE((struct ns1__FindAllPathsBetweenNodesResponse*)p->ptr); 01446 else 01447 SOAP_DELETE_ARRAY((struct ns1__FindAllPathsBetweenNodesResponse*)p->ptr); 01448 break; 01449 case SOAP_TYPE_ns1__FindAllPathsBetweenNodes: 01450 if (p->size < 0) 01451 SOAP_DELETE((struct ns1__FindAllPathsBetweenNodes*)p->ptr); 01452 else 01453 SOAP_DELETE_ARRAY((struct ns1__FindAllPathsBetweenNodes*)p->ptr); 01454 break; 01455 case SOAP_TYPE_ns1__FindAllFriendsResponse: 01456 if (p->size < 0) 01457 SOAP_DELETE((struct ns1__FindAllFriendsResponse*)p->ptr); 01458 else 01459 SOAP_DELETE_ARRAY((struct ns1__FindAllFriendsResponse*)p->ptr); 01460 break; 01461 case SOAP_TYPE_ns1__FindAllFriends: 01462 if (p->size < 0) 01463 SOAP_DELETE((struct ns1__FindAllFriends*)p->ptr); 01464 else 01465 SOAP_DELETE_ARRAY((struct ns1__FindAllFriends*)p->ptr); 01466 break; 01467 case SOAP_TYPE_ns1__FindBFSResponse: 01468 if (p->size < 0) 01469 SOAP_DELETE((struct ns1__FindBFSResponse*)p->ptr); 01470 else 01471 SOAP_DELETE_ARRAY((struct ns1__FindBFSResponse*)p->ptr); 01472 break; 01473 case SOAP_TYPE_ns1__FindBFS: 01474 if (p->size < 0) 01475 SOAP_DELETE((struct ns1__FindBFS*)p->ptr); 01476 else 01477 SOAP_DELETE_ARRAY((struct ns1__FindBFS*)p->ptr); 01478 break; 01479 case SOAP_TYPE_ns1__FindDFSResponse: 01480 if (p->size < 0) 01481 SOAP_DELETE((struct ns1__FindDFSResponse*)p->ptr); 01482 else 01483 SOAP_DELETE_ARRAY((struct ns1__FindDFSResponse*)p->ptr); 01484 break; 01485 case SOAP_TYPE_ns1__FindDFS: 01486 if (p->size < 0) 01487 SOAP_DELETE((struct ns1__FindDFS*)p->ptr); 01488 else 01489 SOAP_DELETE_ARRAY((struct ns1__FindDFS*)p->ptr); 01490 break; 01491 case SOAP_TYPE_ns1__InitiateTransactionStopResponse: 01492 if (p->size < 0) 01493 SOAP_DELETE((struct ns1__InitiateTransactionStopResponse*)p->ptr); 01494 else 01495 SOAP_DELETE_ARRAY((struct ns1__InitiateTransactionStopResponse*)p->ptr); 01496 break; 01497 case SOAP_TYPE_ns1__InitiateTransactionStop: 01498 if (p->size < 0) 01499 SOAP_DELETE((struct ns1__InitiateTransactionStop*)p->ptr); 01500 else 01501 SOAP_DELETE_ARRAY((struct ns1__InitiateTransactionStop*)p->ptr); 01502 break; 01503 case SOAP_TYPE_SOAP_ENV__Header: 01504 if (p->size < 0) 01505 SOAP_DELETE((struct SOAP_ENV__Header*)p->ptr); 01506 else 01507 SOAP_DELETE_ARRAY((struct SOAP_ENV__Header*)p->ptr); 01508 break; 01509 case SOAP_TYPE_SOAP_ENV__Code: 01510 if (p->size < 0) 01511 SOAP_DELETE((struct SOAP_ENV__Code*)p->ptr); 01512 else 01513 SOAP_DELETE_ARRAY((struct SOAP_ENV__Code*)p->ptr); 01514 break; 01515 case SOAP_TYPE_SOAP_ENV__Detail: 01516 if (p->size < 0) 01517 SOAP_DELETE((struct SOAP_ENV__Detail*)p->ptr); 01518 else 01519 SOAP_DELETE_ARRAY((struct SOAP_ENV__Detail*)p->ptr); 01520 break; 01521 case SOAP_TYPE_SOAP_ENV__Reason: 01522 if (p->size < 0) 01523 SOAP_DELETE((struct SOAP_ENV__Reason*)p->ptr); 01524 else 01525 SOAP_DELETE_ARRAY((struct SOAP_ENV__Reason*)p->ptr); 01526 break; 01527 case SOAP_TYPE_SOAP_ENV__Fault: 01528 if (p->size < 0) 01529 SOAP_DELETE((struct SOAP_ENV__Fault*)p->ptr); 01530 else 01531 SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault*)p->ptr); 01532 break; 01533 default: return SOAP_ERR; 01534 } 01535 return SOAP_OK; 01536 } 01537 01538 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) 01539 { return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, soap_instantiate); 01540 } 01541 01542 SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap *soap, const char *href, void *p, size_t len, int st, int tt, size_t n, unsigned int k) 01543 { return soap_id_forward(soap, href, p, len, st, tt, n, k, soap_container_insert); 01544 } 01545 01546 SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 01547 #ifdef WIN32 01548 #pragma warning(push) 01549 #pragma warning(disable:4065) 01550 #endif 01551 { 01552 (void)soap; (void)st; (void)p; (void)len; (void)q; (void)n; /* appease -Wall -Werror */ 01553 switch (tt) 01554 { 01555 default: 01556 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not insert type=%d in %d\n", st, tt)); 01557 } 01558 #ifdef WIN32 01559 #pragma warning(pop) 01560 #endif 01561 } 01562 01563 SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a) 01564 { 01565 (void)soap; /* appease -Wall -Werror */ 01566 #ifdef SOAP_DEFAULT_byte 01567 *a = SOAP_DEFAULT_byte; 01568 #else 01569 *a = (char)0; 01570 #endif 01571 } 01572 01573 SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type) 01574 { 01575 return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_byte); 01576 } 01577 01578 SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, char *a, const char *type) 01579 { char *p; 01580 p = soap_inbyte(soap, tag, a, type, SOAP_TYPE_byte); 01581 return p; 01582 } 01583 01584 SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type) 01585 { 01586 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_byte); 01587 if (soap_out_byte(soap, tag?tag:"byte", id, a, type)) 01588 return soap->error; 01589 return soap_putindependent(soap); 01590 } 01591 01592 SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const char *tag, const char *type) 01593 { 01594 if ((p = soap_in_byte(soap, tag, p, type))) 01595 if (soap_getindependent(soap)) 01596 return NULL; 01597 return p; 01598 } 01599 01600 SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a) 01601 { 01602 (void)soap; /* appease -Wall -Werror */ 01603 #ifdef SOAP_DEFAULT_int 01604 *a = SOAP_DEFAULT_int; 01605 #else 01606 *a = (int)0; 01607 #endif 01608 } 01609 01610 SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type) 01611 { 01612 return soap_outint(soap, tag, id, a, type, SOAP_TYPE_int); 01613 } 01614 01615 SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int *a, const char *type) 01616 { int *p; 01617 p = soap_inint(soap, tag, a, type, SOAP_TYPE_int); 01618 return p; 01619 } 01620 01621 SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type) 01622 { 01623 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_int); 01624 if (soap_out_int(soap, tag?tag:"int", id, a, type)) 01625 return soap->error; 01626 return soap_putindependent(soap); 01627 } 01628 01629 SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap *soap, int *p, const char *tag, const char *type) 01630 { 01631 if ((p = soap_in_int(soap, tag, p, type))) 01632 if (soap_getindependent(soap)) 01633 return NULL; 01634 return p; 01635 } 01636 01637 SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap *soap, std::string *p) 01638 { 01639 (void)soap; /* appease -Wall -Werror */ 01640 p->erase(); 01641 } 01642 01643 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap *soap, const std::string *p) 01644 { (void)soap; (void)p; /* appease -Wall -Werror */ 01645 } 01646 SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap *soap, const char *tag, int id, const std::string *s, const char *type) 01647 { 01648 if ((soap->mode & SOAP_C_NILSTRING) && s->empty()) 01649 return soap_element_null(soap, tag, id, type); 01650 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_std__string), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) 01651 return soap->error; 01652 return SOAP_OK; 01653 } 01654 01655 SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap *soap, const char *tag, std::string *s, const char *type) 01656 { 01657 (void)type; /* appease -Wall -Werror */ 01658 if (soap_element_begin_in(soap, tag, 1, NULL)) 01659 return NULL; 01660 if (!s) 01661 s = soap_new_std__string(soap, -1); 01662 if (soap->null) 01663 if (s) 01664 s->erase(); 01665 if (soap->body && !*soap->href) 01666 { char *t; 01667 s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType); 01668 if (s) 01669 { if ((t = soap_string_in(soap, 1, -1, -1))) 01670 s->assign(t); 01671 else 01672 return NULL; 01673 } 01674 } 01675 else 01676 s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType), 0, SOAP_TYPE_std__string, 0, sizeof(std::string), 0, soap_copy_std__string); 01677 if (soap->body && soap_element_end_in(soap, tag)) 01678 return NULL; 01679 return s; 01680 } 01681 01682 SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap *soap, const std::string *a, const char *tag, const char *type) 01683 { 01684 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__string); 01685 if (soap_out_std__string(soap, tag?tag:"string", id, a, type)) 01686 return soap->error; 01687 return soap_putindependent(soap); 01688 } 01689 01690 SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap *soap, std::string *p, const char *tag, const char *type) 01691 { 01692 if ((p = soap_in_std__string(soap, tag, p, type))) 01693 if (soap_getindependent(soap)) 01694 return NULL; 01695 return p; 01696 } 01697 01698 SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 01699 { 01700 (void)type; (void)arrayType; /* appease -Wall -Werror */ 01701 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 01702 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__string, n, soap_fdelete); 01703 if (!cp) 01704 return NULL; 01705 if (n < 0) 01706 { cp->ptr = (void*)SOAP_NEW(std::string); 01707 if (size) 01708 *size = sizeof(std::string); 01709 } 01710 else 01711 { cp->ptr = (void*)SOAP_NEW(std::string[n]); 01712 if (!cp->ptr) 01713 { soap->error = SOAP_EOM; 01714 return NULL; 01715 } 01716 if (size) 01717 *size = n * sizeof(std::string); 01718 } 01719 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 01720 return (std::string*)cp->ptr; 01721 } 01722 01723 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__string(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 01724 { 01725 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 01726 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p)); 01727 *(std::string*)p = *(std::string*)q; 01728 } 01729 01730 #ifndef WITH_NOGLOBAL 01731 01732 SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *a) 01733 { 01734 (void)soap; (void)a; /* appease -Wall -Werror */ 01735 soap_default__QName(soap, &a->faultcode); 01736 soap_default_string(soap, &a->faultstring); 01737 soap_default_string(soap, &a->faultactor); 01738 a->detail = NULL; 01739 a->SOAP_ENV__Code = NULL; 01740 a->SOAP_ENV__Reason = NULL; 01741 soap_default_string(soap, &a->SOAP_ENV__Node); 01742 soap_default_string(soap, &a->SOAP_ENV__Role); 01743 a->SOAP_ENV__Detail = NULL; 01744 } 01745 01746 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a) 01747 { 01748 (void)soap; (void)a; /* appease -Wall -Werror */ 01749 soap_serialize__QName(soap, &a->faultcode); 01750 soap_serialize_string(soap, &a->faultstring); 01751 soap_serialize_string(soap, &a->faultactor); 01752 soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->detail); 01753 soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Code); 01754 soap_serialize_PointerToSOAP_ENV__Reason(soap, &a->SOAP_ENV__Reason); 01755 soap_serialize_string(soap, &a->SOAP_ENV__Node); 01756 soap_serialize_string(soap, &a->SOAP_ENV__Role); 01757 soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail); 01758 } 01759 01760 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) 01761 { 01762 const char *soap_tmp_faultcode = soap_QName2s(soap, a->faultcode); 01763 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Fault), type)) 01764 return soap->error; 01765 if (soap_out__QName(soap, "faultcode", -1, (char*const*)&soap_tmp_faultcode, "")) 01766 return soap->error; 01767 if (soap_out_string(soap, "faultstring", -1, &a->faultstring, "")) 01768 return soap->error; 01769 if (soap_out_string(soap, "faultactor", -1, &a->faultactor, "")) 01770 return soap->error; 01771 if (soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, "")) 01772 return soap->error; 01773 if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", -1, &a->SOAP_ENV__Code, "")) 01774 return soap->error; 01775 if (soap_out_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", -1, &a->SOAP_ENV__Reason, "")) 01776 return soap->error; 01777 if (soap_out_string(soap, "SOAP-ENV:Node", -1, &a->SOAP_ENV__Node, "")) 01778 return soap->error; 01779 if (soap_out_string(soap, "SOAP-ENV:Role", -1, &a->SOAP_ENV__Role, "")) 01780 return soap->error; 01781 if (soap_out_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", -1, &a->SOAP_ENV__Detail, "")) 01782 return soap->error; 01783 return soap_element_end_out(soap, tag); 01784 } 01785 01786 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) 01787 { 01788 size_t soap_flag_faultcode = 1; 01789 size_t soap_flag_faultstring = 1; 01790 size_t soap_flag_faultactor = 1; 01791 size_t soap_flag_detail = 1; 01792 size_t soap_flag_SOAP_ENV__Code = 1; 01793 size_t soap_flag_SOAP_ENV__Reason = 1; 01794 size_t soap_flag_SOAP_ENV__Node = 1; 01795 size_t soap_flag_SOAP_ENV__Role = 1; 01796 size_t soap_flag_SOAP_ENV__Detail = 1; 01797 if (soap_element_begin_in(soap, tag, 0, type)) 01798 return NULL; 01799 a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL, NULL); 01800 if (!a) 01801 return NULL; 01802 soap_default_SOAP_ENV__Fault(soap, a); 01803 if (soap->body && !*soap->href) 01804 { 01805 for (;;) 01806 { soap->error = SOAP_TAG_MISMATCH; 01807 if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01808 if (soap_in__QName(soap, "faultcode", &a->faultcode, "")) 01809 { soap_flag_faultcode--; 01810 continue; 01811 } 01812 if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01813 if (soap_in_string(soap, "faultstring", &a->faultstring, "xsd:string")) 01814 { soap_flag_faultstring--; 01815 continue; 01816 } 01817 if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01818 if (soap_in_string(soap, "faultactor", &a->faultactor, "xsd:string")) 01819 { soap_flag_faultactor--; 01820 continue; 01821 } 01822 if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH) 01823 if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, "")) 01824 { soap_flag_detail--; 01825 continue; 01826 } 01827 if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH) 01828 if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, "")) 01829 { soap_flag_SOAP_ENV__Code--; 01830 continue; 01831 } 01832 if (soap_flag_SOAP_ENV__Reason && soap->error == SOAP_TAG_MISMATCH) 01833 if (soap_in_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, "")) 01834 { soap_flag_SOAP_ENV__Reason--; 01835 continue; 01836 } 01837 if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01838 if (soap_in_string(soap, "SOAP-ENV:Node", &a->SOAP_ENV__Node, "xsd:string")) 01839 { soap_flag_SOAP_ENV__Node--; 01840 continue; 01841 } 01842 if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01843 if (soap_in_string(soap, "SOAP-ENV:Role", &a->SOAP_ENV__Role, "xsd:string")) 01844 { soap_flag_SOAP_ENV__Role--; 01845 continue; 01846 } 01847 if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH) 01848 if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, "")) 01849 { soap_flag_SOAP_ENV__Detail--; 01850 continue; 01851 } 01852 if (soap->error == SOAP_TAG_MISMATCH) 01853 soap->error = soap_ignore_element(soap); 01854 if (soap->error == SOAP_NO_TAG) 01855 break; 01856 if (soap->error) 01857 return NULL; 01858 } 01859 if (soap_element_end_in(soap, tag)) 01860 return NULL; 01861 } 01862 else 01863 { a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Fault, 0, sizeof(struct SOAP_ENV__Fault), 0, NULL); 01864 if (soap->body && soap_element_end_in(soap, tag)) 01865 return NULL; 01866 } 01867 return a; 01868 } 01869 01870 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) 01871 { 01872 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Fault); 01873 if (soap_out_SOAP_ENV__Fault(soap, tag?tag:"SOAP-ENV:Fault", id, a, type)) 01874 return soap->error; 01875 return soap_putindependent(soap); 01876 } 01877 01878 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) 01879 { 01880 if ((p = soap_in_SOAP_ENV__Fault(soap, tag, p, type))) 01881 if (soap_getindependent(soap)) 01882 return NULL; 01883 return p; 01884 } 01885 01886 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) 01887 { 01888 (void)type; (void)arrayType; /* appease -Wall -Werror */ 01889 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 01890 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete); 01891 if (!cp) 01892 return NULL; 01893 if (n < 0) 01894 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault); 01895 if (size) 01896 *size = sizeof(struct SOAP_ENV__Fault); 01897 } 01898 else 01899 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault[n]); 01900 if (!cp->ptr) 01901 { soap->error = SOAP_EOM; 01902 return NULL; 01903 } 01904 if (size) 01905 *size = n * sizeof(struct SOAP_ENV__Fault); 01906 } 01907 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 01908 return (struct SOAP_ENV__Fault*)cp->ptr; 01909 } 01910 01911 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) 01912 { 01913 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 01914 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Fault %p -> %p\n", q, p)); 01915 *(struct SOAP_ENV__Fault*)p = *(struct SOAP_ENV__Fault*)q; 01916 } 01917 01918 #endif 01919 01920 #ifndef WITH_NOGLOBAL 01921 01922 SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *a) 01923 { 01924 (void)soap; (void)a; /* appease -Wall -Werror */ 01925 soap_default_string(soap, &a->SOAP_ENV__Text); 01926 } 01927 01928 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a) 01929 { 01930 (void)soap; (void)a; /* appease -Wall -Werror */ 01931 soap_serialize_string(soap, &a->SOAP_ENV__Text); 01932 } 01933 01934 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) 01935 { 01936 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Reason), type)) 01937 return soap->error; 01938 if (soap->lang) 01939 soap_set_attr(soap, "xml:lang", soap->lang, 1); 01940 if (soap_out_string(soap, "SOAP-ENV:Text", -1, &a->SOAP_ENV__Text, "")) 01941 return soap->error; 01942 return soap_element_end_out(soap, tag); 01943 } 01944 01945 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) 01946 { 01947 size_t soap_flag_SOAP_ENV__Text = 1; 01948 if (soap_element_begin_in(soap, tag, 0, type)) 01949 return NULL; 01950 a = (struct SOAP_ENV__Reason *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL, NULL, NULL); 01951 if (!a) 01952 return NULL; 01953 soap_default_SOAP_ENV__Reason(soap, a); 01954 if (soap->body && !*soap->href) 01955 { 01956 for (;;) 01957 { soap->error = SOAP_TAG_MISMATCH; 01958 if (soap_flag_SOAP_ENV__Text && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 01959 if (soap_in_string(soap, "SOAP-ENV:Text", &a->SOAP_ENV__Text, "xsd:string")) 01960 { soap_flag_SOAP_ENV__Text--; 01961 continue; 01962 } 01963 if (soap->error == SOAP_TAG_MISMATCH) 01964 soap->error = soap_ignore_element(soap); 01965 if (soap->error == SOAP_NO_TAG) 01966 break; 01967 if (soap->error) 01968 return NULL; 01969 } 01970 if (soap_element_end_in(soap, tag)) 01971 return NULL; 01972 } 01973 else 01974 { a = (struct SOAP_ENV__Reason *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Reason, 0, sizeof(struct SOAP_ENV__Reason), 0, NULL); 01975 if (soap->body && soap_element_end_in(soap, tag)) 01976 return NULL; 01977 } 01978 return a; 01979 } 01980 01981 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) 01982 { 01983 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Reason); 01984 if (soap_out_SOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, a, type)) 01985 return soap->error; 01986 return soap_putindependent(soap); 01987 } 01988 01989 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) 01990 { 01991 if ((p = soap_in_SOAP_ENV__Reason(soap, tag, p, type))) 01992 if (soap_getindependent(soap)) 01993 return NULL; 01994 return p; 01995 } 01996 01997 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) 01998 { 01999 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02000 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02001 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete); 02002 if (!cp) 02003 return NULL; 02004 if (n < 0) 02005 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason); 02006 if (size) 02007 *size = sizeof(struct SOAP_ENV__Reason); 02008 } 02009 else 02010 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason[n]); 02011 if (!cp->ptr) 02012 { soap->error = SOAP_EOM; 02013 return NULL; 02014 } 02015 if (size) 02016 *size = n * sizeof(struct SOAP_ENV__Reason); 02017 } 02018 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02019 return (struct SOAP_ENV__Reason*)cp->ptr; 02020 } 02021 02022 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) 02023 { 02024 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02025 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Reason %p -> %p\n", q, p)); 02026 *(struct SOAP_ENV__Reason*)p = *(struct SOAP_ENV__Reason*)q; 02027 } 02028 02029 #endif 02030 02031 #ifndef WITH_NOGLOBAL 02032 02033 SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a) 02034 { 02035 (void)soap; (void)a; /* appease -Wall -Werror */ 02036 a->__type = 0; 02037 a->fault = NULL; 02038 a->__any = NULL; 02039 } 02040 02041 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a) 02042 { 02043 (void)soap; (void)a; /* appease -Wall -Werror */ 02044 soap_markelement(soap, a->fault, a->__type); 02045 } 02046 02047 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) 02048 { 02049 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type)) 02050 return soap->error; 02051 if (soap_putelement(soap, a->fault, "fault", -1, a->__type)) 02052 return soap->error; 02053 soap_outliteral(soap, "-any", &a->__any, NULL); 02054 return soap_element_end_out(soap, tag); 02055 } 02056 02057 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) 02058 { 02059 size_t soap_flag_fault = 1; 02060 size_t soap_flag___any = 1; 02061 if (soap_element_begin_in(soap, tag, 0, type)) 02062 return NULL; 02063 a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL); 02064 if (!a) 02065 return NULL; 02066 soap_default_SOAP_ENV__Detail(soap, a); 02067 if (soap->body && !*soap->href) 02068 { 02069 for (;;) 02070 { soap->error = SOAP_TAG_MISMATCH; 02071 if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH) 02072 if ((a->fault = soap_getelement(soap, &a->__type))) 02073 { soap_flag_fault = 0; 02074 continue; 02075 } 02076 if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02077 if (soap_inliteral(soap, "-any", &a->__any)) 02078 { soap_flag___any--; 02079 continue; 02080 } 02081 if (soap->error == SOAP_TAG_MISMATCH) 02082 soap->error = soap_ignore_element(soap); 02083 if (soap->error == SOAP_NO_TAG) 02084 break; 02085 if (soap->error) 02086 return NULL; 02087 } 02088 if (soap_element_end_in(soap, tag)) 02089 return NULL; 02090 } 02091 else 02092 { a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Detail, 0, sizeof(struct SOAP_ENV__Detail), 0, NULL); 02093 if (soap->body && soap_element_end_in(soap, tag)) 02094 return NULL; 02095 } 02096 return a; 02097 } 02098 02099 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) 02100 { 02101 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Detail); 02102 if (soap_out_SOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, a, type)) 02103 return soap->error; 02104 return soap_putindependent(soap); 02105 } 02106 02107 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) 02108 { 02109 if ((p = soap_in_SOAP_ENV__Detail(soap, tag, p, type))) 02110 if (soap_getindependent(soap)) 02111 return NULL; 02112 return p; 02113 } 02114 02115 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) 02116 { 02117 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02118 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02119 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete); 02120 if (!cp) 02121 return NULL; 02122 if (n < 0) 02123 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail); 02124 if (size) 02125 *size = sizeof(struct SOAP_ENV__Detail); 02126 } 02127 else 02128 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail[n]); 02129 if (!cp->ptr) 02130 { soap->error = SOAP_EOM; 02131 return NULL; 02132 } 02133 if (size) 02134 *size = n * sizeof(struct SOAP_ENV__Detail); 02135 } 02136 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02137 return (struct SOAP_ENV__Detail*)cp->ptr; 02138 } 02139 02140 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) 02141 { 02142 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02143 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Detail %p -> %p\n", q, p)); 02144 *(struct SOAP_ENV__Detail*)p = *(struct SOAP_ENV__Detail*)q; 02145 } 02146 02147 #endif 02148 02149 #ifndef WITH_NOGLOBAL 02150 02151 SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *a) 02152 { 02153 (void)soap; (void)a; /* appease -Wall -Werror */ 02154 soap_default__QName(soap, &a->SOAP_ENV__Value); 02155 a->SOAP_ENV__Subcode = NULL; 02156 } 02157 02158 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a) 02159 { 02160 (void)soap; (void)a; /* appease -Wall -Werror */ 02161 soap_serialize__QName(soap, &a->SOAP_ENV__Value); 02162 soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode); 02163 } 02164 02165 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) 02166 { 02167 const char *soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value); 02168 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Code), type)) 02169 return soap->error; 02170 if (soap_out__QName(soap, "SOAP-ENV:Value", -1, (char*const*)&soap_tmp_SOAP_ENV__Value, "")) 02171 return soap->error; 02172 if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", -1, &a->SOAP_ENV__Subcode, "")) 02173 return soap->error; 02174 return soap_element_end_out(soap, tag); 02175 } 02176 02177 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) 02178 { 02179 size_t soap_flag_SOAP_ENV__Value = 1; 02180 size_t soap_flag_SOAP_ENV__Subcode = 1; 02181 if (soap_element_begin_in(soap, tag, 0, type)) 02182 return NULL; 02183 a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL, NULL); 02184 if (!a) 02185 return NULL; 02186 soap_default_SOAP_ENV__Code(soap, a); 02187 if (soap->body && !*soap->href) 02188 { 02189 for (;;) 02190 { soap->error = SOAP_TAG_MISMATCH; 02191 if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02192 if (soap_in__QName(soap, "SOAP-ENV:Value", &a->SOAP_ENV__Value, "")) 02193 { soap_flag_SOAP_ENV__Value--; 02194 continue; 02195 } 02196 if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH) 02197 if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, "")) 02198 { soap_flag_SOAP_ENV__Subcode--; 02199 continue; 02200 } 02201 if (soap->error == SOAP_TAG_MISMATCH) 02202 soap->error = soap_ignore_element(soap); 02203 if (soap->error == SOAP_NO_TAG) 02204 break; 02205 if (soap->error) 02206 return NULL; 02207 } 02208 if (soap_element_end_in(soap, tag)) 02209 return NULL; 02210 } 02211 else 02212 { a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Code, 0, sizeof(struct SOAP_ENV__Code), 0, NULL); 02213 if (soap->body && soap_element_end_in(soap, tag)) 02214 return NULL; 02215 } 02216 return a; 02217 } 02218 02219 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) 02220 { 02221 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Code); 02222 if (soap_out_SOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, a, type)) 02223 return soap->error; 02224 return soap_putindependent(soap); 02225 } 02226 02227 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) 02228 { 02229 if ((p = soap_in_SOAP_ENV__Code(soap, tag, p, type))) 02230 if (soap_getindependent(soap)) 02231 return NULL; 02232 return p; 02233 } 02234 02235 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) 02236 { 02237 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02238 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02239 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete); 02240 if (!cp) 02241 return NULL; 02242 if (n < 0) 02243 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code); 02244 if (size) 02245 *size = sizeof(struct SOAP_ENV__Code); 02246 } 02247 else 02248 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code[n]); 02249 if (!cp->ptr) 02250 { soap->error = SOAP_EOM; 02251 return NULL; 02252 } 02253 if (size) 02254 *size = n * sizeof(struct SOAP_ENV__Code); 02255 } 02256 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02257 return (struct SOAP_ENV__Code*)cp->ptr; 02258 } 02259 02260 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) 02261 { 02262 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02263 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Code %p -> %p\n", q, p)); 02264 *(struct SOAP_ENV__Code*)p = *(struct SOAP_ENV__Code*)q; 02265 } 02266 02267 #endif 02268 02269 #ifndef WITH_NOGLOBAL 02270 02271 SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a) 02272 { 02273 (void)soap; (void)a; /* appease -Wall -Werror */ 02274 } 02275 02276 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a) 02277 { 02278 (void)soap; (void)a; /* appease -Wall -Werror */ 02279 } 02280 02281 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) 02282 { 02283 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type)) 02284 return soap->error; 02285 return soap_element_end_out(soap, tag); 02286 } 02287 02288 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) 02289 { 02290 if (soap_element_begin_in(soap, tag, 0, type)) 02291 return NULL; 02292 a = (struct SOAP_ENV__Header *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), 0, NULL, NULL, NULL); 02293 if (!a) 02294 return NULL; 02295 soap_default_SOAP_ENV__Header(soap, a); 02296 if (soap->body && !*soap->href) 02297 { 02298 for (;;) 02299 { soap->error = SOAP_TAG_MISMATCH; 02300 if (soap->error == SOAP_TAG_MISMATCH) 02301 soap->error = soap_ignore_element(soap); 02302 if (soap->error == SOAP_NO_TAG) 02303 break; 02304 if (soap->error) 02305 return NULL; 02306 } 02307 if (soap_element_end_in(soap, tag)) 02308 return NULL; 02309 } 02310 else 02311 { a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Header, 0, sizeof(struct SOAP_ENV__Header), 0, NULL); 02312 if (soap->body && soap_element_end_in(soap, tag)) 02313 return NULL; 02314 } 02315 return a; 02316 } 02317 02318 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) 02319 { 02320 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Header); 02321 if (soap_out_SOAP_ENV__Header(soap, tag?tag:"SOAP-ENV:Header", id, a, type)) 02322 return soap->error; 02323 return soap_putindependent(soap); 02324 } 02325 02326 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) 02327 { 02328 if ((p = soap_in_SOAP_ENV__Header(soap, tag, p, type))) 02329 if (soap_getindependent(soap)) 02330 return NULL; 02331 return p; 02332 } 02333 02334 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) 02335 { 02336 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02337 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02338 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete); 02339 if (!cp) 02340 return NULL; 02341 if (n < 0) 02342 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header); 02343 if (size) 02344 *size = sizeof(struct SOAP_ENV__Header); 02345 } 02346 else 02347 { cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header[n]); 02348 if (!cp->ptr) 02349 { soap->error = SOAP_EOM; 02350 return NULL; 02351 } 02352 if (size) 02353 *size = n * sizeof(struct SOAP_ENV__Header); 02354 } 02355 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02356 return (struct SOAP_ENV__Header*)cp->ptr; 02357 } 02358 02359 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) 02360 { 02361 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02362 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Header %p -> %p\n", q, p)); 02363 *(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q; 02364 } 02365 02366 #endif 02367 02368 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__InitiateTransactionStop(struct soap *soap, struct ns1__InitiateTransactionStop *a) 02369 { 02370 (void)soap; (void)a; /* appease -Wall -Werror */ 02371 soap_default_std__string(soap, &a->user); 02372 soap_default_std__string(soap, &a->pass); 02373 } 02374 02375 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__InitiateTransactionStop(struct soap *soap, const struct ns1__InitiateTransactionStop *a) 02376 { 02377 (void)soap; (void)a; /* appease -Wall -Werror */ 02378 soap_serialize_std__string(soap, &a->user); 02379 soap_serialize_std__string(soap, &a->pass); 02380 } 02381 02382 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__InitiateTransactionStop(struct soap *soap, const char *tag, int id, const struct ns1__InitiateTransactionStop *a, const char *type) 02383 { 02384 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__InitiateTransactionStop), type)) 02385 return soap->error; 02386 if (soap_out_std__string(soap, "user", -1, &a->user, "")) 02387 return soap->error; 02388 if (soap_out_std__string(soap, "pass", -1, &a->pass, "")) 02389 return soap->error; 02390 return soap_element_end_out(soap, tag); 02391 } 02392 02393 SOAP_FMAC3 struct ns1__InitiateTransactionStop * SOAP_FMAC4 soap_in_ns1__InitiateTransactionStop(struct soap *soap, const char *tag, struct ns1__InitiateTransactionStop *a, const char *type) 02394 { 02395 size_t soap_flag_user = 1; 02396 size_t soap_flag_pass = 1; 02397 if (soap_element_begin_in(soap, tag, 0, type)) 02398 return NULL; 02399 a = (struct ns1__InitiateTransactionStop *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__InitiateTransactionStop, sizeof(struct ns1__InitiateTransactionStop), soap->type, soap->arrayType); 02400 if (!a) 02401 return NULL; 02402 soap_default_ns1__InitiateTransactionStop(soap, a); 02403 if (soap->body && !*soap->href) 02404 { 02405 for (;;) 02406 { soap->error = SOAP_TAG_MISMATCH; 02407 if (soap_flag_user && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02408 if (soap_in_std__string(soap, "user", &a->user, "xsd:string")) 02409 { soap_flag_user--; 02410 continue; 02411 } 02412 if (soap_flag_pass && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02413 if (soap_in_std__string(soap, "pass", &a->pass, "xsd:string")) 02414 { soap_flag_pass--; 02415 continue; 02416 } 02417 if (soap->error == SOAP_TAG_MISMATCH) 02418 soap->error = soap_ignore_element(soap); 02419 if (soap->error == SOAP_NO_TAG) 02420 break; 02421 if (soap->error) 02422 return NULL; 02423 } 02424 if (soap_element_end_in(soap, tag)) 02425 return NULL; 02426 } 02427 else 02428 { a = (struct ns1__InitiateTransactionStop *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__InitiateTransactionStop, 0, sizeof(struct ns1__InitiateTransactionStop), 0, soap_copy_ns1__InitiateTransactionStop); 02429 if (soap->body && soap_element_end_in(soap, tag)) 02430 return NULL; 02431 } 02432 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_user > 0 || soap_flag_pass > 0)) 02433 { soap->error = SOAP_OCCURS; 02434 return NULL; 02435 } 02436 return a; 02437 } 02438 02439 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__InitiateTransactionStop(struct soap *soap, const struct ns1__InitiateTransactionStop *a, const char *tag, const char *type) 02440 { 02441 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__InitiateTransactionStop); 02442 if (soap_out_ns1__InitiateTransactionStop(soap, tag?tag:"ns1:InitiateTransactionStop", id, a, type)) 02443 return soap->error; 02444 return soap_putindependent(soap); 02445 } 02446 02447 SOAP_FMAC3 struct ns1__InitiateTransactionStop * SOAP_FMAC4 soap_get_ns1__InitiateTransactionStop(struct soap *soap, struct ns1__InitiateTransactionStop *p, const char *tag, const char *type) 02448 { 02449 if ((p = soap_in_ns1__InitiateTransactionStop(soap, tag, p, type))) 02450 if (soap_getindependent(soap)) 02451 return NULL; 02452 return p; 02453 } 02454 02455 SOAP_FMAC1 struct ns1__InitiateTransactionStop * SOAP_FMAC2 soap_instantiate_ns1__InitiateTransactionStop(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 02456 { 02457 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02458 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__InitiateTransactionStop(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02459 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__InitiateTransactionStop, n, soap_fdelete); 02460 if (!cp) 02461 return NULL; 02462 if (n < 0) 02463 { cp->ptr = (void*)SOAP_NEW(struct ns1__InitiateTransactionStop); 02464 if (size) 02465 *size = sizeof(struct ns1__InitiateTransactionStop); 02466 } 02467 else 02468 { cp->ptr = (void*)SOAP_NEW(struct ns1__InitiateTransactionStop[n]); 02469 if (!cp->ptr) 02470 { soap->error = SOAP_EOM; 02471 return NULL; 02472 } 02473 if (size) 02474 *size = n * sizeof(struct ns1__InitiateTransactionStop); 02475 } 02476 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02477 return (struct ns1__InitiateTransactionStop*)cp->ptr; 02478 } 02479 02480 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__InitiateTransactionStop(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 02481 { 02482 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02483 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__InitiateTransactionStop %p -> %p\n", q, p)); 02484 *(struct ns1__InitiateTransactionStop*)p = *(struct ns1__InitiateTransactionStop*)q; 02485 } 02486 02487 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__InitiateTransactionStopResponse(struct soap *soap, struct ns1__InitiateTransactionStopResponse *a) 02488 { 02489 (void)soap; (void)a; /* appease -Wall -Werror */ 02490 soap_default_int(soap, &a->retvalue); 02491 soap_default_int(soap, &a->user_USCOREid); 02492 } 02493 02494 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__InitiateTransactionStopResponse(struct soap *soap, const struct ns1__InitiateTransactionStopResponse *a) 02495 { 02496 (void)soap; (void)a; /* appease -Wall -Werror */ 02497 } 02498 02499 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__InitiateTransactionStopResponse(struct soap *soap, const char *tag, int id, const struct ns1__InitiateTransactionStopResponse *a, const char *type) 02500 { 02501 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__InitiateTransactionStopResponse), type)) 02502 return soap->error; 02503 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 02504 return soap->error; 02505 if (soap_out_int(soap, "user_id", -1, &a->user_USCOREid, "")) 02506 return soap->error; 02507 return soap_element_end_out(soap, tag); 02508 } 02509 02510 SOAP_FMAC3 struct ns1__InitiateTransactionStopResponse * SOAP_FMAC4 soap_in_ns1__InitiateTransactionStopResponse(struct soap *soap, const char *tag, struct ns1__InitiateTransactionStopResponse *a, const char *type) 02511 { 02512 size_t soap_flag_retvalue = 1; 02513 size_t soap_flag_user_USCOREid = 1; 02514 if (soap_element_begin_in(soap, tag, 0, type)) 02515 return NULL; 02516 a = (struct ns1__InitiateTransactionStopResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__InitiateTransactionStopResponse, sizeof(struct ns1__InitiateTransactionStopResponse), 0, NULL, NULL, NULL); 02517 if (!a) 02518 return NULL; 02519 soap_default_ns1__InitiateTransactionStopResponse(soap, a); 02520 if (soap->body && !*soap->href) 02521 { 02522 for (;;) 02523 { soap->error = SOAP_TAG_MISMATCH; 02524 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 02525 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 02526 { soap_flag_retvalue--; 02527 continue; 02528 } 02529 if (soap_flag_user_USCOREid && soap->error == SOAP_TAG_MISMATCH) 02530 if (soap_in_int(soap, "user_id", &a->user_USCOREid, "xsd:int")) 02531 { soap_flag_user_USCOREid--; 02532 continue; 02533 } 02534 if (soap->error == SOAP_TAG_MISMATCH) 02535 soap->error = soap_ignore_element(soap); 02536 if (soap->error == SOAP_NO_TAG) 02537 break; 02538 if (soap->error) 02539 return NULL; 02540 } 02541 if (soap_element_end_in(soap, tag)) 02542 return NULL; 02543 } 02544 else 02545 { a = (struct ns1__InitiateTransactionStopResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__InitiateTransactionStopResponse, 0, sizeof(struct ns1__InitiateTransactionStopResponse), 0, NULL); 02546 if (soap->body && soap_element_end_in(soap, tag)) 02547 return NULL; 02548 } 02549 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0 || soap_flag_user_USCOREid > 0)) 02550 { soap->error = SOAP_OCCURS; 02551 return NULL; 02552 } 02553 return a; 02554 } 02555 02556 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__InitiateTransactionStopResponse(struct soap *soap, const struct ns1__InitiateTransactionStopResponse *a, const char *tag, const char *type) 02557 { 02558 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__InitiateTransactionStopResponse); 02559 if (soap_out_ns1__InitiateTransactionStopResponse(soap, tag?tag:"ns1:InitiateTransactionStopResponse", id, a, type)) 02560 return soap->error; 02561 return soap_putindependent(soap); 02562 } 02563 02564 SOAP_FMAC3 struct ns1__InitiateTransactionStopResponse * SOAP_FMAC4 soap_get_ns1__InitiateTransactionStopResponse(struct soap *soap, struct ns1__InitiateTransactionStopResponse *p, const char *tag, const char *type) 02565 { 02566 if ((p = soap_in_ns1__InitiateTransactionStopResponse(soap, tag, p, type))) 02567 if (soap_getindependent(soap)) 02568 return NULL; 02569 return p; 02570 } 02571 02572 SOAP_FMAC1 struct ns1__InitiateTransactionStopResponse * SOAP_FMAC2 soap_instantiate_ns1__InitiateTransactionStopResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 02573 { 02574 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02575 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__InitiateTransactionStopResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02576 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__InitiateTransactionStopResponse, n, soap_fdelete); 02577 if (!cp) 02578 return NULL; 02579 if (n < 0) 02580 { cp->ptr = (void*)SOAP_NEW(struct ns1__InitiateTransactionStopResponse); 02581 if (size) 02582 *size = sizeof(struct ns1__InitiateTransactionStopResponse); 02583 } 02584 else 02585 { cp->ptr = (void*)SOAP_NEW(struct ns1__InitiateTransactionStopResponse[n]); 02586 if (!cp->ptr) 02587 { soap->error = SOAP_EOM; 02588 return NULL; 02589 } 02590 if (size) 02591 *size = n * sizeof(struct ns1__InitiateTransactionStopResponse); 02592 } 02593 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02594 return (struct ns1__InitiateTransactionStopResponse*)cp->ptr; 02595 } 02596 02597 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__InitiateTransactionStopResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 02598 { 02599 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02600 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__InitiateTransactionStopResponse %p -> %p\n", q, p)); 02601 *(struct ns1__InitiateTransactionStopResponse*)p = *(struct ns1__InitiateTransactionStopResponse*)q; 02602 } 02603 02604 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindDFS(struct soap *soap, struct ns1__FindDFS *a) 02605 { 02606 (void)soap; (void)a; /* appease -Wall -Werror */ 02607 soap_default_int(soap, &a->transaction_USCOREid); 02608 soap_default_std__string(soap, &a->node_USCOREname); 02609 soap_default_std__string(soap, &a->paths_USCOREnodes); 02610 soap_default_std__string(soap, &a->paths_USCOREvalues); 02611 soap_default_int(soap, &a->paths_USCOREcount); 02612 soap_default_int(soap, &a->limit_USCOREnodes); 02613 } 02614 02615 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindDFS(struct soap *soap, const struct ns1__FindDFS *a) 02616 { 02617 (void)soap; (void)a; /* appease -Wall -Werror */ 02618 soap_serialize_std__string(soap, &a->node_USCOREname); 02619 soap_serialize_std__string(soap, &a->paths_USCOREnodes); 02620 soap_serialize_std__string(soap, &a->paths_USCOREvalues); 02621 } 02622 02623 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindDFS(struct soap *soap, const char *tag, int id, const struct ns1__FindDFS *a, const char *type) 02624 { 02625 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindDFS), type)) 02626 return soap->error; 02627 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 02628 return soap->error; 02629 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 02630 return soap->error; 02631 if (soap_out_std__string(soap, "paths_nodes", -1, &a->paths_USCOREnodes, "")) 02632 return soap->error; 02633 if (soap_out_std__string(soap, "paths_values", -1, &a->paths_USCOREvalues, "")) 02634 return soap->error; 02635 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 02636 return soap->error; 02637 if (soap_out_int(soap, "limit_nodes", -1, &a->limit_USCOREnodes, "")) 02638 return soap->error; 02639 return soap_element_end_out(soap, tag); 02640 } 02641 02642 SOAP_FMAC3 struct ns1__FindDFS * SOAP_FMAC4 soap_in_ns1__FindDFS(struct soap *soap, const char *tag, struct ns1__FindDFS *a, const char *type) 02643 { 02644 size_t soap_flag_transaction_USCOREid = 1; 02645 size_t soap_flag_node_USCOREname = 1; 02646 size_t soap_flag_paths_USCOREnodes = 1; 02647 size_t soap_flag_paths_USCOREvalues = 1; 02648 size_t soap_flag_paths_USCOREcount = 1; 02649 size_t soap_flag_limit_USCOREnodes = 1; 02650 if (soap_element_begin_in(soap, tag, 0, type)) 02651 return NULL; 02652 a = (struct ns1__FindDFS *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindDFS, sizeof(struct ns1__FindDFS), soap->type, soap->arrayType); 02653 if (!a) 02654 return NULL; 02655 soap_default_ns1__FindDFS(soap, a); 02656 if (soap->body && !*soap->href) 02657 { 02658 for (;;) 02659 { soap->error = SOAP_TAG_MISMATCH; 02660 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 02661 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 02662 { soap_flag_transaction_USCOREid--; 02663 continue; 02664 } 02665 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02666 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 02667 { soap_flag_node_USCOREname--; 02668 continue; 02669 } 02670 if (soap_flag_paths_USCOREnodes && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02671 if (soap_in_std__string(soap, "paths_nodes", &a->paths_USCOREnodes, "xsd:string")) 02672 { soap_flag_paths_USCOREnodes--; 02673 continue; 02674 } 02675 if (soap_flag_paths_USCOREvalues && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02676 if (soap_in_std__string(soap, "paths_values", &a->paths_USCOREvalues, "xsd:string")) 02677 { soap_flag_paths_USCOREvalues--; 02678 continue; 02679 } 02680 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 02681 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 02682 { soap_flag_paths_USCOREcount--; 02683 continue; 02684 } 02685 if (soap_flag_limit_USCOREnodes && soap->error == SOAP_TAG_MISMATCH) 02686 if (soap_in_int(soap, "limit_nodes", &a->limit_USCOREnodes, "xsd:int")) 02687 { soap_flag_limit_USCOREnodes--; 02688 continue; 02689 } 02690 if (soap->error == SOAP_TAG_MISMATCH) 02691 soap->error = soap_ignore_element(soap); 02692 if (soap->error == SOAP_NO_TAG) 02693 break; 02694 if (soap->error) 02695 return NULL; 02696 } 02697 if (soap_element_end_in(soap, tag)) 02698 return NULL; 02699 } 02700 else 02701 { a = (struct ns1__FindDFS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindDFS, 0, sizeof(struct ns1__FindDFS), 0, soap_copy_ns1__FindDFS); 02702 if (soap->body && soap_element_end_in(soap, tag)) 02703 return NULL; 02704 } 02705 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0 || soap_flag_paths_USCOREnodes > 0 || soap_flag_paths_USCOREvalues > 0 || soap_flag_paths_USCOREcount > 0 || soap_flag_limit_USCOREnodes > 0)) 02706 { soap->error = SOAP_OCCURS; 02707 return NULL; 02708 } 02709 return a; 02710 } 02711 02712 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindDFS(struct soap *soap, const struct ns1__FindDFS *a, const char *tag, const char *type) 02713 { 02714 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindDFS); 02715 if (soap_out_ns1__FindDFS(soap, tag?tag:"ns1:FindDFS", id, a, type)) 02716 return soap->error; 02717 return soap_putindependent(soap); 02718 } 02719 02720 SOAP_FMAC3 struct ns1__FindDFS * SOAP_FMAC4 soap_get_ns1__FindDFS(struct soap *soap, struct ns1__FindDFS *p, const char *tag, const char *type) 02721 { 02722 if ((p = soap_in_ns1__FindDFS(soap, tag, p, type))) 02723 if (soap_getindependent(soap)) 02724 return NULL; 02725 return p; 02726 } 02727 02728 SOAP_FMAC1 struct ns1__FindDFS * SOAP_FMAC2 soap_instantiate_ns1__FindDFS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 02729 { 02730 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02731 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindDFS(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02732 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindDFS, n, soap_fdelete); 02733 if (!cp) 02734 return NULL; 02735 if (n < 0) 02736 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindDFS); 02737 if (size) 02738 *size = sizeof(struct ns1__FindDFS); 02739 } 02740 else 02741 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindDFS[n]); 02742 if (!cp->ptr) 02743 { soap->error = SOAP_EOM; 02744 return NULL; 02745 } 02746 if (size) 02747 *size = n * sizeof(struct ns1__FindDFS); 02748 } 02749 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02750 return (struct ns1__FindDFS*)cp->ptr; 02751 } 02752 02753 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindDFS(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 02754 { 02755 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02756 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindDFS %p -> %p\n", q, p)); 02757 *(struct ns1__FindDFS*)p = *(struct ns1__FindDFS*)q; 02758 } 02759 02760 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindDFSResponse(struct soap *soap, struct ns1__FindDFSResponse *a) 02761 { 02762 (void)soap; (void)a; /* appease -Wall -Werror */ 02763 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 02764 } 02765 02766 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindDFSResponse(struct soap *soap, const struct ns1__FindDFSResponse *a) 02767 { 02768 (void)soap; (void)a; /* appease -Wall -Werror */ 02769 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 02770 } 02771 02772 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindDFSResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindDFSResponse *a, const char *type) 02773 { 02774 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindDFSResponse), type)) 02775 return soap->error; 02776 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 02777 return soap->error; 02778 return soap_element_end_out(soap, tag); 02779 } 02780 02781 SOAP_FMAC3 struct ns1__FindDFSResponse * SOAP_FMAC4 soap_in_ns1__FindDFSResponse(struct soap *soap, const char *tag, struct ns1__FindDFSResponse *a, const char *type) 02782 { 02783 size_t soap_flag_Xiksml_USCOREresponse = 1; 02784 if (soap_element_begin_in(soap, tag, 0, type)) 02785 return NULL; 02786 a = (struct ns1__FindDFSResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindDFSResponse, sizeof(struct ns1__FindDFSResponse), soap->type, soap->arrayType); 02787 if (!a) 02788 return NULL; 02789 soap_default_ns1__FindDFSResponse(soap, a); 02790 if (soap->body && !*soap->href) 02791 { 02792 for (;;) 02793 { soap->error = SOAP_TAG_MISMATCH; 02794 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02795 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 02796 { soap_flag_Xiksml_USCOREresponse--; 02797 continue; 02798 } 02799 if (soap->error == SOAP_TAG_MISMATCH) 02800 soap->error = soap_ignore_element(soap); 02801 if (soap->error == SOAP_NO_TAG) 02802 break; 02803 if (soap->error) 02804 return NULL; 02805 } 02806 if (soap_element_end_in(soap, tag)) 02807 return NULL; 02808 } 02809 else 02810 { a = (struct ns1__FindDFSResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindDFSResponse, 0, sizeof(struct ns1__FindDFSResponse), 0, soap_copy_ns1__FindDFSResponse); 02811 if (soap->body && soap_element_end_in(soap, tag)) 02812 return NULL; 02813 } 02814 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 02815 { soap->error = SOAP_OCCURS; 02816 return NULL; 02817 } 02818 return a; 02819 } 02820 02821 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindDFSResponse(struct soap *soap, const struct ns1__FindDFSResponse *a, const char *tag, const char *type) 02822 { 02823 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindDFSResponse); 02824 if (soap_out_ns1__FindDFSResponse(soap, tag?tag:"ns1:FindDFSResponse", id, a, type)) 02825 return soap->error; 02826 return soap_putindependent(soap); 02827 } 02828 02829 SOAP_FMAC3 struct ns1__FindDFSResponse * SOAP_FMAC4 soap_get_ns1__FindDFSResponse(struct soap *soap, struct ns1__FindDFSResponse *p, const char *tag, const char *type) 02830 { 02831 if ((p = soap_in_ns1__FindDFSResponse(soap, tag, p, type))) 02832 if (soap_getindependent(soap)) 02833 return NULL; 02834 return p; 02835 } 02836 02837 SOAP_FMAC1 struct ns1__FindDFSResponse * SOAP_FMAC2 soap_instantiate_ns1__FindDFSResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 02838 { 02839 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02840 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindDFSResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02841 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindDFSResponse, n, soap_fdelete); 02842 if (!cp) 02843 return NULL; 02844 if (n < 0) 02845 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindDFSResponse); 02846 if (size) 02847 *size = sizeof(struct ns1__FindDFSResponse); 02848 } 02849 else 02850 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindDFSResponse[n]); 02851 if (!cp->ptr) 02852 { soap->error = SOAP_EOM; 02853 return NULL; 02854 } 02855 if (size) 02856 *size = n * sizeof(struct ns1__FindDFSResponse); 02857 } 02858 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 02859 return (struct ns1__FindDFSResponse*)cp->ptr; 02860 } 02861 02862 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindDFSResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 02863 { 02864 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 02865 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindDFSResponse %p -> %p\n", q, p)); 02866 *(struct ns1__FindDFSResponse*)p = *(struct ns1__FindDFSResponse*)q; 02867 } 02868 02869 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindBFS(struct soap *soap, struct ns1__FindBFS *a) 02870 { 02871 (void)soap; (void)a; /* appease -Wall -Werror */ 02872 soap_default_int(soap, &a->transaction_USCOREid); 02873 soap_default_std__string(soap, &a->node_USCOREname); 02874 soap_default_std__string(soap, &a->paths_USCOREnodes); 02875 soap_default_std__string(soap, &a->paths_USCOREvalues); 02876 soap_default_int(soap, &a->paths_USCOREcount); 02877 soap_default_int(soap, &a->limit_USCOREnodes); 02878 } 02879 02880 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindBFS(struct soap *soap, const struct ns1__FindBFS *a) 02881 { 02882 (void)soap; (void)a; /* appease -Wall -Werror */ 02883 soap_serialize_std__string(soap, &a->node_USCOREname); 02884 soap_serialize_std__string(soap, &a->paths_USCOREnodes); 02885 soap_serialize_std__string(soap, &a->paths_USCOREvalues); 02886 } 02887 02888 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindBFS(struct soap *soap, const char *tag, int id, const struct ns1__FindBFS *a, const char *type) 02889 { 02890 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindBFS), type)) 02891 return soap->error; 02892 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 02893 return soap->error; 02894 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 02895 return soap->error; 02896 if (soap_out_std__string(soap, "paths_nodes", -1, &a->paths_USCOREnodes, "")) 02897 return soap->error; 02898 if (soap_out_std__string(soap, "paths_values", -1, &a->paths_USCOREvalues, "")) 02899 return soap->error; 02900 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 02901 return soap->error; 02902 if (soap_out_int(soap, "limit_nodes", -1, &a->limit_USCOREnodes, "")) 02903 return soap->error; 02904 return soap_element_end_out(soap, tag); 02905 } 02906 02907 SOAP_FMAC3 struct ns1__FindBFS * SOAP_FMAC4 soap_in_ns1__FindBFS(struct soap *soap, const char *tag, struct ns1__FindBFS *a, const char *type) 02908 { 02909 size_t soap_flag_transaction_USCOREid = 1; 02910 size_t soap_flag_node_USCOREname = 1; 02911 size_t soap_flag_paths_USCOREnodes = 1; 02912 size_t soap_flag_paths_USCOREvalues = 1; 02913 size_t soap_flag_paths_USCOREcount = 1; 02914 size_t soap_flag_limit_USCOREnodes = 1; 02915 if (soap_element_begin_in(soap, tag, 0, type)) 02916 return NULL; 02917 a = (struct ns1__FindBFS *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindBFS, sizeof(struct ns1__FindBFS), soap->type, soap->arrayType); 02918 if (!a) 02919 return NULL; 02920 soap_default_ns1__FindBFS(soap, a); 02921 if (soap->body && !*soap->href) 02922 { 02923 for (;;) 02924 { soap->error = SOAP_TAG_MISMATCH; 02925 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 02926 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 02927 { soap_flag_transaction_USCOREid--; 02928 continue; 02929 } 02930 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02931 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 02932 { soap_flag_node_USCOREname--; 02933 continue; 02934 } 02935 if (soap_flag_paths_USCOREnodes && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02936 if (soap_in_std__string(soap, "paths_nodes", &a->paths_USCOREnodes, "xsd:string")) 02937 { soap_flag_paths_USCOREnodes--; 02938 continue; 02939 } 02940 if (soap_flag_paths_USCOREvalues && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 02941 if (soap_in_std__string(soap, "paths_values", &a->paths_USCOREvalues, "xsd:string")) 02942 { soap_flag_paths_USCOREvalues--; 02943 continue; 02944 } 02945 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 02946 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 02947 { soap_flag_paths_USCOREcount--; 02948 continue; 02949 } 02950 if (soap_flag_limit_USCOREnodes && soap->error == SOAP_TAG_MISMATCH) 02951 if (soap_in_int(soap, "limit_nodes", &a->limit_USCOREnodes, "xsd:int")) 02952 { soap_flag_limit_USCOREnodes--; 02953 continue; 02954 } 02955 if (soap->error == SOAP_TAG_MISMATCH) 02956 soap->error = soap_ignore_element(soap); 02957 if (soap->error == SOAP_NO_TAG) 02958 break; 02959 if (soap->error) 02960 return NULL; 02961 } 02962 if (soap_element_end_in(soap, tag)) 02963 return NULL; 02964 } 02965 else 02966 { a = (struct ns1__FindBFS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindBFS, 0, sizeof(struct ns1__FindBFS), 0, soap_copy_ns1__FindBFS); 02967 if (soap->body && soap_element_end_in(soap, tag)) 02968 return NULL; 02969 } 02970 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0 || soap_flag_paths_USCOREnodes > 0 || soap_flag_paths_USCOREvalues > 0 || soap_flag_paths_USCOREcount > 0 || soap_flag_limit_USCOREnodes > 0)) 02971 { soap->error = SOAP_OCCURS; 02972 return NULL; 02973 } 02974 return a; 02975 } 02976 02977 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindBFS(struct soap *soap, const struct ns1__FindBFS *a, const char *tag, const char *type) 02978 { 02979 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindBFS); 02980 if (soap_out_ns1__FindBFS(soap, tag?tag:"ns1:FindBFS", id, a, type)) 02981 return soap->error; 02982 return soap_putindependent(soap); 02983 } 02984 02985 SOAP_FMAC3 struct ns1__FindBFS * SOAP_FMAC4 soap_get_ns1__FindBFS(struct soap *soap, struct ns1__FindBFS *p, const char *tag, const char *type) 02986 { 02987 if ((p = soap_in_ns1__FindBFS(soap, tag, p, type))) 02988 if (soap_getindependent(soap)) 02989 return NULL; 02990 return p; 02991 } 02992 02993 SOAP_FMAC1 struct ns1__FindBFS * SOAP_FMAC2 soap_instantiate_ns1__FindBFS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 02994 { 02995 (void)type; (void)arrayType; /* appease -Wall -Werror */ 02996 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindBFS(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 02997 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindBFS, n, soap_fdelete); 02998 if (!cp) 02999 return NULL; 03000 if (n < 0) 03001 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindBFS); 03002 if (size) 03003 *size = sizeof(struct ns1__FindBFS); 03004 } 03005 else 03006 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindBFS[n]); 03007 if (!cp->ptr) 03008 { soap->error = SOAP_EOM; 03009 return NULL; 03010 } 03011 if (size) 03012 *size = n * sizeof(struct ns1__FindBFS); 03013 } 03014 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03015 return (struct ns1__FindBFS*)cp->ptr; 03016 } 03017 03018 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindBFS(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03019 { 03020 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03021 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindBFS %p -> %p\n", q, p)); 03022 *(struct ns1__FindBFS*)p = *(struct ns1__FindBFS*)q; 03023 } 03024 03025 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindBFSResponse(struct soap *soap, struct ns1__FindBFSResponse *a) 03026 { 03027 (void)soap; (void)a; /* appease -Wall -Werror */ 03028 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 03029 } 03030 03031 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindBFSResponse(struct soap *soap, const struct ns1__FindBFSResponse *a) 03032 { 03033 (void)soap; (void)a; /* appease -Wall -Werror */ 03034 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 03035 } 03036 03037 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindBFSResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindBFSResponse *a, const char *type) 03038 { 03039 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindBFSResponse), type)) 03040 return soap->error; 03041 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 03042 return soap->error; 03043 return soap_element_end_out(soap, tag); 03044 } 03045 03046 SOAP_FMAC3 struct ns1__FindBFSResponse * SOAP_FMAC4 soap_in_ns1__FindBFSResponse(struct soap *soap, const char *tag, struct ns1__FindBFSResponse *a, const char *type) 03047 { 03048 size_t soap_flag_Xiksml_USCOREresponse = 1; 03049 if (soap_element_begin_in(soap, tag, 0, type)) 03050 return NULL; 03051 a = (struct ns1__FindBFSResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindBFSResponse, sizeof(struct ns1__FindBFSResponse), soap->type, soap->arrayType); 03052 if (!a) 03053 return NULL; 03054 soap_default_ns1__FindBFSResponse(soap, a); 03055 if (soap->body && !*soap->href) 03056 { 03057 for (;;) 03058 { soap->error = SOAP_TAG_MISMATCH; 03059 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03060 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 03061 { soap_flag_Xiksml_USCOREresponse--; 03062 continue; 03063 } 03064 if (soap->error == SOAP_TAG_MISMATCH) 03065 soap->error = soap_ignore_element(soap); 03066 if (soap->error == SOAP_NO_TAG) 03067 break; 03068 if (soap->error) 03069 return NULL; 03070 } 03071 if (soap_element_end_in(soap, tag)) 03072 return NULL; 03073 } 03074 else 03075 { a = (struct ns1__FindBFSResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindBFSResponse, 0, sizeof(struct ns1__FindBFSResponse), 0, soap_copy_ns1__FindBFSResponse); 03076 if (soap->body && soap_element_end_in(soap, tag)) 03077 return NULL; 03078 } 03079 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 03080 { soap->error = SOAP_OCCURS; 03081 return NULL; 03082 } 03083 return a; 03084 } 03085 03086 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindBFSResponse(struct soap *soap, const struct ns1__FindBFSResponse *a, const char *tag, const char *type) 03087 { 03088 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindBFSResponse); 03089 if (soap_out_ns1__FindBFSResponse(soap, tag?tag:"ns1:FindBFSResponse", id, a, type)) 03090 return soap->error; 03091 return soap_putindependent(soap); 03092 } 03093 03094 SOAP_FMAC3 struct ns1__FindBFSResponse * SOAP_FMAC4 soap_get_ns1__FindBFSResponse(struct soap *soap, struct ns1__FindBFSResponse *p, const char *tag, const char *type) 03095 { 03096 if ((p = soap_in_ns1__FindBFSResponse(soap, tag, p, type))) 03097 if (soap_getindependent(soap)) 03098 return NULL; 03099 return p; 03100 } 03101 03102 SOAP_FMAC1 struct ns1__FindBFSResponse * SOAP_FMAC2 soap_instantiate_ns1__FindBFSResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03103 { 03104 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03105 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindBFSResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03106 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindBFSResponse, n, soap_fdelete); 03107 if (!cp) 03108 return NULL; 03109 if (n < 0) 03110 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindBFSResponse); 03111 if (size) 03112 *size = sizeof(struct ns1__FindBFSResponse); 03113 } 03114 else 03115 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindBFSResponse[n]); 03116 if (!cp->ptr) 03117 { soap->error = SOAP_EOM; 03118 return NULL; 03119 } 03120 if (size) 03121 *size = n * sizeof(struct ns1__FindBFSResponse); 03122 } 03123 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03124 return (struct ns1__FindBFSResponse*)cp->ptr; 03125 } 03126 03127 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindBFSResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03128 { 03129 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03130 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindBFSResponse %p -> %p\n", q, p)); 03131 *(struct ns1__FindBFSResponse*)p = *(struct ns1__FindBFSResponse*)q; 03132 } 03133 03134 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindAllFriends(struct soap *soap, struct ns1__FindAllFriends *a) 03135 { 03136 (void)soap; (void)a; /* appease -Wall -Werror */ 03137 soap_default_int(soap, &a->transaction_USCOREid); 03138 soap_default_std__string(soap, &a->node_USCOREname); 03139 soap_default_std__string(soap, &a->paths_USCOREnodes); 03140 soap_default_int(soap, &a->paths_USCOREcount); 03141 } 03142 03143 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindAllFriends(struct soap *soap, const struct ns1__FindAllFriends *a) 03144 { 03145 (void)soap; (void)a; /* appease -Wall -Werror */ 03146 soap_serialize_std__string(soap, &a->node_USCOREname); 03147 soap_serialize_std__string(soap, &a->paths_USCOREnodes); 03148 } 03149 03150 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindAllFriends(struct soap *soap, const char *tag, int id, const struct ns1__FindAllFriends *a, const char *type) 03151 { 03152 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindAllFriends), type)) 03153 return soap->error; 03154 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 03155 return soap->error; 03156 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 03157 return soap->error; 03158 if (soap_out_std__string(soap, "paths_nodes", -1, &a->paths_USCOREnodes, "")) 03159 return soap->error; 03160 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 03161 return soap->error; 03162 return soap_element_end_out(soap, tag); 03163 } 03164 03165 SOAP_FMAC3 struct ns1__FindAllFriends * SOAP_FMAC4 soap_in_ns1__FindAllFriends(struct soap *soap, const char *tag, struct ns1__FindAllFriends *a, const char *type) 03166 { 03167 size_t soap_flag_transaction_USCOREid = 1; 03168 size_t soap_flag_node_USCOREname = 1; 03169 size_t soap_flag_paths_USCOREnodes = 1; 03170 size_t soap_flag_paths_USCOREcount = 1; 03171 if (soap_element_begin_in(soap, tag, 0, type)) 03172 return NULL; 03173 a = (struct ns1__FindAllFriends *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindAllFriends, sizeof(struct ns1__FindAllFriends), soap->type, soap->arrayType); 03174 if (!a) 03175 return NULL; 03176 soap_default_ns1__FindAllFriends(soap, a); 03177 if (soap->body && !*soap->href) 03178 { 03179 for (;;) 03180 { soap->error = SOAP_TAG_MISMATCH; 03181 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 03182 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 03183 { soap_flag_transaction_USCOREid--; 03184 continue; 03185 } 03186 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03187 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 03188 { soap_flag_node_USCOREname--; 03189 continue; 03190 } 03191 if (soap_flag_paths_USCOREnodes && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03192 if (soap_in_std__string(soap, "paths_nodes", &a->paths_USCOREnodes, "xsd:string")) 03193 { soap_flag_paths_USCOREnodes--; 03194 continue; 03195 } 03196 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 03197 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 03198 { soap_flag_paths_USCOREcount--; 03199 continue; 03200 } 03201 if (soap->error == SOAP_TAG_MISMATCH) 03202 soap->error = soap_ignore_element(soap); 03203 if (soap->error == SOAP_NO_TAG) 03204 break; 03205 if (soap->error) 03206 return NULL; 03207 } 03208 if (soap_element_end_in(soap, tag)) 03209 return NULL; 03210 } 03211 else 03212 { a = (struct ns1__FindAllFriends *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindAllFriends, 0, sizeof(struct ns1__FindAllFriends), 0, soap_copy_ns1__FindAllFriends); 03213 if (soap->body && soap_element_end_in(soap, tag)) 03214 return NULL; 03215 } 03216 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0 || soap_flag_paths_USCOREnodes > 0 || soap_flag_paths_USCOREcount > 0)) 03217 { soap->error = SOAP_OCCURS; 03218 return NULL; 03219 } 03220 return a; 03221 } 03222 03223 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindAllFriends(struct soap *soap, const struct ns1__FindAllFriends *a, const char *tag, const char *type) 03224 { 03225 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindAllFriends); 03226 if (soap_out_ns1__FindAllFriends(soap, tag?tag:"ns1:FindAllFriends", id, a, type)) 03227 return soap->error; 03228 return soap_putindependent(soap); 03229 } 03230 03231 SOAP_FMAC3 struct ns1__FindAllFriends * SOAP_FMAC4 soap_get_ns1__FindAllFriends(struct soap *soap, struct ns1__FindAllFriends *p, const char *tag, const char *type) 03232 { 03233 if ((p = soap_in_ns1__FindAllFriends(soap, tag, p, type))) 03234 if (soap_getindependent(soap)) 03235 return NULL; 03236 return p; 03237 } 03238 03239 SOAP_FMAC1 struct ns1__FindAllFriends * SOAP_FMAC2 soap_instantiate_ns1__FindAllFriends(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03240 { 03241 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03242 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindAllFriends(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03243 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindAllFriends, n, soap_fdelete); 03244 if (!cp) 03245 return NULL; 03246 if (n < 0) 03247 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllFriends); 03248 if (size) 03249 *size = sizeof(struct ns1__FindAllFriends); 03250 } 03251 else 03252 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllFriends[n]); 03253 if (!cp->ptr) 03254 { soap->error = SOAP_EOM; 03255 return NULL; 03256 } 03257 if (size) 03258 *size = n * sizeof(struct ns1__FindAllFriends); 03259 } 03260 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03261 return (struct ns1__FindAllFriends*)cp->ptr; 03262 } 03263 03264 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindAllFriends(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03265 { 03266 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03267 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindAllFriends %p -> %p\n", q, p)); 03268 *(struct ns1__FindAllFriends*)p = *(struct ns1__FindAllFriends*)q; 03269 } 03270 03271 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindAllFriendsResponse(struct soap *soap, struct ns1__FindAllFriendsResponse *a) 03272 { 03273 (void)soap; (void)a; /* appease -Wall -Werror */ 03274 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 03275 } 03276 03277 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindAllFriendsResponse(struct soap *soap, const struct ns1__FindAllFriendsResponse *a) 03278 { 03279 (void)soap; (void)a; /* appease -Wall -Werror */ 03280 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 03281 } 03282 03283 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindAllFriendsResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindAllFriendsResponse *a, const char *type) 03284 { 03285 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindAllFriendsResponse), type)) 03286 return soap->error; 03287 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 03288 return soap->error; 03289 return soap_element_end_out(soap, tag); 03290 } 03291 03292 SOAP_FMAC3 struct ns1__FindAllFriendsResponse * SOAP_FMAC4 soap_in_ns1__FindAllFriendsResponse(struct soap *soap, const char *tag, struct ns1__FindAllFriendsResponse *a, const char *type) 03293 { 03294 size_t soap_flag_Xiksml_USCOREresponse = 1; 03295 if (soap_element_begin_in(soap, tag, 0, type)) 03296 return NULL; 03297 a = (struct ns1__FindAllFriendsResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindAllFriendsResponse, sizeof(struct ns1__FindAllFriendsResponse), soap->type, soap->arrayType); 03298 if (!a) 03299 return NULL; 03300 soap_default_ns1__FindAllFriendsResponse(soap, a); 03301 if (soap->body && !*soap->href) 03302 { 03303 for (;;) 03304 { soap->error = SOAP_TAG_MISMATCH; 03305 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03306 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 03307 { soap_flag_Xiksml_USCOREresponse--; 03308 continue; 03309 } 03310 if (soap->error == SOAP_TAG_MISMATCH) 03311 soap->error = soap_ignore_element(soap); 03312 if (soap->error == SOAP_NO_TAG) 03313 break; 03314 if (soap->error) 03315 return NULL; 03316 } 03317 if (soap_element_end_in(soap, tag)) 03318 return NULL; 03319 } 03320 else 03321 { a = (struct ns1__FindAllFriendsResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindAllFriendsResponse, 0, sizeof(struct ns1__FindAllFriendsResponse), 0, soap_copy_ns1__FindAllFriendsResponse); 03322 if (soap->body && soap_element_end_in(soap, tag)) 03323 return NULL; 03324 } 03325 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 03326 { soap->error = SOAP_OCCURS; 03327 return NULL; 03328 } 03329 return a; 03330 } 03331 03332 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindAllFriendsResponse(struct soap *soap, const struct ns1__FindAllFriendsResponse *a, const char *tag, const char *type) 03333 { 03334 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindAllFriendsResponse); 03335 if (soap_out_ns1__FindAllFriendsResponse(soap, tag?tag:"ns1:FindAllFriendsResponse", id, a, type)) 03336 return soap->error; 03337 return soap_putindependent(soap); 03338 } 03339 03340 SOAP_FMAC3 struct ns1__FindAllFriendsResponse * SOAP_FMAC4 soap_get_ns1__FindAllFriendsResponse(struct soap *soap, struct ns1__FindAllFriendsResponse *p, const char *tag, const char *type) 03341 { 03342 if ((p = soap_in_ns1__FindAllFriendsResponse(soap, tag, p, type))) 03343 if (soap_getindependent(soap)) 03344 return NULL; 03345 return p; 03346 } 03347 03348 SOAP_FMAC1 struct ns1__FindAllFriendsResponse * SOAP_FMAC2 soap_instantiate_ns1__FindAllFriendsResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03349 { 03350 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03351 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindAllFriendsResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03352 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindAllFriendsResponse, n, soap_fdelete); 03353 if (!cp) 03354 return NULL; 03355 if (n < 0) 03356 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllFriendsResponse); 03357 if (size) 03358 *size = sizeof(struct ns1__FindAllFriendsResponse); 03359 } 03360 else 03361 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllFriendsResponse[n]); 03362 if (!cp->ptr) 03363 { soap->error = SOAP_EOM; 03364 return NULL; 03365 } 03366 if (size) 03367 *size = n * sizeof(struct ns1__FindAllFriendsResponse); 03368 } 03369 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03370 return (struct ns1__FindAllFriendsResponse*)cp->ptr; 03371 } 03372 03373 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindAllFriendsResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03374 { 03375 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03376 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindAllFriendsResponse %p -> %p\n", q, p)); 03377 *(struct ns1__FindAllFriendsResponse*)p = *(struct ns1__FindAllFriendsResponse*)q; 03378 } 03379 03380 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindAllPathsBetweenNodes(struct soap *soap, struct ns1__FindAllPathsBetweenNodes *a) 03381 { 03382 (void)soap; (void)a; /* appease -Wall -Werror */ 03383 soap_default_int(soap, &a->transaction_USCOREid); 03384 soap_default_std__string(soap, &a->node_USCOREname1); 03385 soap_default_std__string(soap, &a->node_USCOREname2); 03386 soap_default_std__string(soap, &a->paths); 03387 soap_default_int(soap, &a->paths_USCOREcount); 03388 soap_default_std__string(soap, &a->path_USCOREedges); 03389 } 03390 03391 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindAllPathsBetweenNodes(struct soap *soap, const struct ns1__FindAllPathsBetweenNodes *a) 03392 { 03393 (void)soap; (void)a; /* appease -Wall -Werror */ 03394 soap_serialize_std__string(soap, &a->node_USCOREname1); 03395 soap_serialize_std__string(soap, &a->node_USCOREname2); 03396 soap_serialize_std__string(soap, &a->paths); 03397 soap_serialize_std__string(soap, &a->path_USCOREedges); 03398 } 03399 03400 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindAllPathsBetweenNodes(struct soap *soap, const char *tag, int id, const struct ns1__FindAllPathsBetweenNodes *a, const char *type) 03401 { 03402 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindAllPathsBetweenNodes), type)) 03403 return soap->error; 03404 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 03405 return soap->error; 03406 if (soap_out_std__string(soap, "node_name1", -1, &a->node_USCOREname1, "")) 03407 return soap->error; 03408 if (soap_out_std__string(soap, "node_name2", -1, &a->node_USCOREname2, "")) 03409 return soap->error; 03410 if (soap_out_std__string(soap, "paths", -1, &a->paths, "")) 03411 return soap->error; 03412 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 03413 return soap->error; 03414 if (soap_out_std__string(soap, "path_edges", -1, &a->path_USCOREedges, "")) 03415 return soap->error; 03416 return soap_element_end_out(soap, tag); 03417 } 03418 03419 SOAP_FMAC3 struct ns1__FindAllPathsBetweenNodes * SOAP_FMAC4 soap_in_ns1__FindAllPathsBetweenNodes(struct soap *soap, const char *tag, struct ns1__FindAllPathsBetweenNodes *a, const char *type) 03420 { 03421 size_t soap_flag_transaction_USCOREid = 1; 03422 size_t soap_flag_node_USCOREname1 = 1; 03423 size_t soap_flag_node_USCOREname2 = 1; 03424 size_t soap_flag_paths = 1; 03425 size_t soap_flag_paths_USCOREcount = 1; 03426 size_t soap_flag_path_USCOREedges = 1; 03427 if (soap_element_begin_in(soap, tag, 0, type)) 03428 return NULL; 03429 a = (struct ns1__FindAllPathsBetweenNodes *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindAllPathsBetweenNodes, sizeof(struct ns1__FindAllPathsBetweenNodes), soap->type, soap->arrayType); 03430 if (!a) 03431 return NULL; 03432 soap_default_ns1__FindAllPathsBetweenNodes(soap, a); 03433 if (soap->body && !*soap->href) 03434 { 03435 for (;;) 03436 { soap->error = SOAP_TAG_MISMATCH; 03437 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 03438 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 03439 { soap_flag_transaction_USCOREid--; 03440 continue; 03441 } 03442 if (soap_flag_node_USCOREname1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03443 if (soap_in_std__string(soap, "node_name1", &a->node_USCOREname1, "xsd:string")) 03444 { soap_flag_node_USCOREname1--; 03445 continue; 03446 } 03447 if (soap_flag_node_USCOREname2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03448 if (soap_in_std__string(soap, "node_name2", &a->node_USCOREname2, "xsd:string")) 03449 { soap_flag_node_USCOREname2--; 03450 continue; 03451 } 03452 if (soap_flag_paths && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03453 if (soap_in_std__string(soap, "paths", &a->paths, "xsd:string")) 03454 { soap_flag_paths--; 03455 continue; 03456 } 03457 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 03458 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 03459 { soap_flag_paths_USCOREcount--; 03460 continue; 03461 } 03462 if (soap_flag_path_USCOREedges && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03463 if (soap_in_std__string(soap, "path_edges", &a->path_USCOREedges, "xsd:string")) 03464 { soap_flag_path_USCOREedges--; 03465 continue; 03466 } 03467 if (soap->error == SOAP_TAG_MISMATCH) 03468 soap->error = soap_ignore_element(soap); 03469 if (soap->error == SOAP_NO_TAG) 03470 break; 03471 if (soap->error) 03472 return NULL; 03473 } 03474 if (soap_element_end_in(soap, tag)) 03475 return NULL; 03476 } 03477 else 03478 { a = (struct ns1__FindAllPathsBetweenNodes *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindAllPathsBetweenNodes, 0, sizeof(struct ns1__FindAllPathsBetweenNodes), 0, soap_copy_ns1__FindAllPathsBetweenNodes); 03479 if (soap->body && soap_element_end_in(soap, tag)) 03480 return NULL; 03481 } 03482 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname1 > 0 || soap_flag_node_USCOREname2 > 0 || soap_flag_paths > 0 || soap_flag_paths_USCOREcount > 0 || soap_flag_path_USCOREedges > 0)) 03483 { soap->error = SOAP_OCCURS; 03484 return NULL; 03485 } 03486 return a; 03487 } 03488 03489 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindAllPathsBetweenNodes(struct soap *soap, const struct ns1__FindAllPathsBetweenNodes *a, const char *tag, const char *type) 03490 { 03491 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindAllPathsBetweenNodes); 03492 if (soap_out_ns1__FindAllPathsBetweenNodes(soap, tag?tag:"ns1:FindAllPathsBetweenNodes", id, a, type)) 03493 return soap->error; 03494 return soap_putindependent(soap); 03495 } 03496 03497 SOAP_FMAC3 struct ns1__FindAllPathsBetweenNodes * SOAP_FMAC4 soap_get_ns1__FindAllPathsBetweenNodes(struct soap *soap, struct ns1__FindAllPathsBetweenNodes *p, const char *tag, const char *type) 03498 { 03499 if ((p = soap_in_ns1__FindAllPathsBetweenNodes(soap, tag, p, type))) 03500 if (soap_getindependent(soap)) 03501 return NULL; 03502 return p; 03503 } 03504 03505 SOAP_FMAC1 struct ns1__FindAllPathsBetweenNodes * SOAP_FMAC2 soap_instantiate_ns1__FindAllPathsBetweenNodes(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03506 { 03507 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03508 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindAllPathsBetweenNodes(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03509 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindAllPathsBetweenNodes, n, soap_fdelete); 03510 if (!cp) 03511 return NULL; 03512 if (n < 0) 03513 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllPathsBetweenNodes); 03514 if (size) 03515 *size = sizeof(struct ns1__FindAllPathsBetweenNodes); 03516 } 03517 else 03518 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllPathsBetweenNodes[n]); 03519 if (!cp->ptr) 03520 { soap->error = SOAP_EOM; 03521 return NULL; 03522 } 03523 if (size) 03524 *size = n * sizeof(struct ns1__FindAllPathsBetweenNodes); 03525 } 03526 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03527 return (struct ns1__FindAllPathsBetweenNodes*)cp->ptr; 03528 } 03529 03530 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindAllPathsBetweenNodes(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03531 { 03532 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03533 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindAllPathsBetweenNodes %p -> %p\n", q, p)); 03534 *(struct ns1__FindAllPathsBetweenNodes*)p = *(struct ns1__FindAllPathsBetweenNodes*)q; 03535 } 03536 03537 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, struct ns1__FindAllPathsBetweenNodesResponse *a) 03538 { 03539 (void)soap; (void)a; /* appease -Wall -Werror */ 03540 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 03541 } 03542 03543 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, const struct ns1__FindAllPathsBetweenNodesResponse *a) 03544 { 03545 (void)soap; (void)a; /* appease -Wall -Werror */ 03546 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 03547 } 03548 03549 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindAllPathsBetweenNodesResponse *a, const char *type) 03550 { 03551 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse), type)) 03552 return soap->error; 03553 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 03554 return soap->error; 03555 return soap_element_end_out(soap, tag); 03556 } 03557 03558 SOAP_FMAC3 struct ns1__FindAllPathsBetweenNodesResponse * SOAP_FMAC4 soap_in_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, const char *tag, struct ns1__FindAllPathsBetweenNodesResponse *a, const char *type) 03559 { 03560 size_t soap_flag_Xiksml_USCOREresponse = 1; 03561 if (soap_element_begin_in(soap, tag, 0, type)) 03562 return NULL; 03563 a = (struct ns1__FindAllPathsBetweenNodesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse, sizeof(struct ns1__FindAllPathsBetweenNodesResponse), soap->type, soap->arrayType); 03564 if (!a) 03565 return NULL; 03566 soap_default_ns1__FindAllPathsBetweenNodesResponse(soap, a); 03567 if (soap->body && !*soap->href) 03568 { 03569 for (;;) 03570 { soap->error = SOAP_TAG_MISMATCH; 03571 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03572 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 03573 { soap_flag_Xiksml_USCOREresponse--; 03574 continue; 03575 } 03576 if (soap->error == SOAP_TAG_MISMATCH) 03577 soap->error = soap_ignore_element(soap); 03578 if (soap->error == SOAP_NO_TAG) 03579 break; 03580 if (soap->error) 03581 return NULL; 03582 } 03583 if (soap_element_end_in(soap, tag)) 03584 return NULL; 03585 } 03586 else 03587 { a = (struct ns1__FindAllPathsBetweenNodesResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse, 0, sizeof(struct ns1__FindAllPathsBetweenNodesResponse), 0, soap_copy_ns1__FindAllPathsBetweenNodesResponse); 03588 if (soap->body && soap_element_end_in(soap, tag)) 03589 return NULL; 03590 } 03591 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 03592 { soap->error = SOAP_OCCURS; 03593 return NULL; 03594 } 03595 return a; 03596 } 03597 03598 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, const struct ns1__FindAllPathsBetweenNodesResponse *a, const char *tag, const char *type) 03599 { 03600 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse); 03601 if (soap_out_ns1__FindAllPathsBetweenNodesResponse(soap, tag?tag:"ns1:FindAllPathsBetweenNodesResponse", id, a, type)) 03602 return soap->error; 03603 return soap_putindependent(soap); 03604 } 03605 03606 SOAP_FMAC3 struct ns1__FindAllPathsBetweenNodesResponse * SOAP_FMAC4 soap_get_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, struct ns1__FindAllPathsBetweenNodesResponse *p, const char *tag, const char *type) 03607 { 03608 if ((p = soap_in_ns1__FindAllPathsBetweenNodesResponse(soap, tag, p, type))) 03609 if (soap_getindependent(soap)) 03610 return NULL; 03611 return p; 03612 } 03613 03614 SOAP_FMAC1 struct ns1__FindAllPathsBetweenNodesResponse * SOAP_FMAC2 soap_instantiate_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03615 { 03616 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03617 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindAllPathsBetweenNodesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03618 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindAllPathsBetweenNodesResponse, n, soap_fdelete); 03619 if (!cp) 03620 return NULL; 03621 if (n < 0) 03622 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllPathsBetweenNodesResponse); 03623 if (size) 03624 *size = sizeof(struct ns1__FindAllPathsBetweenNodesResponse); 03625 } 03626 else 03627 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindAllPathsBetweenNodesResponse[n]); 03628 if (!cp->ptr) 03629 { soap->error = SOAP_EOM; 03630 return NULL; 03631 } 03632 if (size) 03633 *size = n * sizeof(struct ns1__FindAllPathsBetweenNodesResponse); 03634 } 03635 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03636 return (struct ns1__FindAllPathsBetweenNodesResponse*)cp->ptr; 03637 } 03638 03639 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindAllPathsBetweenNodesResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03640 { 03641 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03642 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindAllPathsBetweenNodesResponse %p -> %p\n", q, p)); 03643 *(struct ns1__FindAllPathsBetweenNodesResponse*)p = *(struct ns1__FindAllPathsBetweenNodesResponse*)q; 03644 } 03645 03646 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindMaxPathBetweenNodes(struct soap *soap, struct ns1__FindMaxPathBetweenNodes *a) 03647 { 03648 (void)soap; (void)a; /* appease -Wall -Werror */ 03649 soap_default_int(soap, &a->transaction_USCOREid); 03650 soap_default_std__string(soap, &a->node_USCOREname1); 03651 soap_default_std__string(soap, &a->node_USCOREname2); 03652 soap_default_std__string(soap, &a->paths); 03653 soap_default_int(soap, &a->paths_USCOREcount); 03654 soap_default_std__string(soap, &a->path_USCOREedges); 03655 } 03656 03657 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindMaxPathBetweenNodes(struct soap *soap, const struct ns1__FindMaxPathBetweenNodes *a) 03658 { 03659 (void)soap; (void)a; /* appease -Wall -Werror */ 03660 soap_serialize_std__string(soap, &a->node_USCOREname1); 03661 soap_serialize_std__string(soap, &a->node_USCOREname2); 03662 soap_serialize_std__string(soap, &a->paths); 03663 soap_serialize_std__string(soap, &a->path_USCOREedges); 03664 } 03665 03666 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindMaxPathBetweenNodes(struct soap *soap, const char *tag, int id, const struct ns1__FindMaxPathBetweenNodes *a, const char *type) 03667 { 03668 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindMaxPathBetweenNodes), type)) 03669 return soap->error; 03670 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 03671 return soap->error; 03672 if (soap_out_std__string(soap, "node_name1", -1, &a->node_USCOREname1, "")) 03673 return soap->error; 03674 if (soap_out_std__string(soap, "node_name2", -1, &a->node_USCOREname2, "")) 03675 return soap->error; 03676 if (soap_out_std__string(soap, "paths", -1, &a->paths, "")) 03677 return soap->error; 03678 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 03679 return soap->error; 03680 if (soap_out_std__string(soap, "path_edges", -1, &a->path_USCOREedges, "")) 03681 return soap->error; 03682 return soap_element_end_out(soap, tag); 03683 } 03684 03685 SOAP_FMAC3 struct ns1__FindMaxPathBetweenNodes * SOAP_FMAC4 soap_in_ns1__FindMaxPathBetweenNodes(struct soap *soap, const char *tag, struct ns1__FindMaxPathBetweenNodes *a, const char *type) 03686 { 03687 size_t soap_flag_transaction_USCOREid = 1; 03688 size_t soap_flag_node_USCOREname1 = 1; 03689 size_t soap_flag_node_USCOREname2 = 1; 03690 size_t soap_flag_paths = 1; 03691 size_t soap_flag_paths_USCOREcount = 1; 03692 size_t soap_flag_path_USCOREedges = 1; 03693 if (soap_element_begin_in(soap, tag, 0, type)) 03694 return NULL; 03695 a = (struct ns1__FindMaxPathBetweenNodes *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindMaxPathBetweenNodes, sizeof(struct ns1__FindMaxPathBetweenNodes), soap->type, soap->arrayType); 03696 if (!a) 03697 return NULL; 03698 soap_default_ns1__FindMaxPathBetweenNodes(soap, a); 03699 if (soap->body && !*soap->href) 03700 { 03701 for (;;) 03702 { soap->error = SOAP_TAG_MISMATCH; 03703 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 03704 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 03705 { soap_flag_transaction_USCOREid--; 03706 continue; 03707 } 03708 if (soap_flag_node_USCOREname1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03709 if (soap_in_std__string(soap, "node_name1", &a->node_USCOREname1, "xsd:string")) 03710 { soap_flag_node_USCOREname1--; 03711 continue; 03712 } 03713 if (soap_flag_node_USCOREname2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03714 if (soap_in_std__string(soap, "node_name2", &a->node_USCOREname2, "xsd:string")) 03715 { soap_flag_node_USCOREname2--; 03716 continue; 03717 } 03718 if (soap_flag_paths && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03719 if (soap_in_std__string(soap, "paths", &a->paths, "xsd:string")) 03720 { soap_flag_paths--; 03721 continue; 03722 } 03723 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 03724 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 03725 { soap_flag_paths_USCOREcount--; 03726 continue; 03727 } 03728 if (soap_flag_path_USCOREedges && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03729 if (soap_in_std__string(soap, "path_edges", &a->path_USCOREedges, "xsd:string")) 03730 { soap_flag_path_USCOREedges--; 03731 continue; 03732 } 03733 if (soap->error == SOAP_TAG_MISMATCH) 03734 soap->error = soap_ignore_element(soap); 03735 if (soap->error == SOAP_NO_TAG) 03736 break; 03737 if (soap->error) 03738 return NULL; 03739 } 03740 if (soap_element_end_in(soap, tag)) 03741 return NULL; 03742 } 03743 else 03744 { a = (struct ns1__FindMaxPathBetweenNodes *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindMaxPathBetweenNodes, 0, sizeof(struct ns1__FindMaxPathBetweenNodes), 0, soap_copy_ns1__FindMaxPathBetweenNodes); 03745 if (soap->body && soap_element_end_in(soap, tag)) 03746 return NULL; 03747 } 03748 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname1 > 0 || soap_flag_node_USCOREname2 > 0 || soap_flag_paths > 0 || soap_flag_paths_USCOREcount > 0 || soap_flag_path_USCOREedges > 0)) 03749 { soap->error = SOAP_OCCURS; 03750 return NULL; 03751 } 03752 return a; 03753 } 03754 03755 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindMaxPathBetweenNodes(struct soap *soap, const struct ns1__FindMaxPathBetweenNodes *a, const char *tag, const char *type) 03756 { 03757 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindMaxPathBetweenNodes); 03758 if (soap_out_ns1__FindMaxPathBetweenNodes(soap, tag?tag:"ns1:FindMaxPathBetweenNodes", id, a, type)) 03759 return soap->error; 03760 return soap_putindependent(soap); 03761 } 03762 03763 SOAP_FMAC3 struct ns1__FindMaxPathBetweenNodes * SOAP_FMAC4 soap_get_ns1__FindMaxPathBetweenNodes(struct soap *soap, struct ns1__FindMaxPathBetweenNodes *p, const char *tag, const char *type) 03764 { 03765 if ((p = soap_in_ns1__FindMaxPathBetweenNodes(soap, tag, p, type))) 03766 if (soap_getindependent(soap)) 03767 return NULL; 03768 return p; 03769 } 03770 03771 SOAP_FMAC1 struct ns1__FindMaxPathBetweenNodes * SOAP_FMAC2 soap_instantiate_ns1__FindMaxPathBetweenNodes(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03772 { 03773 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03774 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindMaxPathBetweenNodes(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03775 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindMaxPathBetweenNodes, n, soap_fdelete); 03776 if (!cp) 03777 return NULL; 03778 if (n < 0) 03779 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMaxPathBetweenNodes); 03780 if (size) 03781 *size = sizeof(struct ns1__FindMaxPathBetweenNodes); 03782 } 03783 else 03784 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMaxPathBetweenNodes[n]); 03785 if (!cp->ptr) 03786 { soap->error = SOAP_EOM; 03787 return NULL; 03788 } 03789 if (size) 03790 *size = n * sizeof(struct ns1__FindMaxPathBetweenNodes); 03791 } 03792 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03793 return (struct ns1__FindMaxPathBetweenNodes*)cp->ptr; 03794 } 03795 03796 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindMaxPathBetweenNodes(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03797 { 03798 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03799 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindMaxPathBetweenNodes %p -> %p\n", q, p)); 03800 *(struct ns1__FindMaxPathBetweenNodes*)p = *(struct ns1__FindMaxPathBetweenNodes*)q; 03801 } 03802 03803 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, struct ns1__FindMaxPathBetweenNodesResponse *a) 03804 { 03805 (void)soap; (void)a; /* appease -Wall -Werror */ 03806 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 03807 } 03808 03809 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, const struct ns1__FindMaxPathBetweenNodesResponse *a) 03810 { 03811 (void)soap; (void)a; /* appease -Wall -Werror */ 03812 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 03813 } 03814 03815 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindMaxPathBetweenNodesResponse *a, const char *type) 03816 { 03817 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse), type)) 03818 return soap->error; 03819 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 03820 return soap->error; 03821 return soap_element_end_out(soap, tag); 03822 } 03823 03824 SOAP_FMAC3 struct ns1__FindMaxPathBetweenNodesResponse * SOAP_FMAC4 soap_in_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, const char *tag, struct ns1__FindMaxPathBetweenNodesResponse *a, const char *type) 03825 { 03826 size_t soap_flag_Xiksml_USCOREresponse = 1; 03827 if (soap_element_begin_in(soap, tag, 0, type)) 03828 return NULL; 03829 a = (struct ns1__FindMaxPathBetweenNodesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse, sizeof(struct ns1__FindMaxPathBetweenNodesResponse), soap->type, soap->arrayType); 03830 if (!a) 03831 return NULL; 03832 soap_default_ns1__FindMaxPathBetweenNodesResponse(soap, a); 03833 if (soap->body && !*soap->href) 03834 { 03835 for (;;) 03836 { soap->error = SOAP_TAG_MISMATCH; 03837 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03838 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 03839 { soap_flag_Xiksml_USCOREresponse--; 03840 continue; 03841 } 03842 if (soap->error == SOAP_TAG_MISMATCH) 03843 soap->error = soap_ignore_element(soap); 03844 if (soap->error == SOAP_NO_TAG) 03845 break; 03846 if (soap->error) 03847 return NULL; 03848 } 03849 if (soap_element_end_in(soap, tag)) 03850 return NULL; 03851 } 03852 else 03853 { a = (struct ns1__FindMaxPathBetweenNodesResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse, 0, sizeof(struct ns1__FindMaxPathBetweenNodesResponse), 0, soap_copy_ns1__FindMaxPathBetweenNodesResponse); 03854 if (soap->body && soap_element_end_in(soap, tag)) 03855 return NULL; 03856 } 03857 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 03858 { soap->error = SOAP_OCCURS; 03859 return NULL; 03860 } 03861 return a; 03862 } 03863 03864 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, const struct ns1__FindMaxPathBetweenNodesResponse *a, const char *tag, const char *type) 03865 { 03866 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse); 03867 if (soap_out_ns1__FindMaxPathBetweenNodesResponse(soap, tag?tag:"ns1:FindMaxPathBetweenNodesResponse", id, a, type)) 03868 return soap->error; 03869 return soap_putindependent(soap); 03870 } 03871 03872 SOAP_FMAC3 struct ns1__FindMaxPathBetweenNodesResponse * SOAP_FMAC4 soap_get_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, struct ns1__FindMaxPathBetweenNodesResponse *p, const char *tag, const char *type) 03873 { 03874 if ((p = soap_in_ns1__FindMaxPathBetweenNodesResponse(soap, tag, p, type))) 03875 if (soap_getindependent(soap)) 03876 return NULL; 03877 return p; 03878 } 03879 03880 SOAP_FMAC1 struct ns1__FindMaxPathBetweenNodesResponse * SOAP_FMAC2 soap_instantiate_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 03881 { 03882 (void)type; (void)arrayType; /* appease -Wall -Werror */ 03883 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindMaxPathBetweenNodesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 03884 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindMaxPathBetweenNodesResponse, n, soap_fdelete); 03885 if (!cp) 03886 return NULL; 03887 if (n < 0) 03888 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMaxPathBetweenNodesResponse); 03889 if (size) 03890 *size = sizeof(struct ns1__FindMaxPathBetweenNodesResponse); 03891 } 03892 else 03893 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMaxPathBetweenNodesResponse[n]); 03894 if (!cp->ptr) 03895 { soap->error = SOAP_EOM; 03896 return NULL; 03897 } 03898 if (size) 03899 *size = n * sizeof(struct ns1__FindMaxPathBetweenNodesResponse); 03900 } 03901 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 03902 return (struct ns1__FindMaxPathBetweenNodesResponse*)cp->ptr; 03903 } 03904 03905 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindMaxPathBetweenNodesResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 03906 { 03907 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 03908 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindMaxPathBetweenNodesResponse %p -> %p\n", q, p)); 03909 *(struct ns1__FindMaxPathBetweenNodesResponse*)p = *(struct ns1__FindMaxPathBetweenNodesResponse*)q; 03910 } 03911 03912 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindMinPathBetweenNodes(struct soap *soap, struct ns1__FindMinPathBetweenNodes *a) 03913 { 03914 (void)soap; (void)a; /* appease -Wall -Werror */ 03915 soap_default_int(soap, &a->transaction_USCOREid); 03916 soap_default_std__string(soap, &a->node_USCOREname1); 03917 soap_default_std__string(soap, &a->node_USCOREname2); 03918 soap_default_std__string(soap, &a->paths); 03919 soap_default_int(soap, &a->paths_USCOREcount); 03920 soap_default_std__string(soap, &a->path_USCOREedges); 03921 } 03922 03923 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindMinPathBetweenNodes(struct soap *soap, const struct ns1__FindMinPathBetweenNodes *a) 03924 { 03925 (void)soap; (void)a; /* appease -Wall -Werror */ 03926 soap_serialize_std__string(soap, &a->node_USCOREname1); 03927 soap_serialize_std__string(soap, &a->node_USCOREname2); 03928 soap_serialize_std__string(soap, &a->paths); 03929 soap_serialize_std__string(soap, &a->path_USCOREedges); 03930 } 03931 03932 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindMinPathBetweenNodes(struct soap *soap, const char *tag, int id, const struct ns1__FindMinPathBetweenNodes *a, const char *type) 03933 { 03934 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindMinPathBetweenNodes), type)) 03935 return soap->error; 03936 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 03937 return soap->error; 03938 if (soap_out_std__string(soap, "node_name1", -1, &a->node_USCOREname1, "")) 03939 return soap->error; 03940 if (soap_out_std__string(soap, "node_name2", -1, &a->node_USCOREname2, "")) 03941 return soap->error; 03942 if (soap_out_std__string(soap, "paths", -1, &a->paths, "")) 03943 return soap->error; 03944 if (soap_out_int(soap, "paths_count", -1, &a->paths_USCOREcount, "")) 03945 return soap->error; 03946 if (soap_out_std__string(soap, "path_edges", -1, &a->path_USCOREedges, "")) 03947 return soap->error; 03948 return soap_element_end_out(soap, tag); 03949 } 03950 03951 SOAP_FMAC3 struct ns1__FindMinPathBetweenNodes * SOAP_FMAC4 soap_in_ns1__FindMinPathBetweenNodes(struct soap *soap, const char *tag, struct ns1__FindMinPathBetweenNodes *a, const char *type) 03952 { 03953 size_t soap_flag_transaction_USCOREid = 1; 03954 size_t soap_flag_node_USCOREname1 = 1; 03955 size_t soap_flag_node_USCOREname2 = 1; 03956 size_t soap_flag_paths = 1; 03957 size_t soap_flag_paths_USCOREcount = 1; 03958 size_t soap_flag_path_USCOREedges = 1; 03959 if (soap_element_begin_in(soap, tag, 0, type)) 03960 return NULL; 03961 a = (struct ns1__FindMinPathBetweenNodes *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindMinPathBetweenNodes, sizeof(struct ns1__FindMinPathBetweenNodes), soap->type, soap->arrayType); 03962 if (!a) 03963 return NULL; 03964 soap_default_ns1__FindMinPathBetweenNodes(soap, a); 03965 if (soap->body && !*soap->href) 03966 { 03967 for (;;) 03968 { soap->error = SOAP_TAG_MISMATCH; 03969 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 03970 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 03971 { soap_flag_transaction_USCOREid--; 03972 continue; 03973 } 03974 if (soap_flag_node_USCOREname1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03975 if (soap_in_std__string(soap, "node_name1", &a->node_USCOREname1, "xsd:string")) 03976 { soap_flag_node_USCOREname1--; 03977 continue; 03978 } 03979 if (soap_flag_node_USCOREname2 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03980 if (soap_in_std__string(soap, "node_name2", &a->node_USCOREname2, "xsd:string")) 03981 { soap_flag_node_USCOREname2--; 03982 continue; 03983 } 03984 if (soap_flag_paths && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03985 if (soap_in_std__string(soap, "paths", &a->paths, "xsd:string")) 03986 { soap_flag_paths--; 03987 continue; 03988 } 03989 if (soap_flag_paths_USCOREcount && soap->error == SOAP_TAG_MISMATCH) 03990 if (soap_in_int(soap, "paths_count", &a->paths_USCOREcount, "xsd:int")) 03991 { soap_flag_paths_USCOREcount--; 03992 continue; 03993 } 03994 if (soap_flag_path_USCOREedges && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 03995 if (soap_in_std__string(soap, "path_edges", &a->path_USCOREedges, "xsd:string")) 03996 { soap_flag_path_USCOREedges--; 03997 continue; 03998 } 03999 if (soap->error == SOAP_TAG_MISMATCH) 04000 soap->error = soap_ignore_element(soap); 04001 if (soap->error == SOAP_NO_TAG) 04002 break; 04003 if (soap->error) 04004 return NULL; 04005 } 04006 if (soap_element_end_in(soap, tag)) 04007 return NULL; 04008 } 04009 else 04010 { a = (struct ns1__FindMinPathBetweenNodes *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindMinPathBetweenNodes, 0, sizeof(struct ns1__FindMinPathBetweenNodes), 0, soap_copy_ns1__FindMinPathBetweenNodes); 04011 if (soap->body && soap_element_end_in(soap, tag)) 04012 return NULL; 04013 } 04014 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname1 > 0 || soap_flag_node_USCOREname2 > 0 || soap_flag_paths > 0 || soap_flag_paths_USCOREcount > 0 || soap_flag_path_USCOREedges > 0)) 04015 { soap->error = SOAP_OCCURS; 04016 return NULL; 04017 } 04018 return a; 04019 } 04020 04021 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindMinPathBetweenNodes(struct soap *soap, const struct ns1__FindMinPathBetweenNodes *a, const char *tag, const char *type) 04022 { 04023 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindMinPathBetweenNodes); 04024 if (soap_out_ns1__FindMinPathBetweenNodes(soap, tag?tag:"ns1:FindMinPathBetweenNodes", id, a, type)) 04025 return soap->error; 04026 return soap_putindependent(soap); 04027 } 04028 04029 SOAP_FMAC3 struct ns1__FindMinPathBetweenNodes * SOAP_FMAC4 soap_get_ns1__FindMinPathBetweenNodes(struct soap *soap, struct ns1__FindMinPathBetweenNodes *p, const char *tag, const char *type) 04030 { 04031 if ((p = soap_in_ns1__FindMinPathBetweenNodes(soap, tag, p, type))) 04032 if (soap_getindependent(soap)) 04033 return NULL; 04034 return p; 04035 } 04036 04037 SOAP_FMAC1 struct ns1__FindMinPathBetweenNodes * SOAP_FMAC2 soap_instantiate_ns1__FindMinPathBetweenNodes(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04038 { 04039 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04040 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindMinPathBetweenNodes(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04041 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindMinPathBetweenNodes, n, soap_fdelete); 04042 if (!cp) 04043 return NULL; 04044 if (n < 0) 04045 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMinPathBetweenNodes); 04046 if (size) 04047 *size = sizeof(struct ns1__FindMinPathBetweenNodes); 04048 } 04049 else 04050 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMinPathBetweenNodes[n]); 04051 if (!cp->ptr) 04052 { soap->error = SOAP_EOM; 04053 return NULL; 04054 } 04055 if (size) 04056 *size = n * sizeof(struct ns1__FindMinPathBetweenNodes); 04057 } 04058 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04059 return (struct ns1__FindMinPathBetweenNodes*)cp->ptr; 04060 } 04061 04062 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindMinPathBetweenNodes(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04063 { 04064 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04065 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindMinPathBetweenNodes %p -> %p\n", q, p)); 04066 *(struct ns1__FindMinPathBetweenNodes*)p = *(struct ns1__FindMinPathBetweenNodes*)q; 04067 } 04068 04069 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, struct ns1__FindMinPathBetweenNodesResponse *a) 04070 { 04071 (void)soap; (void)a; /* appease -Wall -Werror */ 04072 soap_default_std__string(soap, &a->Xiksml_USCOREresponse); 04073 } 04074 04075 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, const struct ns1__FindMinPathBetweenNodesResponse *a) 04076 { 04077 (void)soap; (void)a; /* appease -Wall -Werror */ 04078 soap_serialize_std__string(soap, &a->Xiksml_USCOREresponse); 04079 } 04080 04081 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, const char *tag, int id, const struct ns1__FindMinPathBetweenNodesResponse *a, const char *type) 04082 { 04083 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse), type)) 04084 return soap->error; 04085 if (soap_out_std__string(soap, "Xiksml_response", -1, &a->Xiksml_USCOREresponse, "")) 04086 return soap->error; 04087 return soap_element_end_out(soap, tag); 04088 } 04089 04090 SOAP_FMAC3 struct ns1__FindMinPathBetweenNodesResponse * SOAP_FMAC4 soap_in_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, const char *tag, struct ns1__FindMinPathBetweenNodesResponse *a, const char *type) 04091 { 04092 size_t soap_flag_Xiksml_USCOREresponse = 1; 04093 if (soap_element_begin_in(soap, tag, 0, type)) 04094 return NULL; 04095 a = (struct ns1__FindMinPathBetweenNodesResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse, sizeof(struct ns1__FindMinPathBetweenNodesResponse), soap->type, soap->arrayType); 04096 if (!a) 04097 return NULL; 04098 soap_default_ns1__FindMinPathBetweenNodesResponse(soap, a); 04099 if (soap->body && !*soap->href) 04100 { 04101 for (;;) 04102 { soap->error = SOAP_TAG_MISMATCH; 04103 if (soap_flag_Xiksml_USCOREresponse && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04104 if (soap_in_std__string(soap, "Xiksml_response", &a->Xiksml_USCOREresponse, "xsd:string")) 04105 { soap_flag_Xiksml_USCOREresponse--; 04106 continue; 04107 } 04108 if (soap->error == SOAP_TAG_MISMATCH) 04109 soap->error = soap_ignore_element(soap); 04110 if (soap->error == SOAP_NO_TAG) 04111 break; 04112 if (soap->error) 04113 return NULL; 04114 } 04115 if (soap_element_end_in(soap, tag)) 04116 return NULL; 04117 } 04118 else 04119 { a = (struct ns1__FindMinPathBetweenNodesResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse, 0, sizeof(struct ns1__FindMinPathBetweenNodesResponse), 0, soap_copy_ns1__FindMinPathBetweenNodesResponse); 04120 if (soap->body && soap_element_end_in(soap, tag)) 04121 return NULL; 04122 } 04123 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Xiksml_USCOREresponse > 0)) 04124 { soap->error = SOAP_OCCURS; 04125 return NULL; 04126 } 04127 return a; 04128 } 04129 04130 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, const struct ns1__FindMinPathBetweenNodesResponse *a, const char *tag, const char *type) 04131 { 04132 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse); 04133 if (soap_out_ns1__FindMinPathBetweenNodesResponse(soap, tag?tag:"ns1:FindMinPathBetweenNodesResponse", id, a, type)) 04134 return soap->error; 04135 return soap_putindependent(soap); 04136 } 04137 04138 SOAP_FMAC3 struct ns1__FindMinPathBetweenNodesResponse * SOAP_FMAC4 soap_get_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, struct ns1__FindMinPathBetweenNodesResponse *p, const char *tag, const char *type) 04139 { 04140 if ((p = soap_in_ns1__FindMinPathBetweenNodesResponse(soap, tag, p, type))) 04141 if (soap_getindependent(soap)) 04142 return NULL; 04143 return p; 04144 } 04145 04146 SOAP_FMAC1 struct ns1__FindMinPathBetweenNodesResponse * SOAP_FMAC2 soap_instantiate_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04147 { 04148 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04149 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__FindMinPathBetweenNodesResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04150 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__FindMinPathBetweenNodesResponse, n, soap_fdelete); 04151 if (!cp) 04152 return NULL; 04153 if (n < 0) 04154 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMinPathBetweenNodesResponse); 04155 if (size) 04156 *size = sizeof(struct ns1__FindMinPathBetweenNodesResponse); 04157 } 04158 else 04159 { cp->ptr = (void*)SOAP_NEW(struct ns1__FindMinPathBetweenNodesResponse[n]); 04160 if (!cp->ptr) 04161 { soap->error = SOAP_EOM; 04162 return NULL; 04163 } 04164 if (size) 04165 *size = n * sizeof(struct ns1__FindMinPathBetweenNodesResponse); 04166 } 04167 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04168 return (struct ns1__FindMinPathBetweenNodesResponse*)cp->ptr; 04169 } 04170 04171 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__FindMinPathBetweenNodesResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04172 { 04173 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04174 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__FindMinPathBetweenNodesResponse %p -> %p\n", q, p)); 04175 *(struct ns1__FindMinPathBetweenNodesResponse*)p = *(struct ns1__FindMinPathBetweenNodesResponse*)q; 04176 } 04177 04178 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteEdge(struct soap *soap, struct ns1__DeleteEdge *a) 04179 { 04180 (void)soap; (void)a; /* appease -Wall -Werror */ 04181 soap_default_int(soap, &a->transaction_USCOREid); 04182 soap_default_std__string(soap, &a->edge_USCOREname); 04183 } 04184 04185 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteEdge(struct soap *soap, const struct ns1__DeleteEdge *a) 04186 { 04187 (void)soap; (void)a; /* appease -Wall -Werror */ 04188 soap_serialize_std__string(soap, &a->edge_USCOREname); 04189 } 04190 04191 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteEdge(struct soap *soap, const char *tag, int id, const struct ns1__DeleteEdge *a, const char *type) 04192 { 04193 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteEdge), type)) 04194 return soap->error; 04195 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 04196 return soap->error; 04197 if (soap_out_std__string(soap, "edge_name", -1, &a->edge_USCOREname, "")) 04198 return soap->error; 04199 return soap_element_end_out(soap, tag); 04200 } 04201 04202 SOAP_FMAC3 struct ns1__DeleteEdge * SOAP_FMAC4 soap_in_ns1__DeleteEdge(struct soap *soap, const char *tag, struct ns1__DeleteEdge *a, const char *type) 04203 { 04204 size_t soap_flag_transaction_USCOREid = 1; 04205 size_t soap_flag_edge_USCOREname = 1; 04206 if (soap_element_begin_in(soap, tag, 0, type)) 04207 return NULL; 04208 a = (struct ns1__DeleteEdge *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteEdge, sizeof(struct ns1__DeleteEdge), soap->type, soap->arrayType); 04209 if (!a) 04210 return NULL; 04211 soap_default_ns1__DeleteEdge(soap, a); 04212 if (soap->body && !*soap->href) 04213 { 04214 for (;;) 04215 { soap->error = SOAP_TAG_MISMATCH; 04216 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 04217 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 04218 { soap_flag_transaction_USCOREid--; 04219 continue; 04220 } 04221 if (soap_flag_edge_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04222 if (soap_in_std__string(soap, "edge_name", &a->edge_USCOREname, "xsd:string")) 04223 { soap_flag_edge_USCOREname--; 04224 continue; 04225 } 04226 if (soap->error == SOAP_TAG_MISMATCH) 04227 soap->error = soap_ignore_element(soap); 04228 if (soap->error == SOAP_NO_TAG) 04229 break; 04230 if (soap->error) 04231 return NULL; 04232 } 04233 if (soap_element_end_in(soap, tag)) 04234 return NULL; 04235 } 04236 else 04237 { a = (struct ns1__DeleteEdge *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteEdge, 0, sizeof(struct ns1__DeleteEdge), 0, soap_copy_ns1__DeleteEdge); 04238 if (soap->body && soap_element_end_in(soap, tag)) 04239 return NULL; 04240 } 04241 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_edge_USCOREname > 0)) 04242 { soap->error = SOAP_OCCURS; 04243 return NULL; 04244 } 04245 return a; 04246 } 04247 04248 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteEdge(struct soap *soap, const struct ns1__DeleteEdge *a, const char *tag, const char *type) 04249 { 04250 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteEdge); 04251 if (soap_out_ns1__DeleteEdge(soap, tag?tag:"ns1:DeleteEdge", id, a, type)) 04252 return soap->error; 04253 return soap_putindependent(soap); 04254 } 04255 04256 SOAP_FMAC3 struct ns1__DeleteEdge * SOAP_FMAC4 soap_get_ns1__DeleteEdge(struct soap *soap, struct ns1__DeleteEdge *p, const char *tag, const char *type) 04257 { 04258 if ((p = soap_in_ns1__DeleteEdge(soap, tag, p, type))) 04259 if (soap_getindependent(soap)) 04260 return NULL; 04261 return p; 04262 } 04263 04264 SOAP_FMAC1 struct ns1__DeleteEdge * SOAP_FMAC2 soap_instantiate_ns1__DeleteEdge(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04265 { 04266 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04267 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteEdge(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04268 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteEdge, n, soap_fdelete); 04269 if (!cp) 04270 return NULL; 04271 if (n < 0) 04272 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteEdge); 04273 if (size) 04274 *size = sizeof(struct ns1__DeleteEdge); 04275 } 04276 else 04277 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteEdge[n]); 04278 if (!cp->ptr) 04279 { soap->error = SOAP_EOM; 04280 return NULL; 04281 } 04282 if (size) 04283 *size = n * sizeof(struct ns1__DeleteEdge); 04284 } 04285 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04286 return (struct ns1__DeleteEdge*)cp->ptr; 04287 } 04288 04289 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteEdge(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04290 { 04291 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04292 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteEdge %p -> %p\n", q, p)); 04293 *(struct ns1__DeleteEdge*)p = *(struct ns1__DeleteEdge*)q; 04294 } 04295 04296 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteEdgeResponse(struct soap *soap, struct ns1__DeleteEdgeResponse *a) 04297 { 04298 (void)soap; (void)a; /* appease -Wall -Werror */ 04299 soap_default_int(soap, &a->retvalue); 04300 } 04301 04302 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteEdgeResponse(struct soap *soap, const struct ns1__DeleteEdgeResponse *a) 04303 { 04304 (void)soap; (void)a; /* appease -Wall -Werror */ 04305 } 04306 04307 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteEdgeResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteEdgeResponse *a, const char *type) 04308 { 04309 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteEdgeResponse), type)) 04310 return soap->error; 04311 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 04312 return soap->error; 04313 return soap_element_end_out(soap, tag); 04314 } 04315 04316 SOAP_FMAC3 struct ns1__DeleteEdgeResponse * SOAP_FMAC4 soap_in_ns1__DeleteEdgeResponse(struct soap *soap, const char *tag, struct ns1__DeleteEdgeResponse *a, const char *type) 04317 { 04318 size_t soap_flag_retvalue = 1; 04319 if (soap_element_begin_in(soap, tag, 0, type)) 04320 return NULL; 04321 a = (struct ns1__DeleteEdgeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteEdgeResponse, sizeof(struct ns1__DeleteEdgeResponse), 0, NULL, NULL, NULL); 04322 if (!a) 04323 return NULL; 04324 soap_default_ns1__DeleteEdgeResponse(soap, a); 04325 if (soap->body && !*soap->href) 04326 { 04327 for (;;) 04328 { soap->error = SOAP_TAG_MISMATCH; 04329 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 04330 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 04331 { soap_flag_retvalue--; 04332 continue; 04333 } 04334 if (soap->error == SOAP_TAG_MISMATCH) 04335 soap->error = soap_ignore_element(soap); 04336 if (soap->error == SOAP_NO_TAG) 04337 break; 04338 if (soap->error) 04339 return NULL; 04340 } 04341 if (soap_element_end_in(soap, tag)) 04342 return NULL; 04343 } 04344 else 04345 { a = (struct ns1__DeleteEdgeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteEdgeResponse, 0, sizeof(struct ns1__DeleteEdgeResponse), 0, NULL); 04346 if (soap->body && soap_element_end_in(soap, tag)) 04347 return NULL; 04348 } 04349 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 04350 { soap->error = SOAP_OCCURS; 04351 return NULL; 04352 } 04353 return a; 04354 } 04355 04356 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteEdgeResponse(struct soap *soap, const struct ns1__DeleteEdgeResponse *a, const char *tag, const char *type) 04357 { 04358 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteEdgeResponse); 04359 if (soap_out_ns1__DeleteEdgeResponse(soap, tag?tag:"ns1:DeleteEdgeResponse", id, a, type)) 04360 return soap->error; 04361 return soap_putindependent(soap); 04362 } 04363 04364 SOAP_FMAC3 struct ns1__DeleteEdgeResponse * SOAP_FMAC4 soap_get_ns1__DeleteEdgeResponse(struct soap *soap, struct ns1__DeleteEdgeResponse *p, const char *tag, const char *type) 04365 { 04366 if ((p = soap_in_ns1__DeleteEdgeResponse(soap, tag, p, type))) 04367 if (soap_getindependent(soap)) 04368 return NULL; 04369 return p; 04370 } 04371 04372 SOAP_FMAC1 struct ns1__DeleteEdgeResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteEdgeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04373 { 04374 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04375 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteEdgeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04376 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteEdgeResponse, n, soap_fdelete); 04377 if (!cp) 04378 return NULL; 04379 if (n < 0) 04380 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteEdgeResponse); 04381 if (size) 04382 *size = sizeof(struct ns1__DeleteEdgeResponse); 04383 } 04384 else 04385 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteEdgeResponse[n]); 04386 if (!cp->ptr) 04387 { soap->error = SOAP_EOM; 04388 return NULL; 04389 } 04390 if (size) 04391 *size = n * sizeof(struct ns1__DeleteEdgeResponse); 04392 } 04393 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04394 return (struct ns1__DeleteEdgeResponse*)cp->ptr; 04395 } 04396 04397 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteEdgeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04398 { 04399 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04400 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteEdgeResponse %p -> %p\n", q, p)); 04401 *(struct ns1__DeleteEdgeResponse*)p = *(struct ns1__DeleteEdgeResponse*)q; 04402 } 04403 04404 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddValueToEdge(struct soap *soap, struct ns1__AddValueToEdge *a) 04405 { 04406 (void)soap; (void)a; /* appease -Wall -Werror */ 04407 soap_default_int(soap, &a->transaction_USCOREid); 04408 soap_default_std__string(soap, &a->edge_USCOREname); 04409 soap_default_std__string(soap, &a->path); 04410 soap_default_std__string(soap, &a->value); 04411 } 04412 04413 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddValueToEdge(struct soap *soap, const struct ns1__AddValueToEdge *a) 04414 { 04415 (void)soap; (void)a; /* appease -Wall -Werror */ 04416 soap_serialize_std__string(soap, &a->edge_USCOREname); 04417 soap_serialize_std__string(soap, &a->path); 04418 soap_serialize_std__string(soap, &a->value); 04419 } 04420 04421 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddValueToEdge(struct soap *soap, const char *tag, int id, const struct ns1__AddValueToEdge *a, const char *type) 04422 { 04423 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddValueToEdge), type)) 04424 return soap->error; 04425 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 04426 return soap->error; 04427 if (soap_out_std__string(soap, "edge_name", -1, &a->edge_USCOREname, "")) 04428 return soap->error; 04429 if (soap_out_std__string(soap, "path", -1, &a->path, "")) 04430 return soap->error; 04431 if (soap_out_std__string(soap, "value", -1, &a->value, "")) 04432 return soap->error; 04433 return soap_element_end_out(soap, tag); 04434 } 04435 04436 SOAP_FMAC3 struct ns1__AddValueToEdge * SOAP_FMAC4 soap_in_ns1__AddValueToEdge(struct soap *soap, const char *tag, struct ns1__AddValueToEdge *a, const char *type) 04437 { 04438 size_t soap_flag_transaction_USCOREid = 1; 04439 size_t soap_flag_edge_USCOREname = 1; 04440 size_t soap_flag_path = 1; 04441 size_t soap_flag_value = 1; 04442 if (soap_element_begin_in(soap, tag, 0, type)) 04443 return NULL; 04444 a = (struct ns1__AddValueToEdge *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddValueToEdge, sizeof(struct ns1__AddValueToEdge), soap->type, soap->arrayType); 04445 if (!a) 04446 return NULL; 04447 soap_default_ns1__AddValueToEdge(soap, a); 04448 if (soap->body && !*soap->href) 04449 { 04450 for (;;) 04451 { soap->error = SOAP_TAG_MISMATCH; 04452 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 04453 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 04454 { soap_flag_transaction_USCOREid--; 04455 continue; 04456 } 04457 if (soap_flag_edge_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04458 if (soap_in_std__string(soap, "edge_name", &a->edge_USCOREname, "xsd:string")) 04459 { soap_flag_edge_USCOREname--; 04460 continue; 04461 } 04462 if (soap_flag_path && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04463 if (soap_in_std__string(soap, "path", &a->path, "xsd:string")) 04464 { soap_flag_path--; 04465 continue; 04466 } 04467 if (soap_flag_value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04468 if (soap_in_std__string(soap, "value", &a->value, "xsd:string")) 04469 { soap_flag_value--; 04470 continue; 04471 } 04472 if (soap->error == SOAP_TAG_MISMATCH) 04473 soap->error = soap_ignore_element(soap); 04474 if (soap->error == SOAP_NO_TAG) 04475 break; 04476 if (soap->error) 04477 return NULL; 04478 } 04479 if (soap_element_end_in(soap, tag)) 04480 return NULL; 04481 } 04482 else 04483 { a = (struct ns1__AddValueToEdge *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddValueToEdge, 0, sizeof(struct ns1__AddValueToEdge), 0, soap_copy_ns1__AddValueToEdge); 04484 if (soap->body && soap_element_end_in(soap, tag)) 04485 return NULL; 04486 } 04487 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_edge_USCOREname > 0 || soap_flag_path > 0 || soap_flag_value > 0)) 04488 { soap->error = SOAP_OCCURS; 04489 return NULL; 04490 } 04491 return a; 04492 } 04493 04494 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddValueToEdge(struct soap *soap, const struct ns1__AddValueToEdge *a, const char *tag, const char *type) 04495 { 04496 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddValueToEdge); 04497 if (soap_out_ns1__AddValueToEdge(soap, tag?tag:"ns1:AddValueToEdge", id, a, type)) 04498 return soap->error; 04499 return soap_putindependent(soap); 04500 } 04501 04502 SOAP_FMAC3 struct ns1__AddValueToEdge * SOAP_FMAC4 soap_get_ns1__AddValueToEdge(struct soap *soap, struct ns1__AddValueToEdge *p, const char *tag, const char *type) 04503 { 04504 if ((p = soap_in_ns1__AddValueToEdge(soap, tag, p, type))) 04505 if (soap_getindependent(soap)) 04506 return NULL; 04507 return p; 04508 } 04509 04510 SOAP_FMAC1 struct ns1__AddValueToEdge * SOAP_FMAC2 soap_instantiate_ns1__AddValueToEdge(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04511 { 04512 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04513 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddValueToEdge(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04514 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddValueToEdge, n, soap_fdelete); 04515 if (!cp) 04516 return NULL; 04517 if (n < 0) 04518 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToEdge); 04519 if (size) 04520 *size = sizeof(struct ns1__AddValueToEdge); 04521 } 04522 else 04523 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToEdge[n]); 04524 if (!cp->ptr) 04525 { soap->error = SOAP_EOM; 04526 return NULL; 04527 } 04528 if (size) 04529 *size = n * sizeof(struct ns1__AddValueToEdge); 04530 } 04531 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04532 return (struct ns1__AddValueToEdge*)cp->ptr; 04533 } 04534 04535 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddValueToEdge(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04536 { 04537 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04538 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddValueToEdge %p -> %p\n", q, p)); 04539 *(struct ns1__AddValueToEdge*)p = *(struct ns1__AddValueToEdge*)q; 04540 } 04541 04542 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddValueToEdgeResponse(struct soap *soap, struct ns1__AddValueToEdgeResponse *a) 04543 { 04544 (void)soap; (void)a; /* appease -Wall -Werror */ 04545 soap_default_int(soap, &a->retvalue); 04546 } 04547 04548 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddValueToEdgeResponse(struct soap *soap, const struct ns1__AddValueToEdgeResponse *a) 04549 { 04550 (void)soap; (void)a; /* appease -Wall -Werror */ 04551 } 04552 04553 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddValueToEdgeResponse(struct soap *soap, const char *tag, int id, const struct ns1__AddValueToEdgeResponse *a, const char *type) 04554 { 04555 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddValueToEdgeResponse), type)) 04556 return soap->error; 04557 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 04558 return soap->error; 04559 return soap_element_end_out(soap, tag); 04560 } 04561 04562 SOAP_FMAC3 struct ns1__AddValueToEdgeResponse * SOAP_FMAC4 soap_in_ns1__AddValueToEdgeResponse(struct soap *soap, const char *tag, struct ns1__AddValueToEdgeResponse *a, const char *type) 04563 { 04564 size_t soap_flag_retvalue = 1; 04565 if (soap_element_begin_in(soap, tag, 0, type)) 04566 return NULL; 04567 a = (struct ns1__AddValueToEdgeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddValueToEdgeResponse, sizeof(struct ns1__AddValueToEdgeResponse), 0, NULL, NULL, NULL); 04568 if (!a) 04569 return NULL; 04570 soap_default_ns1__AddValueToEdgeResponse(soap, a); 04571 if (soap->body && !*soap->href) 04572 { 04573 for (;;) 04574 { soap->error = SOAP_TAG_MISMATCH; 04575 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 04576 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 04577 { soap_flag_retvalue--; 04578 continue; 04579 } 04580 if (soap->error == SOAP_TAG_MISMATCH) 04581 soap->error = soap_ignore_element(soap); 04582 if (soap->error == SOAP_NO_TAG) 04583 break; 04584 if (soap->error) 04585 return NULL; 04586 } 04587 if (soap_element_end_in(soap, tag)) 04588 return NULL; 04589 } 04590 else 04591 { a = (struct ns1__AddValueToEdgeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddValueToEdgeResponse, 0, sizeof(struct ns1__AddValueToEdgeResponse), 0, NULL); 04592 if (soap->body && soap_element_end_in(soap, tag)) 04593 return NULL; 04594 } 04595 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 04596 { soap->error = SOAP_OCCURS; 04597 return NULL; 04598 } 04599 return a; 04600 } 04601 04602 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddValueToEdgeResponse(struct soap *soap, const struct ns1__AddValueToEdgeResponse *a, const char *tag, const char *type) 04603 { 04604 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddValueToEdgeResponse); 04605 if (soap_out_ns1__AddValueToEdgeResponse(soap, tag?tag:"ns1:AddValueToEdgeResponse", id, a, type)) 04606 return soap->error; 04607 return soap_putindependent(soap); 04608 } 04609 04610 SOAP_FMAC3 struct ns1__AddValueToEdgeResponse * SOAP_FMAC4 soap_get_ns1__AddValueToEdgeResponse(struct soap *soap, struct ns1__AddValueToEdgeResponse *p, const char *tag, const char *type) 04611 { 04612 if ((p = soap_in_ns1__AddValueToEdgeResponse(soap, tag, p, type))) 04613 if (soap_getindependent(soap)) 04614 return NULL; 04615 return p; 04616 } 04617 04618 SOAP_FMAC1 struct ns1__AddValueToEdgeResponse * SOAP_FMAC2 soap_instantiate_ns1__AddValueToEdgeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04619 { 04620 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04621 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddValueToEdgeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04622 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddValueToEdgeResponse, n, soap_fdelete); 04623 if (!cp) 04624 return NULL; 04625 if (n < 0) 04626 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToEdgeResponse); 04627 if (size) 04628 *size = sizeof(struct ns1__AddValueToEdgeResponse); 04629 } 04630 else 04631 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToEdgeResponse[n]); 04632 if (!cp->ptr) 04633 { soap->error = SOAP_EOM; 04634 return NULL; 04635 } 04636 if (size) 04637 *size = n * sizeof(struct ns1__AddValueToEdgeResponse); 04638 } 04639 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04640 return (struct ns1__AddValueToEdgeResponse*)cp->ptr; 04641 } 04642 04643 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddValueToEdgeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04644 { 04645 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04646 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddValueToEdgeResponse %p -> %p\n", q, p)); 04647 *(struct ns1__AddValueToEdgeResponse*)p = *(struct ns1__AddValueToEdgeResponse*)q; 04648 } 04649 04650 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddEdge(struct soap *soap, struct ns1__AddEdge *a) 04651 { 04652 (void)soap; (void)a; /* appease -Wall -Werror */ 04653 soap_default_int(soap, &a->transaction_USCOREid); 04654 soap_default_std__string(soap, &a->edge_USCOREname); 04655 soap_default_std__string(soap, &a->edge_USCOREtype); 04656 } 04657 04658 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddEdge(struct soap *soap, const struct ns1__AddEdge *a) 04659 { 04660 (void)soap; (void)a; /* appease -Wall -Werror */ 04661 soap_serialize_std__string(soap, &a->edge_USCOREname); 04662 soap_serialize_std__string(soap, &a->edge_USCOREtype); 04663 } 04664 04665 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddEdge(struct soap *soap, const char *tag, int id, const struct ns1__AddEdge *a, const char *type) 04666 { 04667 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddEdge), type)) 04668 return soap->error; 04669 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 04670 return soap->error; 04671 if (soap_out_std__string(soap, "edge_name", -1, &a->edge_USCOREname, "")) 04672 return soap->error; 04673 if (soap_out_std__string(soap, "edge_type", -1, &a->edge_USCOREtype, "")) 04674 return soap->error; 04675 return soap_element_end_out(soap, tag); 04676 } 04677 04678 SOAP_FMAC3 struct ns1__AddEdge * SOAP_FMAC4 soap_in_ns1__AddEdge(struct soap *soap, const char *tag, struct ns1__AddEdge *a, const char *type) 04679 { 04680 size_t soap_flag_transaction_USCOREid = 1; 04681 size_t soap_flag_edge_USCOREname = 1; 04682 size_t soap_flag_edge_USCOREtype = 1; 04683 if (soap_element_begin_in(soap, tag, 0, type)) 04684 return NULL; 04685 a = (struct ns1__AddEdge *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddEdge, sizeof(struct ns1__AddEdge), soap->type, soap->arrayType); 04686 if (!a) 04687 return NULL; 04688 soap_default_ns1__AddEdge(soap, a); 04689 if (soap->body && !*soap->href) 04690 { 04691 for (;;) 04692 { soap->error = SOAP_TAG_MISMATCH; 04693 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 04694 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 04695 { soap_flag_transaction_USCOREid--; 04696 continue; 04697 } 04698 if (soap_flag_edge_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04699 if (soap_in_std__string(soap, "edge_name", &a->edge_USCOREname, "xsd:string")) 04700 { soap_flag_edge_USCOREname--; 04701 continue; 04702 } 04703 if (soap_flag_edge_USCOREtype && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04704 if (soap_in_std__string(soap, "edge_type", &a->edge_USCOREtype, "xsd:string")) 04705 { soap_flag_edge_USCOREtype--; 04706 continue; 04707 } 04708 if (soap->error == SOAP_TAG_MISMATCH) 04709 soap->error = soap_ignore_element(soap); 04710 if (soap->error == SOAP_NO_TAG) 04711 break; 04712 if (soap->error) 04713 return NULL; 04714 } 04715 if (soap_element_end_in(soap, tag)) 04716 return NULL; 04717 } 04718 else 04719 { a = (struct ns1__AddEdge *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddEdge, 0, sizeof(struct ns1__AddEdge), 0, soap_copy_ns1__AddEdge); 04720 if (soap->body && soap_element_end_in(soap, tag)) 04721 return NULL; 04722 } 04723 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_edge_USCOREname > 0 || soap_flag_edge_USCOREtype > 0)) 04724 { soap->error = SOAP_OCCURS; 04725 return NULL; 04726 } 04727 return a; 04728 } 04729 04730 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddEdge(struct soap *soap, const struct ns1__AddEdge *a, const char *tag, const char *type) 04731 { 04732 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddEdge); 04733 if (soap_out_ns1__AddEdge(soap, tag?tag:"ns1:AddEdge", id, a, type)) 04734 return soap->error; 04735 return soap_putindependent(soap); 04736 } 04737 04738 SOAP_FMAC3 struct ns1__AddEdge * SOAP_FMAC4 soap_get_ns1__AddEdge(struct soap *soap, struct ns1__AddEdge *p, const char *tag, const char *type) 04739 { 04740 if ((p = soap_in_ns1__AddEdge(soap, tag, p, type))) 04741 if (soap_getindependent(soap)) 04742 return NULL; 04743 return p; 04744 } 04745 04746 SOAP_FMAC1 struct ns1__AddEdge * SOAP_FMAC2 soap_instantiate_ns1__AddEdge(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04747 { 04748 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04749 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddEdge(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04750 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddEdge, n, soap_fdelete); 04751 if (!cp) 04752 return NULL; 04753 if (n < 0) 04754 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddEdge); 04755 if (size) 04756 *size = sizeof(struct ns1__AddEdge); 04757 } 04758 else 04759 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddEdge[n]); 04760 if (!cp->ptr) 04761 { soap->error = SOAP_EOM; 04762 return NULL; 04763 } 04764 if (size) 04765 *size = n * sizeof(struct ns1__AddEdge); 04766 } 04767 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04768 return (struct ns1__AddEdge*)cp->ptr; 04769 } 04770 04771 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddEdge(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04772 { 04773 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04774 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddEdge %p -> %p\n", q, p)); 04775 *(struct ns1__AddEdge*)p = *(struct ns1__AddEdge*)q; 04776 } 04777 04778 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddEdgeResponse(struct soap *soap, struct ns1__AddEdgeResponse *a) 04779 { 04780 (void)soap; (void)a; /* appease -Wall -Werror */ 04781 soap_default_int(soap, &a->retvalue); 04782 } 04783 04784 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddEdgeResponse(struct soap *soap, const struct ns1__AddEdgeResponse *a) 04785 { 04786 (void)soap; (void)a; /* appease -Wall -Werror */ 04787 } 04788 04789 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddEdgeResponse(struct soap *soap, const char *tag, int id, const struct ns1__AddEdgeResponse *a, const char *type) 04790 { 04791 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddEdgeResponse), type)) 04792 return soap->error; 04793 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 04794 return soap->error; 04795 return soap_element_end_out(soap, tag); 04796 } 04797 04798 SOAP_FMAC3 struct ns1__AddEdgeResponse * SOAP_FMAC4 soap_in_ns1__AddEdgeResponse(struct soap *soap, const char *tag, struct ns1__AddEdgeResponse *a, const char *type) 04799 { 04800 size_t soap_flag_retvalue = 1; 04801 if (soap_element_begin_in(soap, tag, 0, type)) 04802 return NULL; 04803 a = (struct ns1__AddEdgeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddEdgeResponse, sizeof(struct ns1__AddEdgeResponse), 0, NULL, NULL, NULL); 04804 if (!a) 04805 return NULL; 04806 soap_default_ns1__AddEdgeResponse(soap, a); 04807 if (soap->body && !*soap->href) 04808 { 04809 for (;;) 04810 { soap->error = SOAP_TAG_MISMATCH; 04811 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 04812 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 04813 { soap_flag_retvalue--; 04814 continue; 04815 } 04816 if (soap->error == SOAP_TAG_MISMATCH) 04817 soap->error = soap_ignore_element(soap); 04818 if (soap->error == SOAP_NO_TAG) 04819 break; 04820 if (soap->error) 04821 return NULL; 04822 } 04823 if (soap_element_end_in(soap, tag)) 04824 return NULL; 04825 } 04826 else 04827 { a = (struct ns1__AddEdgeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddEdgeResponse, 0, sizeof(struct ns1__AddEdgeResponse), 0, NULL); 04828 if (soap->body && soap_element_end_in(soap, tag)) 04829 return NULL; 04830 } 04831 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 04832 { soap->error = SOAP_OCCURS; 04833 return NULL; 04834 } 04835 return a; 04836 } 04837 04838 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddEdgeResponse(struct soap *soap, const struct ns1__AddEdgeResponse *a, const char *tag, const char *type) 04839 { 04840 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddEdgeResponse); 04841 if (soap_out_ns1__AddEdgeResponse(soap, tag?tag:"ns1:AddEdgeResponse", id, a, type)) 04842 return soap->error; 04843 return soap_putindependent(soap); 04844 } 04845 04846 SOAP_FMAC3 struct ns1__AddEdgeResponse * SOAP_FMAC4 soap_get_ns1__AddEdgeResponse(struct soap *soap, struct ns1__AddEdgeResponse *p, const char *tag, const char *type) 04847 { 04848 if ((p = soap_in_ns1__AddEdgeResponse(soap, tag, p, type))) 04849 if (soap_getindependent(soap)) 04850 return NULL; 04851 return p; 04852 } 04853 04854 SOAP_FMAC1 struct ns1__AddEdgeResponse * SOAP_FMAC2 soap_instantiate_ns1__AddEdgeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04855 { 04856 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04857 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddEdgeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04858 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddEdgeResponse, n, soap_fdelete); 04859 if (!cp) 04860 return NULL; 04861 if (n < 0) 04862 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddEdgeResponse); 04863 if (size) 04864 *size = sizeof(struct ns1__AddEdgeResponse); 04865 } 04866 else 04867 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddEdgeResponse[n]); 04868 if (!cp->ptr) 04869 { soap->error = SOAP_EOM; 04870 return NULL; 04871 } 04872 if (size) 04873 *size = n * sizeof(struct ns1__AddEdgeResponse); 04874 } 04875 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04876 return (struct ns1__AddEdgeResponse*)cp->ptr; 04877 } 04878 04879 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddEdgeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04880 { 04881 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 04882 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddEdgeResponse %p -> %p\n", q, p)); 04883 *(struct ns1__AddEdgeResponse*)p = *(struct ns1__AddEdgeResponse*)q; 04884 } 04885 04886 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteNode(struct soap *soap, struct ns1__DeleteNode *a) 04887 { 04888 (void)soap; (void)a; /* appease -Wall -Werror */ 04889 soap_default_int(soap, &a->transaction_USCOREid); 04890 soap_default_std__string(soap, &a->node_USCOREname); 04891 } 04892 04893 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteNode(struct soap *soap, const struct ns1__DeleteNode *a) 04894 { 04895 (void)soap; (void)a; /* appease -Wall -Werror */ 04896 soap_serialize_std__string(soap, &a->node_USCOREname); 04897 } 04898 04899 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteNode(struct soap *soap, const char *tag, int id, const struct ns1__DeleteNode *a, const char *type) 04900 { 04901 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteNode), type)) 04902 return soap->error; 04903 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 04904 return soap->error; 04905 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 04906 return soap->error; 04907 return soap_element_end_out(soap, tag); 04908 } 04909 04910 SOAP_FMAC3 struct ns1__DeleteNode * SOAP_FMAC4 soap_in_ns1__DeleteNode(struct soap *soap, const char *tag, struct ns1__DeleteNode *a, const char *type) 04911 { 04912 size_t soap_flag_transaction_USCOREid = 1; 04913 size_t soap_flag_node_USCOREname = 1; 04914 if (soap_element_begin_in(soap, tag, 0, type)) 04915 return NULL; 04916 a = (struct ns1__DeleteNode *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteNode, sizeof(struct ns1__DeleteNode), soap->type, soap->arrayType); 04917 if (!a) 04918 return NULL; 04919 soap_default_ns1__DeleteNode(soap, a); 04920 if (soap->body && !*soap->href) 04921 { 04922 for (;;) 04923 { soap->error = SOAP_TAG_MISMATCH; 04924 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 04925 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 04926 { soap_flag_transaction_USCOREid--; 04927 continue; 04928 } 04929 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 04930 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 04931 { soap_flag_node_USCOREname--; 04932 continue; 04933 } 04934 if (soap->error == SOAP_TAG_MISMATCH) 04935 soap->error = soap_ignore_element(soap); 04936 if (soap->error == SOAP_NO_TAG) 04937 break; 04938 if (soap->error) 04939 return NULL; 04940 } 04941 if (soap_element_end_in(soap, tag)) 04942 return NULL; 04943 } 04944 else 04945 { a = (struct ns1__DeleteNode *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteNode, 0, sizeof(struct ns1__DeleteNode), 0, soap_copy_ns1__DeleteNode); 04946 if (soap->body && soap_element_end_in(soap, tag)) 04947 return NULL; 04948 } 04949 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0)) 04950 { soap->error = SOAP_OCCURS; 04951 return NULL; 04952 } 04953 return a; 04954 } 04955 04956 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteNode(struct soap *soap, const struct ns1__DeleteNode *a, const char *tag, const char *type) 04957 { 04958 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteNode); 04959 if (soap_out_ns1__DeleteNode(soap, tag?tag:"ns1:DeleteNode", id, a, type)) 04960 return soap->error; 04961 return soap_putindependent(soap); 04962 } 04963 04964 SOAP_FMAC3 struct ns1__DeleteNode * SOAP_FMAC4 soap_get_ns1__DeleteNode(struct soap *soap, struct ns1__DeleteNode *p, const char *tag, const char *type) 04965 { 04966 if ((p = soap_in_ns1__DeleteNode(soap, tag, p, type))) 04967 if (soap_getindependent(soap)) 04968 return NULL; 04969 return p; 04970 } 04971 04972 SOAP_FMAC1 struct ns1__DeleteNode * SOAP_FMAC2 soap_instantiate_ns1__DeleteNode(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 04973 { 04974 (void)type; (void)arrayType; /* appease -Wall -Werror */ 04975 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteNode(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 04976 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteNode, n, soap_fdelete); 04977 if (!cp) 04978 return NULL; 04979 if (n < 0) 04980 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteNode); 04981 if (size) 04982 *size = sizeof(struct ns1__DeleteNode); 04983 } 04984 else 04985 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteNode[n]); 04986 if (!cp->ptr) 04987 { soap->error = SOAP_EOM; 04988 return NULL; 04989 } 04990 if (size) 04991 *size = n * sizeof(struct ns1__DeleteNode); 04992 } 04993 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 04994 return (struct ns1__DeleteNode*)cp->ptr; 04995 } 04996 04997 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteNode(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 04998 { 04999 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05000 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteNode %p -> %p\n", q, p)); 05001 *(struct ns1__DeleteNode*)p = *(struct ns1__DeleteNode*)q; 05002 } 05003 05004 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteNodeResponse(struct soap *soap, struct ns1__DeleteNodeResponse *a) 05005 { 05006 (void)soap; (void)a; /* appease -Wall -Werror */ 05007 soap_default_int(soap, &a->retvalue); 05008 } 05009 05010 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteNodeResponse(struct soap *soap, const struct ns1__DeleteNodeResponse *a) 05011 { 05012 (void)soap; (void)a; /* appease -Wall -Werror */ 05013 } 05014 05015 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteNodeResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteNodeResponse *a, const char *type) 05016 { 05017 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteNodeResponse), type)) 05018 return soap->error; 05019 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 05020 return soap->error; 05021 return soap_element_end_out(soap, tag); 05022 } 05023 05024 SOAP_FMAC3 struct ns1__DeleteNodeResponse * SOAP_FMAC4 soap_in_ns1__DeleteNodeResponse(struct soap *soap, const char *tag, struct ns1__DeleteNodeResponse *a, const char *type) 05025 { 05026 size_t soap_flag_retvalue = 1; 05027 if (soap_element_begin_in(soap, tag, 0, type)) 05028 return NULL; 05029 a = (struct ns1__DeleteNodeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteNodeResponse, sizeof(struct ns1__DeleteNodeResponse), 0, NULL, NULL, NULL); 05030 if (!a) 05031 return NULL; 05032 soap_default_ns1__DeleteNodeResponse(soap, a); 05033 if (soap->body && !*soap->href) 05034 { 05035 for (;;) 05036 { soap->error = SOAP_TAG_MISMATCH; 05037 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 05038 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 05039 { soap_flag_retvalue--; 05040 continue; 05041 } 05042 if (soap->error == SOAP_TAG_MISMATCH) 05043 soap->error = soap_ignore_element(soap); 05044 if (soap->error == SOAP_NO_TAG) 05045 break; 05046 if (soap->error) 05047 return NULL; 05048 } 05049 if (soap_element_end_in(soap, tag)) 05050 return NULL; 05051 } 05052 else 05053 { a = (struct ns1__DeleteNodeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteNodeResponse, 0, sizeof(struct ns1__DeleteNodeResponse), 0, NULL); 05054 if (soap->body && soap_element_end_in(soap, tag)) 05055 return NULL; 05056 } 05057 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 05058 { soap->error = SOAP_OCCURS; 05059 return NULL; 05060 } 05061 return a; 05062 } 05063 05064 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteNodeResponse(struct soap *soap, const struct ns1__DeleteNodeResponse *a, const char *tag, const char *type) 05065 { 05066 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteNodeResponse); 05067 if (soap_out_ns1__DeleteNodeResponse(soap, tag?tag:"ns1:DeleteNodeResponse", id, a, type)) 05068 return soap->error; 05069 return soap_putindependent(soap); 05070 } 05071 05072 SOAP_FMAC3 struct ns1__DeleteNodeResponse * SOAP_FMAC4 soap_get_ns1__DeleteNodeResponse(struct soap *soap, struct ns1__DeleteNodeResponse *p, const char *tag, const char *type) 05073 { 05074 if ((p = soap_in_ns1__DeleteNodeResponse(soap, tag, p, type))) 05075 if (soap_getindependent(soap)) 05076 return NULL; 05077 return p; 05078 } 05079 05080 SOAP_FMAC1 struct ns1__DeleteNodeResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteNodeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05081 { 05082 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05083 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteNodeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05084 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteNodeResponse, n, soap_fdelete); 05085 if (!cp) 05086 return NULL; 05087 if (n < 0) 05088 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteNodeResponse); 05089 if (size) 05090 *size = sizeof(struct ns1__DeleteNodeResponse); 05091 } 05092 else 05093 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteNodeResponse[n]); 05094 if (!cp->ptr) 05095 { soap->error = SOAP_EOM; 05096 return NULL; 05097 } 05098 if (size) 05099 *size = n * sizeof(struct ns1__DeleteNodeResponse); 05100 } 05101 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05102 return (struct ns1__DeleteNodeResponse*)cp->ptr; 05103 } 05104 05105 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteNodeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05106 { 05107 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05108 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteNodeResponse %p -> %p\n", q, p)); 05109 *(struct ns1__DeleteNodeResponse*)p = *(struct ns1__DeleteNodeResponse*)q; 05110 } 05111 05112 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddValueToNode(struct soap *soap, struct ns1__AddValueToNode *a) 05113 { 05114 (void)soap; (void)a; /* appease -Wall -Werror */ 05115 soap_default_int(soap, &a->transaction_USCOREid); 05116 soap_default_std__string(soap, &a->node_USCOREname); 05117 soap_default_std__string(soap, &a->path); 05118 soap_default_std__string(soap, &a->value); 05119 } 05120 05121 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddValueToNode(struct soap *soap, const struct ns1__AddValueToNode *a) 05122 { 05123 (void)soap; (void)a; /* appease -Wall -Werror */ 05124 soap_serialize_std__string(soap, &a->node_USCOREname); 05125 soap_serialize_std__string(soap, &a->path); 05126 soap_serialize_std__string(soap, &a->value); 05127 } 05128 05129 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddValueToNode(struct soap *soap, const char *tag, int id, const struct ns1__AddValueToNode *a, const char *type) 05130 { 05131 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddValueToNode), type)) 05132 return soap->error; 05133 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 05134 return soap->error; 05135 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 05136 return soap->error; 05137 if (soap_out_std__string(soap, "path", -1, &a->path, "")) 05138 return soap->error; 05139 if (soap_out_std__string(soap, "value", -1, &a->value, "")) 05140 return soap->error; 05141 return soap_element_end_out(soap, tag); 05142 } 05143 05144 SOAP_FMAC3 struct ns1__AddValueToNode * SOAP_FMAC4 soap_in_ns1__AddValueToNode(struct soap *soap, const char *tag, struct ns1__AddValueToNode *a, const char *type) 05145 { 05146 size_t soap_flag_transaction_USCOREid = 1; 05147 size_t soap_flag_node_USCOREname = 1; 05148 size_t soap_flag_path = 1; 05149 size_t soap_flag_value = 1; 05150 if (soap_element_begin_in(soap, tag, 0, type)) 05151 return NULL; 05152 a = (struct ns1__AddValueToNode *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddValueToNode, sizeof(struct ns1__AddValueToNode), soap->type, soap->arrayType); 05153 if (!a) 05154 return NULL; 05155 soap_default_ns1__AddValueToNode(soap, a); 05156 if (soap->body && !*soap->href) 05157 { 05158 for (;;) 05159 { soap->error = SOAP_TAG_MISMATCH; 05160 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 05161 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 05162 { soap_flag_transaction_USCOREid--; 05163 continue; 05164 } 05165 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05166 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 05167 { soap_flag_node_USCOREname--; 05168 continue; 05169 } 05170 if (soap_flag_path && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05171 if (soap_in_std__string(soap, "path", &a->path, "xsd:string")) 05172 { soap_flag_path--; 05173 continue; 05174 } 05175 if (soap_flag_value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05176 if (soap_in_std__string(soap, "value", &a->value, "xsd:string")) 05177 { soap_flag_value--; 05178 continue; 05179 } 05180 if (soap->error == SOAP_TAG_MISMATCH) 05181 soap->error = soap_ignore_element(soap); 05182 if (soap->error == SOAP_NO_TAG) 05183 break; 05184 if (soap->error) 05185 return NULL; 05186 } 05187 if (soap_element_end_in(soap, tag)) 05188 return NULL; 05189 } 05190 else 05191 { a = (struct ns1__AddValueToNode *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddValueToNode, 0, sizeof(struct ns1__AddValueToNode), 0, soap_copy_ns1__AddValueToNode); 05192 if (soap->body && soap_element_end_in(soap, tag)) 05193 return NULL; 05194 } 05195 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0 || soap_flag_path > 0 || soap_flag_value > 0)) 05196 { soap->error = SOAP_OCCURS; 05197 return NULL; 05198 } 05199 return a; 05200 } 05201 05202 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddValueToNode(struct soap *soap, const struct ns1__AddValueToNode *a, const char *tag, const char *type) 05203 { 05204 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddValueToNode); 05205 if (soap_out_ns1__AddValueToNode(soap, tag?tag:"ns1:AddValueToNode", id, a, type)) 05206 return soap->error; 05207 return soap_putindependent(soap); 05208 } 05209 05210 SOAP_FMAC3 struct ns1__AddValueToNode * SOAP_FMAC4 soap_get_ns1__AddValueToNode(struct soap *soap, struct ns1__AddValueToNode *p, const char *tag, const char *type) 05211 { 05212 if ((p = soap_in_ns1__AddValueToNode(soap, tag, p, type))) 05213 if (soap_getindependent(soap)) 05214 return NULL; 05215 return p; 05216 } 05217 05218 SOAP_FMAC1 struct ns1__AddValueToNode * SOAP_FMAC2 soap_instantiate_ns1__AddValueToNode(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05219 { 05220 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05221 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddValueToNode(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05222 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddValueToNode, n, soap_fdelete); 05223 if (!cp) 05224 return NULL; 05225 if (n < 0) 05226 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToNode); 05227 if (size) 05228 *size = sizeof(struct ns1__AddValueToNode); 05229 } 05230 else 05231 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToNode[n]); 05232 if (!cp->ptr) 05233 { soap->error = SOAP_EOM; 05234 return NULL; 05235 } 05236 if (size) 05237 *size = n * sizeof(struct ns1__AddValueToNode); 05238 } 05239 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05240 return (struct ns1__AddValueToNode*)cp->ptr; 05241 } 05242 05243 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddValueToNode(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05244 { 05245 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05246 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddValueToNode %p -> %p\n", q, p)); 05247 *(struct ns1__AddValueToNode*)p = *(struct ns1__AddValueToNode*)q; 05248 } 05249 05250 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddValueToNodeResponse(struct soap *soap, struct ns1__AddValueToNodeResponse *a) 05251 { 05252 (void)soap; (void)a; /* appease -Wall -Werror */ 05253 soap_default_int(soap, &a->retvalue); 05254 } 05255 05256 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddValueToNodeResponse(struct soap *soap, const struct ns1__AddValueToNodeResponse *a) 05257 { 05258 (void)soap; (void)a; /* appease -Wall -Werror */ 05259 } 05260 05261 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddValueToNodeResponse(struct soap *soap, const char *tag, int id, const struct ns1__AddValueToNodeResponse *a, const char *type) 05262 { 05263 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddValueToNodeResponse), type)) 05264 return soap->error; 05265 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 05266 return soap->error; 05267 return soap_element_end_out(soap, tag); 05268 } 05269 05270 SOAP_FMAC3 struct ns1__AddValueToNodeResponse * SOAP_FMAC4 soap_in_ns1__AddValueToNodeResponse(struct soap *soap, const char *tag, struct ns1__AddValueToNodeResponse *a, const char *type) 05271 { 05272 size_t soap_flag_retvalue = 1; 05273 if (soap_element_begin_in(soap, tag, 0, type)) 05274 return NULL; 05275 a = (struct ns1__AddValueToNodeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddValueToNodeResponse, sizeof(struct ns1__AddValueToNodeResponse), 0, NULL, NULL, NULL); 05276 if (!a) 05277 return NULL; 05278 soap_default_ns1__AddValueToNodeResponse(soap, a); 05279 if (soap->body && !*soap->href) 05280 { 05281 for (;;) 05282 { soap->error = SOAP_TAG_MISMATCH; 05283 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 05284 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 05285 { soap_flag_retvalue--; 05286 continue; 05287 } 05288 if (soap->error == SOAP_TAG_MISMATCH) 05289 soap->error = soap_ignore_element(soap); 05290 if (soap->error == SOAP_NO_TAG) 05291 break; 05292 if (soap->error) 05293 return NULL; 05294 } 05295 if (soap_element_end_in(soap, tag)) 05296 return NULL; 05297 } 05298 else 05299 { a = (struct ns1__AddValueToNodeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddValueToNodeResponse, 0, sizeof(struct ns1__AddValueToNodeResponse), 0, NULL); 05300 if (soap->body && soap_element_end_in(soap, tag)) 05301 return NULL; 05302 } 05303 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 05304 { soap->error = SOAP_OCCURS; 05305 return NULL; 05306 } 05307 return a; 05308 } 05309 05310 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddValueToNodeResponse(struct soap *soap, const struct ns1__AddValueToNodeResponse *a, const char *tag, const char *type) 05311 { 05312 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddValueToNodeResponse); 05313 if (soap_out_ns1__AddValueToNodeResponse(soap, tag?tag:"ns1:AddValueToNodeResponse", id, a, type)) 05314 return soap->error; 05315 return soap_putindependent(soap); 05316 } 05317 05318 SOAP_FMAC3 struct ns1__AddValueToNodeResponse * SOAP_FMAC4 soap_get_ns1__AddValueToNodeResponse(struct soap *soap, struct ns1__AddValueToNodeResponse *p, const char *tag, const char *type) 05319 { 05320 if ((p = soap_in_ns1__AddValueToNodeResponse(soap, tag, p, type))) 05321 if (soap_getindependent(soap)) 05322 return NULL; 05323 return p; 05324 } 05325 05326 SOAP_FMAC1 struct ns1__AddValueToNodeResponse * SOAP_FMAC2 soap_instantiate_ns1__AddValueToNodeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05327 { 05328 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05329 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddValueToNodeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05330 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddValueToNodeResponse, n, soap_fdelete); 05331 if (!cp) 05332 return NULL; 05333 if (n < 0) 05334 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToNodeResponse); 05335 if (size) 05336 *size = sizeof(struct ns1__AddValueToNodeResponse); 05337 } 05338 else 05339 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddValueToNodeResponse[n]); 05340 if (!cp->ptr) 05341 { soap->error = SOAP_EOM; 05342 return NULL; 05343 } 05344 if (size) 05345 *size = n * sizeof(struct ns1__AddValueToNodeResponse); 05346 } 05347 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05348 return (struct ns1__AddValueToNodeResponse*)cp->ptr; 05349 } 05350 05351 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddValueToNodeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05352 { 05353 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05354 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddValueToNodeResponse %p -> %p\n", q, p)); 05355 *(struct ns1__AddValueToNodeResponse*)p = *(struct ns1__AddValueToNodeResponse*)q; 05356 } 05357 05358 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddNode(struct soap *soap, struct ns1__AddNode *a) 05359 { 05360 (void)soap; (void)a; /* appease -Wall -Werror */ 05361 soap_default_int(soap, &a->transaction_USCOREid); 05362 soap_default_std__string(soap, &a->node_USCOREname); 05363 soap_default_std__string(soap, &a->node_USCOREtype); 05364 } 05365 05366 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddNode(struct soap *soap, const struct ns1__AddNode *a) 05367 { 05368 (void)soap; (void)a; /* appease -Wall -Werror */ 05369 soap_serialize_std__string(soap, &a->node_USCOREname); 05370 soap_serialize_std__string(soap, &a->node_USCOREtype); 05371 } 05372 05373 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddNode(struct soap *soap, const char *tag, int id, const struct ns1__AddNode *a, const char *type) 05374 { 05375 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddNode), type)) 05376 return soap->error; 05377 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 05378 return soap->error; 05379 if (soap_out_std__string(soap, "node_name", -1, &a->node_USCOREname, "")) 05380 return soap->error; 05381 if (soap_out_std__string(soap, "node_type", -1, &a->node_USCOREtype, "")) 05382 return soap->error; 05383 return soap_element_end_out(soap, tag); 05384 } 05385 05386 SOAP_FMAC3 struct ns1__AddNode * SOAP_FMAC4 soap_in_ns1__AddNode(struct soap *soap, const char *tag, struct ns1__AddNode *a, const char *type) 05387 { 05388 size_t soap_flag_transaction_USCOREid = 1; 05389 size_t soap_flag_node_USCOREname = 1; 05390 size_t soap_flag_node_USCOREtype = 1; 05391 if (soap_element_begin_in(soap, tag, 0, type)) 05392 return NULL; 05393 a = (struct ns1__AddNode *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddNode, sizeof(struct ns1__AddNode), soap->type, soap->arrayType); 05394 if (!a) 05395 return NULL; 05396 soap_default_ns1__AddNode(soap, a); 05397 if (soap->body && !*soap->href) 05398 { 05399 for (;;) 05400 { soap->error = SOAP_TAG_MISMATCH; 05401 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 05402 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 05403 { soap_flag_transaction_USCOREid--; 05404 continue; 05405 } 05406 if (soap_flag_node_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05407 if (soap_in_std__string(soap, "node_name", &a->node_USCOREname, "xsd:string")) 05408 { soap_flag_node_USCOREname--; 05409 continue; 05410 } 05411 if (soap_flag_node_USCOREtype && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05412 if (soap_in_std__string(soap, "node_type", &a->node_USCOREtype, "xsd:string")) 05413 { soap_flag_node_USCOREtype--; 05414 continue; 05415 } 05416 if (soap->error == SOAP_TAG_MISMATCH) 05417 soap->error = soap_ignore_element(soap); 05418 if (soap->error == SOAP_NO_TAG) 05419 break; 05420 if (soap->error) 05421 return NULL; 05422 } 05423 if (soap_element_end_in(soap, tag)) 05424 return NULL; 05425 } 05426 else 05427 { a = (struct ns1__AddNode *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddNode, 0, sizeof(struct ns1__AddNode), 0, soap_copy_ns1__AddNode); 05428 if (soap->body && soap_element_end_in(soap, tag)) 05429 return NULL; 05430 } 05431 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_node_USCOREname > 0 || soap_flag_node_USCOREtype > 0)) 05432 { soap->error = SOAP_OCCURS; 05433 return NULL; 05434 } 05435 return a; 05436 } 05437 05438 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddNode(struct soap *soap, const struct ns1__AddNode *a, const char *tag, const char *type) 05439 { 05440 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddNode); 05441 if (soap_out_ns1__AddNode(soap, tag?tag:"ns1:AddNode", id, a, type)) 05442 return soap->error; 05443 return soap_putindependent(soap); 05444 } 05445 05446 SOAP_FMAC3 struct ns1__AddNode * SOAP_FMAC4 soap_get_ns1__AddNode(struct soap *soap, struct ns1__AddNode *p, const char *tag, const char *type) 05447 { 05448 if ((p = soap_in_ns1__AddNode(soap, tag, p, type))) 05449 if (soap_getindependent(soap)) 05450 return NULL; 05451 return p; 05452 } 05453 05454 SOAP_FMAC1 struct ns1__AddNode * SOAP_FMAC2 soap_instantiate_ns1__AddNode(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05455 { 05456 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05457 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddNode(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05458 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddNode, n, soap_fdelete); 05459 if (!cp) 05460 return NULL; 05461 if (n < 0) 05462 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddNode); 05463 if (size) 05464 *size = sizeof(struct ns1__AddNode); 05465 } 05466 else 05467 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddNode[n]); 05468 if (!cp->ptr) 05469 { soap->error = SOAP_EOM; 05470 return NULL; 05471 } 05472 if (size) 05473 *size = n * sizeof(struct ns1__AddNode); 05474 } 05475 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05476 return (struct ns1__AddNode*)cp->ptr; 05477 } 05478 05479 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddNode(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05480 { 05481 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05482 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddNode %p -> %p\n", q, p)); 05483 *(struct ns1__AddNode*)p = *(struct ns1__AddNode*)q; 05484 } 05485 05486 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddNodeResponse(struct soap *soap, struct ns1__AddNodeResponse *a) 05487 { 05488 (void)soap; (void)a; /* appease -Wall -Werror */ 05489 soap_default_int(soap, &a->retvalue); 05490 } 05491 05492 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddNodeResponse(struct soap *soap, const struct ns1__AddNodeResponse *a) 05493 { 05494 (void)soap; (void)a; /* appease -Wall -Werror */ 05495 } 05496 05497 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddNodeResponse(struct soap *soap, const char *tag, int id, const struct ns1__AddNodeResponse *a, const char *type) 05498 { 05499 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddNodeResponse), type)) 05500 return soap->error; 05501 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 05502 return soap->error; 05503 return soap_element_end_out(soap, tag); 05504 } 05505 05506 SOAP_FMAC3 struct ns1__AddNodeResponse * SOAP_FMAC4 soap_in_ns1__AddNodeResponse(struct soap *soap, const char *tag, struct ns1__AddNodeResponse *a, const char *type) 05507 { 05508 size_t soap_flag_retvalue = 1; 05509 if (soap_element_begin_in(soap, tag, 0, type)) 05510 return NULL; 05511 a = (struct ns1__AddNodeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddNodeResponse, sizeof(struct ns1__AddNodeResponse), 0, NULL, NULL, NULL); 05512 if (!a) 05513 return NULL; 05514 soap_default_ns1__AddNodeResponse(soap, a); 05515 if (soap->body && !*soap->href) 05516 { 05517 for (;;) 05518 { soap->error = SOAP_TAG_MISMATCH; 05519 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 05520 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 05521 { soap_flag_retvalue--; 05522 continue; 05523 } 05524 if (soap->error == SOAP_TAG_MISMATCH) 05525 soap->error = soap_ignore_element(soap); 05526 if (soap->error == SOAP_NO_TAG) 05527 break; 05528 if (soap->error) 05529 return NULL; 05530 } 05531 if (soap_element_end_in(soap, tag)) 05532 return NULL; 05533 } 05534 else 05535 { a = (struct ns1__AddNodeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddNodeResponse, 0, sizeof(struct ns1__AddNodeResponse), 0, NULL); 05536 if (soap->body && soap_element_end_in(soap, tag)) 05537 return NULL; 05538 } 05539 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 05540 { soap->error = SOAP_OCCURS; 05541 return NULL; 05542 } 05543 return a; 05544 } 05545 05546 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddNodeResponse(struct soap *soap, const struct ns1__AddNodeResponse *a, const char *tag, const char *type) 05547 { 05548 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddNodeResponse); 05549 if (soap_out_ns1__AddNodeResponse(soap, tag?tag:"ns1:AddNodeResponse", id, a, type)) 05550 return soap->error; 05551 return soap_putindependent(soap); 05552 } 05553 05554 SOAP_FMAC3 struct ns1__AddNodeResponse * SOAP_FMAC4 soap_get_ns1__AddNodeResponse(struct soap *soap, struct ns1__AddNodeResponse *p, const char *tag, const char *type) 05555 { 05556 if ((p = soap_in_ns1__AddNodeResponse(soap, tag, p, type))) 05557 if (soap_getindependent(soap)) 05558 return NULL; 05559 return p; 05560 } 05561 05562 SOAP_FMAC1 struct ns1__AddNodeResponse * SOAP_FMAC2 soap_instantiate_ns1__AddNodeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05563 { 05564 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05565 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddNodeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05566 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddNodeResponse, n, soap_fdelete); 05567 if (!cp) 05568 return NULL; 05569 if (n < 0) 05570 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddNodeResponse); 05571 if (size) 05572 *size = sizeof(struct ns1__AddNodeResponse); 05573 } 05574 else 05575 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddNodeResponse[n]); 05576 if (!cp->ptr) 05577 { soap->error = SOAP_EOM; 05578 return NULL; 05579 } 05580 if (size) 05581 *size = n * sizeof(struct ns1__AddNodeResponse); 05582 } 05583 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05584 return (struct ns1__AddNodeResponse*)cp->ptr; 05585 } 05586 05587 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddNodeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05588 { 05589 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05590 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddNodeResponse %p -> %p\n", q, p)); 05591 *(struct ns1__AddNodeResponse*)p = *(struct ns1__AddNodeResponse*)q; 05592 } 05593 05594 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetTypeId(struct soap *soap, struct ns1__GetTypeId *a) 05595 { 05596 (void)soap; (void)a; /* appease -Wall -Werror */ 05597 soap_default_int(soap, &a->transaction_USCOREid); 05598 soap_default_std__string(soap, &a->type_USCOREname); 05599 } 05600 05601 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetTypeId(struct soap *soap, const struct ns1__GetTypeId *a) 05602 { 05603 (void)soap; (void)a; /* appease -Wall -Werror */ 05604 soap_serialize_std__string(soap, &a->type_USCOREname); 05605 } 05606 05607 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetTypeId(struct soap *soap, const char *tag, int id, const struct ns1__GetTypeId *a, const char *type) 05608 { 05609 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetTypeId), type)) 05610 return soap->error; 05611 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 05612 return soap->error; 05613 if (soap_out_std__string(soap, "type_name", -1, &a->type_USCOREname, "")) 05614 return soap->error; 05615 return soap_element_end_out(soap, tag); 05616 } 05617 05618 SOAP_FMAC3 struct ns1__GetTypeId * SOAP_FMAC4 soap_in_ns1__GetTypeId(struct soap *soap, const char *tag, struct ns1__GetTypeId *a, const char *type) 05619 { 05620 size_t soap_flag_transaction_USCOREid = 1; 05621 size_t soap_flag_type_USCOREname = 1; 05622 if (soap_element_begin_in(soap, tag, 0, type)) 05623 return NULL; 05624 a = (struct ns1__GetTypeId *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetTypeId, sizeof(struct ns1__GetTypeId), soap->type, soap->arrayType); 05625 if (!a) 05626 return NULL; 05627 soap_default_ns1__GetTypeId(soap, a); 05628 if (soap->body && !*soap->href) 05629 { 05630 for (;;) 05631 { soap->error = SOAP_TAG_MISMATCH; 05632 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 05633 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 05634 { soap_flag_transaction_USCOREid--; 05635 continue; 05636 } 05637 if (soap_flag_type_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05638 if (soap_in_std__string(soap, "type_name", &a->type_USCOREname, "xsd:string")) 05639 { soap_flag_type_USCOREname--; 05640 continue; 05641 } 05642 if (soap->error == SOAP_TAG_MISMATCH) 05643 soap->error = soap_ignore_element(soap); 05644 if (soap->error == SOAP_NO_TAG) 05645 break; 05646 if (soap->error) 05647 return NULL; 05648 } 05649 if (soap_element_end_in(soap, tag)) 05650 return NULL; 05651 } 05652 else 05653 { a = (struct ns1__GetTypeId *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetTypeId, 0, sizeof(struct ns1__GetTypeId), 0, soap_copy_ns1__GetTypeId); 05654 if (soap->body && soap_element_end_in(soap, tag)) 05655 return NULL; 05656 } 05657 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_type_USCOREname > 0)) 05658 { soap->error = SOAP_OCCURS; 05659 return NULL; 05660 } 05661 return a; 05662 } 05663 05664 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetTypeId(struct soap *soap, const struct ns1__GetTypeId *a, const char *tag, const char *type) 05665 { 05666 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetTypeId); 05667 if (soap_out_ns1__GetTypeId(soap, tag?tag:"ns1:GetTypeId", id, a, type)) 05668 return soap->error; 05669 return soap_putindependent(soap); 05670 } 05671 05672 SOAP_FMAC3 struct ns1__GetTypeId * SOAP_FMAC4 soap_get_ns1__GetTypeId(struct soap *soap, struct ns1__GetTypeId *p, const char *tag, const char *type) 05673 { 05674 if ((p = soap_in_ns1__GetTypeId(soap, tag, p, type))) 05675 if (soap_getindependent(soap)) 05676 return NULL; 05677 return p; 05678 } 05679 05680 SOAP_FMAC1 struct ns1__GetTypeId * SOAP_FMAC2 soap_instantiate_ns1__GetTypeId(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05681 { 05682 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05683 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetTypeId(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05684 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetTypeId, n, soap_fdelete); 05685 if (!cp) 05686 return NULL; 05687 if (n < 0) 05688 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTypeId); 05689 if (size) 05690 *size = sizeof(struct ns1__GetTypeId); 05691 } 05692 else 05693 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTypeId[n]); 05694 if (!cp->ptr) 05695 { soap->error = SOAP_EOM; 05696 return NULL; 05697 } 05698 if (size) 05699 *size = n * sizeof(struct ns1__GetTypeId); 05700 } 05701 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05702 return (struct ns1__GetTypeId*)cp->ptr; 05703 } 05704 05705 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetTypeId(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05706 { 05707 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05708 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetTypeId %p -> %p\n", q, p)); 05709 *(struct ns1__GetTypeId*)p = *(struct ns1__GetTypeId*)q; 05710 } 05711 05712 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetTypeIdResponse(struct soap *soap, struct ns1__GetTypeIdResponse *a) 05713 { 05714 (void)soap; (void)a; /* appease -Wall -Werror */ 05715 soap_default_int(soap, &a->type_USCOREid); 05716 } 05717 05718 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetTypeIdResponse(struct soap *soap, const struct ns1__GetTypeIdResponse *a) 05719 { 05720 (void)soap; (void)a; /* appease -Wall -Werror */ 05721 } 05722 05723 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetTypeIdResponse(struct soap *soap, const char *tag, int id, const struct ns1__GetTypeIdResponse *a, const char *type) 05724 { 05725 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetTypeIdResponse), type)) 05726 return soap->error; 05727 if (soap_out_int(soap, "type_id", -1, &a->type_USCOREid, "")) 05728 return soap->error; 05729 return soap_element_end_out(soap, tag); 05730 } 05731 05732 SOAP_FMAC3 struct ns1__GetTypeIdResponse * SOAP_FMAC4 soap_in_ns1__GetTypeIdResponse(struct soap *soap, const char *tag, struct ns1__GetTypeIdResponse *a, const char *type) 05733 { 05734 size_t soap_flag_type_USCOREid = 1; 05735 if (soap_element_begin_in(soap, tag, 0, type)) 05736 return NULL; 05737 a = (struct ns1__GetTypeIdResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetTypeIdResponse, sizeof(struct ns1__GetTypeIdResponse), 0, NULL, NULL, NULL); 05738 if (!a) 05739 return NULL; 05740 soap_default_ns1__GetTypeIdResponse(soap, a); 05741 if (soap->body && !*soap->href) 05742 { 05743 for (;;) 05744 { soap->error = SOAP_TAG_MISMATCH; 05745 if (soap_flag_type_USCOREid && soap->error == SOAP_TAG_MISMATCH) 05746 if (soap_in_int(soap, "type_id", &a->type_USCOREid, "xsd:int")) 05747 { soap_flag_type_USCOREid--; 05748 continue; 05749 } 05750 if (soap->error == SOAP_TAG_MISMATCH) 05751 soap->error = soap_ignore_element(soap); 05752 if (soap->error == SOAP_NO_TAG) 05753 break; 05754 if (soap->error) 05755 return NULL; 05756 } 05757 if (soap_element_end_in(soap, tag)) 05758 return NULL; 05759 } 05760 else 05761 { a = (struct ns1__GetTypeIdResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetTypeIdResponse, 0, sizeof(struct ns1__GetTypeIdResponse), 0, NULL); 05762 if (soap->body && soap_element_end_in(soap, tag)) 05763 return NULL; 05764 } 05765 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_type_USCOREid > 0)) 05766 { soap->error = SOAP_OCCURS; 05767 return NULL; 05768 } 05769 return a; 05770 } 05771 05772 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetTypeIdResponse(struct soap *soap, const struct ns1__GetTypeIdResponse *a, const char *tag, const char *type) 05773 { 05774 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetTypeIdResponse); 05775 if (soap_out_ns1__GetTypeIdResponse(soap, tag?tag:"ns1:GetTypeIdResponse", id, a, type)) 05776 return soap->error; 05777 return soap_putindependent(soap); 05778 } 05779 05780 SOAP_FMAC3 struct ns1__GetTypeIdResponse * SOAP_FMAC4 soap_get_ns1__GetTypeIdResponse(struct soap *soap, struct ns1__GetTypeIdResponse *p, const char *tag, const char *type) 05781 { 05782 if ((p = soap_in_ns1__GetTypeIdResponse(soap, tag, p, type))) 05783 if (soap_getindependent(soap)) 05784 return NULL; 05785 return p; 05786 } 05787 05788 SOAP_FMAC1 struct ns1__GetTypeIdResponse * SOAP_FMAC2 soap_instantiate_ns1__GetTypeIdResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05789 { 05790 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05791 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetTypeIdResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05792 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetTypeIdResponse, n, soap_fdelete); 05793 if (!cp) 05794 return NULL; 05795 if (n < 0) 05796 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTypeIdResponse); 05797 if (size) 05798 *size = sizeof(struct ns1__GetTypeIdResponse); 05799 } 05800 else 05801 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTypeIdResponse[n]); 05802 if (!cp->ptr) 05803 { soap->error = SOAP_EOM; 05804 return NULL; 05805 } 05806 if (size) 05807 *size = n * sizeof(struct ns1__GetTypeIdResponse); 05808 } 05809 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05810 return (struct ns1__GetTypeIdResponse*)cp->ptr; 05811 } 05812 05813 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetTypeIdResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05814 { 05815 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05816 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetTypeIdResponse %p -> %p\n", q, p)); 05817 *(struct ns1__GetTypeIdResponse*)p = *(struct ns1__GetTypeIdResponse*)q; 05818 } 05819 05820 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddMemberToType(struct soap *soap, struct ns1__AddMemberToType *a) 05821 { 05822 (void)soap; (void)a; /* appease -Wall -Werror */ 05823 soap_default_int(soap, &a->transaction_USCOREid); 05824 soap_default_std__string(soap, &a->type_USCOREname); 05825 soap_default_std__string(soap, &a->member_USCOREname); 05826 soap_default_int(soap, &a->member_USCOREtype); 05827 soap_default_int(soap, &a->size); 05828 } 05829 05830 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddMemberToType(struct soap *soap, const struct ns1__AddMemberToType *a) 05831 { 05832 (void)soap; (void)a; /* appease -Wall -Werror */ 05833 soap_serialize_std__string(soap, &a->type_USCOREname); 05834 soap_serialize_std__string(soap, &a->member_USCOREname); 05835 } 05836 05837 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddMemberToType(struct soap *soap, const char *tag, int id, const struct ns1__AddMemberToType *a, const char *type) 05838 { 05839 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddMemberToType), type)) 05840 return soap->error; 05841 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 05842 return soap->error; 05843 if (soap_out_std__string(soap, "type_name", -1, &a->type_USCOREname, "")) 05844 return soap->error; 05845 if (soap_out_std__string(soap, "member_name", -1, &a->member_USCOREname, "")) 05846 return soap->error; 05847 if (soap_out_int(soap, "member_type", -1, &a->member_USCOREtype, "")) 05848 return soap->error; 05849 if (soap_out_int(soap, "size", -1, &a->size, "")) 05850 return soap->error; 05851 return soap_element_end_out(soap, tag); 05852 } 05853 05854 SOAP_FMAC3 struct ns1__AddMemberToType * SOAP_FMAC4 soap_in_ns1__AddMemberToType(struct soap *soap, const char *tag, struct ns1__AddMemberToType *a, const char *type) 05855 { 05856 size_t soap_flag_transaction_USCOREid = 1; 05857 size_t soap_flag_type_USCOREname = 1; 05858 size_t soap_flag_member_USCOREname = 1; 05859 size_t soap_flag_member_USCOREtype = 1; 05860 size_t soap_flag_size = 1; 05861 if (soap_element_begin_in(soap, tag, 0, type)) 05862 return NULL; 05863 a = (struct ns1__AddMemberToType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddMemberToType, sizeof(struct ns1__AddMemberToType), soap->type, soap->arrayType); 05864 if (!a) 05865 return NULL; 05866 soap_default_ns1__AddMemberToType(soap, a); 05867 if (soap->body && !*soap->href) 05868 { 05869 for (;;) 05870 { soap->error = SOAP_TAG_MISMATCH; 05871 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 05872 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 05873 { soap_flag_transaction_USCOREid--; 05874 continue; 05875 } 05876 if (soap_flag_type_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05877 if (soap_in_std__string(soap, "type_name", &a->type_USCOREname, "xsd:string")) 05878 { soap_flag_type_USCOREname--; 05879 continue; 05880 } 05881 if (soap_flag_member_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 05882 if (soap_in_std__string(soap, "member_name", &a->member_USCOREname, "xsd:string")) 05883 { soap_flag_member_USCOREname--; 05884 continue; 05885 } 05886 if (soap_flag_member_USCOREtype && soap->error == SOAP_TAG_MISMATCH) 05887 if (soap_in_int(soap, "member_type", &a->member_USCOREtype, "xsd:int")) 05888 { soap_flag_member_USCOREtype--; 05889 continue; 05890 } 05891 if (soap_flag_size && soap->error == SOAP_TAG_MISMATCH) 05892 if (soap_in_int(soap, "size", &a->size, "xsd:int")) 05893 { soap_flag_size--; 05894 continue; 05895 } 05896 if (soap->error == SOAP_TAG_MISMATCH) 05897 soap->error = soap_ignore_element(soap); 05898 if (soap->error == SOAP_NO_TAG) 05899 break; 05900 if (soap->error) 05901 return NULL; 05902 } 05903 if (soap_element_end_in(soap, tag)) 05904 return NULL; 05905 } 05906 else 05907 { a = (struct ns1__AddMemberToType *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddMemberToType, 0, sizeof(struct ns1__AddMemberToType), 0, soap_copy_ns1__AddMemberToType); 05908 if (soap->body && soap_element_end_in(soap, tag)) 05909 return NULL; 05910 } 05911 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_type_USCOREname > 0 || soap_flag_member_USCOREname > 0 || soap_flag_member_USCOREtype > 0 || soap_flag_size > 0)) 05912 { soap->error = SOAP_OCCURS; 05913 return NULL; 05914 } 05915 return a; 05916 } 05917 05918 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddMemberToType(struct soap *soap, const struct ns1__AddMemberToType *a, const char *tag, const char *type) 05919 { 05920 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddMemberToType); 05921 if (soap_out_ns1__AddMemberToType(soap, tag?tag:"ns1:AddMemberToType", id, a, type)) 05922 return soap->error; 05923 return soap_putindependent(soap); 05924 } 05925 05926 SOAP_FMAC3 struct ns1__AddMemberToType * SOAP_FMAC4 soap_get_ns1__AddMemberToType(struct soap *soap, struct ns1__AddMemberToType *p, const char *tag, const char *type) 05927 { 05928 if ((p = soap_in_ns1__AddMemberToType(soap, tag, p, type))) 05929 if (soap_getindependent(soap)) 05930 return NULL; 05931 return p; 05932 } 05933 05934 SOAP_FMAC1 struct ns1__AddMemberToType * SOAP_FMAC2 soap_instantiate_ns1__AddMemberToType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 05935 { 05936 (void)type; (void)arrayType; /* appease -Wall -Werror */ 05937 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddMemberToType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 05938 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddMemberToType, n, soap_fdelete); 05939 if (!cp) 05940 return NULL; 05941 if (n < 0) 05942 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddMemberToType); 05943 if (size) 05944 *size = sizeof(struct ns1__AddMemberToType); 05945 } 05946 else 05947 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddMemberToType[n]); 05948 if (!cp->ptr) 05949 { soap->error = SOAP_EOM; 05950 return NULL; 05951 } 05952 if (size) 05953 *size = n * sizeof(struct ns1__AddMemberToType); 05954 } 05955 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 05956 return (struct ns1__AddMemberToType*)cp->ptr; 05957 } 05958 05959 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddMemberToType(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 05960 { 05961 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 05962 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddMemberToType %p -> %p\n", q, p)); 05963 *(struct ns1__AddMemberToType*)p = *(struct ns1__AddMemberToType*)q; 05964 } 05965 05966 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__AddMemberToTypeResponse(struct soap *soap, struct ns1__AddMemberToTypeResponse *a) 05967 { 05968 (void)soap; (void)a; /* appease -Wall -Werror */ 05969 soap_default_int(soap, &a->retvalue); 05970 } 05971 05972 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__AddMemberToTypeResponse(struct soap *soap, const struct ns1__AddMemberToTypeResponse *a) 05973 { 05974 (void)soap; (void)a; /* appease -Wall -Werror */ 05975 } 05976 05977 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__AddMemberToTypeResponse(struct soap *soap, const char *tag, int id, const struct ns1__AddMemberToTypeResponse *a, const char *type) 05978 { 05979 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__AddMemberToTypeResponse), type)) 05980 return soap->error; 05981 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 05982 return soap->error; 05983 return soap_element_end_out(soap, tag); 05984 } 05985 05986 SOAP_FMAC3 struct ns1__AddMemberToTypeResponse * SOAP_FMAC4 soap_in_ns1__AddMemberToTypeResponse(struct soap *soap, const char *tag, struct ns1__AddMemberToTypeResponse *a, const char *type) 05987 { 05988 size_t soap_flag_retvalue = 1; 05989 if (soap_element_begin_in(soap, tag, 0, type)) 05990 return NULL; 05991 a = (struct ns1__AddMemberToTypeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__AddMemberToTypeResponse, sizeof(struct ns1__AddMemberToTypeResponse), 0, NULL, NULL, NULL); 05992 if (!a) 05993 return NULL; 05994 soap_default_ns1__AddMemberToTypeResponse(soap, a); 05995 if (soap->body && !*soap->href) 05996 { 05997 for (;;) 05998 { soap->error = SOAP_TAG_MISMATCH; 05999 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 06000 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 06001 { soap_flag_retvalue--; 06002 continue; 06003 } 06004 if (soap->error == SOAP_TAG_MISMATCH) 06005 soap->error = soap_ignore_element(soap); 06006 if (soap->error == SOAP_NO_TAG) 06007 break; 06008 if (soap->error) 06009 return NULL; 06010 } 06011 if (soap_element_end_in(soap, tag)) 06012 return NULL; 06013 } 06014 else 06015 { a = (struct ns1__AddMemberToTypeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__AddMemberToTypeResponse, 0, sizeof(struct ns1__AddMemberToTypeResponse), 0, NULL); 06016 if (soap->body && soap_element_end_in(soap, tag)) 06017 return NULL; 06018 } 06019 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 06020 { soap->error = SOAP_OCCURS; 06021 return NULL; 06022 } 06023 return a; 06024 } 06025 06026 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__AddMemberToTypeResponse(struct soap *soap, const struct ns1__AddMemberToTypeResponse *a, const char *tag, const char *type) 06027 { 06028 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__AddMemberToTypeResponse); 06029 if (soap_out_ns1__AddMemberToTypeResponse(soap, tag?tag:"ns1:AddMemberToTypeResponse", id, a, type)) 06030 return soap->error; 06031 return soap_putindependent(soap); 06032 } 06033 06034 SOAP_FMAC3 struct ns1__AddMemberToTypeResponse * SOAP_FMAC4 soap_get_ns1__AddMemberToTypeResponse(struct soap *soap, struct ns1__AddMemberToTypeResponse *p, const char *tag, const char *type) 06035 { 06036 if ((p = soap_in_ns1__AddMemberToTypeResponse(soap, tag, p, type))) 06037 if (soap_getindependent(soap)) 06038 return NULL; 06039 return p; 06040 } 06041 06042 SOAP_FMAC1 struct ns1__AddMemberToTypeResponse * SOAP_FMAC2 soap_instantiate_ns1__AddMemberToTypeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06043 { 06044 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06045 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__AddMemberToTypeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06046 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__AddMemberToTypeResponse, n, soap_fdelete); 06047 if (!cp) 06048 return NULL; 06049 if (n < 0) 06050 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddMemberToTypeResponse); 06051 if (size) 06052 *size = sizeof(struct ns1__AddMemberToTypeResponse); 06053 } 06054 else 06055 { cp->ptr = (void*)SOAP_NEW(struct ns1__AddMemberToTypeResponse[n]); 06056 if (!cp->ptr) 06057 { soap->error = SOAP_EOM; 06058 return NULL; 06059 } 06060 if (size) 06061 *size = n * sizeof(struct ns1__AddMemberToTypeResponse); 06062 } 06063 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06064 return (struct ns1__AddMemberToTypeResponse*)cp->ptr; 06065 } 06066 06067 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__AddMemberToTypeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06068 { 06069 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06070 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__AddMemberToTypeResponse %p -> %p\n", q, p)); 06071 *(struct ns1__AddMemberToTypeResponse*)p = *(struct ns1__AddMemberToTypeResponse*)q; 06072 } 06073 06074 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteType(struct soap *soap, struct ns1__DeleteType *a) 06075 { 06076 (void)soap; (void)a; /* appease -Wall -Werror */ 06077 soap_default_int(soap, &a->transaction_USCOREid); 06078 soap_default_std__string(soap, &a->type_USCOREname); 06079 } 06080 06081 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteType(struct soap *soap, const struct ns1__DeleteType *a) 06082 { 06083 (void)soap; (void)a; /* appease -Wall -Werror */ 06084 soap_serialize_std__string(soap, &a->type_USCOREname); 06085 } 06086 06087 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteType(struct soap *soap, const char *tag, int id, const struct ns1__DeleteType *a, const char *type) 06088 { 06089 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteType), type)) 06090 return soap->error; 06091 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 06092 return soap->error; 06093 if (soap_out_std__string(soap, "type_name", -1, &a->type_USCOREname, "")) 06094 return soap->error; 06095 return soap_element_end_out(soap, tag); 06096 } 06097 06098 SOAP_FMAC3 struct ns1__DeleteType * SOAP_FMAC4 soap_in_ns1__DeleteType(struct soap *soap, const char *tag, struct ns1__DeleteType *a, const char *type) 06099 { 06100 size_t soap_flag_transaction_USCOREid = 1; 06101 size_t soap_flag_type_USCOREname = 1; 06102 if (soap_element_begin_in(soap, tag, 0, type)) 06103 return NULL; 06104 a = (struct ns1__DeleteType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteType, sizeof(struct ns1__DeleteType), soap->type, soap->arrayType); 06105 if (!a) 06106 return NULL; 06107 soap_default_ns1__DeleteType(soap, a); 06108 if (soap->body && !*soap->href) 06109 { 06110 for (;;) 06111 { soap->error = SOAP_TAG_MISMATCH; 06112 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 06113 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 06114 { soap_flag_transaction_USCOREid--; 06115 continue; 06116 } 06117 if (soap_flag_type_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 06118 if (soap_in_std__string(soap, "type_name", &a->type_USCOREname, "xsd:string")) 06119 { soap_flag_type_USCOREname--; 06120 continue; 06121 } 06122 if (soap->error == SOAP_TAG_MISMATCH) 06123 soap->error = soap_ignore_element(soap); 06124 if (soap->error == SOAP_NO_TAG) 06125 break; 06126 if (soap->error) 06127 return NULL; 06128 } 06129 if (soap_element_end_in(soap, tag)) 06130 return NULL; 06131 } 06132 else 06133 { a = (struct ns1__DeleteType *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteType, 0, sizeof(struct ns1__DeleteType), 0, soap_copy_ns1__DeleteType); 06134 if (soap->body && soap_element_end_in(soap, tag)) 06135 return NULL; 06136 } 06137 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_type_USCOREname > 0)) 06138 { soap->error = SOAP_OCCURS; 06139 return NULL; 06140 } 06141 return a; 06142 } 06143 06144 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteType(struct soap *soap, const struct ns1__DeleteType *a, const char *tag, const char *type) 06145 { 06146 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteType); 06147 if (soap_out_ns1__DeleteType(soap, tag?tag:"ns1:DeleteType", id, a, type)) 06148 return soap->error; 06149 return soap_putindependent(soap); 06150 } 06151 06152 SOAP_FMAC3 struct ns1__DeleteType * SOAP_FMAC4 soap_get_ns1__DeleteType(struct soap *soap, struct ns1__DeleteType *p, const char *tag, const char *type) 06153 { 06154 if ((p = soap_in_ns1__DeleteType(soap, tag, p, type))) 06155 if (soap_getindependent(soap)) 06156 return NULL; 06157 return p; 06158 } 06159 06160 SOAP_FMAC1 struct ns1__DeleteType * SOAP_FMAC2 soap_instantiate_ns1__DeleteType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06161 { 06162 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06163 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06164 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteType, n, soap_fdelete); 06165 if (!cp) 06166 return NULL; 06167 if (n < 0) 06168 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteType); 06169 if (size) 06170 *size = sizeof(struct ns1__DeleteType); 06171 } 06172 else 06173 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteType[n]); 06174 if (!cp->ptr) 06175 { soap->error = SOAP_EOM; 06176 return NULL; 06177 } 06178 if (size) 06179 *size = n * sizeof(struct ns1__DeleteType); 06180 } 06181 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06182 return (struct ns1__DeleteType*)cp->ptr; 06183 } 06184 06185 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteType(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06186 { 06187 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06188 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteType %p -> %p\n", q, p)); 06189 *(struct ns1__DeleteType*)p = *(struct ns1__DeleteType*)q; 06190 } 06191 06192 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteTypeResponse(struct soap *soap, struct ns1__DeleteTypeResponse *a) 06193 { 06194 (void)soap; (void)a; /* appease -Wall -Werror */ 06195 soap_default_int(soap, &a->retvalue); 06196 } 06197 06198 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteTypeResponse(struct soap *soap, const struct ns1__DeleteTypeResponse *a) 06199 { 06200 (void)soap; (void)a; /* appease -Wall -Werror */ 06201 } 06202 06203 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteTypeResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteTypeResponse *a, const char *type) 06204 { 06205 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteTypeResponse), type)) 06206 return soap->error; 06207 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 06208 return soap->error; 06209 return soap_element_end_out(soap, tag); 06210 } 06211 06212 SOAP_FMAC3 struct ns1__DeleteTypeResponse * SOAP_FMAC4 soap_in_ns1__DeleteTypeResponse(struct soap *soap, const char *tag, struct ns1__DeleteTypeResponse *a, const char *type) 06213 { 06214 size_t soap_flag_retvalue = 1; 06215 if (soap_element_begin_in(soap, tag, 0, type)) 06216 return NULL; 06217 a = (struct ns1__DeleteTypeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteTypeResponse, sizeof(struct ns1__DeleteTypeResponse), 0, NULL, NULL, NULL); 06218 if (!a) 06219 return NULL; 06220 soap_default_ns1__DeleteTypeResponse(soap, a); 06221 if (soap->body && !*soap->href) 06222 { 06223 for (;;) 06224 { soap->error = SOAP_TAG_MISMATCH; 06225 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 06226 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 06227 { soap_flag_retvalue--; 06228 continue; 06229 } 06230 if (soap->error == SOAP_TAG_MISMATCH) 06231 soap->error = soap_ignore_element(soap); 06232 if (soap->error == SOAP_NO_TAG) 06233 break; 06234 if (soap->error) 06235 return NULL; 06236 } 06237 if (soap_element_end_in(soap, tag)) 06238 return NULL; 06239 } 06240 else 06241 { a = (struct ns1__DeleteTypeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteTypeResponse, 0, sizeof(struct ns1__DeleteTypeResponse), 0, NULL); 06242 if (soap->body && soap_element_end_in(soap, tag)) 06243 return NULL; 06244 } 06245 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 06246 { soap->error = SOAP_OCCURS; 06247 return NULL; 06248 } 06249 return a; 06250 } 06251 06252 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteTypeResponse(struct soap *soap, const struct ns1__DeleteTypeResponse *a, const char *tag, const char *type) 06253 { 06254 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteTypeResponse); 06255 if (soap_out_ns1__DeleteTypeResponse(soap, tag?tag:"ns1:DeleteTypeResponse", id, a, type)) 06256 return soap->error; 06257 return soap_putindependent(soap); 06258 } 06259 06260 SOAP_FMAC3 struct ns1__DeleteTypeResponse * SOAP_FMAC4 soap_get_ns1__DeleteTypeResponse(struct soap *soap, struct ns1__DeleteTypeResponse *p, const char *tag, const char *type) 06261 { 06262 if ((p = soap_in_ns1__DeleteTypeResponse(soap, tag, p, type))) 06263 if (soap_getindependent(soap)) 06264 return NULL; 06265 return p; 06266 } 06267 06268 SOAP_FMAC1 struct ns1__DeleteTypeResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteTypeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06269 { 06270 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06271 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteTypeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06272 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteTypeResponse, n, soap_fdelete); 06273 if (!cp) 06274 return NULL; 06275 if (n < 0) 06276 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteTypeResponse); 06277 if (size) 06278 *size = sizeof(struct ns1__DeleteTypeResponse); 06279 } 06280 else 06281 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteTypeResponse[n]); 06282 if (!cp->ptr) 06283 { soap->error = SOAP_EOM; 06284 return NULL; 06285 } 06286 if (size) 06287 *size = n * sizeof(struct ns1__DeleteTypeResponse); 06288 } 06289 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06290 return (struct ns1__DeleteTypeResponse*)cp->ptr; 06291 } 06292 06293 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteTypeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06294 { 06295 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06296 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteTypeResponse %p -> %p\n", q, p)); 06297 *(struct ns1__DeleteTypeResponse*)p = *(struct ns1__DeleteTypeResponse*)q; 06298 } 06299 06300 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DefineType(struct soap *soap, struct ns1__DefineType *a) 06301 { 06302 (void)soap; (void)a; /* appease -Wall -Werror */ 06303 soap_default_int(soap, &a->transaction_USCOREid); 06304 soap_default_std__string(soap, &a->type_USCOREname); 06305 } 06306 06307 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DefineType(struct soap *soap, const struct ns1__DefineType *a) 06308 { 06309 (void)soap; (void)a; /* appease -Wall -Werror */ 06310 soap_serialize_std__string(soap, &a->type_USCOREname); 06311 } 06312 06313 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DefineType(struct soap *soap, const char *tag, int id, const struct ns1__DefineType *a, const char *type) 06314 { 06315 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DefineType), type)) 06316 return soap->error; 06317 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 06318 return soap->error; 06319 if (soap_out_std__string(soap, "type_name", -1, &a->type_USCOREname, "")) 06320 return soap->error; 06321 return soap_element_end_out(soap, tag); 06322 } 06323 06324 SOAP_FMAC3 struct ns1__DefineType * SOAP_FMAC4 soap_in_ns1__DefineType(struct soap *soap, const char *tag, struct ns1__DefineType *a, const char *type) 06325 { 06326 size_t soap_flag_transaction_USCOREid = 1; 06327 size_t soap_flag_type_USCOREname = 1; 06328 if (soap_element_begin_in(soap, tag, 0, type)) 06329 return NULL; 06330 a = (struct ns1__DefineType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DefineType, sizeof(struct ns1__DefineType), soap->type, soap->arrayType); 06331 if (!a) 06332 return NULL; 06333 soap_default_ns1__DefineType(soap, a); 06334 if (soap->body && !*soap->href) 06335 { 06336 for (;;) 06337 { soap->error = SOAP_TAG_MISMATCH; 06338 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 06339 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 06340 { soap_flag_transaction_USCOREid--; 06341 continue; 06342 } 06343 if (soap_flag_type_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 06344 if (soap_in_std__string(soap, "type_name", &a->type_USCOREname, "xsd:string")) 06345 { soap_flag_type_USCOREname--; 06346 continue; 06347 } 06348 if (soap->error == SOAP_TAG_MISMATCH) 06349 soap->error = soap_ignore_element(soap); 06350 if (soap->error == SOAP_NO_TAG) 06351 break; 06352 if (soap->error) 06353 return NULL; 06354 } 06355 if (soap_element_end_in(soap, tag)) 06356 return NULL; 06357 } 06358 else 06359 { a = (struct ns1__DefineType *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DefineType, 0, sizeof(struct ns1__DefineType), 0, soap_copy_ns1__DefineType); 06360 if (soap->body && soap_element_end_in(soap, tag)) 06361 return NULL; 06362 } 06363 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0 || soap_flag_type_USCOREname > 0)) 06364 { soap->error = SOAP_OCCURS; 06365 return NULL; 06366 } 06367 return a; 06368 } 06369 06370 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DefineType(struct soap *soap, const struct ns1__DefineType *a, const char *tag, const char *type) 06371 { 06372 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DefineType); 06373 if (soap_out_ns1__DefineType(soap, tag?tag:"ns1:DefineType", id, a, type)) 06374 return soap->error; 06375 return soap_putindependent(soap); 06376 } 06377 06378 SOAP_FMAC3 struct ns1__DefineType * SOAP_FMAC4 soap_get_ns1__DefineType(struct soap *soap, struct ns1__DefineType *p, const char *tag, const char *type) 06379 { 06380 if ((p = soap_in_ns1__DefineType(soap, tag, p, type))) 06381 if (soap_getindependent(soap)) 06382 return NULL; 06383 return p; 06384 } 06385 06386 SOAP_FMAC1 struct ns1__DefineType * SOAP_FMAC2 soap_instantiate_ns1__DefineType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06387 { 06388 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06389 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DefineType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06390 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DefineType, n, soap_fdelete); 06391 if (!cp) 06392 return NULL; 06393 if (n < 0) 06394 { cp->ptr = (void*)SOAP_NEW(struct ns1__DefineType); 06395 if (size) 06396 *size = sizeof(struct ns1__DefineType); 06397 } 06398 else 06399 { cp->ptr = (void*)SOAP_NEW(struct ns1__DefineType[n]); 06400 if (!cp->ptr) 06401 { soap->error = SOAP_EOM; 06402 return NULL; 06403 } 06404 if (size) 06405 *size = n * sizeof(struct ns1__DefineType); 06406 } 06407 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06408 return (struct ns1__DefineType*)cp->ptr; 06409 } 06410 06411 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DefineType(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06412 { 06413 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06414 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DefineType %p -> %p\n", q, p)); 06415 *(struct ns1__DefineType*)p = *(struct ns1__DefineType*)q; 06416 } 06417 06418 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DefineTypeResponse(struct soap *soap, struct ns1__DefineTypeResponse *a) 06419 { 06420 (void)soap; (void)a; /* appease -Wall -Werror */ 06421 soap_default_int(soap, &a->retvalue); 06422 } 06423 06424 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DefineTypeResponse(struct soap *soap, const struct ns1__DefineTypeResponse *a) 06425 { 06426 (void)soap; (void)a; /* appease -Wall -Werror */ 06427 } 06428 06429 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DefineTypeResponse(struct soap *soap, const char *tag, int id, const struct ns1__DefineTypeResponse *a, const char *type) 06430 { 06431 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DefineTypeResponse), type)) 06432 return soap->error; 06433 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 06434 return soap->error; 06435 return soap_element_end_out(soap, tag); 06436 } 06437 06438 SOAP_FMAC3 struct ns1__DefineTypeResponse * SOAP_FMAC4 soap_in_ns1__DefineTypeResponse(struct soap *soap, const char *tag, struct ns1__DefineTypeResponse *a, const char *type) 06439 { 06440 size_t soap_flag_retvalue = 1; 06441 if (soap_element_begin_in(soap, tag, 0, type)) 06442 return NULL; 06443 a = (struct ns1__DefineTypeResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DefineTypeResponse, sizeof(struct ns1__DefineTypeResponse), 0, NULL, NULL, NULL); 06444 if (!a) 06445 return NULL; 06446 soap_default_ns1__DefineTypeResponse(soap, a); 06447 if (soap->body && !*soap->href) 06448 { 06449 for (;;) 06450 { soap->error = SOAP_TAG_MISMATCH; 06451 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 06452 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 06453 { soap_flag_retvalue--; 06454 continue; 06455 } 06456 if (soap->error == SOAP_TAG_MISMATCH) 06457 soap->error = soap_ignore_element(soap); 06458 if (soap->error == SOAP_NO_TAG) 06459 break; 06460 if (soap->error) 06461 return NULL; 06462 } 06463 if (soap_element_end_in(soap, tag)) 06464 return NULL; 06465 } 06466 else 06467 { a = (struct ns1__DefineTypeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DefineTypeResponse, 0, sizeof(struct ns1__DefineTypeResponse), 0, NULL); 06468 if (soap->body && soap_element_end_in(soap, tag)) 06469 return NULL; 06470 } 06471 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 06472 { soap->error = SOAP_OCCURS; 06473 return NULL; 06474 } 06475 return a; 06476 } 06477 06478 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DefineTypeResponse(struct soap *soap, const struct ns1__DefineTypeResponse *a, const char *tag, const char *type) 06479 { 06480 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DefineTypeResponse); 06481 if (soap_out_ns1__DefineTypeResponse(soap, tag?tag:"ns1:DefineTypeResponse", id, a, type)) 06482 return soap->error; 06483 return soap_putindependent(soap); 06484 } 06485 06486 SOAP_FMAC3 struct ns1__DefineTypeResponse * SOAP_FMAC4 soap_get_ns1__DefineTypeResponse(struct soap *soap, struct ns1__DefineTypeResponse *p, const char *tag, const char *type) 06487 { 06488 if ((p = soap_in_ns1__DefineTypeResponse(soap, tag, p, type))) 06489 if (soap_getindependent(soap)) 06490 return NULL; 06491 return p; 06492 } 06493 06494 SOAP_FMAC1 struct ns1__DefineTypeResponse * SOAP_FMAC2 soap_instantiate_ns1__DefineTypeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06495 { 06496 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06497 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DefineTypeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06498 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DefineTypeResponse, n, soap_fdelete); 06499 if (!cp) 06500 return NULL; 06501 if (n < 0) 06502 { cp->ptr = (void*)SOAP_NEW(struct ns1__DefineTypeResponse); 06503 if (size) 06504 *size = sizeof(struct ns1__DefineTypeResponse); 06505 } 06506 else 06507 { cp->ptr = (void*)SOAP_NEW(struct ns1__DefineTypeResponse[n]); 06508 if (!cp->ptr) 06509 { soap->error = SOAP_EOM; 06510 return NULL; 06511 } 06512 if (size) 06513 *size = n * sizeof(struct ns1__DefineTypeResponse); 06514 } 06515 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06516 return (struct ns1__DefineTypeResponse*)cp->ptr; 06517 } 06518 06519 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DefineTypeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06520 { 06521 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06522 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DefineTypeResponse %p -> %p\n", q, p)); 06523 *(struct ns1__DefineTypeResponse*)p = *(struct ns1__DefineTypeResponse*)q; 06524 } 06525 06526 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CloseTransaction(struct soap *soap, struct ns1__CloseTransaction *a) 06527 { 06528 (void)soap; (void)a; /* appease -Wall -Werror */ 06529 soap_default_int(soap, &a->transaction_USCOREid); 06530 } 06531 06532 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CloseTransaction(struct soap *soap, const struct ns1__CloseTransaction *a) 06533 { 06534 (void)soap; (void)a; /* appease -Wall -Werror */ 06535 } 06536 06537 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CloseTransaction(struct soap *soap, const char *tag, int id, const struct ns1__CloseTransaction *a, const char *type) 06538 { 06539 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CloseTransaction), type)) 06540 return soap->error; 06541 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 06542 return soap->error; 06543 return soap_element_end_out(soap, tag); 06544 } 06545 06546 SOAP_FMAC3 struct ns1__CloseTransaction * SOAP_FMAC4 soap_in_ns1__CloseTransaction(struct soap *soap, const char *tag, struct ns1__CloseTransaction *a, const char *type) 06547 { 06548 size_t soap_flag_transaction_USCOREid = 1; 06549 if (soap_element_begin_in(soap, tag, 0, type)) 06550 return NULL; 06551 a = (struct ns1__CloseTransaction *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CloseTransaction, sizeof(struct ns1__CloseTransaction), 0, NULL, NULL, NULL); 06552 if (!a) 06553 return NULL; 06554 soap_default_ns1__CloseTransaction(soap, a); 06555 if (soap->body && !*soap->href) 06556 { 06557 for (;;) 06558 { soap->error = SOAP_TAG_MISMATCH; 06559 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 06560 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 06561 { soap_flag_transaction_USCOREid--; 06562 continue; 06563 } 06564 if (soap->error == SOAP_TAG_MISMATCH) 06565 soap->error = soap_ignore_element(soap); 06566 if (soap->error == SOAP_NO_TAG) 06567 break; 06568 if (soap->error) 06569 return NULL; 06570 } 06571 if (soap_element_end_in(soap, tag)) 06572 return NULL; 06573 } 06574 else 06575 { a = (struct ns1__CloseTransaction *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CloseTransaction, 0, sizeof(struct ns1__CloseTransaction), 0, NULL); 06576 if (soap->body && soap_element_end_in(soap, tag)) 06577 return NULL; 06578 } 06579 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_transaction_USCOREid > 0)) 06580 { soap->error = SOAP_OCCURS; 06581 return NULL; 06582 } 06583 return a; 06584 } 06585 06586 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CloseTransaction(struct soap *soap, const struct ns1__CloseTransaction *a, const char *tag, const char *type) 06587 { 06588 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CloseTransaction); 06589 if (soap_out_ns1__CloseTransaction(soap, tag?tag:"ns1:CloseTransaction", id, a, type)) 06590 return soap->error; 06591 return soap_putindependent(soap); 06592 } 06593 06594 SOAP_FMAC3 struct ns1__CloseTransaction * SOAP_FMAC4 soap_get_ns1__CloseTransaction(struct soap *soap, struct ns1__CloseTransaction *p, const char *tag, const char *type) 06595 { 06596 if ((p = soap_in_ns1__CloseTransaction(soap, tag, p, type))) 06597 if (soap_getindependent(soap)) 06598 return NULL; 06599 return p; 06600 } 06601 06602 SOAP_FMAC1 struct ns1__CloseTransaction * SOAP_FMAC2 soap_instantiate_ns1__CloseTransaction(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06603 { 06604 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06605 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CloseTransaction(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06606 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CloseTransaction, n, soap_fdelete); 06607 if (!cp) 06608 return NULL; 06609 if (n < 0) 06610 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseTransaction); 06611 if (size) 06612 *size = sizeof(struct ns1__CloseTransaction); 06613 } 06614 else 06615 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseTransaction[n]); 06616 if (!cp->ptr) 06617 { soap->error = SOAP_EOM; 06618 return NULL; 06619 } 06620 if (size) 06621 *size = n * sizeof(struct ns1__CloseTransaction); 06622 } 06623 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06624 return (struct ns1__CloseTransaction*)cp->ptr; 06625 } 06626 06627 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CloseTransaction(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06628 { 06629 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06630 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CloseTransaction %p -> %p\n", q, p)); 06631 *(struct ns1__CloseTransaction*)p = *(struct ns1__CloseTransaction*)q; 06632 } 06633 06634 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CloseTransactionResponse(struct soap *soap, struct ns1__CloseTransactionResponse *a) 06635 { 06636 (void)soap; (void)a; /* appease -Wall -Werror */ 06637 soap_default_int(soap, &a->retvalue); 06638 } 06639 06640 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CloseTransactionResponse(struct soap *soap, const struct ns1__CloseTransactionResponse *a) 06641 { 06642 (void)soap; (void)a; /* appease -Wall -Werror */ 06643 } 06644 06645 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CloseTransactionResponse(struct soap *soap, const char *tag, int id, const struct ns1__CloseTransactionResponse *a, const char *type) 06646 { 06647 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CloseTransactionResponse), type)) 06648 return soap->error; 06649 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 06650 return soap->error; 06651 return soap_element_end_out(soap, tag); 06652 } 06653 06654 SOAP_FMAC3 struct ns1__CloseTransactionResponse * SOAP_FMAC4 soap_in_ns1__CloseTransactionResponse(struct soap *soap, const char *tag, struct ns1__CloseTransactionResponse *a, const char *type) 06655 { 06656 size_t soap_flag_retvalue = 1; 06657 if (soap_element_begin_in(soap, tag, 0, type)) 06658 return NULL; 06659 a = (struct ns1__CloseTransactionResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CloseTransactionResponse, sizeof(struct ns1__CloseTransactionResponse), 0, NULL, NULL, NULL); 06660 if (!a) 06661 return NULL; 06662 soap_default_ns1__CloseTransactionResponse(soap, a); 06663 if (soap->body && !*soap->href) 06664 { 06665 for (;;) 06666 { soap->error = SOAP_TAG_MISMATCH; 06667 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 06668 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 06669 { soap_flag_retvalue--; 06670 continue; 06671 } 06672 if (soap->error == SOAP_TAG_MISMATCH) 06673 soap->error = soap_ignore_element(soap); 06674 if (soap->error == SOAP_NO_TAG) 06675 break; 06676 if (soap->error) 06677 return NULL; 06678 } 06679 if (soap_element_end_in(soap, tag)) 06680 return NULL; 06681 } 06682 else 06683 { a = (struct ns1__CloseTransactionResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CloseTransactionResponse, 0, sizeof(struct ns1__CloseTransactionResponse), 0, NULL); 06684 if (soap->body && soap_element_end_in(soap, tag)) 06685 return NULL; 06686 } 06687 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 06688 { soap->error = SOAP_OCCURS; 06689 return NULL; 06690 } 06691 return a; 06692 } 06693 06694 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CloseTransactionResponse(struct soap *soap, const struct ns1__CloseTransactionResponse *a, const char *tag, const char *type) 06695 { 06696 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CloseTransactionResponse); 06697 if (soap_out_ns1__CloseTransactionResponse(soap, tag?tag:"ns1:CloseTransactionResponse", id, a, type)) 06698 return soap->error; 06699 return soap_putindependent(soap); 06700 } 06701 06702 SOAP_FMAC3 struct ns1__CloseTransactionResponse * SOAP_FMAC4 soap_get_ns1__CloseTransactionResponse(struct soap *soap, struct ns1__CloseTransactionResponse *p, const char *tag, const char *type) 06703 { 06704 if ((p = soap_in_ns1__CloseTransactionResponse(soap, tag, p, type))) 06705 if (soap_getindependent(soap)) 06706 return NULL; 06707 return p; 06708 } 06709 06710 SOAP_FMAC1 struct ns1__CloseTransactionResponse * SOAP_FMAC2 soap_instantiate_ns1__CloseTransactionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06711 { 06712 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06713 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CloseTransactionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06714 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CloseTransactionResponse, n, soap_fdelete); 06715 if (!cp) 06716 return NULL; 06717 if (n < 0) 06718 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseTransactionResponse); 06719 if (size) 06720 *size = sizeof(struct ns1__CloseTransactionResponse); 06721 } 06722 else 06723 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseTransactionResponse[n]); 06724 if (!cp->ptr) 06725 { soap->error = SOAP_EOM; 06726 return NULL; 06727 } 06728 if (size) 06729 *size = n * sizeof(struct ns1__CloseTransactionResponse); 06730 } 06731 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06732 return (struct ns1__CloseTransactionResponse*)cp->ptr; 06733 } 06734 06735 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CloseTransactionResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06736 { 06737 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06738 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CloseTransactionResponse %p -> %p\n", q, p)); 06739 *(struct ns1__CloseTransactionResponse*)p = *(struct ns1__CloseTransactionResponse*)q; 06740 } 06741 06742 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetTransactionId(struct soap *soap, struct ns1__GetTransactionId *a) 06743 { 06744 (void)soap; (void)a; /* appease -Wall -Werror */ 06745 soap_default_int(soap, &a->session_USCOREid); 06746 soap_default_std__string(soap, &a->graph_USCOREname); 06747 } 06748 06749 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetTransactionId(struct soap *soap, const struct ns1__GetTransactionId *a) 06750 { 06751 (void)soap; (void)a; /* appease -Wall -Werror */ 06752 soap_serialize_std__string(soap, &a->graph_USCOREname); 06753 } 06754 06755 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetTransactionId(struct soap *soap, const char *tag, int id, const struct ns1__GetTransactionId *a, const char *type) 06756 { 06757 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetTransactionId), type)) 06758 return soap->error; 06759 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 06760 return soap->error; 06761 if (soap_out_std__string(soap, "graph_name", -1, &a->graph_USCOREname, "")) 06762 return soap->error; 06763 return soap_element_end_out(soap, tag); 06764 } 06765 06766 SOAP_FMAC3 struct ns1__GetTransactionId * SOAP_FMAC4 soap_in_ns1__GetTransactionId(struct soap *soap, const char *tag, struct ns1__GetTransactionId *a, const char *type) 06767 { 06768 size_t soap_flag_session_USCOREid = 1; 06769 size_t soap_flag_graph_USCOREname = 1; 06770 if (soap_element_begin_in(soap, tag, 0, type)) 06771 return NULL; 06772 a = (struct ns1__GetTransactionId *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetTransactionId, sizeof(struct ns1__GetTransactionId), soap->type, soap->arrayType); 06773 if (!a) 06774 return NULL; 06775 soap_default_ns1__GetTransactionId(soap, a); 06776 if (soap->body && !*soap->href) 06777 { 06778 for (;;) 06779 { soap->error = SOAP_TAG_MISMATCH; 06780 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 06781 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 06782 { soap_flag_session_USCOREid--; 06783 continue; 06784 } 06785 if (soap_flag_graph_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 06786 if (soap_in_std__string(soap, "graph_name", &a->graph_USCOREname, "xsd:string")) 06787 { soap_flag_graph_USCOREname--; 06788 continue; 06789 } 06790 if (soap->error == SOAP_TAG_MISMATCH) 06791 soap->error = soap_ignore_element(soap); 06792 if (soap->error == SOAP_NO_TAG) 06793 break; 06794 if (soap->error) 06795 return NULL; 06796 } 06797 if (soap_element_end_in(soap, tag)) 06798 return NULL; 06799 } 06800 else 06801 { a = (struct ns1__GetTransactionId *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetTransactionId, 0, sizeof(struct ns1__GetTransactionId), 0, soap_copy_ns1__GetTransactionId); 06802 if (soap->body && soap_element_end_in(soap, tag)) 06803 return NULL; 06804 } 06805 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_graph_USCOREname > 0)) 06806 { soap->error = SOAP_OCCURS; 06807 return NULL; 06808 } 06809 return a; 06810 } 06811 06812 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetTransactionId(struct soap *soap, const struct ns1__GetTransactionId *a, const char *tag, const char *type) 06813 { 06814 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetTransactionId); 06815 if (soap_out_ns1__GetTransactionId(soap, tag?tag:"ns1:GetTransactionId", id, a, type)) 06816 return soap->error; 06817 return soap_putindependent(soap); 06818 } 06819 06820 SOAP_FMAC3 struct ns1__GetTransactionId * SOAP_FMAC4 soap_get_ns1__GetTransactionId(struct soap *soap, struct ns1__GetTransactionId *p, const char *tag, const char *type) 06821 { 06822 if ((p = soap_in_ns1__GetTransactionId(soap, tag, p, type))) 06823 if (soap_getindependent(soap)) 06824 return NULL; 06825 return p; 06826 } 06827 06828 SOAP_FMAC1 struct ns1__GetTransactionId * SOAP_FMAC2 soap_instantiate_ns1__GetTransactionId(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06829 { 06830 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06831 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetTransactionId(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06832 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetTransactionId, n, soap_fdelete); 06833 if (!cp) 06834 return NULL; 06835 if (n < 0) 06836 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTransactionId); 06837 if (size) 06838 *size = sizeof(struct ns1__GetTransactionId); 06839 } 06840 else 06841 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTransactionId[n]); 06842 if (!cp->ptr) 06843 { soap->error = SOAP_EOM; 06844 return NULL; 06845 } 06846 if (size) 06847 *size = n * sizeof(struct ns1__GetTransactionId); 06848 } 06849 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06850 return (struct ns1__GetTransactionId*)cp->ptr; 06851 } 06852 06853 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetTransactionId(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06854 { 06855 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06856 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetTransactionId %p -> %p\n", q, p)); 06857 *(struct ns1__GetTransactionId*)p = *(struct ns1__GetTransactionId*)q; 06858 } 06859 06860 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetTransactionIdResponse(struct soap *soap, struct ns1__GetTransactionIdResponse *a) 06861 { 06862 (void)soap; (void)a; /* appease -Wall -Werror */ 06863 soap_default_int(soap, &a->retvalue); 06864 soap_default_int(soap, &a->transaction_USCOREid); 06865 } 06866 06867 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetTransactionIdResponse(struct soap *soap, const struct ns1__GetTransactionIdResponse *a) 06868 { 06869 (void)soap; (void)a; /* appease -Wall -Werror */ 06870 } 06871 06872 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetTransactionIdResponse(struct soap *soap, const char *tag, int id, const struct ns1__GetTransactionIdResponse *a, const char *type) 06873 { 06874 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetTransactionIdResponse), type)) 06875 return soap->error; 06876 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 06877 return soap->error; 06878 if (soap_out_int(soap, "transaction_id", -1, &a->transaction_USCOREid, "")) 06879 return soap->error; 06880 return soap_element_end_out(soap, tag); 06881 } 06882 06883 SOAP_FMAC3 struct ns1__GetTransactionIdResponse * SOAP_FMAC4 soap_in_ns1__GetTransactionIdResponse(struct soap *soap, const char *tag, struct ns1__GetTransactionIdResponse *a, const char *type) 06884 { 06885 size_t soap_flag_retvalue = 1; 06886 size_t soap_flag_transaction_USCOREid = 1; 06887 if (soap_element_begin_in(soap, tag, 0, type)) 06888 return NULL; 06889 a = (struct ns1__GetTransactionIdResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetTransactionIdResponse, sizeof(struct ns1__GetTransactionIdResponse), 0, NULL, NULL, NULL); 06890 if (!a) 06891 return NULL; 06892 soap_default_ns1__GetTransactionIdResponse(soap, a); 06893 if (soap->body && !*soap->href) 06894 { 06895 for (;;) 06896 { soap->error = SOAP_TAG_MISMATCH; 06897 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 06898 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 06899 { soap_flag_retvalue--; 06900 continue; 06901 } 06902 if (soap_flag_transaction_USCOREid && soap->error == SOAP_TAG_MISMATCH) 06903 if (soap_in_int(soap, "transaction_id", &a->transaction_USCOREid, "xsd:int")) 06904 { soap_flag_transaction_USCOREid--; 06905 continue; 06906 } 06907 if (soap->error == SOAP_TAG_MISMATCH) 06908 soap->error = soap_ignore_element(soap); 06909 if (soap->error == SOAP_NO_TAG) 06910 break; 06911 if (soap->error) 06912 return NULL; 06913 } 06914 if (soap_element_end_in(soap, tag)) 06915 return NULL; 06916 } 06917 else 06918 { a = (struct ns1__GetTransactionIdResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetTransactionIdResponse, 0, sizeof(struct ns1__GetTransactionIdResponse), 0, NULL); 06919 if (soap->body && soap_element_end_in(soap, tag)) 06920 return NULL; 06921 } 06922 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0 || soap_flag_transaction_USCOREid > 0)) 06923 { soap->error = SOAP_OCCURS; 06924 return NULL; 06925 } 06926 return a; 06927 } 06928 06929 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetTransactionIdResponse(struct soap *soap, const struct ns1__GetTransactionIdResponse *a, const char *tag, const char *type) 06930 { 06931 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetTransactionIdResponse); 06932 if (soap_out_ns1__GetTransactionIdResponse(soap, tag?tag:"ns1:GetTransactionIdResponse", id, a, type)) 06933 return soap->error; 06934 return soap_putindependent(soap); 06935 } 06936 06937 SOAP_FMAC3 struct ns1__GetTransactionIdResponse * SOAP_FMAC4 soap_get_ns1__GetTransactionIdResponse(struct soap *soap, struct ns1__GetTransactionIdResponse *p, const char *tag, const char *type) 06938 { 06939 if ((p = soap_in_ns1__GetTransactionIdResponse(soap, tag, p, type))) 06940 if (soap_getindependent(soap)) 06941 return NULL; 06942 return p; 06943 } 06944 06945 SOAP_FMAC1 struct ns1__GetTransactionIdResponse * SOAP_FMAC2 soap_instantiate_ns1__GetTransactionIdResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 06946 { 06947 (void)type; (void)arrayType; /* appease -Wall -Werror */ 06948 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetTransactionIdResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 06949 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetTransactionIdResponse, n, soap_fdelete); 06950 if (!cp) 06951 return NULL; 06952 if (n < 0) 06953 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTransactionIdResponse); 06954 if (size) 06955 *size = sizeof(struct ns1__GetTransactionIdResponse); 06956 } 06957 else 06958 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetTransactionIdResponse[n]); 06959 if (!cp->ptr) 06960 { soap->error = SOAP_EOM; 06961 return NULL; 06962 } 06963 if (size) 06964 *size = n * sizeof(struct ns1__GetTransactionIdResponse); 06965 } 06966 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 06967 return (struct ns1__GetTransactionIdResponse*)cp->ptr; 06968 } 06969 06970 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetTransactionIdResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 06971 { 06972 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 06973 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetTransactionIdResponse %p -> %p\n", q, p)); 06974 *(struct ns1__GetTransactionIdResponse*)p = *(struct ns1__GetTransactionIdResponse*)q; 06975 } 06976 06977 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CloseSession(struct soap *soap, struct ns1__CloseSession *a) 06978 { 06979 (void)soap; (void)a; /* appease -Wall -Werror */ 06980 soap_default_int(soap, &a->session_USCOREid); 06981 } 06982 06983 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CloseSession(struct soap *soap, const struct ns1__CloseSession *a) 06984 { 06985 (void)soap; (void)a; /* appease -Wall -Werror */ 06986 } 06987 06988 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CloseSession(struct soap *soap, const char *tag, int id, const struct ns1__CloseSession *a, const char *type) 06989 { 06990 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CloseSession), type)) 06991 return soap->error; 06992 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 06993 return soap->error; 06994 return soap_element_end_out(soap, tag); 06995 } 06996 06997 SOAP_FMAC3 struct ns1__CloseSession * SOAP_FMAC4 soap_in_ns1__CloseSession(struct soap *soap, const char *tag, struct ns1__CloseSession *a, const char *type) 06998 { 06999 size_t soap_flag_session_USCOREid = 1; 07000 if (soap_element_begin_in(soap, tag, 0, type)) 07001 return NULL; 07002 a = (struct ns1__CloseSession *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CloseSession, sizeof(struct ns1__CloseSession), 0, NULL, NULL, NULL); 07003 if (!a) 07004 return NULL; 07005 soap_default_ns1__CloseSession(soap, a); 07006 if (soap->body && !*soap->href) 07007 { 07008 for (;;) 07009 { soap->error = SOAP_TAG_MISMATCH; 07010 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 07011 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 07012 { soap_flag_session_USCOREid--; 07013 continue; 07014 } 07015 if (soap->error == SOAP_TAG_MISMATCH) 07016 soap->error = soap_ignore_element(soap); 07017 if (soap->error == SOAP_NO_TAG) 07018 break; 07019 if (soap->error) 07020 return NULL; 07021 } 07022 if (soap_element_end_in(soap, tag)) 07023 return NULL; 07024 } 07025 else 07026 { a = (struct ns1__CloseSession *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CloseSession, 0, sizeof(struct ns1__CloseSession), 0, NULL); 07027 if (soap->body && soap_element_end_in(soap, tag)) 07028 return NULL; 07029 } 07030 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0)) 07031 { soap->error = SOAP_OCCURS; 07032 return NULL; 07033 } 07034 return a; 07035 } 07036 07037 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CloseSession(struct soap *soap, const struct ns1__CloseSession *a, const char *tag, const char *type) 07038 { 07039 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CloseSession); 07040 if (soap_out_ns1__CloseSession(soap, tag?tag:"ns1:CloseSession", id, a, type)) 07041 return soap->error; 07042 return soap_putindependent(soap); 07043 } 07044 07045 SOAP_FMAC3 struct ns1__CloseSession * SOAP_FMAC4 soap_get_ns1__CloseSession(struct soap *soap, struct ns1__CloseSession *p, const char *tag, const char *type) 07046 { 07047 if ((p = soap_in_ns1__CloseSession(soap, tag, p, type))) 07048 if (soap_getindependent(soap)) 07049 return NULL; 07050 return p; 07051 } 07052 07053 SOAP_FMAC1 struct ns1__CloseSession * SOAP_FMAC2 soap_instantiate_ns1__CloseSession(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07054 { 07055 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07056 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CloseSession(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07057 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CloseSession, n, soap_fdelete); 07058 if (!cp) 07059 return NULL; 07060 if (n < 0) 07061 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseSession); 07062 if (size) 07063 *size = sizeof(struct ns1__CloseSession); 07064 } 07065 else 07066 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseSession[n]); 07067 if (!cp->ptr) 07068 { soap->error = SOAP_EOM; 07069 return NULL; 07070 } 07071 if (size) 07072 *size = n * sizeof(struct ns1__CloseSession); 07073 } 07074 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07075 return (struct ns1__CloseSession*)cp->ptr; 07076 } 07077 07078 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CloseSession(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07079 { 07080 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07081 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CloseSession %p -> %p\n", q, p)); 07082 *(struct ns1__CloseSession*)p = *(struct ns1__CloseSession*)q; 07083 } 07084 07085 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CloseSessionResponse(struct soap *soap, struct ns1__CloseSessionResponse *a) 07086 { 07087 (void)soap; (void)a; /* appease -Wall -Werror */ 07088 soap_default_int(soap, &a->retvalue); 07089 } 07090 07091 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CloseSessionResponse(struct soap *soap, const struct ns1__CloseSessionResponse *a) 07092 { 07093 (void)soap; (void)a; /* appease -Wall -Werror */ 07094 } 07095 07096 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CloseSessionResponse(struct soap *soap, const char *tag, int id, const struct ns1__CloseSessionResponse *a, const char *type) 07097 { 07098 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CloseSessionResponse), type)) 07099 return soap->error; 07100 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 07101 return soap->error; 07102 return soap_element_end_out(soap, tag); 07103 } 07104 07105 SOAP_FMAC3 struct ns1__CloseSessionResponse * SOAP_FMAC4 soap_in_ns1__CloseSessionResponse(struct soap *soap, const char *tag, struct ns1__CloseSessionResponse *a, const char *type) 07106 { 07107 size_t soap_flag_retvalue = 1; 07108 if (soap_element_begin_in(soap, tag, 0, type)) 07109 return NULL; 07110 a = (struct ns1__CloseSessionResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CloseSessionResponse, sizeof(struct ns1__CloseSessionResponse), 0, NULL, NULL, NULL); 07111 if (!a) 07112 return NULL; 07113 soap_default_ns1__CloseSessionResponse(soap, a); 07114 if (soap->body && !*soap->href) 07115 { 07116 for (;;) 07117 { soap->error = SOAP_TAG_MISMATCH; 07118 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 07119 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 07120 { soap_flag_retvalue--; 07121 continue; 07122 } 07123 if (soap->error == SOAP_TAG_MISMATCH) 07124 soap->error = soap_ignore_element(soap); 07125 if (soap->error == SOAP_NO_TAG) 07126 break; 07127 if (soap->error) 07128 return NULL; 07129 } 07130 if (soap_element_end_in(soap, tag)) 07131 return NULL; 07132 } 07133 else 07134 { a = (struct ns1__CloseSessionResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CloseSessionResponse, 0, sizeof(struct ns1__CloseSessionResponse), 0, NULL); 07135 if (soap->body && soap_element_end_in(soap, tag)) 07136 return NULL; 07137 } 07138 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 07139 { soap->error = SOAP_OCCURS; 07140 return NULL; 07141 } 07142 return a; 07143 } 07144 07145 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CloseSessionResponse(struct soap *soap, const struct ns1__CloseSessionResponse *a, const char *tag, const char *type) 07146 { 07147 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CloseSessionResponse); 07148 if (soap_out_ns1__CloseSessionResponse(soap, tag?tag:"ns1:CloseSessionResponse", id, a, type)) 07149 return soap->error; 07150 return soap_putindependent(soap); 07151 } 07152 07153 SOAP_FMAC3 struct ns1__CloseSessionResponse * SOAP_FMAC4 soap_get_ns1__CloseSessionResponse(struct soap *soap, struct ns1__CloseSessionResponse *p, const char *tag, const char *type) 07154 { 07155 if ((p = soap_in_ns1__CloseSessionResponse(soap, tag, p, type))) 07156 if (soap_getindependent(soap)) 07157 return NULL; 07158 return p; 07159 } 07160 07161 SOAP_FMAC1 struct ns1__CloseSessionResponse * SOAP_FMAC2 soap_instantiate_ns1__CloseSessionResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07162 { 07163 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07164 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CloseSessionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07165 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CloseSessionResponse, n, soap_fdelete); 07166 if (!cp) 07167 return NULL; 07168 if (n < 0) 07169 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseSessionResponse); 07170 if (size) 07171 *size = sizeof(struct ns1__CloseSessionResponse); 07172 } 07173 else 07174 { cp->ptr = (void*)SOAP_NEW(struct ns1__CloseSessionResponse[n]); 07175 if (!cp->ptr) 07176 { soap->error = SOAP_EOM; 07177 return NULL; 07178 } 07179 if (size) 07180 *size = n * sizeof(struct ns1__CloseSessionResponse); 07181 } 07182 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07183 return (struct ns1__CloseSessionResponse*)cp->ptr; 07184 } 07185 07186 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CloseSessionResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07187 { 07188 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07189 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CloseSessionResponse %p -> %p\n", q, p)); 07190 *(struct ns1__CloseSessionResponse*)p = *(struct ns1__CloseSessionResponse*)q; 07191 } 07192 07193 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GrantRightsToGraph(struct soap *soap, struct ns1__GrantRightsToGraph *a) 07194 { 07195 (void)soap; (void)a; /* appease -Wall -Werror */ 07196 soap_default_int(soap, &a->session_USCOREid); 07197 soap_default_std__string(soap, &a->gr_USCOREname); 07198 soap_default_int(soap, &a->rights_USCOREword); 07199 } 07200 07201 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GrantRightsToGraph(struct soap *soap, const struct ns1__GrantRightsToGraph *a) 07202 { 07203 (void)soap; (void)a; /* appease -Wall -Werror */ 07204 soap_serialize_std__string(soap, &a->gr_USCOREname); 07205 } 07206 07207 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GrantRightsToGraph(struct soap *soap, const char *tag, int id, const struct ns1__GrantRightsToGraph *a, const char *type) 07208 { 07209 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GrantRightsToGraph), type)) 07210 return soap->error; 07211 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 07212 return soap->error; 07213 if (soap_out_std__string(soap, "gr_name", -1, &a->gr_USCOREname, "")) 07214 return soap->error; 07215 if (soap_out_int(soap, "rights_word", -1, &a->rights_USCOREword, "")) 07216 return soap->error; 07217 return soap_element_end_out(soap, tag); 07218 } 07219 07220 SOAP_FMAC3 struct ns1__GrantRightsToGraph * SOAP_FMAC4 soap_in_ns1__GrantRightsToGraph(struct soap *soap, const char *tag, struct ns1__GrantRightsToGraph *a, const char *type) 07221 { 07222 size_t soap_flag_session_USCOREid = 1; 07223 size_t soap_flag_gr_USCOREname = 1; 07224 size_t soap_flag_rights_USCOREword = 1; 07225 if (soap_element_begin_in(soap, tag, 0, type)) 07226 return NULL; 07227 a = (struct ns1__GrantRightsToGraph *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GrantRightsToGraph, sizeof(struct ns1__GrantRightsToGraph), soap->type, soap->arrayType); 07228 if (!a) 07229 return NULL; 07230 soap_default_ns1__GrantRightsToGraph(soap, a); 07231 if (soap->body && !*soap->href) 07232 { 07233 for (;;) 07234 { soap->error = SOAP_TAG_MISMATCH; 07235 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 07236 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 07237 { soap_flag_session_USCOREid--; 07238 continue; 07239 } 07240 if (soap_flag_gr_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07241 if (soap_in_std__string(soap, "gr_name", &a->gr_USCOREname, "xsd:string")) 07242 { soap_flag_gr_USCOREname--; 07243 continue; 07244 } 07245 if (soap_flag_rights_USCOREword && soap->error == SOAP_TAG_MISMATCH) 07246 if (soap_in_int(soap, "rights_word", &a->rights_USCOREword, "xsd:int")) 07247 { soap_flag_rights_USCOREword--; 07248 continue; 07249 } 07250 if (soap->error == SOAP_TAG_MISMATCH) 07251 soap->error = soap_ignore_element(soap); 07252 if (soap->error == SOAP_NO_TAG) 07253 break; 07254 if (soap->error) 07255 return NULL; 07256 } 07257 if (soap_element_end_in(soap, tag)) 07258 return NULL; 07259 } 07260 else 07261 { a = (struct ns1__GrantRightsToGraph *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GrantRightsToGraph, 0, sizeof(struct ns1__GrantRightsToGraph), 0, soap_copy_ns1__GrantRightsToGraph); 07262 if (soap->body && soap_element_end_in(soap, tag)) 07263 return NULL; 07264 } 07265 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_gr_USCOREname > 0 || soap_flag_rights_USCOREword > 0)) 07266 { soap->error = SOAP_OCCURS; 07267 return NULL; 07268 } 07269 return a; 07270 } 07271 07272 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GrantRightsToGraph(struct soap *soap, const struct ns1__GrantRightsToGraph *a, const char *tag, const char *type) 07273 { 07274 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GrantRightsToGraph); 07275 if (soap_out_ns1__GrantRightsToGraph(soap, tag?tag:"ns1:GrantRightsToGraph", id, a, type)) 07276 return soap->error; 07277 return soap_putindependent(soap); 07278 } 07279 07280 SOAP_FMAC3 struct ns1__GrantRightsToGraph * SOAP_FMAC4 soap_get_ns1__GrantRightsToGraph(struct soap *soap, struct ns1__GrantRightsToGraph *p, const char *tag, const char *type) 07281 { 07282 if ((p = soap_in_ns1__GrantRightsToGraph(soap, tag, p, type))) 07283 if (soap_getindependent(soap)) 07284 return NULL; 07285 return p; 07286 } 07287 07288 SOAP_FMAC1 struct ns1__GrantRightsToGraph * SOAP_FMAC2 soap_instantiate_ns1__GrantRightsToGraph(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07289 { 07290 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07291 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GrantRightsToGraph(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07292 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GrantRightsToGraph, n, soap_fdelete); 07293 if (!cp) 07294 return NULL; 07295 if (n < 0) 07296 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGraph); 07297 if (size) 07298 *size = sizeof(struct ns1__GrantRightsToGraph); 07299 } 07300 else 07301 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGraph[n]); 07302 if (!cp->ptr) 07303 { soap->error = SOAP_EOM; 07304 return NULL; 07305 } 07306 if (size) 07307 *size = n * sizeof(struct ns1__GrantRightsToGraph); 07308 } 07309 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07310 return (struct ns1__GrantRightsToGraph*)cp->ptr; 07311 } 07312 07313 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GrantRightsToGraph(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07314 { 07315 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07316 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GrantRightsToGraph %p -> %p\n", q, p)); 07317 *(struct ns1__GrantRightsToGraph*)p = *(struct ns1__GrantRightsToGraph*)q; 07318 } 07319 07320 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GrantRightsToGraphResponse(struct soap *soap, struct ns1__GrantRightsToGraphResponse *a) 07321 { 07322 (void)soap; (void)a; /* appease -Wall -Werror */ 07323 soap_default_int(soap, &a->retvalue); 07324 } 07325 07326 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GrantRightsToGraphResponse(struct soap *soap, const struct ns1__GrantRightsToGraphResponse *a) 07327 { 07328 (void)soap; (void)a; /* appease -Wall -Werror */ 07329 } 07330 07331 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GrantRightsToGraphResponse(struct soap *soap, const char *tag, int id, const struct ns1__GrantRightsToGraphResponse *a, const char *type) 07332 { 07333 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GrantRightsToGraphResponse), type)) 07334 return soap->error; 07335 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 07336 return soap->error; 07337 return soap_element_end_out(soap, tag); 07338 } 07339 07340 SOAP_FMAC3 struct ns1__GrantRightsToGraphResponse * SOAP_FMAC4 soap_in_ns1__GrantRightsToGraphResponse(struct soap *soap, const char *tag, struct ns1__GrantRightsToGraphResponse *a, const char *type) 07341 { 07342 size_t soap_flag_retvalue = 1; 07343 if (soap_element_begin_in(soap, tag, 0, type)) 07344 return NULL; 07345 a = (struct ns1__GrantRightsToGraphResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GrantRightsToGraphResponse, sizeof(struct ns1__GrantRightsToGraphResponse), 0, NULL, NULL, NULL); 07346 if (!a) 07347 return NULL; 07348 soap_default_ns1__GrantRightsToGraphResponse(soap, a); 07349 if (soap->body && !*soap->href) 07350 { 07351 for (;;) 07352 { soap->error = SOAP_TAG_MISMATCH; 07353 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 07354 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 07355 { soap_flag_retvalue--; 07356 continue; 07357 } 07358 if (soap->error == SOAP_TAG_MISMATCH) 07359 soap->error = soap_ignore_element(soap); 07360 if (soap->error == SOAP_NO_TAG) 07361 break; 07362 if (soap->error) 07363 return NULL; 07364 } 07365 if (soap_element_end_in(soap, tag)) 07366 return NULL; 07367 } 07368 else 07369 { a = (struct ns1__GrantRightsToGraphResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GrantRightsToGraphResponse, 0, sizeof(struct ns1__GrantRightsToGraphResponse), 0, NULL); 07370 if (soap->body && soap_element_end_in(soap, tag)) 07371 return NULL; 07372 } 07373 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 07374 { soap->error = SOAP_OCCURS; 07375 return NULL; 07376 } 07377 return a; 07378 } 07379 07380 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GrantRightsToGraphResponse(struct soap *soap, const struct ns1__GrantRightsToGraphResponse *a, const char *tag, const char *type) 07381 { 07382 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GrantRightsToGraphResponse); 07383 if (soap_out_ns1__GrantRightsToGraphResponse(soap, tag?tag:"ns1:GrantRightsToGraphResponse", id, a, type)) 07384 return soap->error; 07385 return soap_putindependent(soap); 07386 } 07387 07388 SOAP_FMAC3 struct ns1__GrantRightsToGraphResponse * SOAP_FMAC4 soap_get_ns1__GrantRightsToGraphResponse(struct soap *soap, struct ns1__GrantRightsToGraphResponse *p, const char *tag, const char *type) 07389 { 07390 if ((p = soap_in_ns1__GrantRightsToGraphResponse(soap, tag, p, type))) 07391 if (soap_getindependent(soap)) 07392 return NULL; 07393 return p; 07394 } 07395 07396 SOAP_FMAC1 struct ns1__GrantRightsToGraphResponse * SOAP_FMAC2 soap_instantiate_ns1__GrantRightsToGraphResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07397 { 07398 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07399 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GrantRightsToGraphResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07400 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GrantRightsToGraphResponse, n, soap_fdelete); 07401 if (!cp) 07402 return NULL; 07403 if (n < 0) 07404 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGraphResponse); 07405 if (size) 07406 *size = sizeof(struct ns1__GrantRightsToGraphResponse); 07407 } 07408 else 07409 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGraphResponse[n]); 07410 if (!cp->ptr) 07411 { soap->error = SOAP_EOM; 07412 return NULL; 07413 } 07414 if (size) 07415 *size = n * sizeof(struct ns1__GrantRightsToGraphResponse); 07416 } 07417 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07418 return (struct ns1__GrantRightsToGraphResponse*)cp->ptr; 07419 } 07420 07421 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GrantRightsToGraphResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07422 { 07423 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07424 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GrantRightsToGraphResponse %p -> %p\n", q, p)); 07425 *(struct ns1__GrantRightsToGraphResponse*)p = *(struct ns1__GrantRightsToGraphResponse*)q; 07426 } 07427 07428 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteGraph(struct soap *soap, struct ns1__DeleteGraph *a) 07429 { 07430 (void)soap; (void)a; /* appease -Wall -Werror */ 07431 soap_default_int(soap, &a->session_USCOREid); 07432 soap_default_std__string(soap, &a->gr_USCOREname); 07433 } 07434 07435 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteGraph(struct soap *soap, const struct ns1__DeleteGraph *a) 07436 { 07437 (void)soap; (void)a; /* appease -Wall -Werror */ 07438 soap_serialize_std__string(soap, &a->gr_USCOREname); 07439 } 07440 07441 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteGraph(struct soap *soap, const char *tag, int id, const struct ns1__DeleteGraph *a, const char *type) 07442 { 07443 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteGraph), type)) 07444 return soap->error; 07445 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 07446 return soap->error; 07447 if (soap_out_std__string(soap, "gr_name", -1, &a->gr_USCOREname, "")) 07448 return soap->error; 07449 return soap_element_end_out(soap, tag); 07450 } 07451 07452 SOAP_FMAC3 struct ns1__DeleteGraph * SOAP_FMAC4 soap_in_ns1__DeleteGraph(struct soap *soap, const char *tag, struct ns1__DeleteGraph *a, const char *type) 07453 { 07454 size_t soap_flag_session_USCOREid = 1; 07455 size_t soap_flag_gr_USCOREname = 1; 07456 if (soap_element_begin_in(soap, tag, 0, type)) 07457 return NULL; 07458 a = (struct ns1__DeleteGraph *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteGraph, sizeof(struct ns1__DeleteGraph), soap->type, soap->arrayType); 07459 if (!a) 07460 return NULL; 07461 soap_default_ns1__DeleteGraph(soap, a); 07462 if (soap->body && !*soap->href) 07463 { 07464 for (;;) 07465 { soap->error = SOAP_TAG_MISMATCH; 07466 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 07467 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 07468 { soap_flag_session_USCOREid--; 07469 continue; 07470 } 07471 if (soap_flag_gr_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07472 if (soap_in_std__string(soap, "gr_name", &a->gr_USCOREname, "xsd:string")) 07473 { soap_flag_gr_USCOREname--; 07474 continue; 07475 } 07476 if (soap->error == SOAP_TAG_MISMATCH) 07477 soap->error = soap_ignore_element(soap); 07478 if (soap->error == SOAP_NO_TAG) 07479 break; 07480 if (soap->error) 07481 return NULL; 07482 } 07483 if (soap_element_end_in(soap, tag)) 07484 return NULL; 07485 } 07486 else 07487 { a = (struct ns1__DeleteGraph *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteGraph, 0, sizeof(struct ns1__DeleteGraph), 0, soap_copy_ns1__DeleteGraph); 07488 if (soap->body && soap_element_end_in(soap, tag)) 07489 return NULL; 07490 } 07491 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_gr_USCOREname > 0)) 07492 { soap->error = SOAP_OCCURS; 07493 return NULL; 07494 } 07495 return a; 07496 } 07497 07498 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteGraph(struct soap *soap, const struct ns1__DeleteGraph *a, const char *tag, const char *type) 07499 { 07500 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteGraph); 07501 if (soap_out_ns1__DeleteGraph(soap, tag?tag:"ns1:DeleteGraph", id, a, type)) 07502 return soap->error; 07503 return soap_putindependent(soap); 07504 } 07505 07506 SOAP_FMAC3 struct ns1__DeleteGraph * SOAP_FMAC4 soap_get_ns1__DeleteGraph(struct soap *soap, struct ns1__DeleteGraph *p, const char *tag, const char *type) 07507 { 07508 if ((p = soap_in_ns1__DeleteGraph(soap, tag, p, type))) 07509 if (soap_getindependent(soap)) 07510 return NULL; 07511 return p; 07512 } 07513 07514 SOAP_FMAC1 struct ns1__DeleteGraph * SOAP_FMAC2 soap_instantiate_ns1__DeleteGraph(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07515 { 07516 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07517 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteGraph(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07518 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteGraph, n, soap_fdelete); 07519 if (!cp) 07520 return NULL; 07521 if (n < 0) 07522 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteGraph); 07523 if (size) 07524 *size = sizeof(struct ns1__DeleteGraph); 07525 } 07526 else 07527 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteGraph[n]); 07528 if (!cp->ptr) 07529 { soap->error = SOAP_EOM; 07530 return NULL; 07531 } 07532 if (size) 07533 *size = n * sizeof(struct ns1__DeleteGraph); 07534 } 07535 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07536 return (struct ns1__DeleteGraph*)cp->ptr; 07537 } 07538 07539 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteGraph(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07540 { 07541 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07542 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteGraph %p -> %p\n", q, p)); 07543 *(struct ns1__DeleteGraph*)p = *(struct ns1__DeleteGraph*)q; 07544 } 07545 07546 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteGraphResponse(struct soap *soap, struct ns1__DeleteGraphResponse *a) 07547 { 07548 (void)soap; (void)a; /* appease -Wall -Werror */ 07549 soap_default_int(soap, &a->retvalue); 07550 } 07551 07552 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteGraphResponse(struct soap *soap, const struct ns1__DeleteGraphResponse *a) 07553 { 07554 (void)soap; (void)a; /* appease -Wall -Werror */ 07555 } 07556 07557 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteGraphResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteGraphResponse *a, const char *type) 07558 { 07559 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteGraphResponse), type)) 07560 return soap->error; 07561 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 07562 return soap->error; 07563 return soap_element_end_out(soap, tag); 07564 } 07565 07566 SOAP_FMAC3 struct ns1__DeleteGraphResponse * SOAP_FMAC4 soap_in_ns1__DeleteGraphResponse(struct soap *soap, const char *tag, struct ns1__DeleteGraphResponse *a, const char *type) 07567 { 07568 size_t soap_flag_retvalue = 1; 07569 if (soap_element_begin_in(soap, tag, 0, type)) 07570 return NULL; 07571 a = (struct ns1__DeleteGraphResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteGraphResponse, sizeof(struct ns1__DeleteGraphResponse), 0, NULL, NULL, NULL); 07572 if (!a) 07573 return NULL; 07574 soap_default_ns1__DeleteGraphResponse(soap, a); 07575 if (soap->body && !*soap->href) 07576 { 07577 for (;;) 07578 { soap->error = SOAP_TAG_MISMATCH; 07579 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 07580 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 07581 { soap_flag_retvalue--; 07582 continue; 07583 } 07584 if (soap->error == SOAP_TAG_MISMATCH) 07585 soap->error = soap_ignore_element(soap); 07586 if (soap->error == SOAP_NO_TAG) 07587 break; 07588 if (soap->error) 07589 return NULL; 07590 } 07591 if (soap_element_end_in(soap, tag)) 07592 return NULL; 07593 } 07594 else 07595 { a = (struct ns1__DeleteGraphResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteGraphResponse, 0, sizeof(struct ns1__DeleteGraphResponse), 0, NULL); 07596 if (soap->body && soap_element_end_in(soap, tag)) 07597 return NULL; 07598 } 07599 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 07600 { soap->error = SOAP_OCCURS; 07601 return NULL; 07602 } 07603 return a; 07604 } 07605 07606 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteGraphResponse(struct soap *soap, const struct ns1__DeleteGraphResponse *a, const char *tag, const char *type) 07607 { 07608 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteGraphResponse); 07609 if (soap_out_ns1__DeleteGraphResponse(soap, tag?tag:"ns1:DeleteGraphResponse", id, a, type)) 07610 return soap->error; 07611 return soap_putindependent(soap); 07612 } 07613 07614 SOAP_FMAC3 struct ns1__DeleteGraphResponse * SOAP_FMAC4 soap_get_ns1__DeleteGraphResponse(struct soap *soap, struct ns1__DeleteGraphResponse *p, const char *tag, const char *type) 07615 { 07616 if ((p = soap_in_ns1__DeleteGraphResponse(soap, tag, p, type))) 07617 if (soap_getindependent(soap)) 07618 return NULL; 07619 return p; 07620 } 07621 07622 SOAP_FMAC1 struct ns1__DeleteGraphResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteGraphResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07623 { 07624 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07625 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteGraphResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07626 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteGraphResponse, n, soap_fdelete); 07627 if (!cp) 07628 return NULL; 07629 if (n < 0) 07630 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteGraphResponse); 07631 if (size) 07632 *size = sizeof(struct ns1__DeleteGraphResponse); 07633 } 07634 else 07635 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteGraphResponse[n]); 07636 if (!cp->ptr) 07637 { soap->error = SOAP_EOM; 07638 return NULL; 07639 } 07640 if (size) 07641 *size = n * sizeof(struct ns1__DeleteGraphResponse); 07642 } 07643 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07644 return (struct ns1__DeleteGraphResponse*)cp->ptr; 07645 } 07646 07647 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteGraphResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07648 { 07649 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07650 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteGraphResponse %p -> %p\n", q, p)); 07651 *(struct ns1__DeleteGraphResponse*)p = *(struct ns1__DeleteGraphResponse*)q; 07652 } 07653 07654 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateGraph(struct soap *soap, struct ns1__CreateGraph *a) 07655 { 07656 (void)soap; (void)a; /* appease -Wall -Werror */ 07657 soap_default_int(soap, &a->session_USCOREid); 07658 soap_default_std__string(soap, &a->gr_USCOREname); 07659 soap_default_std__string(soap, &a->description); 07660 soap_default_std__string(soap, &a->uname); 07661 } 07662 07663 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateGraph(struct soap *soap, const struct ns1__CreateGraph *a) 07664 { 07665 (void)soap; (void)a; /* appease -Wall -Werror */ 07666 soap_serialize_std__string(soap, &a->gr_USCOREname); 07667 soap_serialize_std__string(soap, &a->description); 07668 soap_serialize_std__string(soap, &a->uname); 07669 } 07670 07671 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateGraph(struct soap *soap, const char *tag, int id, const struct ns1__CreateGraph *a, const char *type) 07672 { 07673 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateGraph), type)) 07674 return soap->error; 07675 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 07676 return soap->error; 07677 if (soap_out_std__string(soap, "gr_name", -1, &a->gr_USCOREname, "")) 07678 return soap->error; 07679 if (soap_out_std__string(soap, "description", -1, &a->description, "")) 07680 return soap->error; 07681 if (soap_out_std__string(soap, "uname", -1, &a->uname, "")) 07682 return soap->error; 07683 return soap_element_end_out(soap, tag); 07684 } 07685 07686 SOAP_FMAC3 struct ns1__CreateGraph * SOAP_FMAC4 soap_in_ns1__CreateGraph(struct soap *soap, const char *tag, struct ns1__CreateGraph *a, const char *type) 07687 { 07688 size_t soap_flag_session_USCOREid = 1; 07689 size_t soap_flag_gr_USCOREname = 1; 07690 size_t soap_flag_description = 1; 07691 size_t soap_flag_uname = 1; 07692 if (soap_element_begin_in(soap, tag, 0, type)) 07693 return NULL; 07694 a = (struct ns1__CreateGraph *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateGraph, sizeof(struct ns1__CreateGraph), soap->type, soap->arrayType); 07695 if (!a) 07696 return NULL; 07697 soap_default_ns1__CreateGraph(soap, a); 07698 if (soap->body && !*soap->href) 07699 { 07700 for (;;) 07701 { soap->error = SOAP_TAG_MISMATCH; 07702 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 07703 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 07704 { soap_flag_session_USCOREid--; 07705 continue; 07706 } 07707 if (soap_flag_gr_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07708 if (soap_in_std__string(soap, "gr_name", &a->gr_USCOREname, "xsd:string")) 07709 { soap_flag_gr_USCOREname--; 07710 continue; 07711 } 07712 if (soap_flag_description && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07713 if (soap_in_std__string(soap, "description", &a->description, "xsd:string")) 07714 { soap_flag_description--; 07715 continue; 07716 } 07717 if (soap_flag_uname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07718 if (soap_in_std__string(soap, "uname", &a->uname, "xsd:string")) 07719 { soap_flag_uname--; 07720 continue; 07721 } 07722 if (soap->error == SOAP_TAG_MISMATCH) 07723 soap->error = soap_ignore_element(soap); 07724 if (soap->error == SOAP_NO_TAG) 07725 break; 07726 if (soap->error) 07727 return NULL; 07728 } 07729 if (soap_element_end_in(soap, tag)) 07730 return NULL; 07731 } 07732 else 07733 { a = (struct ns1__CreateGraph *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateGraph, 0, sizeof(struct ns1__CreateGraph), 0, soap_copy_ns1__CreateGraph); 07734 if (soap->body && soap_element_end_in(soap, tag)) 07735 return NULL; 07736 } 07737 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_gr_USCOREname > 0 || soap_flag_description > 0 || soap_flag_uname > 0)) 07738 { soap->error = SOAP_OCCURS; 07739 return NULL; 07740 } 07741 return a; 07742 } 07743 07744 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateGraph(struct soap *soap, const struct ns1__CreateGraph *a, const char *tag, const char *type) 07745 { 07746 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateGraph); 07747 if (soap_out_ns1__CreateGraph(soap, tag?tag:"ns1:CreateGraph", id, a, type)) 07748 return soap->error; 07749 return soap_putindependent(soap); 07750 } 07751 07752 SOAP_FMAC3 struct ns1__CreateGraph * SOAP_FMAC4 soap_get_ns1__CreateGraph(struct soap *soap, struct ns1__CreateGraph *p, const char *tag, const char *type) 07753 { 07754 if ((p = soap_in_ns1__CreateGraph(soap, tag, p, type))) 07755 if (soap_getindependent(soap)) 07756 return NULL; 07757 return p; 07758 } 07759 07760 SOAP_FMAC1 struct ns1__CreateGraph * SOAP_FMAC2 soap_instantiate_ns1__CreateGraph(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07761 { 07762 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07763 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateGraph(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07764 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateGraph, n, soap_fdelete); 07765 if (!cp) 07766 return NULL; 07767 if (n < 0) 07768 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateGraph); 07769 if (size) 07770 *size = sizeof(struct ns1__CreateGraph); 07771 } 07772 else 07773 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateGraph[n]); 07774 if (!cp->ptr) 07775 { soap->error = SOAP_EOM; 07776 return NULL; 07777 } 07778 if (size) 07779 *size = n * sizeof(struct ns1__CreateGraph); 07780 } 07781 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07782 return (struct ns1__CreateGraph*)cp->ptr; 07783 } 07784 07785 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateGraph(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07786 { 07787 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07788 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateGraph %p -> %p\n", q, p)); 07789 *(struct ns1__CreateGraph*)p = *(struct ns1__CreateGraph*)q; 07790 } 07791 07792 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateGraphResponse(struct soap *soap, struct ns1__CreateGraphResponse *a) 07793 { 07794 (void)soap; (void)a; /* appease -Wall -Werror */ 07795 soap_default_int(soap, &a->retvalue); 07796 } 07797 07798 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateGraphResponse(struct soap *soap, const struct ns1__CreateGraphResponse *a) 07799 { 07800 (void)soap; (void)a; /* appease -Wall -Werror */ 07801 } 07802 07803 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateGraphResponse(struct soap *soap, const char *tag, int id, const struct ns1__CreateGraphResponse *a, const char *type) 07804 { 07805 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateGraphResponse), type)) 07806 return soap->error; 07807 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 07808 return soap->error; 07809 return soap_element_end_out(soap, tag); 07810 } 07811 07812 SOAP_FMAC3 struct ns1__CreateGraphResponse * SOAP_FMAC4 soap_in_ns1__CreateGraphResponse(struct soap *soap, const char *tag, struct ns1__CreateGraphResponse *a, const char *type) 07813 { 07814 size_t soap_flag_retvalue = 1; 07815 if (soap_element_begin_in(soap, tag, 0, type)) 07816 return NULL; 07817 a = (struct ns1__CreateGraphResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateGraphResponse, sizeof(struct ns1__CreateGraphResponse), 0, NULL, NULL, NULL); 07818 if (!a) 07819 return NULL; 07820 soap_default_ns1__CreateGraphResponse(soap, a); 07821 if (soap->body && !*soap->href) 07822 { 07823 for (;;) 07824 { soap->error = SOAP_TAG_MISMATCH; 07825 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 07826 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 07827 { soap_flag_retvalue--; 07828 continue; 07829 } 07830 if (soap->error == SOAP_TAG_MISMATCH) 07831 soap->error = soap_ignore_element(soap); 07832 if (soap->error == SOAP_NO_TAG) 07833 break; 07834 if (soap->error) 07835 return NULL; 07836 } 07837 if (soap_element_end_in(soap, tag)) 07838 return NULL; 07839 } 07840 else 07841 { a = (struct ns1__CreateGraphResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateGraphResponse, 0, sizeof(struct ns1__CreateGraphResponse), 0, NULL); 07842 if (soap->body && soap_element_end_in(soap, tag)) 07843 return NULL; 07844 } 07845 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 07846 { soap->error = SOAP_OCCURS; 07847 return NULL; 07848 } 07849 return a; 07850 } 07851 07852 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateGraphResponse(struct soap *soap, const struct ns1__CreateGraphResponse *a, const char *tag, const char *type) 07853 { 07854 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateGraphResponse); 07855 if (soap_out_ns1__CreateGraphResponse(soap, tag?tag:"ns1:CreateGraphResponse", id, a, type)) 07856 return soap->error; 07857 return soap_putindependent(soap); 07858 } 07859 07860 SOAP_FMAC3 struct ns1__CreateGraphResponse * SOAP_FMAC4 soap_get_ns1__CreateGraphResponse(struct soap *soap, struct ns1__CreateGraphResponse *p, const char *tag, const char *type) 07861 { 07862 if ((p = soap_in_ns1__CreateGraphResponse(soap, tag, p, type))) 07863 if (soap_getindependent(soap)) 07864 return NULL; 07865 return p; 07866 } 07867 07868 SOAP_FMAC1 struct ns1__CreateGraphResponse * SOAP_FMAC2 soap_instantiate_ns1__CreateGraphResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07869 { 07870 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07871 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateGraphResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07872 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateGraphResponse, n, soap_fdelete); 07873 if (!cp) 07874 return NULL; 07875 if (n < 0) 07876 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateGraphResponse); 07877 if (size) 07878 *size = sizeof(struct ns1__CreateGraphResponse); 07879 } 07880 else 07881 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateGraphResponse[n]); 07882 if (!cp->ptr) 07883 { soap->error = SOAP_EOM; 07884 return NULL; 07885 } 07886 if (size) 07887 *size = n * sizeof(struct ns1__CreateGraphResponse); 07888 } 07889 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 07890 return (struct ns1__CreateGraphResponse*)cp->ptr; 07891 } 07892 07893 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateGraphResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 07894 { 07895 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 07896 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateGraphResponse %p -> %p\n", q, p)); 07897 *(struct ns1__CreateGraphResponse*)p = *(struct ns1__CreateGraphResponse*)q; 07898 } 07899 07900 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteUser(struct soap *soap, struct ns1__DeleteUser *a) 07901 { 07902 (void)soap; (void)a; /* appease -Wall -Werror */ 07903 soap_default_int(soap, &a->session_USCOREid); 07904 soap_default_std__string(soap, &a->uname); 07905 } 07906 07907 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteUser(struct soap *soap, const struct ns1__DeleteUser *a) 07908 { 07909 (void)soap; (void)a; /* appease -Wall -Werror */ 07910 soap_serialize_std__string(soap, &a->uname); 07911 } 07912 07913 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteUser(struct soap *soap, const char *tag, int id, const struct ns1__DeleteUser *a, const char *type) 07914 { 07915 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteUser), type)) 07916 return soap->error; 07917 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 07918 return soap->error; 07919 if (soap_out_std__string(soap, "uname", -1, &a->uname, "")) 07920 return soap->error; 07921 return soap_element_end_out(soap, tag); 07922 } 07923 07924 SOAP_FMAC3 struct ns1__DeleteUser * SOAP_FMAC4 soap_in_ns1__DeleteUser(struct soap *soap, const char *tag, struct ns1__DeleteUser *a, const char *type) 07925 { 07926 size_t soap_flag_session_USCOREid = 1; 07927 size_t soap_flag_uname = 1; 07928 if (soap_element_begin_in(soap, tag, 0, type)) 07929 return NULL; 07930 a = (struct ns1__DeleteUser *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteUser, sizeof(struct ns1__DeleteUser), soap->type, soap->arrayType); 07931 if (!a) 07932 return NULL; 07933 soap_default_ns1__DeleteUser(soap, a); 07934 if (soap->body && !*soap->href) 07935 { 07936 for (;;) 07937 { soap->error = SOAP_TAG_MISMATCH; 07938 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 07939 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 07940 { soap_flag_session_USCOREid--; 07941 continue; 07942 } 07943 if (soap_flag_uname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 07944 if (soap_in_std__string(soap, "uname", &a->uname, "xsd:string")) 07945 { soap_flag_uname--; 07946 continue; 07947 } 07948 if (soap->error == SOAP_TAG_MISMATCH) 07949 soap->error = soap_ignore_element(soap); 07950 if (soap->error == SOAP_NO_TAG) 07951 break; 07952 if (soap->error) 07953 return NULL; 07954 } 07955 if (soap_element_end_in(soap, tag)) 07956 return NULL; 07957 } 07958 else 07959 { a = (struct ns1__DeleteUser *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteUser, 0, sizeof(struct ns1__DeleteUser), 0, soap_copy_ns1__DeleteUser); 07960 if (soap->body && soap_element_end_in(soap, tag)) 07961 return NULL; 07962 } 07963 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_uname > 0)) 07964 { soap->error = SOAP_OCCURS; 07965 return NULL; 07966 } 07967 return a; 07968 } 07969 07970 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteUser(struct soap *soap, const struct ns1__DeleteUser *a, const char *tag, const char *type) 07971 { 07972 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteUser); 07973 if (soap_out_ns1__DeleteUser(soap, tag?tag:"ns1:DeleteUser", id, a, type)) 07974 return soap->error; 07975 return soap_putindependent(soap); 07976 } 07977 07978 SOAP_FMAC3 struct ns1__DeleteUser * SOAP_FMAC4 soap_get_ns1__DeleteUser(struct soap *soap, struct ns1__DeleteUser *p, const char *tag, const char *type) 07979 { 07980 if ((p = soap_in_ns1__DeleteUser(soap, tag, p, type))) 07981 if (soap_getindependent(soap)) 07982 return NULL; 07983 return p; 07984 } 07985 07986 SOAP_FMAC1 struct ns1__DeleteUser * SOAP_FMAC2 soap_instantiate_ns1__DeleteUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 07987 { 07988 (void)type; (void)arrayType; /* appease -Wall -Werror */ 07989 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 07990 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteUser, n, soap_fdelete); 07991 if (!cp) 07992 return NULL; 07993 if (n < 0) 07994 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUser); 07995 if (size) 07996 *size = sizeof(struct ns1__DeleteUser); 07997 } 07998 else 07999 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUser[n]); 08000 if (!cp->ptr) 08001 { soap->error = SOAP_EOM; 08002 return NULL; 08003 } 08004 if (size) 08005 *size = n * sizeof(struct ns1__DeleteUser); 08006 } 08007 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08008 return (struct ns1__DeleteUser*)cp->ptr; 08009 } 08010 08011 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteUser(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08012 { 08013 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08014 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteUser %p -> %p\n", q, p)); 08015 *(struct ns1__DeleteUser*)p = *(struct ns1__DeleteUser*)q; 08016 } 08017 08018 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteUserResponse(struct soap *soap, struct ns1__DeleteUserResponse *a) 08019 { 08020 (void)soap; (void)a; /* appease -Wall -Werror */ 08021 soap_default_int(soap, &a->retvalue); 08022 } 08023 08024 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteUserResponse(struct soap *soap, const struct ns1__DeleteUserResponse *a) 08025 { 08026 (void)soap; (void)a; /* appease -Wall -Werror */ 08027 } 08028 08029 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteUserResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteUserResponse *a, const char *type) 08030 { 08031 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteUserResponse), type)) 08032 return soap->error; 08033 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 08034 return soap->error; 08035 return soap_element_end_out(soap, tag); 08036 } 08037 08038 SOAP_FMAC3 struct ns1__DeleteUserResponse * SOAP_FMAC4 soap_in_ns1__DeleteUserResponse(struct soap *soap, const char *tag, struct ns1__DeleteUserResponse *a, const char *type) 08039 { 08040 size_t soap_flag_retvalue = 1; 08041 if (soap_element_begin_in(soap, tag, 0, type)) 08042 return NULL; 08043 a = (struct ns1__DeleteUserResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteUserResponse, sizeof(struct ns1__DeleteUserResponse), 0, NULL, NULL, NULL); 08044 if (!a) 08045 return NULL; 08046 soap_default_ns1__DeleteUserResponse(soap, a); 08047 if (soap->body && !*soap->href) 08048 { 08049 for (;;) 08050 { soap->error = SOAP_TAG_MISMATCH; 08051 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 08052 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 08053 { soap_flag_retvalue--; 08054 continue; 08055 } 08056 if (soap->error == SOAP_TAG_MISMATCH) 08057 soap->error = soap_ignore_element(soap); 08058 if (soap->error == SOAP_NO_TAG) 08059 break; 08060 if (soap->error) 08061 return NULL; 08062 } 08063 if (soap_element_end_in(soap, tag)) 08064 return NULL; 08065 } 08066 else 08067 { a = (struct ns1__DeleteUserResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteUserResponse, 0, sizeof(struct ns1__DeleteUserResponse), 0, NULL); 08068 if (soap->body && soap_element_end_in(soap, tag)) 08069 return NULL; 08070 } 08071 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 08072 { soap->error = SOAP_OCCURS; 08073 return NULL; 08074 } 08075 return a; 08076 } 08077 08078 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteUserResponse(struct soap *soap, const struct ns1__DeleteUserResponse *a, const char *tag, const char *type) 08079 { 08080 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteUserResponse); 08081 if (soap_out_ns1__DeleteUserResponse(soap, tag?tag:"ns1:DeleteUserResponse", id, a, type)) 08082 return soap->error; 08083 return soap_putindependent(soap); 08084 } 08085 08086 SOAP_FMAC3 struct ns1__DeleteUserResponse * SOAP_FMAC4 soap_get_ns1__DeleteUserResponse(struct soap *soap, struct ns1__DeleteUserResponse *p, const char *tag, const char *type) 08087 { 08088 if ((p = soap_in_ns1__DeleteUserResponse(soap, tag, p, type))) 08089 if (soap_getindependent(soap)) 08090 return NULL; 08091 return p; 08092 } 08093 08094 SOAP_FMAC1 struct ns1__DeleteUserResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteUserResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08095 { 08096 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08097 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteUserResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08098 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteUserResponse, n, soap_fdelete); 08099 if (!cp) 08100 return NULL; 08101 if (n < 0) 08102 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserResponse); 08103 if (size) 08104 *size = sizeof(struct ns1__DeleteUserResponse); 08105 } 08106 else 08107 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserResponse[n]); 08108 if (!cp->ptr) 08109 { soap->error = SOAP_EOM; 08110 return NULL; 08111 } 08112 if (size) 08113 *size = n * sizeof(struct ns1__DeleteUserResponse); 08114 } 08115 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08116 return (struct ns1__DeleteUserResponse*)cp->ptr; 08117 } 08118 08119 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteUserResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08120 { 08121 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08122 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteUserResponse %p -> %p\n", q, p)); 08123 *(struct ns1__DeleteUserResponse*)p = *(struct ns1__DeleteUserResponse*)q; 08124 } 08125 08126 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateUser(struct soap *soap, struct ns1__CreateUser *a) 08127 { 08128 (void)soap; (void)a; /* appease -Wall -Werror */ 08129 soap_default_int(soap, &a->session_USCOREid); 08130 soap_default_std__string(soap, &a->uname); 08131 soap_default_std__string(soap, &a->gr_USCOREname); 08132 soap_default_std__string(soap, &a->passwd); 08133 } 08134 08135 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateUser(struct soap *soap, const struct ns1__CreateUser *a) 08136 { 08137 (void)soap; (void)a; /* appease -Wall -Werror */ 08138 soap_serialize_std__string(soap, &a->uname); 08139 soap_serialize_std__string(soap, &a->gr_USCOREname); 08140 soap_serialize_std__string(soap, &a->passwd); 08141 } 08142 08143 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateUser(struct soap *soap, const char *tag, int id, const struct ns1__CreateUser *a, const char *type) 08144 { 08145 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateUser), type)) 08146 return soap->error; 08147 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 08148 return soap->error; 08149 if (soap_out_std__string(soap, "uname", -1, &a->uname, "")) 08150 return soap->error; 08151 if (soap_out_std__string(soap, "gr_name", -1, &a->gr_USCOREname, "")) 08152 return soap->error; 08153 if (soap_out_std__string(soap, "passwd", -1, &a->passwd, "")) 08154 return soap->error; 08155 return soap_element_end_out(soap, tag); 08156 } 08157 08158 SOAP_FMAC3 struct ns1__CreateUser * SOAP_FMAC4 soap_in_ns1__CreateUser(struct soap *soap, const char *tag, struct ns1__CreateUser *a, const char *type) 08159 { 08160 size_t soap_flag_session_USCOREid = 1; 08161 size_t soap_flag_uname = 1; 08162 size_t soap_flag_gr_USCOREname = 1; 08163 size_t soap_flag_passwd = 1; 08164 if (soap_element_begin_in(soap, tag, 0, type)) 08165 return NULL; 08166 a = (struct ns1__CreateUser *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateUser, sizeof(struct ns1__CreateUser), soap->type, soap->arrayType); 08167 if (!a) 08168 return NULL; 08169 soap_default_ns1__CreateUser(soap, a); 08170 if (soap->body && !*soap->href) 08171 { 08172 for (;;) 08173 { soap->error = SOAP_TAG_MISMATCH; 08174 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 08175 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 08176 { soap_flag_session_USCOREid--; 08177 continue; 08178 } 08179 if (soap_flag_uname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08180 if (soap_in_std__string(soap, "uname", &a->uname, "xsd:string")) 08181 { soap_flag_uname--; 08182 continue; 08183 } 08184 if (soap_flag_gr_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08185 if (soap_in_std__string(soap, "gr_name", &a->gr_USCOREname, "xsd:string")) 08186 { soap_flag_gr_USCOREname--; 08187 continue; 08188 } 08189 if (soap_flag_passwd && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08190 if (soap_in_std__string(soap, "passwd", &a->passwd, "xsd:string")) 08191 { soap_flag_passwd--; 08192 continue; 08193 } 08194 if (soap->error == SOAP_TAG_MISMATCH) 08195 soap->error = soap_ignore_element(soap); 08196 if (soap->error == SOAP_NO_TAG) 08197 break; 08198 if (soap->error) 08199 return NULL; 08200 } 08201 if (soap_element_end_in(soap, tag)) 08202 return NULL; 08203 } 08204 else 08205 { a = (struct ns1__CreateUser *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateUser, 0, sizeof(struct ns1__CreateUser), 0, soap_copy_ns1__CreateUser); 08206 if (soap->body && soap_element_end_in(soap, tag)) 08207 return NULL; 08208 } 08209 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_uname > 0 || soap_flag_gr_USCOREname > 0 || soap_flag_passwd > 0)) 08210 { soap->error = SOAP_OCCURS; 08211 return NULL; 08212 } 08213 return a; 08214 } 08215 08216 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateUser(struct soap *soap, const struct ns1__CreateUser *a, const char *tag, const char *type) 08217 { 08218 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateUser); 08219 if (soap_out_ns1__CreateUser(soap, tag?tag:"ns1:CreateUser", id, a, type)) 08220 return soap->error; 08221 return soap_putindependent(soap); 08222 } 08223 08224 SOAP_FMAC3 struct ns1__CreateUser * SOAP_FMAC4 soap_get_ns1__CreateUser(struct soap *soap, struct ns1__CreateUser *p, const char *tag, const char *type) 08225 { 08226 if ((p = soap_in_ns1__CreateUser(soap, tag, p, type))) 08227 if (soap_getindependent(soap)) 08228 return NULL; 08229 return p; 08230 } 08231 08232 SOAP_FMAC1 struct ns1__CreateUser * SOAP_FMAC2 soap_instantiate_ns1__CreateUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08233 { 08234 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08235 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08236 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateUser, n, soap_fdelete); 08237 if (!cp) 08238 return NULL; 08239 if (n < 0) 08240 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUser); 08241 if (size) 08242 *size = sizeof(struct ns1__CreateUser); 08243 } 08244 else 08245 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUser[n]); 08246 if (!cp->ptr) 08247 { soap->error = SOAP_EOM; 08248 return NULL; 08249 } 08250 if (size) 08251 *size = n * sizeof(struct ns1__CreateUser); 08252 } 08253 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08254 return (struct ns1__CreateUser*)cp->ptr; 08255 } 08256 08257 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateUser(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08258 { 08259 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08260 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateUser %p -> %p\n", q, p)); 08261 *(struct ns1__CreateUser*)p = *(struct ns1__CreateUser*)q; 08262 } 08263 08264 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateUserResponse(struct soap *soap, struct ns1__CreateUserResponse *a) 08265 { 08266 (void)soap; (void)a; /* appease -Wall -Werror */ 08267 soap_default_int(soap, &a->retvalue); 08268 } 08269 08270 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateUserResponse(struct soap *soap, const struct ns1__CreateUserResponse *a) 08271 { 08272 (void)soap; (void)a; /* appease -Wall -Werror */ 08273 } 08274 08275 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateUserResponse(struct soap *soap, const char *tag, int id, const struct ns1__CreateUserResponse *a, const char *type) 08276 { 08277 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateUserResponse), type)) 08278 return soap->error; 08279 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 08280 return soap->error; 08281 return soap_element_end_out(soap, tag); 08282 } 08283 08284 SOAP_FMAC3 struct ns1__CreateUserResponse * SOAP_FMAC4 soap_in_ns1__CreateUserResponse(struct soap *soap, const char *tag, struct ns1__CreateUserResponse *a, const char *type) 08285 { 08286 size_t soap_flag_retvalue = 1; 08287 if (soap_element_begin_in(soap, tag, 0, type)) 08288 return NULL; 08289 a = (struct ns1__CreateUserResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateUserResponse, sizeof(struct ns1__CreateUserResponse), 0, NULL, NULL, NULL); 08290 if (!a) 08291 return NULL; 08292 soap_default_ns1__CreateUserResponse(soap, a); 08293 if (soap->body && !*soap->href) 08294 { 08295 for (;;) 08296 { soap->error = SOAP_TAG_MISMATCH; 08297 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 08298 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 08299 { soap_flag_retvalue--; 08300 continue; 08301 } 08302 if (soap->error == SOAP_TAG_MISMATCH) 08303 soap->error = soap_ignore_element(soap); 08304 if (soap->error == SOAP_NO_TAG) 08305 break; 08306 if (soap->error) 08307 return NULL; 08308 } 08309 if (soap_element_end_in(soap, tag)) 08310 return NULL; 08311 } 08312 else 08313 { a = (struct ns1__CreateUserResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateUserResponse, 0, sizeof(struct ns1__CreateUserResponse), 0, NULL); 08314 if (soap->body && soap_element_end_in(soap, tag)) 08315 return NULL; 08316 } 08317 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 08318 { soap->error = SOAP_OCCURS; 08319 return NULL; 08320 } 08321 return a; 08322 } 08323 08324 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateUserResponse(struct soap *soap, const struct ns1__CreateUserResponse *a, const char *tag, const char *type) 08325 { 08326 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateUserResponse); 08327 if (soap_out_ns1__CreateUserResponse(soap, tag?tag:"ns1:CreateUserResponse", id, a, type)) 08328 return soap->error; 08329 return soap_putindependent(soap); 08330 } 08331 08332 SOAP_FMAC3 struct ns1__CreateUserResponse * SOAP_FMAC4 soap_get_ns1__CreateUserResponse(struct soap *soap, struct ns1__CreateUserResponse *p, const char *tag, const char *type) 08333 { 08334 if ((p = soap_in_ns1__CreateUserResponse(soap, tag, p, type))) 08335 if (soap_getindependent(soap)) 08336 return NULL; 08337 return p; 08338 } 08339 08340 SOAP_FMAC1 struct ns1__CreateUserResponse * SOAP_FMAC2 soap_instantiate_ns1__CreateUserResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08341 { 08342 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08343 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateUserResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08344 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateUserResponse, n, soap_fdelete); 08345 if (!cp) 08346 return NULL; 08347 if (n < 0) 08348 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserResponse); 08349 if (size) 08350 *size = sizeof(struct ns1__CreateUserResponse); 08351 } 08352 else 08353 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserResponse[n]); 08354 if (!cp->ptr) 08355 { soap->error = SOAP_EOM; 08356 return NULL; 08357 } 08358 if (size) 08359 *size = n * sizeof(struct ns1__CreateUserResponse); 08360 } 08361 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08362 return (struct ns1__CreateUserResponse*)cp->ptr; 08363 } 08364 08365 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateUserResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08366 { 08367 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08368 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateUserResponse %p -> %p\n", q, p)); 08369 *(struct ns1__CreateUserResponse*)p = *(struct ns1__CreateUserResponse*)q; 08370 } 08371 08372 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GrantRightsToGroup(struct soap *soap, struct ns1__GrantRightsToGroup *a) 08373 { 08374 (void)soap; (void)a; /* appease -Wall -Werror */ 08375 soap_default_int(soap, &a->session_USCOREid); 08376 soap_default_std__string(soap, &a->group_USCOREname); 08377 soap_default_int(soap, &a->rights); 08378 } 08379 08380 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GrantRightsToGroup(struct soap *soap, const struct ns1__GrantRightsToGroup *a) 08381 { 08382 (void)soap; (void)a; /* appease -Wall -Werror */ 08383 soap_serialize_std__string(soap, &a->group_USCOREname); 08384 } 08385 08386 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GrantRightsToGroup(struct soap *soap, const char *tag, int id, const struct ns1__GrantRightsToGroup *a, const char *type) 08387 { 08388 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GrantRightsToGroup), type)) 08389 return soap->error; 08390 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 08391 return soap->error; 08392 if (soap_out_std__string(soap, "group_name", -1, &a->group_USCOREname, "")) 08393 return soap->error; 08394 if (soap_out_int(soap, "rights", -1, &a->rights, "")) 08395 return soap->error; 08396 return soap_element_end_out(soap, tag); 08397 } 08398 08399 SOAP_FMAC3 struct ns1__GrantRightsToGroup * SOAP_FMAC4 soap_in_ns1__GrantRightsToGroup(struct soap *soap, const char *tag, struct ns1__GrantRightsToGroup *a, const char *type) 08400 { 08401 size_t soap_flag_session_USCOREid = 1; 08402 size_t soap_flag_group_USCOREname = 1; 08403 size_t soap_flag_rights = 1; 08404 if (soap_element_begin_in(soap, tag, 0, type)) 08405 return NULL; 08406 a = (struct ns1__GrantRightsToGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GrantRightsToGroup, sizeof(struct ns1__GrantRightsToGroup), soap->type, soap->arrayType); 08407 if (!a) 08408 return NULL; 08409 soap_default_ns1__GrantRightsToGroup(soap, a); 08410 if (soap->body && !*soap->href) 08411 { 08412 for (;;) 08413 { soap->error = SOAP_TAG_MISMATCH; 08414 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 08415 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 08416 { soap_flag_session_USCOREid--; 08417 continue; 08418 } 08419 if (soap_flag_group_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08420 if (soap_in_std__string(soap, "group_name", &a->group_USCOREname, "xsd:string")) 08421 { soap_flag_group_USCOREname--; 08422 continue; 08423 } 08424 if (soap_flag_rights && soap->error == SOAP_TAG_MISMATCH) 08425 if (soap_in_int(soap, "rights", &a->rights, "xsd:int")) 08426 { soap_flag_rights--; 08427 continue; 08428 } 08429 if (soap->error == SOAP_TAG_MISMATCH) 08430 soap->error = soap_ignore_element(soap); 08431 if (soap->error == SOAP_NO_TAG) 08432 break; 08433 if (soap->error) 08434 return NULL; 08435 } 08436 if (soap_element_end_in(soap, tag)) 08437 return NULL; 08438 } 08439 else 08440 { a = (struct ns1__GrantRightsToGroup *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GrantRightsToGroup, 0, sizeof(struct ns1__GrantRightsToGroup), 0, soap_copy_ns1__GrantRightsToGroup); 08441 if (soap->body && soap_element_end_in(soap, tag)) 08442 return NULL; 08443 } 08444 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_group_USCOREname > 0 || soap_flag_rights > 0)) 08445 { soap->error = SOAP_OCCURS; 08446 return NULL; 08447 } 08448 return a; 08449 } 08450 08451 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GrantRightsToGroup(struct soap *soap, const struct ns1__GrantRightsToGroup *a, const char *tag, const char *type) 08452 { 08453 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GrantRightsToGroup); 08454 if (soap_out_ns1__GrantRightsToGroup(soap, tag?tag:"ns1:GrantRightsToGroup", id, a, type)) 08455 return soap->error; 08456 return soap_putindependent(soap); 08457 } 08458 08459 SOAP_FMAC3 struct ns1__GrantRightsToGroup * SOAP_FMAC4 soap_get_ns1__GrantRightsToGroup(struct soap *soap, struct ns1__GrantRightsToGroup *p, const char *tag, const char *type) 08460 { 08461 if ((p = soap_in_ns1__GrantRightsToGroup(soap, tag, p, type))) 08462 if (soap_getindependent(soap)) 08463 return NULL; 08464 return p; 08465 } 08466 08467 SOAP_FMAC1 struct ns1__GrantRightsToGroup * SOAP_FMAC2 soap_instantiate_ns1__GrantRightsToGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08468 { 08469 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08470 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GrantRightsToGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08471 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GrantRightsToGroup, n, soap_fdelete); 08472 if (!cp) 08473 return NULL; 08474 if (n < 0) 08475 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGroup); 08476 if (size) 08477 *size = sizeof(struct ns1__GrantRightsToGroup); 08478 } 08479 else 08480 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGroup[n]); 08481 if (!cp->ptr) 08482 { soap->error = SOAP_EOM; 08483 return NULL; 08484 } 08485 if (size) 08486 *size = n * sizeof(struct ns1__GrantRightsToGroup); 08487 } 08488 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08489 return (struct ns1__GrantRightsToGroup*)cp->ptr; 08490 } 08491 08492 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GrantRightsToGroup(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08493 { 08494 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08495 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GrantRightsToGroup %p -> %p\n", q, p)); 08496 *(struct ns1__GrantRightsToGroup*)p = *(struct ns1__GrantRightsToGroup*)q; 08497 } 08498 08499 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GrantRightsToGroupResponse(struct soap *soap, struct ns1__GrantRightsToGroupResponse *a) 08500 { 08501 (void)soap; (void)a; /* appease -Wall -Werror */ 08502 soap_default_int(soap, &a->retvalue); 08503 } 08504 08505 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GrantRightsToGroupResponse(struct soap *soap, const struct ns1__GrantRightsToGroupResponse *a) 08506 { 08507 (void)soap; (void)a; /* appease -Wall -Werror */ 08508 } 08509 08510 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GrantRightsToGroupResponse(struct soap *soap, const char *tag, int id, const struct ns1__GrantRightsToGroupResponse *a, const char *type) 08511 { 08512 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GrantRightsToGroupResponse), type)) 08513 return soap->error; 08514 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 08515 return soap->error; 08516 return soap_element_end_out(soap, tag); 08517 } 08518 08519 SOAP_FMAC3 struct ns1__GrantRightsToGroupResponse * SOAP_FMAC4 soap_in_ns1__GrantRightsToGroupResponse(struct soap *soap, const char *tag, struct ns1__GrantRightsToGroupResponse *a, const char *type) 08520 { 08521 size_t soap_flag_retvalue = 1; 08522 if (soap_element_begin_in(soap, tag, 0, type)) 08523 return NULL; 08524 a = (struct ns1__GrantRightsToGroupResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GrantRightsToGroupResponse, sizeof(struct ns1__GrantRightsToGroupResponse), 0, NULL, NULL, NULL); 08525 if (!a) 08526 return NULL; 08527 soap_default_ns1__GrantRightsToGroupResponse(soap, a); 08528 if (soap->body && !*soap->href) 08529 { 08530 for (;;) 08531 { soap->error = SOAP_TAG_MISMATCH; 08532 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 08533 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 08534 { soap_flag_retvalue--; 08535 continue; 08536 } 08537 if (soap->error == SOAP_TAG_MISMATCH) 08538 soap->error = soap_ignore_element(soap); 08539 if (soap->error == SOAP_NO_TAG) 08540 break; 08541 if (soap->error) 08542 return NULL; 08543 } 08544 if (soap_element_end_in(soap, tag)) 08545 return NULL; 08546 } 08547 else 08548 { a = (struct ns1__GrantRightsToGroupResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GrantRightsToGroupResponse, 0, sizeof(struct ns1__GrantRightsToGroupResponse), 0, NULL); 08549 if (soap->body && soap_element_end_in(soap, tag)) 08550 return NULL; 08551 } 08552 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 08553 { soap->error = SOAP_OCCURS; 08554 return NULL; 08555 } 08556 return a; 08557 } 08558 08559 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GrantRightsToGroupResponse(struct soap *soap, const struct ns1__GrantRightsToGroupResponse *a, const char *tag, const char *type) 08560 { 08561 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GrantRightsToGroupResponse); 08562 if (soap_out_ns1__GrantRightsToGroupResponse(soap, tag?tag:"ns1:GrantRightsToGroupResponse", id, a, type)) 08563 return soap->error; 08564 return soap_putindependent(soap); 08565 } 08566 08567 SOAP_FMAC3 struct ns1__GrantRightsToGroupResponse * SOAP_FMAC4 soap_get_ns1__GrantRightsToGroupResponse(struct soap *soap, struct ns1__GrantRightsToGroupResponse *p, const char *tag, const char *type) 08568 { 08569 if ((p = soap_in_ns1__GrantRightsToGroupResponse(soap, tag, p, type))) 08570 if (soap_getindependent(soap)) 08571 return NULL; 08572 return p; 08573 } 08574 08575 SOAP_FMAC1 struct ns1__GrantRightsToGroupResponse * SOAP_FMAC2 soap_instantiate_ns1__GrantRightsToGroupResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08576 { 08577 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08578 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GrantRightsToGroupResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08579 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GrantRightsToGroupResponse, n, soap_fdelete); 08580 if (!cp) 08581 return NULL; 08582 if (n < 0) 08583 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGroupResponse); 08584 if (size) 08585 *size = sizeof(struct ns1__GrantRightsToGroupResponse); 08586 } 08587 else 08588 { cp->ptr = (void*)SOAP_NEW(struct ns1__GrantRightsToGroupResponse[n]); 08589 if (!cp->ptr) 08590 { soap->error = SOAP_EOM; 08591 return NULL; 08592 } 08593 if (size) 08594 *size = n * sizeof(struct ns1__GrantRightsToGroupResponse); 08595 } 08596 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08597 return (struct ns1__GrantRightsToGroupResponse*)cp->ptr; 08598 } 08599 08600 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GrantRightsToGroupResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08601 { 08602 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08603 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GrantRightsToGroupResponse %p -> %p\n", q, p)); 08604 *(struct ns1__GrantRightsToGroupResponse*)p = *(struct ns1__GrantRightsToGroupResponse*)q; 08605 } 08606 08607 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteUserGroup(struct soap *soap, struct ns1__DeleteUserGroup *a) 08608 { 08609 (void)soap; (void)a; /* appease -Wall -Werror */ 08610 soap_default_int(soap, &a->session_USCOREid); 08611 soap_default_std__string(soap, &a->group_USCOREname); 08612 } 08613 08614 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteUserGroup(struct soap *soap, const struct ns1__DeleteUserGroup *a) 08615 { 08616 (void)soap; (void)a; /* appease -Wall -Werror */ 08617 soap_serialize_std__string(soap, &a->group_USCOREname); 08618 } 08619 08620 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteUserGroup(struct soap *soap, const char *tag, int id, const struct ns1__DeleteUserGroup *a, const char *type) 08621 { 08622 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteUserGroup), type)) 08623 return soap->error; 08624 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 08625 return soap->error; 08626 if (soap_out_std__string(soap, "group_name", -1, &a->group_USCOREname, "")) 08627 return soap->error; 08628 return soap_element_end_out(soap, tag); 08629 } 08630 08631 SOAP_FMAC3 struct ns1__DeleteUserGroup * SOAP_FMAC4 soap_in_ns1__DeleteUserGroup(struct soap *soap, const char *tag, struct ns1__DeleteUserGroup *a, const char *type) 08632 { 08633 size_t soap_flag_session_USCOREid = 1; 08634 size_t soap_flag_group_USCOREname = 1; 08635 if (soap_element_begin_in(soap, tag, 0, type)) 08636 return NULL; 08637 a = (struct ns1__DeleteUserGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteUserGroup, sizeof(struct ns1__DeleteUserGroup), soap->type, soap->arrayType); 08638 if (!a) 08639 return NULL; 08640 soap_default_ns1__DeleteUserGroup(soap, a); 08641 if (soap->body && !*soap->href) 08642 { 08643 for (;;) 08644 { soap->error = SOAP_TAG_MISMATCH; 08645 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 08646 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 08647 { soap_flag_session_USCOREid--; 08648 continue; 08649 } 08650 if (soap_flag_group_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08651 if (soap_in_std__string(soap, "group_name", &a->group_USCOREname, "xsd:string")) 08652 { soap_flag_group_USCOREname--; 08653 continue; 08654 } 08655 if (soap->error == SOAP_TAG_MISMATCH) 08656 soap->error = soap_ignore_element(soap); 08657 if (soap->error == SOAP_NO_TAG) 08658 break; 08659 if (soap->error) 08660 return NULL; 08661 } 08662 if (soap_element_end_in(soap, tag)) 08663 return NULL; 08664 } 08665 else 08666 { a = (struct ns1__DeleteUserGroup *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteUserGroup, 0, sizeof(struct ns1__DeleteUserGroup), 0, soap_copy_ns1__DeleteUserGroup); 08667 if (soap->body && soap_element_end_in(soap, tag)) 08668 return NULL; 08669 } 08670 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_group_USCOREname > 0)) 08671 { soap->error = SOAP_OCCURS; 08672 return NULL; 08673 } 08674 return a; 08675 } 08676 08677 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteUserGroup(struct soap *soap, const struct ns1__DeleteUserGroup *a, const char *tag, const char *type) 08678 { 08679 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteUserGroup); 08680 if (soap_out_ns1__DeleteUserGroup(soap, tag?tag:"ns1:DeleteUserGroup", id, a, type)) 08681 return soap->error; 08682 return soap_putindependent(soap); 08683 } 08684 08685 SOAP_FMAC3 struct ns1__DeleteUserGroup * SOAP_FMAC4 soap_get_ns1__DeleteUserGroup(struct soap *soap, struct ns1__DeleteUserGroup *p, const char *tag, const char *type) 08686 { 08687 if ((p = soap_in_ns1__DeleteUserGroup(soap, tag, p, type))) 08688 if (soap_getindependent(soap)) 08689 return NULL; 08690 return p; 08691 } 08692 08693 SOAP_FMAC1 struct ns1__DeleteUserGroup * SOAP_FMAC2 soap_instantiate_ns1__DeleteUserGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08694 { 08695 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08696 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteUserGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08697 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteUserGroup, n, soap_fdelete); 08698 if (!cp) 08699 return NULL; 08700 if (n < 0) 08701 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserGroup); 08702 if (size) 08703 *size = sizeof(struct ns1__DeleteUserGroup); 08704 } 08705 else 08706 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserGroup[n]); 08707 if (!cp->ptr) 08708 { soap->error = SOAP_EOM; 08709 return NULL; 08710 } 08711 if (size) 08712 *size = n * sizeof(struct ns1__DeleteUserGroup); 08713 } 08714 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08715 return (struct ns1__DeleteUserGroup*)cp->ptr; 08716 } 08717 08718 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteUserGroup(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08719 { 08720 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08721 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteUserGroup %p -> %p\n", q, p)); 08722 *(struct ns1__DeleteUserGroup*)p = *(struct ns1__DeleteUserGroup*)q; 08723 } 08724 08725 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__DeleteUserGroupResponse(struct soap *soap, struct ns1__DeleteUserGroupResponse *a) 08726 { 08727 (void)soap; (void)a; /* appease -Wall -Werror */ 08728 soap_default_int(soap, &a->retvalue); 08729 } 08730 08731 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__DeleteUserGroupResponse(struct soap *soap, const struct ns1__DeleteUserGroupResponse *a) 08732 { 08733 (void)soap; (void)a; /* appease -Wall -Werror */ 08734 } 08735 08736 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DeleteUserGroupResponse(struct soap *soap, const char *tag, int id, const struct ns1__DeleteUserGroupResponse *a, const char *type) 08737 { 08738 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__DeleteUserGroupResponse), type)) 08739 return soap->error; 08740 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 08741 return soap->error; 08742 return soap_element_end_out(soap, tag); 08743 } 08744 08745 SOAP_FMAC3 struct ns1__DeleteUserGroupResponse * SOAP_FMAC4 soap_in_ns1__DeleteUserGroupResponse(struct soap *soap, const char *tag, struct ns1__DeleteUserGroupResponse *a, const char *type) 08746 { 08747 size_t soap_flag_retvalue = 1; 08748 if (soap_element_begin_in(soap, tag, 0, type)) 08749 return NULL; 08750 a = (struct ns1__DeleteUserGroupResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DeleteUserGroupResponse, sizeof(struct ns1__DeleteUserGroupResponse), 0, NULL, NULL, NULL); 08751 if (!a) 08752 return NULL; 08753 soap_default_ns1__DeleteUserGroupResponse(soap, a); 08754 if (soap->body && !*soap->href) 08755 { 08756 for (;;) 08757 { soap->error = SOAP_TAG_MISMATCH; 08758 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 08759 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 08760 { soap_flag_retvalue--; 08761 continue; 08762 } 08763 if (soap->error == SOAP_TAG_MISMATCH) 08764 soap->error = soap_ignore_element(soap); 08765 if (soap->error == SOAP_NO_TAG) 08766 break; 08767 if (soap->error) 08768 return NULL; 08769 } 08770 if (soap_element_end_in(soap, tag)) 08771 return NULL; 08772 } 08773 else 08774 { a = (struct ns1__DeleteUserGroupResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DeleteUserGroupResponse, 0, sizeof(struct ns1__DeleteUserGroupResponse), 0, NULL); 08775 if (soap->body && soap_element_end_in(soap, tag)) 08776 return NULL; 08777 } 08778 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0)) 08779 { soap->error = SOAP_OCCURS; 08780 return NULL; 08781 } 08782 return a; 08783 } 08784 08785 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__DeleteUserGroupResponse(struct soap *soap, const struct ns1__DeleteUserGroupResponse *a, const char *tag, const char *type) 08786 { 08787 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__DeleteUserGroupResponse); 08788 if (soap_out_ns1__DeleteUserGroupResponse(soap, tag?tag:"ns1:DeleteUserGroupResponse", id, a, type)) 08789 return soap->error; 08790 return soap_putindependent(soap); 08791 } 08792 08793 SOAP_FMAC3 struct ns1__DeleteUserGroupResponse * SOAP_FMAC4 soap_get_ns1__DeleteUserGroupResponse(struct soap *soap, struct ns1__DeleteUserGroupResponse *p, const char *tag, const char *type) 08794 { 08795 if ((p = soap_in_ns1__DeleteUserGroupResponse(soap, tag, p, type))) 08796 if (soap_getindependent(soap)) 08797 return NULL; 08798 return p; 08799 } 08800 08801 SOAP_FMAC1 struct ns1__DeleteUserGroupResponse * SOAP_FMAC2 soap_instantiate_ns1__DeleteUserGroupResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08802 { 08803 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08804 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DeleteUserGroupResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08805 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__DeleteUserGroupResponse, n, soap_fdelete); 08806 if (!cp) 08807 return NULL; 08808 if (n < 0) 08809 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserGroupResponse); 08810 if (size) 08811 *size = sizeof(struct ns1__DeleteUserGroupResponse); 08812 } 08813 else 08814 { cp->ptr = (void*)SOAP_NEW(struct ns1__DeleteUserGroupResponse[n]); 08815 if (!cp->ptr) 08816 { soap->error = SOAP_EOM; 08817 return NULL; 08818 } 08819 if (size) 08820 *size = n * sizeof(struct ns1__DeleteUserGroupResponse); 08821 } 08822 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08823 return (struct ns1__DeleteUserGroupResponse*)cp->ptr; 08824 } 08825 08826 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__DeleteUserGroupResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08827 { 08828 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08829 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__DeleteUserGroupResponse %p -> %p\n", q, p)); 08830 *(struct ns1__DeleteUserGroupResponse*)p = *(struct ns1__DeleteUserGroupResponse*)q; 08831 } 08832 08833 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateUserGroup(struct soap *soap, struct ns1__CreateUserGroup *a) 08834 { 08835 (void)soap; (void)a; /* appease -Wall -Werror */ 08836 soap_default_int(soap, &a->session_USCOREid); 08837 soap_default_std__string(soap, &a->group_USCOREname); 08838 } 08839 08840 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateUserGroup(struct soap *soap, const struct ns1__CreateUserGroup *a) 08841 { 08842 (void)soap; (void)a; /* appease -Wall -Werror */ 08843 soap_serialize_std__string(soap, &a->group_USCOREname); 08844 } 08845 08846 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateUserGroup(struct soap *soap, const char *tag, int id, const struct ns1__CreateUserGroup *a, const char *type) 08847 { 08848 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateUserGroup), type)) 08849 return soap->error; 08850 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 08851 return soap->error; 08852 if (soap_out_std__string(soap, "group_name", -1, &a->group_USCOREname, "")) 08853 return soap->error; 08854 return soap_element_end_out(soap, tag); 08855 } 08856 08857 SOAP_FMAC3 struct ns1__CreateUserGroup * SOAP_FMAC4 soap_in_ns1__CreateUserGroup(struct soap *soap, const char *tag, struct ns1__CreateUserGroup *a, const char *type) 08858 { 08859 size_t soap_flag_session_USCOREid = 1; 08860 size_t soap_flag_group_USCOREname = 1; 08861 if (soap_element_begin_in(soap, tag, 0, type)) 08862 return NULL; 08863 a = (struct ns1__CreateUserGroup *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateUserGroup, sizeof(struct ns1__CreateUserGroup), soap->type, soap->arrayType); 08864 if (!a) 08865 return NULL; 08866 soap_default_ns1__CreateUserGroup(soap, a); 08867 if (soap->body && !*soap->href) 08868 { 08869 for (;;) 08870 { soap->error = SOAP_TAG_MISMATCH; 08871 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 08872 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 08873 { soap_flag_session_USCOREid--; 08874 continue; 08875 } 08876 if (soap_flag_group_USCOREname && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 08877 if (soap_in_std__string(soap, "group_name", &a->group_USCOREname, "xsd:string")) 08878 { soap_flag_group_USCOREname--; 08879 continue; 08880 } 08881 if (soap->error == SOAP_TAG_MISMATCH) 08882 soap->error = soap_ignore_element(soap); 08883 if (soap->error == SOAP_NO_TAG) 08884 break; 08885 if (soap->error) 08886 return NULL; 08887 } 08888 if (soap_element_end_in(soap, tag)) 08889 return NULL; 08890 } 08891 else 08892 { a = (struct ns1__CreateUserGroup *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateUserGroup, 0, sizeof(struct ns1__CreateUserGroup), 0, soap_copy_ns1__CreateUserGroup); 08893 if (soap->body && soap_element_end_in(soap, tag)) 08894 return NULL; 08895 } 08896 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_session_USCOREid > 0 || soap_flag_group_USCOREname > 0)) 08897 { soap->error = SOAP_OCCURS; 08898 return NULL; 08899 } 08900 return a; 08901 } 08902 08903 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateUserGroup(struct soap *soap, const struct ns1__CreateUserGroup *a, const char *tag, const char *type) 08904 { 08905 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateUserGroup); 08906 if (soap_out_ns1__CreateUserGroup(soap, tag?tag:"ns1:CreateUserGroup", id, a, type)) 08907 return soap->error; 08908 return soap_putindependent(soap); 08909 } 08910 08911 SOAP_FMAC3 struct ns1__CreateUserGroup * SOAP_FMAC4 soap_get_ns1__CreateUserGroup(struct soap *soap, struct ns1__CreateUserGroup *p, const char *tag, const char *type) 08912 { 08913 if ((p = soap_in_ns1__CreateUserGroup(soap, tag, p, type))) 08914 if (soap_getindependent(soap)) 08915 return NULL; 08916 return p; 08917 } 08918 08919 SOAP_FMAC1 struct ns1__CreateUserGroup * SOAP_FMAC2 soap_instantiate_ns1__CreateUserGroup(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 08920 { 08921 (void)type; (void)arrayType; /* appease -Wall -Werror */ 08922 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateUserGroup(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 08923 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateUserGroup, n, soap_fdelete); 08924 if (!cp) 08925 return NULL; 08926 if (n < 0) 08927 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserGroup); 08928 if (size) 08929 *size = sizeof(struct ns1__CreateUserGroup); 08930 } 08931 else 08932 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserGroup[n]); 08933 if (!cp->ptr) 08934 { soap->error = SOAP_EOM; 08935 return NULL; 08936 } 08937 if (size) 08938 *size = n * sizeof(struct ns1__CreateUserGroup); 08939 } 08940 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 08941 return (struct ns1__CreateUserGroup*)cp->ptr; 08942 } 08943 08944 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateUserGroup(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 08945 { 08946 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 08947 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateUserGroup %p -> %p\n", q, p)); 08948 *(struct ns1__CreateUserGroup*)p = *(struct ns1__CreateUserGroup*)q; 08949 } 08950 08951 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__CreateUserGroupResponse(struct soap *soap, struct ns1__CreateUserGroupResponse *a) 08952 { 08953 (void)soap; (void)a; /* appease -Wall -Werror */ 08954 soap_default_int(soap, &a->retvalue); 08955 soap_default_int(soap, &a->u_USCOREgroup_USCOREid); 08956 } 08957 08958 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__CreateUserGroupResponse(struct soap *soap, const struct ns1__CreateUserGroupResponse *a) 08959 { 08960 (void)soap; (void)a; /* appease -Wall -Werror */ 08961 } 08962 08963 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CreateUserGroupResponse(struct soap *soap, const char *tag, int id, const struct ns1__CreateUserGroupResponse *a, const char *type) 08964 { 08965 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CreateUserGroupResponse), type)) 08966 return soap->error; 08967 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 08968 return soap->error; 08969 if (soap_out_int(soap, "u_group_id", -1, &a->u_USCOREgroup_USCOREid, "")) 08970 return soap->error; 08971 return soap_element_end_out(soap, tag); 08972 } 08973 08974 SOAP_FMAC3 struct ns1__CreateUserGroupResponse * SOAP_FMAC4 soap_in_ns1__CreateUserGroupResponse(struct soap *soap, const char *tag, struct ns1__CreateUserGroupResponse *a, const char *type) 08975 { 08976 size_t soap_flag_retvalue = 1; 08977 size_t soap_flag_u_USCOREgroup_USCOREid = 1; 08978 if (soap_element_begin_in(soap, tag, 0, type)) 08979 return NULL; 08980 a = (struct ns1__CreateUserGroupResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CreateUserGroupResponse, sizeof(struct ns1__CreateUserGroupResponse), 0, NULL, NULL, NULL); 08981 if (!a) 08982 return NULL; 08983 soap_default_ns1__CreateUserGroupResponse(soap, a); 08984 if (soap->body && !*soap->href) 08985 { 08986 for (;;) 08987 { soap->error = SOAP_TAG_MISMATCH; 08988 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 08989 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 08990 { soap_flag_retvalue--; 08991 continue; 08992 } 08993 if (soap_flag_u_USCOREgroup_USCOREid && soap->error == SOAP_TAG_MISMATCH) 08994 if (soap_in_int(soap, "u_group_id", &a->u_USCOREgroup_USCOREid, "xsd:int")) 08995 { soap_flag_u_USCOREgroup_USCOREid--; 08996 continue; 08997 } 08998 if (soap->error == SOAP_TAG_MISMATCH) 08999 soap->error = soap_ignore_element(soap); 09000 if (soap->error == SOAP_NO_TAG) 09001 break; 09002 if (soap->error) 09003 return NULL; 09004 } 09005 if (soap_element_end_in(soap, tag)) 09006 return NULL; 09007 } 09008 else 09009 { a = (struct ns1__CreateUserGroupResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CreateUserGroupResponse, 0, sizeof(struct ns1__CreateUserGroupResponse), 0, NULL); 09010 if (soap->body && soap_element_end_in(soap, tag)) 09011 return NULL; 09012 } 09013 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0 || soap_flag_u_USCOREgroup_USCOREid > 0)) 09014 { soap->error = SOAP_OCCURS; 09015 return NULL; 09016 } 09017 return a; 09018 } 09019 09020 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__CreateUserGroupResponse(struct soap *soap, const struct ns1__CreateUserGroupResponse *a, const char *tag, const char *type) 09021 { 09022 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__CreateUserGroupResponse); 09023 if (soap_out_ns1__CreateUserGroupResponse(soap, tag?tag:"ns1:CreateUserGroupResponse", id, a, type)) 09024 return soap->error; 09025 return soap_putindependent(soap); 09026 } 09027 09028 SOAP_FMAC3 struct ns1__CreateUserGroupResponse * SOAP_FMAC4 soap_get_ns1__CreateUserGroupResponse(struct soap *soap, struct ns1__CreateUserGroupResponse *p, const char *tag, const char *type) 09029 { 09030 if ((p = soap_in_ns1__CreateUserGroupResponse(soap, tag, p, type))) 09031 if (soap_getindependent(soap)) 09032 return NULL; 09033 return p; 09034 } 09035 09036 SOAP_FMAC1 struct ns1__CreateUserGroupResponse * SOAP_FMAC2 soap_instantiate_ns1__CreateUserGroupResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 09037 { 09038 (void)type; (void)arrayType; /* appease -Wall -Werror */ 09039 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CreateUserGroupResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 09040 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CreateUserGroupResponse, n, soap_fdelete); 09041 if (!cp) 09042 return NULL; 09043 if (n < 0) 09044 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserGroupResponse); 09045 if (size) 09046 *size = sizeof(struct ns1__CreateUserGroupResponse); 09047 } 09048 else 09049 { cp->ptr = (void*)SOAP_NEW(struct ns1__CreateUserGroupResponse[n]); 09050 if (!cp->ptr) 09051 { soap->error = SOAP_EOM; 09052 return NULL; 09053 } 09054 if (size) 09055 *size = n * sizeof(struct ns1__CreateUserGroupResponse); 09056 } 09057 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 09058 return (struct ns1__CreateUserGroupResponse*)cp->ptr; 09059 } 09060 09061 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CreateUserGroupResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 09062 { 09063 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 09064 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__CreateUserGroupResponse %p -> %p\n", q, p)); 09065 *(struct ns1__CreateUserGroupResponse*)p = *(struct ns1__CreateUserGroupResponse*)q; 09066 } 09067 09068 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetSessionId(struct soap *soap, struct ns1__GetSessionId *a) 09069 { 09070 (void)soap; (void)a; /* appease -Wall -Werror */ 09071 soap_default_int(soap, &a->user_USCOREid); 09072 } 09073 09074 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetSessionId(struct soap *soap, const struct ns1__GetSessionId *a) 09075 { 09076 (void)soap; (void)a; /* appease -Wall -Werror */ 09077 } 09078 09079 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetSessionId(struct soap *soap, const char *tag, int id, const struct ns1__GetSessionId *a, const char *type) 09080 { 09081 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetSessionId), type)) 09082 return soap->error; 09083 if (soap_out_int(soap, "user_id", -1, &a->user_USCOREid, "")) 09084 return soap->error; 09085 return soap_element_end_out(soap, tag); 09086 } 09087 09088 SOAP_FMAC3 struct ns1__GetSessionId * SOAP_FMAC4 soap_in_ns1__GetSessionId(struct soap *soap, const char *tag, struct ns1__GetSessionId *a, const char *type) 09089 { 09090 size_t soap_flag_user_USCOREid = 1; 09091 if (soap_element_begin_in(soap, tag, 0, type)) 09092 return NULL; 09093 a = (struct ns1__GetSessionId *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetSessionId, sizeof(struct ns1__GetSessionId), 0, NULL, NULL, NULL); 09094 if (!a) 09095 return NULL; 09096 soap_default_ns1__GetSessionId(soap, a); 09097 if (soap->body && !*soap->href) 09098 { 09099 for (;;) 09100 { soap->error = SOAP_TAG_MISMATCH; 09101 if (soap_flag_user_USCOREid && soap->error == SOAP_TAG_MISMATCH) 09102 if (soap_in_int(soap, "user_id", &a->user_USCOREid, "xsd:int")) 09103 { soap_flag_user_USCOREid--; 09104 continue; 09105 } 09106 if (soap->error == SOAP_TAG_MISMATCH) 09107 soap->error = soap_ignore_element(soap); 09108 if (soap->error == SOAP_NO_TAG) 09109 break; 09110 if (soap->error) 09111 return NULL; 09112 } 09113 if (soap_element_end_in(soap, tag)) 09114 return NULL; 09115 } 09116 else 09117 { a = (struct ns1__GetSessionId *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetSessionId, 0, sizeof(struct ns1__GetSessionId), 0, NULL); 09118 if (soap->body && soap_element_end_in(soap, tag)) 09119 return NULL; 09120 } 09121 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_user_USCOREid > 0)) 09122 { soap->error = SOAP_OCCURS; 09123 return NULL; 09124 } 09125 return a; 09126 } 09127 09128 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetSessionId(struct soap *soap, const struct ns1__GetSessionId *a, const char *tag, const char *type) 09129 { 09130 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetSessionId); 09131 if (soap_out_ns1__GetSessionId(soap, tag?tag:"ns1:GetSessionId", id, a, type)) 09132 return soap->error; 09133 return soap_putindependent(soap); 09134 } 09135 09136 SOAP_FMAC3 struct ns1__GetSessionId * SOAP_FMAC4 soap_get_ns1__GetSessionId(struct soap *soap, struct ns1__GetSessionId *p, const char *tag, const char *type) 09137 { 09138 if ((p = soap_in_ns1__GetSessionId(soap, tag, p, type))) 09139 if (soap_getindependent(soap)) 09140 return NULL; 09141 return p; 09142 } 09143 09144 SOAP_FMAC1 struct ns1__GetSessionId * SOAP_FMAC2 soap_instantiate_ns1__GetSessionId(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 09145 { 09146 (void)type; (void)arrayType; /* appease -Wall -Werror */ 09147 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetSessionId(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 09148 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetSessionId, n, soap_fdelete); 09149 if (!cp) 09150 return NULL; 09151 if (n < 0) 09152 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetSessionId); 09153 if (size) 09154 *size = sizeof(struct ns1__GetSessionId); 09155 } 09156 else 09157 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetSessionId[n]); 09158 if (!cp->ptr) 09159 { soap->error = SOAP_EOM; 09160 return NULL; 09161 } 09162 if (size) 09163 *size = n * sizeof(struct ns1__GetSessionId); 09164 } 09165 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 09166 return (struct ns1__GetSessionId*)cp->ptr; 09167 } 09168 09169 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetSessionId(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 09170 { 09171 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 09172 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetSessionId %p -> %p\n", q, p)); 09173 *(struct ns1__GetSessionId*)p = *(struct ns1__GetSessionId*)q; 09174 } 09175 09176 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__GetSessionIdResponse(struct soap *soap, struct ns1__GetSessionIdResponse *a) 09177 { 09178 (void)soap; (void)a; /* appease -Wall -Werror */ 09179 soap_default_int(soap, &a->retvalue); 09180 soap_default_int(soap, &a->options); 09181 soap_default_int(soap, &a->session_USCOREid); 09182 } 09183 09184 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__GetSessionIdResponse(struct soap *soap, const struct ns1__GetSessionIdResponse *a) 09185 { 09186 (void)soap; (void)a; /* appease -Wall -Werror */ 09187 } 09188 09189 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__GetSessionIdResponse(struct soap *soap, const char *tag, int id, const struct ns1__GetSessionIdResponse *a, const char *type) 09190 { 09191 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__GetSessionIdResponse), type)) 09192 return soap->error; 09193 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 09194 return soap->error; 09195 if (soap_out_int(soap, "options", -1, &a->options, "")) 09196 return soap->error; 09197 if (soap_out_int(soap, "session_id", -1, &a->session_USCOREid, "")) 09198 return soap->error; 09199 return soap_element_end_out(soap, tag); 09200 } 09201 09202 SOAP_FMAC3 struct ns1__GetSessionIdResponse * SOAP_FMAC4 soap_in_ns1__GetSessionIdResponse(struct soap *soap, const char *tag, struct ns1__GetSessionIdResponse *a, const char *type) 09203 { 09204 size_t soap_flag_retvalue = 1; 09205 size_t soap_flag_options = 1; 09206 size_t soap_flag_session_USCOREid = 1; 09207 if (soap_element_begin_in(soap, tag, 0, type)) 09208 return NULL; 09209 a = (struct ns1__GetSessionIdResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__GetSessionIdResponse, sizeof(struct ns1__GetSessionIdResponse), 0, NULL, NULL, NULL); 09210 if (!a) 09211 return NULL; 09212 soap_default_ns1__GetSessionIdResponse(soap, a); 09213 if (soap->body && !*soap->href) 09214 { 09215 for (;;) 09216 { soap->error = SOAP_TAG_MISMATCH; 09217 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 09218 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 09219 { soap_flag_retvalue--; 09220 continue; 09221 } 09222 if (soap_flag_options && soap->error == SOAP_TAG_MISMATCH) 09223 if (soap_in_int(soap, "options", &a->options, "xsd:int")) 09224 { soap_flag_options--; 09225 continue; 09226 } 09227 if (soap_flag_session_USCOREid && soap->error == SOAP_TAG_MISMATCH) 09228 if (soap_in_int(soap, "session_id", &a->session_USCOREid, "xsd:int")) 09229 { soap_flag_session_USCOREid--; 09230 continue; 09231 } 09232 if (soap->error == SOAP_TAG_MISMATCH) 09233 soap->error = soap_ignore_element(soap); 09234 if (soap->error == SOAP_NO_TAG) 09235 break; 09236 if (soap->error) 09237 return NULL; 09238 } 09239 if (soap_element_end_in(soap, tag)) 09240 return NULL; 09241 } 09242 else 09243 { a = (struct ns1__GetSessionIdResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__GetSessionIdResponse, 0, sizeof(struct ns1__GetSessionIdResponse), 0, NULL); 09244 if (soap->body && soap_element_end_in(soap, tag)) 09245 return NULL; 09246 } 09247 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0 || soap_flag_options > 0 || soap_flag_session_USCOREid > 0)) 09248 { soap->error = SOAP_OCCURS; 09249 return NULL; 09250 } 09251 return a; 09252 } 09253 09254 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__GetSessionIdResponse(struct soap *soap, const struct ns1__GetSessionIdResponse *a, const char *tag, const char *type) 09255 { 09256 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__GetSessionIdResponse); 09257 if (soap_out_ns1__GetSessionIdResponse(soap, tag?tag:"ns1:GetSessionIdResponse", id, a, type)) 09258 return soap->error; 09259 return soap_putindependent(soap); 09260 } 09261 09262 SOAP_FMAC3 struct ns1__GetSessionIdResponse * SOAP_FMAC4 soap_get_ns1__GetSessionIdResponse(struct soap *soap, struct ns1__GetSessionIdResponse *p, const char *tag, const char *type) 09263 { 09264 if ((p = soap_in_ns1__GetSessionIdResponse(soap, tag, p, type))) 09265 if (soap_getindependent(soap)) 09266 return NULL; 09267 return p; 09268 } 09269 09270 SOAP_FMAC1 struct ns1__GetSessionIdResponse * SOAP_FMAC2 soap_instantiate_ns1__GetSessionIdResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 09271 { 09272 (void)type; (void)arrayType; /* appease -Wall -Werror */ 09273 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__GetSessionIdResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 09274 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__GetSessionIdResponse, n, soap_fdelete); 09275 if (!cp) 09276 return NULL; 09277 if (n < 0) 09278 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetSessionIdResponse); 09279 if (size) 09280 *size = sizeof(struct ns1__GetSessionIdResponse); 09281 } 09282 else 09283 { cp->ptr = (void*)SOAP_NEW(struct ns1__GetSessionIdResponse[n]); 09284 if (!cp->ptr) 09285 { soap->error = SOAP_EOM; 09286 return NULL; 09287 } 09288 if (size) 09289 *size = n * sizeof(struct ns1__GetSessionIdResponse); 09290 } 09291 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 09292 return (struct ns1__GetSessionIdResponse*)cp->ptr; 09293 } 09294 09295 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__GetSessionIdResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 09296 { 09297 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 09298 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__GetSessionIdResponse %p -> %p\n", q, p)); 09299 *(struct ns1__GetSessionIdResponse*)p = *(struct ns1__GetSessionIdResponse*)q; 09300 } 09301 09302 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__Connect(struct soap *soap, struct ns1__Connect *a) 09303 { 09304 (void)soap; (void)a; /* appease -Wall -Werror */ 09305 soap_default_std__string(soap, &a->user); 09306 soap_default_std__string(soap, &a->pass); 09307 } 09308 09309 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__Connect(struct soap *soap, const struct ns1__Connect *a) 09310 { 09311 (void)soap; (void)a; /* appease -Wall -Werror */ 09312 soap_serialize_std__string(soap, &a->user); 09313 soap_serialize_std__string(soap, &a->pass); 09314 } 09315 09316 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__Connect(struct soap *soap, const char *tag, int id, const struct ns1__Connect *a, const char *type) 09317 { 09318 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__Connect), type)) 09319 return soap->error; 09320 if (soap_out_std__string(soap, "user", -1, &a->user, "")) 09321 return soap->error; 09322 if (soap_out_std__string(soap, "pass", -1, &a->pass, "")) 09323 return soap->error; 09324 return soap_element_end_out(soap, tag); 09325 } 09326 09327 SOAP_FMAC3 struct ns1__Connect * SOAP_FMAC4 soap_in_ns1__Connect(struct soap *soap, const char *tag, struct ns1__Connect *a, const char *type) 09328 { 09329 size_t soap_flag_user = 1; 09330 size_t soap_flag_pass = 1; 09331 if (soap_element_begin_in(soap, tag, 0, type)) 09332 return NULL; 09333 a = (struct ns1__Connect *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__Connect, sizeof(struct ns1__Connect), soap->type, soap->arrayType); 09334 if (!a) 09335 return NULL; 09336 soap_default_ns1__Connect(soap, a); 09337 if (soap->body && !*soap->href) 09338 { 09339 for (;;) 09340 { soap->error = SOAP_TAG_MISMATCH; 09341 if (soap_flag_user && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 09342 if (soap_in_std__string(soap, "user", &a->user, "xsd:string")) 09343 { soap_flag_user--; 09344 continue; 09345 } 09346 if (soap_flag_pass && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 09347 if (soap_in_std__string(soap, "pass", &a->pass, "xsd:string")) 09348 { soap_flag_pass--; 09349 continue; 09350 } 09351 if (soap->error == SOAP_TAG_MISMATCH) 09352 soap->error = soap_ignore_element(soap); 09353 if (soap->error == SOAP_NO_TAG) 09354 break; 09355 if (soap->error) 09356 return NULL; 09357 } 09358 if (soap_element_end_in(soap, tag)) 09359 return NULL; 09360 } 09361 else 09362 { a = (struct ns1__Connect *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__Connect, 0, sizeof(struct ns1__Connect), 0, soap_copy_ns1__Connect); 09363 if (soap->body && soap_element_end_in(soap, tag)) 09364 return NULL; 09365 } 09366 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_user > 0 || soap_flag_pass > 0)) 09367 { soap->error = SOAP_OCCURS; 09368 return NULL; 09369 } 09370 return a; 09371 } 09372 09373 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__Connect(struct soap *soap, const struct ns1__Connect *a, const char *tag, const char *type) 09374 { 09375 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__Connect); 09376 if (soap_out_ns1__Connect(soap, tag?tag:"ns1:Connect", id, a, type)) 09377 return soap->error; 09378 return soap_putindependent(soap); 09379 } 09380 09381 SOAP_FMAC3 struct ns1__Connect * SOAP_FMAC4 soap_get_ns1__Connect(struct soap *soap, struct ns1__Connect *p, const char *tag, const char *type) 09382 { 09383 if ((p = soap_in_ns1__Connect(soap, tag, p, type))) 09384 if (soap_getindependent(soap)) 09385 return NULL; 09386 return p; 09387 } 09388 09389 SOAP_FMAC1 struct ns1__Connect * SOAP_FMAC2 soap_instantiate_ns1__Connect(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 09390 { 09391 (void)type; (void)arrayType; /* appease -Wall -Werror */ 09392 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__Connect(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 09393 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__Connect, n, soap_fdelete); 09394 if (!cp) 09395 return NULL; 09396 if (n < 0) 09397 { cp->ptr = (void*)SOAP_NEW(struct ns1__Connect); 09398 if (size) 09399 *size = sizeof(struct ns1__Connect); 09400 } 09401 else 09402 { cp->ptr = (void*)SOAP_NEW(struct ns1__Connect[n]); 09403 if (!cp->ptr) 09404 { soap->error = SOAP_EOM; 09405 return NULL; 09406 } 09407 if (size) 09408 *size = n * sizeof(struct ns1__Connect); 09409 } 09410 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 09411 return (struct ns1__Connect*)cp->ptr; 09412 } 09413 09414 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__Connect(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 09415 { 09416 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 09417 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__Connect %p -> %p\n", q, p)); 09418 *(struct ns1__Connect*)p = *(struct ns1__Connect*)q; 09419 } 09420 09421 SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__ConnectResponse(struct soap *soap, struct ns1__ConnectResponse *a) 09422 { 09423 (void)soap; (void)a; /* appease -Wall -Werror */ 09424 soap_default_int(soap, &a->retvalue); 09425 soap_default_int(soap, &a->user_USCOREid); 09426 } 09427 09428 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__ConnectResponse(struct soap *soap, const struct ns1__ConnectResponse *a) 09429 { 09430 (void)soap; (void)a; /* appease -Wall -Werror */ 09431 } 09432 09433 SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__ConnectResponse(struct soap *soap, const char *tag, int id, const struct ns1__ConnectResponse *a, const char *type) 09434 { 09435 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__ConnectResponse), type)) 09436 return soap->error; 09437 if (soap_out_int(soap, "retvalue", -1, &a->retvalue, "")) 09438 return soap->error; 09439 if (soap_out_int(soap, "user_id", -1, &a->user_USCOREid, "")) 09440 return soap->error; 09441 return soap_element_end_out(soap, tag); 09442 } 09443 09444 SOAP_FMAC3 struct ns1__ConnectResponse * SOAP_FMAC4 soap_in_ns1__ConnectResponse(struct soap *soap, const char *tag, struct ns1__ConnectResponse *a, const char *type) 09445 { 09446 size_t soap_flag_retvalue = 1; 09447 size_t soap_flag_user_USCOREid = 1; 09448 if (soap_element_begin_in(soap, tag, 0, type)) 09449 return NULL; 09450 a = (struct ns1__ConnectResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__ConnectResponse, sizeof(struct ns1__ConnectResponse), 0, NULL, NULL, NULL); 09451 if (!a) 09452 return NULL; 09453 soap_default_ns1__ConnectResponse(soap, a); 09454 if (soap->body && !*soap->href) 09455 { 09456 for (;;) 09457 { soap->error = SOAP_TAG_MISMATCH; 09458 if (soap_flag_retvalue && soap->error == SOAP_TAG_MISMATCH) 09459 if (soap_in_int(soap, "retvalue", &a->retvalue, "xsd:int")) 09460 { soap_flag_retvalue--; 09461 continue; 09462 } 09463 if (soap_flag_user_USCOREid && soap->error == SOAP_TAG_MISMATCH) 09464 if (soap_in_int(soap, "user_id", &a->user_USCOREid, "xsd:int")) 09465 { soap_flag_user_USCOREid--; 09466 continue; 09467 } 09468 if (soap->error == SOAP_TAG_MISMATCH) 09469 soap->error = soap_ignore_element(soap); 09470 if (soap->error == SOAP_NO_TAG) 09471 break; 09472 if (soap->error) 09473 return NULL; 09474 } 09475 if (soap_element_end_in(soap, tag)) 09476 return NULL; 09477 } 09478 else 09479 { a = (struct ns1__ConnectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__ConnectResponse, 0, sizeof(struct ns1__ConnectResponse), 0, NULL); 09480 if (soap->body && soap_element_end_in(soap, tag)) 09481 return NULL; 09482 } 09483 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_retvalue > 0 || soap_flag_user_USCOREid > 0)) 09484 { soap->error = SOAP_OCCURS; 09485 return NULL; 09486 } 09487 return a; 09488 } 09489 09490 SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__ConnectResponse(struct soap *soap, const struct ns1__ConnectResponse *a, const char *tag, const char *type) 09491 { 09492 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__ConnectResponse); 09493 if (soap_out_ns1__ConnectResponse(soap, tag?tag:"ns1:ConnectResponse", id, a, type)) 09494 return soap->error; 09495 return soap_putindependent(soap); 09496 } 09497 09498 SOAP_FMAC3 struct ns1__ConnectResponse * SOAP_FMAC4 soap_get_ns1__ConnectResponse(struct soap *soap, struct ns1__ConnectResponse *p, const char *tag, const char *type) 09499 { 09500 if ((p = soap_in_ns1__ConnectResponse(soap, tag, p, type))) 09501 if (soap_getindependent(soap)) 09502 return NULL; 09503 return p; 09504 } 09505 09506 SOAP_FMAC1 struct ns1__ConnectResponse * SOAP_FMAC2 soap_instantiate_ns1__ConnectResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) 09507 { 09508 (void)type; (void)arrayType; /* appease -Wall -Werror */ 09509 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__ConnectResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); 09510 struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__ConnectResponse, n, soap_fdelete); 09511 if (!cp) 09512 return NULL; 09513 if (n < 0) 09514 { cp->ptr = (void*)SOAP_NEW(struct ns1__ConnectResponse); 09515 if (size) 09516 *size = sizeof(struct ns1__ConnectResponse); 09517 } 09518 else 09519 { cp->ptr = (void*)SOAP_NEW(struct ns1__ConnectResponse[n]); 09520 if (!cp->ptr) 09521 { soap->error = SOAP_EOM; 09522 return NULL; 09523 } 09524 if (size) 09525 *size = n * sizeof(struct ns1__ConnectResponse); 09526 } 09527 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 09528 return (struct ns1__ConnectResponse*)cp->ptr; 09529 } 09530 09531 SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__ConnectResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) 09532 { 09533 (void)soap; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ 09534 DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct ns1__ConnectResponse %p -> %p\n", q, p)); 09535 *(struct ns1__ConnectResponse*)p = *(struct ns1__ConnectResponse*)q; 09536 } 09537 09538 #ifndef WITH_NOGLOBAL 09539 09540 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a) 09541 { 09542 if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Reason)) 09543 soap_serialize_SOAP_ENV__Reason(soap, *a); 09544 } 09545 09546 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) 09547 { 09548 id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Reason); 09549 if (id < 0) 09550 return soap->error; 09551 return soap_out_SOAP_ENV__Reason(soap, tag, id, *a, type); 09552 } 09553 09554 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) 09555 { 09556 if (soap_element_begin_in(soap, tag, 1, NULL)) 09557 return NULL; 09558 if (!a) 09559 if (!(a = (struct SOAP_ENV__Reason **)soap_malloc(soap, sizeof(struct SOAP_ENV__Reason *)))) 09560 return NULL; 09561 *a = NULL; 09562 if (!soap->null && *soap->href != '#') 09563 { soap_revert(soap); 09564 if (!(*a = soap_in_SOAP_ENV__Reason(soap, tag, *a, type))) 09565 return NULL; 09566 } 09567 else 09568 { a = (struct SOAP_ENV__Reason **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0); 09569 if (soap->body && soap_element_end_in(soap, tag)) 09570 return NULL; 09571 } 09572 return a; 09573 } 09574 09575 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) 09576 { 09577 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Reason); 09578 if (soap_out_PointerToSOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, a, type)) 09579 return soap->error; 09580 return soap_putindependent(soap); 09581 } 09582 09583 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) 09584 { 09585 if ((p = soap_in_PointerToSOAP_ENV__Reason(soap, tag, p, type))) 09586 if (soap_getindependent(soap)) 09587 return NULL; 09588 return p; 09589 } 09590 09591 #endif 09592 09593 #ifndef WITH_NOGLOBAL 09594 09595 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a) 09596 { 09597 if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Detail)) 09598 soap_serialize_SOAP_ENV__Detail(soap, *a); 09599 } 09600 09601 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) 09602 { 09603 id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Detail); 09604 if (id < 0) 09605 return soap->error; 09606 return soap_out_SOAP_ENV__Detail(soap, tag, id, *a, type); 09607 } 09608 09609 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) 09610 { 09611 if (soap_element_begin_in(soap, tag, 1, NULL)) 09612 return NULL; 09613 if (!a) 09614 if (!(a = (struct SOAP_ENV__Detail **)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail *)))) 09615 return NULL; 09616 *a = NULL; 09617 if (!soap->null && *soap->href != '#') 09618 { soap_revert(soap); 09619 if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type))) 09620 return NULL; 09621 } 09622 else 09623 { a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0); 09624 if (soap->body && soap_element_end_in(soap, tag)) 09625 return NULL; 09626 } 09627 return a; 09628 } 09629 09630 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) 09631 { 09632 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Detail); 09633 if (soap_out_PointerToSOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, a, type)) 09634 return soap->error; 09635 return soap_putindependent(soap); 09636 } 09637 09638 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) 09639 { 09640 if ((p = soap_in_PointerToSOAP_ENV__Detail(soap, tag, p, type))) 09641 if (soap_getindependent(soap)) 09642 return NULL; 09643 return p; 09644 } 09645 09646 #endif 09647 09648 #ifndef WITH_NOGLOBAL 09649 09650 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a) 09651 { 09652 if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Code)) 09653 soap_serialize_SOAP_ENV__Code(soap, *a); 09654 } 09655 09656 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) 09657 { 09658 id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code); 09659 if (id < 0) 09660 return soap->error; 09661 return soap_out_SOAP_ENV__Code(soap, tag, id, *a, type); 09662 } 09663 09664 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) 09665 { 09666 if (soap_element_begin_in(soap, tag, 1, NULL)) 09667 return NULL; 09668 if (!a) 09669 if (!(a = (struct SOAP_ENV__Code **)soap_malloc(soap, sizeof(struct SOAP_ENV__Code *)))) 09670 return NULL; 09671 *a = NULL; 09672 if (!soap->null && *soap->href != '#') 09673 { soap_revert(soap); 09674 if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type))) 09675 return NULL; 09676 } 09677 else 09678 { a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0); 09679 if (soap->body && soap_element_end_in(soap, tag)) 09680 return NULL; 09681 } 09682 return a; 09683 } 09684 09685 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) 09686 { 09687 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Code); 09688 if (soap_out_PointerToSOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, a, type)) 09689 return soap->error; 09690 return soap_putindependent(soap); 09691 } 09692 09693 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) 09694 { 09695 if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type))) 09696 if (soap_getindependent(soap)) 09697 return NULL; 09698 return p; 09699 } 09700 09701 #endif 09702 09703 SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, int id, char *const*a, const char *type) 09704 { 09705 return soap_outstring(soap, tag, id, a, type, SOAP_TYPE__QName); 09706 } 09707 09708 SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag, char **a, const char *type) 09709 { char **p; 09710 p = soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, -1, -1); 09711 return p; 09712 } 09713 09714 SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type) 09715 { 09716 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE__QName); 09717 if (soap_out__QName(soap, tag?tag:"byte", id, a, type)) 09718 return soap->error; 09719 return soap_putindependent(soap); 09720 } 09721 09722 SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap *soap, char **p, const char *tag, const char *type) 09723 { 09724 if ((p = soap_in__QName(soap, tag, p, type))) 09725 if (soap_getindependent(soap)) 09726 return NULL; 09727 return p; 09728 } 09729 09730 SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a) 09731 { 09732 (void)soap; /* appease -Wall -Werror */ 09733 #ifdef SOAP_DEFAULT_string 09734 *a = SOAP_DEFAULT_string; 09735 #else 09736 *a = (char *)0; 09737 #endif 09738 } 09739 09740 SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a) 09741 { 09742 soap_reference(soap, *a, SOAP_TYPE_string); 09743 } 09744 09745 SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type) 09746 { 09747 return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_string); 09748 } 09749 09750 SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type) 09751 { char **p; 09752 p = soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, -1, -1); 09753 return p; 09754 } 09755 09756 SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type) 09757 { 09758 register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_string); 09759 if (soap_out_string(soap, tag?tag:"byte", id, a, type)) 09760 return soap->error; 09761 return soap_putindependent(soap); 09762 } 09763 09764 SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type) 09765 { 09766 if ((p = soap_in_string(soap, tag, p, type))) 09767 if (soap_getindependent(soap)) 09768 return NULL; 09769 return p; 09770 } 09771 09772 #if defined(__BORLANDC__) 09773 #pragma option pop 09774 #pragma option pop 09775 #endif 09776 09777 /* End of soapC.cpp */