You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3879 lines
140 KiB
3879 lines
140 KiB
/* soapC.cpp
|
|
Generated by gSOAP 2.8.103 for .\sendToClass.h
|
|
|
|
gSOAP XML Web services tools
|
|
Copyright (C) 2000-2020, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
|
The soapcpp2 tool and its generated software are released under the GPL.
|
|
This program is released under the GPL with the additional exemption that
|
|
compiling, linking, and/or using OpenSSL is allowed.
|
|
--------------------------------------------------------------------------------
|
|
A commercial use license is available from Genivia Inc., contact@genivia.com
|
|
--------------------------------------------------------------------------------
|
|
*/
|
|
|
|
#if defined(__BORLANDC__)
|
|
#pragma option push -w-8060
|
|
#pragma option push -w-8004
|
|
#endif
|
|
|
|
#include "soapH.h"
|
|
|
|
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.103 2020-09-03 08:53:03 GMT")
|
|
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap)
|
|
{
|
|
soap->part = SOAP_IN_HEADER;
|
|
soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", soap->header, NULL);
|
|
soap->part = SOAP_END_HEADER;
|
|
return soap->header == NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
|
|
{
|
|
if (soap->version && soap->header)
|
|
{ soap->part = SOAP_IN_HEADER;
|
|
if (soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, ""))
|
|
return soap->error;
|
|
soap->part = SOAP_END_HEADER;
|
|
}
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
|
|
{
|
|
if (soap->version && soap->header)
|
|
soap_serialize_SOAP_ENV__Header(soap, soap->header);
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
|
|
{
|
|
if (soap->header == NULL)
|
|
{ if ((soap->header = soap_new_SOAP_ENV__Header(soap)))
|
|
soap_default_SOAP_ENV__Header(soap, soap->header);
|
|
}
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
|
|
{
|
|
if (soap->fault == NULL)
|
|
{ soap->fault = soap_new_SOAP_ENV__Fault(soap, -1);
|
|
if (soap->fault == NULL)
|
|
return;
|
|
}
|
|
if (soap->version == 2 && soap->fault->SOAP_ENV__Code == NULL)
|
|
soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap, -1);
|
|
if (soap->version == 2 && soap->fault->SOAP_ENV__Reason == NULL)
|
|
soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap, -1);
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
|
|
{
|
|
if (soap->fault)
|
|
soap_serialize_SOAP_ENV__Fault(soap, soap->fault);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap *soap)
|
|
{
|
|
if (soap->fault)
|
|
return soap_put_SOAP_ENV__Fault(soap, soap->fault, "SOAP-ENV:Fault", "");
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap)
|
|
{
|
|
return (soap->fault = soap_get_SOAP_ENV__Fault(soap, NULL, "SOAP-ENV:Fault", NULL)) == NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
|
|
{
|
|
soap_fault(soap);
|
|
if (soap->fault == NULL)
|
|
return NULL;
|
|
if (soap->version == 2 && soap->fault->SOAP_ENV__Code)
|
|
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
|
|
return (const char**)(void*)&soap->fault->faultcode;
|
|
}
|
|
|
|
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
|
|
{
|
|
soap_fault(soap);
|
|
if (soap->fault == NULL)
|
|
return NULL;
|
|
if (soap->version == 2 && soap->fault->SOAP_ENV__Code)
|
|
{ if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
|
|
{ soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap, -1);
|
|
if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
|
|
return NULL;
|
|
}
|
|
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
|
|
}
|
|
return (const char**)(void*)&soap->fault->faultcode;
|
|
}
|
|
|
|
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_subcode(struct soap *soap)
|
|
{
|
|
const char **s = soap_faultsubcode(soap);
|
|
return s ? *s : NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
|
|
{
|
|
soap_fault(soap);
|
|
if (soap->fault == NULL)
|
|
return NULL;
|
|
if (soap->version == 2 && soap->fault->SOAP_ENV__Reason)
|
|
return (const char**)(void*)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text;
|
|
return (const char**)(void*)&soap->fault->faultstring;
|
|
}
|
|
|
|
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_string(struct soap *soap)
|
|
{
|
|
const char **s = soap_faultstring(soap);
|
|
return s ? *s : NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
|
|
{
|
|
soap_fault(soap);
|
|
if (soap->fault == NULL)
|
|
return NULL;
|
|
if (soap->version == 2)
|
|
{ if (soap->fault->SOAP_ENV__Detail == NULL)
|
|
soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
|
return (const char**)(void*)&soap->fault->SOAP_ENV__Detail->__any;
|
|
}
|
|
if (soap->fault->detail == NULL)
|
|
soap->fault->detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
|
return (const char**)(void*)&soap->fault->detail->__any;
|
|
}
|
|
|
|
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_detail(struct soap *soap)
|
|
{
|
|
const char **s = soap_faultdetail(soap);
|
|
return s ? *s : NULL;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOIDREF
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
|
|
{
|
|
int t;
|
|
if (soap->version == 1)
|
|
{ for (;;)
|
|
{ if (!soap_getelement(soap, NULL, &t))
|
|
if ((soap->error && soap->error != SOAP_TAG_MISMATCH) || soap_ignore_element(soap))
|
|
break;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_NO_TAG || soap->error == SOAP_EOF)
|
|
soap->error = SOAP_OK;
|
|
return soap->error;
|
|
}
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, const char *tag, int *type)
|
|
{ (void)type;
|
|
if (soap_peek_element(soap))
|
|
return NULL;
|
|
#ifndef WITH_NOIDREF
|
|
if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id)))
|
|
*type = soap_lookup_type(soap, soap->href);
|
|
switch (*type)
|
|
{
|
|
case SOAP_TYPE_byte:
|
|
return soap_in_byte(soap, tag, NULL, "xsd:byte");
|
|
case SOAP_TYPE_int:
|
|
return soap_in_int(soap, tag, NULL, "xsd:int");
|
|
case SOAP_TYPE_PointerTo_ns1__DeleteClass:
|
|
return soap_in_PointerTo_ns1__DeleteClass(soap, tag, NULL, "ns1:DeleteClass");
|
|
case SOAP_TYPE_PointerTo_ns1__SendToClass:
|
|
return soap_in_PointerTo_ns1__SendToClass(soap, tag, NULL, "ns1:SendToClass");
|
|
case SOAP_TYPE_PointerTo_ns1__CreateProject:
|
|
return soap_in_PointerTo_ns1__CreateProject(soap, tag, NULL, "ns1:CreateProject");
|
|
case SOAP_TYPE_PointerTo_ns1__SetMaterialStatusS:
|
|
return soap_in_PointerTo_ns1__SetMaterialStatusS(soap, tag, NULL, "ns1:SetMaterialStatusS");
|
|
case SOAP_TYPE_wstring:
|
|
{ wchar_t **s;
|
|
s = soap_in_wstring(soap, tag, NULL, "xsd:string");
|
|
return s ? *s : NULL;
|
|
}
|
|
case SOAP_TYPE__QName:
|
|
{ char **s;
|
|
s = soap_in__QName(soap, tag, NULL, "xsd:QName");
|
|
return s ? *s : NULL;
|
|
}
|
|
case SOAP_TYPE_string:
|
|
{ char **s;
|
|
s = soap_in_string(soap, tag, NULL, "xsd:string");
|
|
return s ? *s : NULL;
|
|
}
|
|
default:
|
|
#else
|
|
*type = 0;
|
|
#endif
|
|
{ const char *t = soap->type;
|
|
if (!*t)
|
|
t = soap->tag;
|
|
if (!soap_match_tag(soap, t, "xsd:byte"))
|
|
{ *type = SOAP_TYPE_byte;
|
|
return soap_in_byte(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "xsd:int"))
|
|
{ *type = SOAP_TYPE_int;
|
|
return soap_in_int(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "xsd:string"))
|
|
{ wchar_t **s;
|
|
*type = SOAP_TYPE_wstring;
|
|
s = soap_in_wstring(soap, tag, NULL, NULL);
|
|
return s ? *s : NULL;
|
|
}
|
|
if (!soap_match_tag(soap, t, "xsd:QName"))
|
|
{ char **s;
|
|
*type = SOAP_TYPE__QName;
|
|
s = soap_in__QName(soap, tag, NULL, NULL);
|
|
return s ? *s : NULL;
|
|
}
|
|
if (!soap_match_tag(soap, t, "xsd:string"))
|
|
{ char **s;
|
|
*type = SOAP_TYPE_string;
|
|
s = soap_in_string(soap, tag, NULL, NULL);
|
|
return s ? *s : NULL;
|
|
}
|
|
t = soap->tag;
|
|
if (!soap_match_tag(soap, t, "ns1:DeleteClassResponse"))
|
|
{ *type = SOAP_TYPE__ns1__DeleteClassResponse;
|
|
return soap_in__ns1__DeleteClassResponse(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DeleteClass"))
|
|
{ *type = SOAP_TYPE__ns1__DeleteClass;
|
|
return soap_in__ns1__DeleteClass(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:SendToClassResponse"))
|
|
{ *type = SOAP_TYPE__ns1__SendToClassResponse;
|
|
return soap_in__ns1__SendToClassResponse(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:SendToClass"))
|
|
{ *type = SOAP_TYPE__ns1__SendToClass;
|
|
return soap_in__ns1__SendToClass(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:CreateProjectResponse"))
|
|
{ *type = SOAP_TYPE__ns1__CreateProjectResponse;
|
|
return soap_in__ns1__CreateProjectResponse(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:CreateProject"))
|
|
{ *type = SOAP_TYPE__ns1__CreateProject;
|
|
return soap_in__ns1__CreateProject(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:SetMaterialStatusSResponse"))
|
|
{ *type = SOAP_TYPE__ns1__SetMaterialStatusSResponse;
|
|
return soap_in__ns1__SetMaterialStatusSResponse(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:SetMaterialStatusS"))
|
|
{ *type = SOAP_TYPE__ns1__SetMaterialStatusS;
|
|
return soap_in__ns1__SetMaterialStatusS(soap, NULL, NULL, NULL);
|
|
}
|
|
#ifndef WITH_NOIDREF
|
|
}
|
|
#endif
|
|
}
|
|
soap->error = SOAP_TAG_MISMATCH;
|
|
return NULL;
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap)
|
|
{
|
|
if (!soap_peek_element(soap))
|
|
{ int t;
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input at level = %u body = %d)\n", soap->tag, soap->level, soap->body));
|
|
if (soap->mustUnderstand && !soap->other && !soap->fignore)
|
|
return soap->error = SOAP_MUSTUNDERSTAND;
|
|
if (((soap->mode & SOAP_XML_STRICT) && !soap->fignore && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:"))
|
|
{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag));
|
|
return soap->error = SOAP_TAG_MISMATCH;
|
|
}
|
|
if (!*soap->id || !soap_getelement(soap, NULL, &t))
|
|
{ soap->peeked = 0;
|
|
if (soap->fignore)
|
|
soap->error = soap->fignore(soap, soap->tag);
|
|
else
|
|
soap->error = SOAP_OK;
|
|
DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag));
|
|
if (!soap->error && soap->body && soap_ignore(soap))
|
|
return soap->error;
|
|
}
|
|
}
|
|
return soap->error;
|
|
}
|
|
|
|
#ifndef WITH_NOIDREF
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap)
|
|
{
|
|
int i;
|
|
struct soap_plist *pp;
|
|
if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)))
|
|
for (i = 0; i < SOAP_PTRHASH; i++)
|
|
for (pp = soap->pht[i]; pp; pp = pp->next)
|
|
if (pp->mark1 == 2 || pp->mark2 == 2)
|
|
if (soap_putelement(soap, pp->ptr, SOAP_MULTIREFTAG, pp->id, pp->type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type)
|
|
{ (void)tag;
|
|
switch (type)
|
|
{
|
|
case SOAP_TYPE_byte:
|
|
return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
|
|
case SOAP_TYPE_int:
|
|
return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
|
|
case SOAP_TYPE__ns1__DeleteClassResponse:
|
|
return ((_ns1__DeleteClassResponse *)ptr)->soap_out(soap, "ns1:DeleteClassResponse", id, "");
|
|
case SOAP_TYPE__ns1__DeleteClass:
|
|
return ((_ns1__DeleteClass *)ptr)->soap_out(soap, "ns1:DeleteClass", id, "");
|
|
case SOAP_TYPE__ns1__SendToClassResponse:
|
|
return ((_ns1__SendToClassResponse *)ptr)->soap_out(soap, "ns1:SendToClassResponse", id, "");
|
|
case SOAP_TYPE__ns1__SendToClass:
|
|
return ((_ns1__SendToClass *)ptr)->soap_out(soap, "ns1:SendToClass", id, "");
|
|
case SOAP_TYPE__ns1__CreateProjectResponse:
|
|
return ((_ns1__CreateProjectResponse *)ptr)->soap_out(soap, "ns1:CreateProjectResponse", id, "");
|
|
case SOAP_TYPE__ns1__CreateProject:
|
|
return ((_ns1__CreateProject *)ptr)->soap_out(soap, "ns1:CreateProject", id, "");
|
|
case SOAP_TYPE__ns1__SetMaterialStatusSResponse:
|
|
return ((_ns1__SetMaterialStatusSResponse *)ptr)->soap_out(soap, "ns1:SetMaterialStatusSResponse", id, "");
|
|
case SOAP_TYPE__ns1__SetMaterialStatusS:
|
|
return ((_ns1__SetMaterialStatusS *)ptr)->soap_out(soap, "ns1:SetMaterialStatusS", id, "");
|
|
case SOAP_TYPE_PointerTo_ns1__DeleteClass:
|
|
return soap_out_PointerTo_ns1__DeleteClass(soap, tag, id, (_ns1__DeleteClass *const*)ptr, "ns1:DeleteClass");
|
|
case SOAP_TYPE_PointerTo_ns1__SendToClass:
|
|
return soap_out_PointerTo_ns1__SendToClass(soap, tag, id, (_ns1__SendToClass *const*)ptr, "ns1:SendToClass");
|
|
case SOAP_TYPE_PointerTo_ns1__CreateProject:
|
|
return soap_out_PointerTo_ns1__CreateProject(soap, tag, id, (_ns1__CreateProject *const*)ptr, "ns1:CreateProject");
|
|
case SOAP_TYPE_PointerTo_ns1__SetMaterialStatusS:
|
|
return soap_out_PointerTo_ns1__SetMaterialStatusS(soap, tag, id, (_ns1__SetMaterialStatusS *const*)ptr, "ns1:SetMaterialStatusS");
|
|
case SOAP_TYPE_wstring:
|
|
return soap_out_wstring(soap, tag, id, (wchar_t*const*)(void*)&ptr, "xsd:string");
|
|
case SOAP_TYPE__QName:
|
|
return soap_out_string(soap, tag, id, (char*const*)(void*)&ptr, "xsd:QName");
|
|
case SOAP_TYPE_string:
|
|
return soap_out_string(soap, tag, id, (char*const*)(void*)&ptr, "xsd:string");
|
|
case 0:
|
|
return SOAP_OK;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_putelement '%s' failed for type %d in soapC.cpp\n", tag ? tag : "", type));
|
|
return soap_element_empty(soap, tag); /* unknown type to serialize */
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#ifndef WITH_NOIDREF
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr, int type)
|
|
{
|
|
(void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
|
|
switch (type)
|
|
{
|
|
case SOAP_TYPE__ns1__DeleteClassResponse:
|
|
((_ns1__DeleteClassResponse *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DeleteClass:
|
|
((_ns1__DeleteClass *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClassResponse:
|
|
((_ns1__SendToClassResponse *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClass:
|
|
((_ns1__SendToClass *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProjectResponse:
|
|
((_ns1__CreateProjectResponse *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProject:
|
|
((_ns1__CreateProject *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__SetMaterialStatusSResponse:
|
|
((_ns1__SetMaterialStatusSResponse *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__SetMaterialStatusS:
|
|
((_ns1__SetMaterialStatusS *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass_:
|
|
soap_serialize___ns1__DeleteClass_(soap, (const struct __ns1__DeleteClass_ *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass_:
|
|
soap_serialize___ns1__SendToClass_(soap, (const struct __ns1__SendToClass_ *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject_:
|
|
soap_serialize___ns1__CreateProject_(soap, (const struct __ns1__CreateProject_ *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS_:
|
|
soap_serialize___ns1__SetMaterialStatusS_(soap, (const struct __ns1__SetMaterialStatusS_ *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass:
|
|
soap_serialize___ns1__DeleteClass(soap, (const struct __ns1__DeleteClass *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass:
|
|
soap_serialize___ns1__SendToClass(soap, (const struct __ns1__SendToClass *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject:
|
|
soap_serialize___ns1__CreateProject(soap, (const struct __ns1__CreateProject *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS:
|
|
soap_serialize___ns1__SetMaterialStatusS(soap, (const struct __ns1__SetMaterialStatusS *)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DeleteClass:
|
|
soap_serialize_PointerTo_ns1__DeleteClass(soap, (_ns1__DeleteClass *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__SendToClass:
|
|
soap_serialize_PointerTo_ns1__SendToClass(soap, (_ns1__SendToClass *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__CreateProject:
|
|
soap_serialize_PointerTo_ns1__CreateProject(soap, (_ns1__CreateProject *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__SetMaterialStatusS:
|
|
soap_serialize_PointerTo_ns1__SetMaterialStatusS(soap, (_ns1__SetMaterialStatusS *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_wstring:
|
|
soap_serialize_wstring(soap, (wchar_t*const*)(void*)&ptr);
|
|
break;
|
|
case SOAP_TYPE__QName:
|
|
soap_serialize_string(soap, (char*const*)(void*)&ptr);
|
|
break;
|
|
case SOAP_TYPE_string:
|
|
soap_serialize_string(soap, (char*const*)(void*)&ptr);
|
|
break;
|
|
}
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SOAP_FMAC3 void * SOAP_FMAC4 soap_dupelement(struct soap *soap, const void *ptr, int type)
|
|
{(void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
|
|
return NULL;
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_delelement(const void *ptr, int type)
|
|
{(void)ptr; (void)type; /* appease -Wall -Werror */
|
|
}
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n)
|
|
{ (void)type;
|
|
switch (t)
|
|
{
|
|
case SOAP_TYPE__ns1__SetMaterialStatusS:
|
|
return (void*)soap_instantiate__ns1__SetMaterialStatusS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__SetMaterialStatusSResponse:
|
|
return (void*)soap_instantiate__ns1__SetMaterialStatusSResponse(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__CreateProject:
|
|
return (void*)soap_instantiate__ns1__CreateProject(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__CreateProjectResponse:
|
|
return (void*)soap_instantiate__ns1__CreateProjectResponse(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__SendToClass:
|
|
return (void*)soap_instantiate__ns1__SendToClass(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__SendToClassResponse:
|
|
return (void*)soap_instantiate__ns1__SendToClassResponse(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DeleteClass:
|
|
return (void*)soap_instantiate__ns1__DeleteClass(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DeleteClassResponse:
|
|
return (void*)soap_instantiate__ns1__DeleteClassResponse(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS:
|
|
return (void*)soap_instantiate___ns1__SetMaterialStatusS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__CreateProject:
|
|
return (void*)soap_instantiate___ns1__CreateProject(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SendToClass:
|
|
return (void*)soap_instantiate___ns1__SendToClass(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__DeleteClass:
|
|
return (void*)soap_instantiate___ns1__DeleteClass(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS_:
|
|
return (void*)soap_instantiate___ns1__SetMaterialStatusS_(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__CreateProject_:
|
|
return (void*)soap_instantiate___ns1__CreateProject_(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SendToClass_:
|
|
return (void*)soap_instantiate___ns1__SendToClass_(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__DeleteClass_:
|
|
return (void*)soap_instantiate___ns1__DeleteClass_(soap, -1, type, arrayType, n);
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Header:
|
|
return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n);
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Code:
|
|
return (void*)soap_instantiate_SOAP_ENV__Code(soap, -1, type, arrayType, n);
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Detail:
|
|
return (void*)soap_instantiate_SOAP_ENV__Detail(soap, -1, type, arrayType, n);
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Reason:
|
|
return (void*)soap_instantiate_SOAP_ENV__Reason(soap, -1, type, arrayType, n);
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Fault:
|
|
return (void*)soap_instantiate_SOAP_ENV__Fault(soap, -1, type, arrayType, n);
|
|
#endif
|
|
}
|
|
return NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap *soap, struct soap_clist *p)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
if (!p->ptr)
|
|
return SOAP_OK;
|
|
switch (p->type)
|
|
{
|
|
case SOAP_TYPE__ns1__SetMaterialStatusS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__SetMaterialStatusS*>(p->ptr), _ns1__SetMaterialStatusS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__SetMaterialStatusS*>(p->ptr), _ns1__SetMaterialStatusS);
|
|
break;
|
|
case SOAP_TYPE__ns1__SetMaterialStatusSResponse:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__SetMaterialStatusSResponse*>(p->ptr), _ns1__SetMaterialStatusSResponse);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__SetMaterialStatusSResponse*>(p->ptr), _ns1__SetMaterialStatusSResponse);
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProject:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__CreateProject*>(p->ptr), _ns1__CreateProject);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__CreateProject*>(p->ptr), _ns1__CreateProject);
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProjectResponse:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__CreateProjectResponse*>(p->ptr), _ns1__CreateProjectResponse);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__CreateProjectResponse*>(p->ptr), _ns1__CreateProjectResponse);
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClass:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__SendToClass*>(p->ptr), _ns1__SendToClass);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__SendToClass*>(p->ptr), _ns1__SendToClass);
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClassResponse:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__SendToClassResponse*>(p->ptr), _ns1__SendToClassResponse);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__SendToClassResponse*>(p->ptr), _ns1__SendToClassResponse);
|
|
break;
|
|
case SOAP_TYPE__ns1__DeleteClass:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DeleteClass*>(p->ptr), _ns1__DeleteClass);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DeleteClass*>(p->ptr), _ns1__DeleteClass);
|
|
break;
|
|
case SOAP_TYPE__ns1__DeleteClassResponse:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DeleteClassResponse*>(p->ptr), _ns1__DeleteClassResponse);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DeleteClassResponse*>(p->ptr), _ns1__DeleteClassResponse);
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SetMaterialStatusS*>(p->ptr), struct __ns1__SetMaterialStatusS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SetMaterialStatusS*>(p->ptr), struct __ns1__SetMaterialStatusS);
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__CreateProject*>(p->ptr), struct __ns1__CreateProject);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__CreateProject*>(p->ptr), struct __ns1__CreateProject);
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SendToClass*>(p->ptr), struct __ns1__SendToClass);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SendToClass*>(p->ptr), struct __ns1__SendToClass);
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__DeleteClass*>(p->ptr), struct __ns1__DeleteClass);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__DeleteClass*>(p->ptr), struct __ns1__DeleteClass);
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS_:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SetMaterialStatusS_*>(p->ptr), struct __ns1__SetMaterialStatusS_);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SetMaterialStatusS_*>(p->ptr), struct __ns1__SetMaterialStatusS_);
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject_:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__CreateProject_*>(p->ptr), struct __ns1__CreateProject_);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__CreateProject_*>(p->ptr), struct __ns1__CreateProject_);
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass_:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SendToClass_*>(p->ptr), struct __ns1__SendToClass_);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SendToClass_*>(p->ptr), struct __ns1__SendToClass_);
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass_:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__DeleteClass_*>(p->ptr), struct __ns1__DeleteClass_);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__DeleteClass_*>(p->ptr), struct __ns1__DeleteClass_);
|
|
break;
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Header:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Header*>(p->ptr), struct SOAP_ENV__Header);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Header*>(p->ptr), struct SOAP_ENV__Header);
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Code:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Code*>(p->ptr), struct SOAP_ENV__Code);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Code*>(p->ptr), struct SOAP_ENV__Code);
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Detail:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Detail*>(p->ptr), struct SOAP_ENV__Detail);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Detail*>(p->ptr), struct SOAP_ENV__Detail);
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Reason:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Reason*>(p->ptr), struct SOAP_ENV__Reason);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Reason*>(p->ptr), struct SOAP_ENV__Reason);
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Fault:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Fault*>(p->ptr), struct SOAP_ENV__Fault);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Fault*>(p->ptr), struct SOAP_ENV__Fault);
|
|
break;
|
|
#endif
|
|
default:
|
|
return SOAP_ERR;
|
|
}
|
|
return SOAP_OK;
|
|
}
|
|
|
|
#ifdef WIN32
|
|
#pragma warning(push)
|
|
// do not warn on switch w/o cases
|
|
#pragma warning(disable:4065)
|
|
#endif
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_fbase(int t, int b)
|
|
{
|
|
(void)t; (void)b; /* appease -Wall -Werror */
|
|
return 0;
|
|
}
|
|
#ifdef WIN32
|
|
#pragma warning(pop)
|
|
#endif
|
|
|
|
#ifndef WITH_NOIDREF
|
|
#ifdef WIN32
|
|
#pragma warning(push)
|
|
// do not warn on switch w/o cases
|
|
#pragma warning(disable:4065)
|
|
#endif
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_finsert(struct soap *soap, int t, int tt, void *p, size_t index, const void *q, void **x)
|
|
{
|
|
(void)soap; (void)t; (void)p; (void)index; (void)q; (void)x; /* appease -Wall -Werror */
|
|
switch (tt)
|
|
{
|
|
case SOAP_TYPE__ns1__SetMaterialStatusS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__SetMaterialStatusS type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__SetMaterialStatusS*)p = *(_ns1__SetMaterialStatusS*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__SetMaterialStatusSResponse:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__SetMaterialStatusSResponse type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__SetMaterialStatusSResponse*)p = *(_ns1__SetMaterialStatusSResponse*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProject:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__CreateProject type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__CreateProject*)p = *(_ns1__CreateProject*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__CreateProjectResponse:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__CreateProjectResponse type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__CreateProjectResponse*)p = *(_ns1__CreateProjectResponse*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClass:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__SendToClass type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__SendToClass*)p = *(_ns1__SendToClass*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__SendToClassResponse:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__SendToClassResponse type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__SendToClassResponse*)p = *(_ns1__SendToClassResponse*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DeleteClass:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DeleteClass type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DeleteClass*)p = *(_ns1__DeleteClass*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DeleteClassResponse:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DeleteClassResponse type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DeleteClassResponse*)p = *(_ns1__DeleteClassResponse*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SetMaterialStatusS type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SetMaterialStatusS*)p = *(struct __ns1__SetMaterialStatusS*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__CreateProject type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__CreateProject*)p = *(struct __ns1__CreateProject*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SendToClass type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SendToClass*)p = *(struct __ns1__SendToClass*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__DeleteClass type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__DeleteClass*)p = *(struct __ns1__DeleteClass*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SetMaterialStatusS_:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SetMaterialStatusS_ type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SetMaterialStatusS_*)p = *(struct __ns1__SetMaterialStatusS_*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__CreateProject_:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__CreateProject_ type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__CreateProject_*)p = *(struct __ns1__CreateProject_*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SendToClass_:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SendToClass_ type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SendToClass_*)p = *(struct __ns1__SendToClass_*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__DeleteClass_:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__DeleteClass_ type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__DeleteClass_*)p = *(struct __ns1__DeleteClass_*)q;
|
|
break;
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Header:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct SOAP_ENV__Header type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q;
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Code:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct SOAP_ENV__Code type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct SOAP_ENV__Code*)p = *(struct SOAP_ENV__Code*)q;
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Detail:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct SOAP_ENV__Detail type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct SOAP_ENV__Detail*)p = *(struct SOAP_ENV__Detail*)q;
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Reason:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct SOAP_ENV__Reason type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct SOAP_ENV__Reason*)p = *(struct SOAP_ENV__Reason*)q;
|
|
break;
|
|
#endif
|
|
#ifndef WITH_NOGLOBAL
|
|
case SOAP_TYPE_SOAP_ENV__Fault:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct SOAP_ENV__Fault type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct SOAP_ENV__Fault*)p = *(struct SOAP_ENV__Fault*)q;
|
|
break;
|
|
#endif
|
|
default:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not insert type=%d in %d\n", t, tt));
|
|
}
|
|
}
|
|
#ifdef WIN32
|
|
#pragma warning(pop)
|
|
#endif
|
|
#endif
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type)
|
|
{
|
|
return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_byte);
|
|
}
|
|
|
|
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, char *a, const char *type)
|
|
{
|
|
a = soap_inbyte(soap, tag, a, type, SOAP_TYPE_byte);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 char * SOAP_FMAC4 soap_new_byte(struct soap *soap, int n)
|
|
{
|
|
char *a = static_cast<char *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(char)));
|
|
for (char *p = a; p && n--; ++p)
|
|
soap_default_byte(soap, p);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_byte(soap, tag ? tag : "byte", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_byte(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type)
|
|
{
|
|
return soap_outint(soap, tag, id, a, type, SOAP_TYPE_int);
|
|
}
|
|
|
|
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int *a, const char *type)
|
|
{
|
|
a = soap_inint(soap, tag, a, type, SOAP_TYPE_int);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int * SOAP_FMAC4 soap_new_int(struct soap *soap, int n)
|
|
{
|
|
int *a = static_cast<int *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(int)));
|
|
for (int *p = a; p && n--; ++p)
|
|
soap_default_int(soap, p);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_int(soap, tag ? tag : "int", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap *soap, int *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_int(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DeleteClassResponse::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__DeleteClassResponse::DeleteClassResult = NULL;
|
|
}
|
|
|
|
void _ns1__DeleteClassResponse::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__DeleteClassResponse::DeleteClassResult);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DeleteClassResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DeleteClassResponse(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DeleteClassResponse(struct soap *soap, const char *tag, int id, const _ns1__DeleteClassResponse *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__DeleteClassResponse), type))
|
|
return soap->error;
|
|
if (a->DeleteClassResult)
|
|
soap_element_result(soap, "ns1:DeleteClassResult");
|
|
if (soap_out_wstring(soap, "ns1:DeleteClassResult", -1, (wchar_t*const*)&a->_ns1__DeleteClassResponse::DeleteClassResult, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DeleteClassResponse::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DeleteClassResponse(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClassResponse * SOAP_FMAC4 soap_in__ns1__DeleteClassResponse(struct soap *soap, const char *tag, _ns1__DeleteClassResponse *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DeleteClassResponse*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DeleteClassResponse, sizeof(_ns1__DeleteClassResponse), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DeleteClassResponse)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DeleteClassResponse *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_DeleteClassResult1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_DeleteClassResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:DeleteClassResult", (wchar_t**)&a->_ns1__DeleteClassResponse::DeleteClassResult, "xsd:string"))
|
|
{ soap_flag_DeleteClassResult1--;
|
|
continue;
|
|
}
|
|
}
|
|
soap_check_result(soap, "ns1:DeleteClassResult");
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DeleteClassResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DeleteClassResponse, SOAP_TYPE__ns1__DeleteClassResponse, sizeof(_ns1__DeleteClassResponse), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DeleteClassResponse * SOAP_FMAC2 soap_instantiate__ns1__DeleteClassResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DeleteClassResponse(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DeleteClassResponse *p;
|
|
size_t k = sizeof(_ns1__DeleteClassResponse);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DeleteClassResponse, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DeleteClassResponse);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DeleteClassResponse, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DeleteClassResponse location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__DeleteClassResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DeleteClassResponse(soap, tag ? tag : "ns1:DeleteClassResponse", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DeleteClassResponse::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DeleteClassResponse(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClassResponse * SOAP_FMAC4 soap_get__ns1__DeleteClassResponse(struct soap *soap, _ns1__DeleteClassResponse *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DeleteClassResponse(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DeleteClass::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__DeleteClass::icoPuid = NULL;
|
|
}
|
|
|
|
void _ns1__DeleteClass::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__DeleteClass::icoPuid);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DeleteClass::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DeleteClass(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DeleteClass(struct soap *soap, const char *tag, int id, const _ns1__DeleteClass *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__DeleteClass), type))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:icoPuid", -1, (wchar_t*const*)&a->_ns1__DeleteClass::icoPuid, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DeleteClass::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DeleteClass(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClass * SOAP_FMAC4 soap_in__ns1__DeleteClass(struct soap *soap, const char *tag, _ns1__DeleteClass *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DeleteClass*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DeleteClass, sizeof(_ns1__DeleteClass), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DeleteClass)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DeleteClass *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_icoPuid1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_icoPuid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:icoPuid", (wchar_t**)&a->_ns1__DeleteClass::icoPuid, "xsd:string"))
|
|
{ soap_flag_icoPuid1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DeleteClass *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DeleteClass, SOAP_TYPE__ns1__DeleteClass, sizeof(_ns1__DeleteClass), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DeleteClass * SOAP_FMAC2 soap_instantiate__ns1__DeleteClass(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DeleteClass(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DeleteClass *p;
|
|
size_t k = sizeof(_ns1__DeleteClass);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DeleteClass, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DeleteClass);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DeleteClass, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DeleteClass location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__DeleteClass::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DeleteClass(soap, tag ? tag : "ns1:DeleteClass", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DeleteClass::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DeleteClass(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClass * SOAP_FMAC4 soap_get__ns1__DeleteClass(struct soap *soap, _ns1__DeleteClass *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DeleteClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__SendToClassResponse::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__SendToClassResponse::SendToClassResult = NULL;
|
|
}
|
|
|
|
void _ns1__SendToClassResponse::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SendToClassResponse::SendToClassResult);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__SendToClassResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__SendToClassResponse(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SendToClassResponse(struct soap *soap, const char *tag, int id, const _ns1__SendToClassResponse *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SendToClassResponse), type))
|
|
return soap->error;
|
|
if (a->SendToClassResult)
|
|
soap_element_result(soap, "ns1:SendToClassResult");
|
|
if (soap_out_wstring(soap, "ns1:SendToClassResult", -1, (wchar_t*const*)&a->_ns1__SendToClassResponse::SendToClassResult, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__SendToClassResponse::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__SendToClassResponse(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClassResponse * SOAP_FMAC4 soap_in__ns1__SendToClassResponse(struct soap *soap, const char *tag, _ns1__SendToClassResponse *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__SendToClassResponse*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SendToClassResponse, sizeof(_ns1__SendToClassResponse), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__SendToClassResponse)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__SendToClassResponse *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_SendToClassResult1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_SendToClassResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:SendToClassResult", (wchar_t**)&a->_ns1__SendToClassResponse::SendToClassResult, "xsd:string"))
|
|
{ soap_flag_SendToClassResult1--;
|
|
continue;
|
|
}
|
|
}
|
|
soap_check_result(soap, "ns1:SendToClassResult");
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__SendToClassResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SendToClassResponse, SOAP_TYPE__ns1__SendToClassResponse, sizeof(_ns1__SendToClassResponse), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__SendToClassResponse * SOAP_FMAC2 soap_instantiate__ns1__SendToClassResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SendToClassResponse(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__SendToClassResponse *p;
|
|
size_t k = sizeof(_ns1__SendToClassResponse);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__SendToClassResponse, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__SendToClassResponse);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__SendToClassResponse, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__SendToClassResponse location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__SendToClassResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__SendToClassResponse(soap, tag ? tag : "ns1:SendToClassResponse", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__SendToClassResponse::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__SendToClassResponse(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClassResponse * SOAP_FMAC4 soap_get__ns1__SendToClassResponse(struct soap *soap, _ns1__SendToClassResponse *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__SendToClassResponse(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__SendToClass::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__SendToClass::wsoPuiid = NULL;
|
|
this->_ns1__SendToClass::classID = NULL;
|
|
this->_ns1__SendToClass::JsonContainer = NULL;
|
|
}
|
|
|
|
void _ns1__SendToClass::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SendToClass::wsoPuiid);
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SendToClass::classID);
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SendToClass::JsonContainer);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__SendToClass::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__SendToClass(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SendToClass(struct soap *soap, const char *tag, int id, const _ns1__SendToClass *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SendToClass), type))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:wsoPuiid", -1, (wchar_t*const*)&a->_ns1__SendToClass::wsoPuiid, ""))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:classID", -1, (wchar_t*const*)&a->_ns1__SendToClass::classID, ""))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:JsonContainer", -1, (wchar_t*const*)&a->_ns1__SendToClass::JsonContainer, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__SendToClass::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__SendToClass(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClass * SOAP_FMAC4 soap_in__ns1__SendToClass(struct soap *soap, const char *tag, _ns1__SendToClass *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__SendToClass*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SendToClass, sizeof(_ns1__SendToClass), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__SendToClass)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__SendToClass *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_wsoPuiid1 = 1;
|
|
size_t soap_flag_classID1 = 1;
|
|
size_t soap_flag_JsonContainer1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_wsoPuiid1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:wsoPuiid", (wchar_t**)&a->_ns1__SendToClass::wsoPuiid, "xsd:string"))
|
|
{ soap_flag_wsoPuiid1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_classID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:classID", (wchar_t**)&a->_ns1__SendToClass::classID, "xsd:string"))
|
|
{ soap_flag_classID1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_JsonContainer1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:JsonContainer", (wchar_t**)&a->_ns1__SendToClass::JsonContainer, "xsd:string"))
|
|
{ soap_flag_JsonContainer1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__SendToClass *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SendToClass, SOAP_TYPE__ns1__SendToClass, sizeof(_ns1__SendToClass), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__SendToClass * SOAP_FMAC2 soap_instantiate__ns1__SendToClass(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SendToClass(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__SendToClass *p;
|
|
size_t k = sizeof(_ns1__SendToClass);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__SendToClass, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__SendToClass);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__SendToClass, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__SendToClass location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__SendToClass::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__SendToClass(soap, tag ? tag : "ns1:SendToClass", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__SendToClass::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__SendToClass(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClass * SOAP_FMAC4 soap_get__ns1__SendToClass(struct soap *soap, _ns1__SendToClass *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__SendToClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__CreateProjectResponse::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__CreateProjectResponse::CreateProjectResult = NULL;
|
|
}
|
|
|
|
void _ns1__CreateProjectResponse::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__CreateProjectResponse::CreateProjectResult);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__CreateProjectResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__CreateProjectResponse(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__CreateProjectResponse(struct soap *soap, const char *tag, int id, const _ns1__CreateProjectResponse *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__CreateProjectResponse), type))
|
|
return soap->error;
|
|
if (a->CreateProjectResult)
|
|
soap_element_result(soap, "ns1:CreateProjectResult");
|
|
if (soap_out_wstring(soap, "ns1:CreateProjectResult", -1, (wchar_t*const*)&a->_ns1__CreateProjectResponse::CreateProjectResult, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__CreateProjectResponse::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__CreateProjectResponse(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProjectResponse * SOAP_FMAC4 soap_in__ns1__CreateProjectResponse(struct soap *soap, const char *tag, _ns1__CreateProjectResponse *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__CreateProjectResponse*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__CreateProjectResponse, sizeof(_ns1__CreateProjectResponse), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__CreateProjectResponse)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__CreateProjectResponse *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_CreateProjectResult1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_CreateProjectResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:CreateProjectResult", (wchar_t**)&a->_ns1__CreateProjectResponse::CreateProjectResult, "xsd:string"))
|
|
{ soap_flag_CreateProjectResult1--;
|
|
continue;
|
|
}
|
|
}
|
|
soap_check_result(soap, "ns1:CreateProjectResult");
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__CreateProjectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__CreateProjectResponse, SOAP_TYPE__ns1__CreateProjectResponse, sizeof(_ns1__CreateProjectResponse), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__CreateProjectResponse * SOAP_FMAC2 soap_instantiate__ns1__CreateProjectResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__CreateProjectResponse(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__CreateProjectResponse *p;
|
|
size_t k = sizeof(_ns1__CreateProjectResponse);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__CreateProjectResponse, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__CreateProjectResponse);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__CreateProjectResponse, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__CreateProjectResponse location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__CreateProjectResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__CreateProjectResponse(soap, tag ? tag : "ns1:CreateProjectResponse", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__CreateProjectResponse::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__CreateProjectResponse(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProjectResponse * SOAP_FMAC4 soap_get__ns1__CreateProjectResponse(struct soap *soap, _ns1__CreateProjectResponse *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__CreateProjectResponse(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__CreateProject::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__CreateProject::projJsonString = NULL;
|
|
}
|
|
|
|
void _ns1__CreateProject::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__CreateProject::projJsonString);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__CreateProject::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__CreateProject(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__CreateProject(struct soap *soap, const char *tag, int id, const _ns1__CreateProject *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__CreateProject), type))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:projJsonString", -1, (wchar_t*const*)&a->_ns1__CreateProject::projJsonString, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__CreateProject::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__CreateProject(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProject * SOAP_FMAC4 soap_in__ns1__CreateProject(struct soap *soap, const char *tag, _ns1__CreateProject *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__CreateProject*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__CreateProject, sizeof(_ns1__CreateProject), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__CreateProject)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__CreateProject *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_projJsonString1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_projJsonString1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:projJsonString", (wchar_t**)&a->_ns1__CreateProject::projJsonString, "xsd:string"))
|
|
{ soap_flag_projJsonString1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__CreateProject *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__CreateProject, SOAP_TYPE__ns1__CreateProject, sizeof(_ns1__CreateProject), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__CreateProject * SOAP_FMAC2 soap_instantiate__ns1__CreateProject(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__CreateProject(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__CreateProject *p;
|
|
size_t k = sizeof(_ns1__CreateProject);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__CreateProject, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__CreateProject);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__CreateProject, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__CreateProject location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__CreateProject::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__CreateProject(soap, tag ? tag : "ns1:CreateProject", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__CreateProject::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__CreateProject(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProject * SOAP_FMAC4 soap_get__ns1__CreateProject(struct soap *soap, _ns1__CreateProject *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__CreateProject(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__SetMaterialStatusSResponse::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__SetMaterialStatusSResponse::SetMaterialStatusSResult = NULL;
|
|
}
|
|
|
|
void _ns1__SetMaterialStatusSResponse::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SetMaterialStatusSResponse::SetMaterialStatusSResult);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__SetMaterialStatusSResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__SetMaterialStatusSResponse(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SetMaterialStatusSResponse(struct soap *soap, const char *tag, int id, const _ns1__SetMaterialStatusSResponse *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SetMaterialStatusSResponse), type))
|
|
return soap->error;
|
|
if (a->SetMaterialStatusSResult)
|
|
soap_element_result(soap, "ns1:SetMaterialStatusSResult");
|
|
if (soap_out_wstring(soap, "ns1:SetMaterialStatusSResult", -1, (wchar_t*const*)&a->_ns1__SetMaterialStatusSResponse::SetMaterialStatusSResult, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__SetMaterialStatusSResponse::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__SetMaterialStatusSResponse(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusSResponse * SOAP_FMAC4 soap_in__ns1__SetMaterialStatusSResponse(struct soap *soap, const char *tag, _ns1__SetMaterialStatusSResponse *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__SetMaterialStatusSResponse*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SetMaterialStatusSResponse, sizeof(_ns1__SetMaterialStatusSResponse), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__SetMaterialStatusSResponse)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__SetMaterialStatusSResponse *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_SetMaterialStatusSResult1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_SetMaterialStatusSResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:SetMaterialStatusSResult", (wchar_t**)&a->_ns1__SetMaterialStatusSResponse::SetMaterialStatusSResult, "xsd:string"))
|
|
{ soap_flag_SetMaterialStatusSResult1--;
|
|
continue;
|
|
}
|
|
}
|
|
soap_check_result(soap, "ns1:SetMaterialStatusSResult");
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__SetMaterialStatusSResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SetMaterialStatusSResponse, SOAP_TYPE__ns1__SetMaterialStatusSResponse, sizeof(_ns1__SetMaterialStatusSResponse), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__SetMaterialStatusSResponse * SOAP_FMAC2 soap_instantiate__ns1__SetMaterialStatusSResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SetMaterialStatusSResponse(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__SetMaterialStatusSResponse *p;
|
|
size_t k = sizeof(_ns1__SetMaterialStatusSResponse);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__SetMaterialStatusSResponse, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__SetMaterialStatusSResponse);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__SetMaterialStatusSResponse, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__SetMaterialStatusSResponse location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__SetMaterialStatusSResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__SetMaterialStatusSResponse(soap, tag ? tag : "ns1:SetMaterialStatusSResponse", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__SetMaterialStatusSResponse::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__SetMaterialStatusSResponse(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusSResponse * SOAP_FMAC4 soap_get__ns1__SetMaterialStatusSResponse(struct soap *soap, _ns1__SetMaterialStatusSResponse *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__SetMaterialStatusSResponse(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__SetMaterialStatusS::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->_ns1__SetMaterialStatusS::fileName = NULL;
|
|
}
|
|
|
|
void _ns1__SetMaterialStatusS::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_wstring(soap, (wchar_t*const*)&this->_ns1__SetMaterialStatusS::fileName);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__SetMaterialStatusS::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__SetMaterialStatusS(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SetMaterialStatusS(struct soap *soap, const char *tag, int id, const _ns1__SetMaterialStatusS *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SetMaterialStatusS), type))
|
|
return soap->error;
|
|
if (soap_out_wstring(soap, "ns1:fileName", -1, (wchar_t*const*)&a->_ns1__SetMaterialStatusS::fileName, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__SetMaterialStatusS::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__SetMaterialStatusS(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusS * SOAP_FMAC4 soap_in__ns1__SetMaterialStatusS(struct soap *soap, const char *tag, _ns1__SetMaterialStatusS *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__SetMaterialStatusS*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SetMaterialStatusS, sizeof(_ns1__SetMaterialStatusS), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__SetMaterialStatusS)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__SetMaterialStatusS *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_fileName1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_fileName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_wstring(soap, "ns1:fileName", (wchar_t**)&a->_ns1__SetMaterialStatusS::fileName, "xsd:string"))
|
|
{ soap_flag_fileName1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__SetMaterialStatusS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SetMaterialStatusS, SOAP_TYPE__ns1__SetMaterialStatusS, sizeof(_ns1__SetMaterialStatusS), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__SetMaterialStatusS * SOAP_FMAC2 soap_instantiate__ns1__SetMaterialStatusS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SetMaterialStatusS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__SetMaterialStatusS *p;
|
|
size_t k = sizeof(_ns1__SetMaterialStatusS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__SetMaterialStatusS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__SetMaterialStatusS);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__SetMaterialStatusS, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__SetMaterialStatusS location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
int _ns1__SetMaterialStatusS::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__SetMaterialStatusS(soap, tag ? tag : "ns1:SetMaterialStatusS", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__SetMaterialStatusS::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__SetMaterialStatusS(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusS * SOAP_FMAC4 soap_get__ns1__SetMaterialStatusS(struct soap *soap, _ns1__SetMaterialStatusS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__SetMaterialStatusS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
soap_default__QName(soap, &a->faultcode);
|
|
soap_default_string(soap, &a->faultstring);
|
|
soap_default_string(soap, &a->faultactor);
|
|
a->detail = NULL;
|
|
a->SOAP_ENV__Code = NULL;
|
|
a->SOAP_ENV__Reason = NULL;
|
|
soap_default_string(soap, &a->SOAP_ENV__Node);
|
|
soap_default_string(soap, &a->SOAP_ENV__Role);
|
|
a->SOAP_ENV__Detail = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize__QName(soap, (char*const*)&a->faultcode);
|
|
soap_serialize_string(soap, (char*const*)&a->faultstring);
|
|
soap_serialize_string(soap, (char*const*)&a->faultactor);
|
|
soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->detail);
|
|
soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Code);
|
|
soap_serialize_PointerToSOAP_ENV__Reason(soap, &a->SOAP_ENV__Reason);
|
|
soap_serialize_string(soap, (char*const*)&a->SOAP_ENV__Node);
|
|
soap_serialize_string(soap, (char*const*)&a->SOAP_ENV__Role);
|
|
soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
const char *soap_tmp_faultcode;
|
|
soap_tmp_faultcode = soap_QName2s(soap, a->faultcode);
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Fault), type))
|
|
return soap->error;
|
|
if (soap_out__QName(soap, "faultcode", -1, (char*const*)(void*)&soap_tmp_faultcode, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "faultstring", -1, (char*const*)&a->faultstring, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "faultactor", -1, (char*const*)&a->faultactor, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", -1, &a->SOAP_ENV__Code, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", -1, &a->SOAP_ENV__Reason, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "SOAP-ENV:Node", -1, (char*const*)&a->SOAP_ENV__Node, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "SOAP-ENV:Role", -1, (char*const*)&a->SOAP_ENV__Role, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", -1, &a->SOAP_ENV__Detail, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
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)
|
|
{
|
|
size_t soap_flag_faultcode = 1;
|
|
size_t soap_flag_faultstring = 1;
|
|
size_t soap_flag_faultactor = 1;
|
|
size_t soap_flag_detail = 1;
|
|
size_t soap_flag_SOAP_ENV__Code = 1;
|
|
size_t soap_flag_SOAP_ENV__Reason = 1;
|
|
size_t soap_flag_SOAP_ENV__Node = 1;
|
|
size_t soap_flag_SOAP_ENV__Role = 1;
|
|
size_t soap_flag_SOAP_ENV__Detail = 1;
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
(void)type; /* appease -Wall -Werror */
|
|
a = (struct SOAP_ENV__Fault*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default_SOAP_ENV__Fault(soap, a);
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in__QName(soap, "faultcode", (char**)&a->faultcode, "xsd:QName"))
|
|
{ soap_flag_faultcode--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "faultstring", (char**)&a->faultstring, "xsd:string"))
|
|
{ soap_flag_faultstring--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "faultactor", (char**)&a->faultactor, "xsd:string"))
|
|
{ soap_flag_faultactor--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, ""))
|
|
{ soap_flag_detail--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, ""))
|
|
{ soap_flag_SOAP_ENV__Code--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Reason && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, ""))
|
|
{ soap_flag_SOAP_ENV__Reason--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SOAP-ENV:Node", (char**)&a->SOAP_ENV__Node, "xsd:string"))
|
|
{ soap_flag_SOAP_ENV__Node--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SOAP-ENV:Role", (char**)&a->SOAP_ENV__Role, "xsd:string"))
|
|
{ soap_flag_SOAP_ENV__Role--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, ""))
|
|
{ soap_flag_SOAP_ENV__Detail--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Fault *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Fault, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, soap_finsert, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct SOAP_ENV__Fault *p;
|
|
size_t k = sizeof(struct SOAP_ENV__Fault);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct SOAP_ENV__Fault);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_SOAP_ENV__Fault(soap, tag ? tag : "SOAP-ENV:Fault", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_SOAP_ENV__Fault(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &a->SOAP_ENV__Text);
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&a->SOAP_ENV__Text);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Reason), type))
|
|
return soap->error;
|
|
if (soap->lang)
|
|
soap_set_attr(soap, "xml:lang", soap->lang, 1);
|
|
if (soap_out_string(soap, "SOAP-ENV:Text", -1, (char*const*)&a->SOAP_ENV__Text, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
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)
|
|
{
|
|
size_t soap_flag_SOAP_ENV__Text = 1;
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
(void)type; /* appease -Wall -Werror */
|
|
a = (struct SOAP_ENV__Reason*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default_SOAP_ENV__Reason(soap, a);
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_SOAP_ENV__Text && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SOAP-ENV:Text", (char**)&a->SOAP_ENV__Text, "xsd:string"))
|
|
{ soap_flag_SOAP_ENV__Text--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Reason *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Reason, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, soap_finsert, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct SOAP_ENV__Reason *p;
|
|
size_t k = sizeof(struct SOAP_ENV__Reason);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct SOAP_ENV__Reason);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_SOAP_ENV__Reason(soap, tag ? tag : "SOAP-ENV:Reason", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_SOAP_ENV__Reason(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->__any = NULL;
|
|
a->__type = 0;
|
|
a->fault = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_markelement(soap, a->fault, a->__type);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type))
|
|
return soap->error;
|
|
if (soap_outliteral(soap, "-any", (char*const*)&a->__any, NULL))
|
|
return soap->error;
|
|
if (soap_putelement(soap, a->fault, "fault", -1, a->__type))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
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)
|
|
{
|
|
size_t soap_flag___any = 1;
|
|
size_t soap_flag_fault = 1;
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
(void)type; /* appease -Wall -Werror */
|
|
a = (struct SOAP_ENV__Detail*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default_SOAP_ENV__Detail(soap, a);
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->fault = soap_getelement(soap, "fault", &a->__type)))
|
|
{ soap_flag_fault = 0;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_inliteral(soap, "-any", (char**)&a->__any))
|
|
{ soap_flag___any--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Detail *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Detail, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, soap_finsert, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct SOAP_ENV__Detail *p;
|
|
size_t k = sizeof(struct SOAP_ENV__Detail);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct SOAP_ENV__Detail);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_SOAP_ENV__Detail(soap, tag ? tag : "SOAP-ENV:Detail", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_SOAP_ENV__Detail(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
soap_default__QName(soap, &a->SOAP_ENV__Value);
|
|
a->SOAP_ENV__Subcode = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize__QName(soap, (char*const*)&a->SOAP_ENV__Value);
|
|
soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
const char *soap_tmp_SOAP_ENV__Value;
|
|
soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value);
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Code), type))
|
|
return soap->error;
|
|
if (soap_out__QName(soap, "SOAP-ENV:Value", -1, (char*const*)(void*)&soap_tmp_SOAP_ENV__Value, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", -1, &a->SOAP_ENV__Subcode, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
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)
|
|
{
|
|
size_t soap_flag_SOAP_ENV__Value = 1;
|
|
size_t soap_flag_SOAP_ENV__Subcode = 1;
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
(void)type; /* appease -Wall -Werror */
|
|
a = (struct SOAP_ENV__Code*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default_SOAP_ENV__Code(soap, a);
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in__QName(soap, "SOAP-ENV:Value", (char**)&a->SOAP_ENV__Value, "xsd:QName"))
|
|
{ soap_flag_SOAP_ENV__Value--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, ""))
|
|
{ soap_flag_SOAP_ENV__Subcode--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Code *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Code, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, soap_finsert, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct SOAP_ENV__Code *p;
|
|
size_t k = sizeof(struct SOAP_ENV__Code);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct SOAP_ENV__Code);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_SOAP_ENV__Code(soap, tag ? tag : "SOAP-ENV:Code", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_SOAP_ENV__Code(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
(void)type; /* appease -Wall -Werror */
|
|
a = (struct SOAP_ENV__Header*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default_SOAP_ENV__Header(soap, a);
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap->error == SOAP_TAG_MISMATCH)
|
|
soap->error = soap_ignore_element(soap);
|
|
if (soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Header, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), 0, soap_finsert, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct SOAP_ENV__Header *p;
|
|
size_t k = sizeof(struct SOAP_ENV__Header);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct SOAP_ENV__Header);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_SOAP_ENV__Header(soap, tag ? tag : "SOAP-ENV:Header", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_SOAP_ENV__Header(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__DeleteClass_(struct soap *soap, struct __ns1__DeleteClass_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__DeleteClass = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__DeleteClass_(struct soap *soap, const struct __ns1__DeleteClass_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__DeleteClass(soap, &a->ns1__DeleteClass);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__DeleteClass_(struct soap *soap, const char *tag, int id, const struct __ns1__DeleteClass_ *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__DeleteClass(soap, "ns1:DeleteClass", -1, &a->ns1__DeleteClass, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__DeleteClass_ * SOAP_FMAC4 soap_in___ns1__DeleteClass_(struct soap *soap, const char *tag, struct __ns1__DeleteClass_ *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__DeleteClass = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__DeleteClass_*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__DeleteClass_, sizeof(struct __ns1__DeleteClass_), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__DeleteClass_(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__DeleteClass && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DeleteClass(soap, "ns1:DeleteClass", &a->ns1__DeleteClass, ""))
|
|
{ soap_flag_ns1__DeleteClass--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__DeleteClass_ * SOAP_FMAC2 soap_instantiate___ns1__DeleteClass_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__DeleteClass_(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__DeleteClass_ *p;
|
|
size_t k = sizeof(struct __ns1__DeleteClass_);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__DeleteClass_, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__DeleteClass_);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__DeleteClass_, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__DeleteClass_ location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__DeleteClass_(struct soap *soap, const struct __ns1__DeleteClass_ *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__DeleteClass_(soap, tag ? tag : "-ns1:DeleteClass", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__DeleteClass_ * SOAP_FMAC4 soap_get___ns1__DeleteClass_(struct soap *soap, struct __ns1__DeleteClass_ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__DeleteClass_(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SendToClass_(struct soap *soap, struct __ns1__SendToClass_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__SendToClass = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SendToClass_(struct soap *soap, const struct __ns1__SendToClass_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__SendToClass(soap, &a->ns1__SendToClass);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SendToClass_(struct soap *soap, const char *tag, int id, const struct __ns1__SendToClass_ *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__SendToClass(soap, "ns1:SendToClass", -1, &a->ns1__SendToClass, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SendToClass_ * SOAP_FMAC4 soap_in___ns1__SendToClass_(struct soap *soap, const char *tag, struct __ns1__SendToClass_ *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__SendToClass = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SendToClass_*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SendToClass_, sizeof(struct __ns1__SendToClass_), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SendToClass_(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__SendToClass && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__SendToClass(soap, "ns1:SendToClass", &a->ns1__SendToClass, ""))
|
|
{ soap_flag_ns1__SendToClass--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__SendToClass_ * SOAP_FMAC2 soap_instantiate___ns1__SendToClass_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SendToClass_(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SendToClass_ *p;
|
|
size_t k = sizeof(struct __ns1__SendToClass_);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SendToClass_, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SendToClass_);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SendToClass_, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SendToClass_ location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SendToClass_(struct soap *soap, const struct __ns1__SendToClass_ *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SendToClass_(soap, tag ? tag : "-ns1:SendToClass", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SendToClass_ * SOAP_FMAC4 soap_get___ns1__SendToClass_(struct soap *soap, struct __ns1__SendToClass_ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SendToClass_(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__CreateProject_(struct soap *soap, struct __ns1__CreateProject_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__CreateProject = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__CreateProject_(struct soap *soap, const struct __ns1__CreateProject_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__CreateProject(soap, &a->ns1__CreateProject);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__CreateProject_(struct soap *soap, const char *tag, int id, const struct __ns1__CreateProject_ *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__CreateProject(soap, "ns1:CreateProject", -1, &a->ns1__CreateProject, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__CreateProject_ * SOAP_FMAC4 soap_in___ns1__CreateProject_(struct soap *soap, const char *tag, struct __ns1__CreateProject_ *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__CreateProject = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__CreateProject_*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__CreateProject_, sizeof(struct __ns1__CreateProject_), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__CreateProject_(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__CreateProject && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__CreateProject(soap, "ns1:CreateProject", &a->ns1__CreateProject, ""))
|
|
{ soap_flag_ns1__CreateProject--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__CreateProject_ * SOAP_FMAC2 soap_instantiate___ns1__CreateProject_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__CreateProject_(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__CreateProject_ *p;
|
|
size_t k = sizeof(struct __ns1__CreateProject_);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__CreateProject_, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__CreateProject_);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__CreateProject_, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__CreateProject_ location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__CreateProject_(struct soap *soap, const struct __ns1__CreateProject_ *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__CreateProject_(soap, tag ? tag : "-ns1:CreateProject", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__CreateProject_ * SOAP_FMAC4 soap_get___ns1__CreateProject_(struct soap *soap, struct __ns1__CreateProject_ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__CreateProject_(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SetMaterialStatusS_(struct soap *soap, struct __ns1__SetMaterialStatusS_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__SetMaterialStatusS = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SetMaterialStatusS_(struct soap *soap, const struct __ns1__SetMaterialStatusS_ *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__SetMaterialStatusS(soap, &a->ns1__SetMaterialStatusS);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SetMaterialStatusS_(struct soap *soap, const char *tag, int id, const struct __ns1__SetMaterialStatusS_ *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__SetMaterialStatusS(soap, "ns1:SetMaterialStatusS", -1, &a->ns1__SetMaterialStatusS, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SetMaterialStatusS_ * SOAP_FMAC4 soap_in___ns1__SetMaterialStatusS_(struct soap *soap, const char *tag, struct __ns1__SetMaterialStatusS_ *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__SetMaterialStatusS = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SetMaterialStatusS_*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SetMaterialStatusS_, sizeof(struct __ns1__SetMaterialStatusS_), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SetMaterialStatusS_(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__SetMaterialStatusS && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__SetMaterialStatusS(soap, "ns1:SetMaterialStatusS", &a->ns1__SetMaterialStatusS, ""))
|
|
{ soap_flag_ns1__SetMaterialStatusS--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__SetMaterialStatusS_ * SOAP_FMAC2 soap_instantiate___ns1__SetMaterialStatusS_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SetMaterialStatusS_(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SetMaterialStatusS_ *p;
|
|
size_t k = sizeof(struct __ns1__SetMaterialStatusS_);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SetMaterialStatusS_, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SetMaterialStatusS_);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SetMaterialStatusS_, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SetMaterialStatusS_ location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SetMaterialStatusS_(struct soap *soap, const struct __ns1__SetMaterialStatusS_ *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SetMaterialStatusS_(soap, tag ? tag : "-ns1:SetMaterialStatusS", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SetMaterialStatusS_ * SOAP_FMAC4 soap_get___ns1__SetMaterialStatusS_(struct soap *soap, struct __ns1__SetMaterialStatusS_ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SetMaterialStatusS_(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__DeleteClass(struct soap *soap, struct __ns1__DeleteClass *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__DeleteClass = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__DeleteClass(struct soap *soap, const struct __ns1__DeleteClass *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__DeleteClass(soap, &a->ns1__DeleteClass);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__DeleteClass(struct soap *soap, const char *tag, int id, const struct __ns1__DeleteClass *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__DeleteClass(soap, "ns1:DeleteClass", -1, &a->ns1__DeleteClass, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__DeleteClass * SOAP_FMAC4 soap_in___ns1__DeleteClass(struct soap *soap, const char *tag, struct __ns1__DeleteClass *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__DeleteClass = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__DeleteClass*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__DeleteClass, sizeof(struct __ns1__DeleteClass), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__DeleteClass(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__DeleteClass && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DeleteClass(soap, "ns1:DeleteClass", &a->ns1__DeleteClass, ""))
|
|
{ soap_flag_ns1__DeleteClass--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__DeleteClass * SOAP_FMAC2 soap_instantiate___ns1__DeleteClass(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__DeleteClass(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__DeleteClass *p;
|
|
size_t k = sizeof(struct __ns1__DeleteClass);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__DeleteClass, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__DeleteClass);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__DeleteClass, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__DeleteClass location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__DeleteClass(struct soap *soap, const struct __ns1__DeleteClass *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__DeleteClass(soap, tag ? tag : "-ns1:DeleteClass", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__DeleteClass * SOAP_FMAC4 soap_get___ns1__DeleteClass(struct soap *soap, struct __ns1__DeleteClass *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__DeleteClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SendToClass(struct soap *soap, struct __ns1__SendToClass *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__SendToClass = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SendToClass(struct soap *soap, const struct __ns1__SendToClass *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__SendToClass(soap, &a->ns1__SendToClass);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SendToClass(struct soap *soap, const char *tag, int id, const struct __ns1__SendToClass *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__SendToClass(soap, "ns1:SendToClass", -1, &a->ns1__SendToClass, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SendToClass * SOAP_FMAC4 soap_in___ns1__SendToClass(struct soap *soap, const char *tag, struct __ns1__SendToClass *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__SendToClass = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SendToClass*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SendToClass, sizeof(struct __ns1__SendToClass), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SendToClass(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__SendToClass && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__SendToClass(soap, "ns1:SendToClass", &a->ns1__SendToClass, ""))
|
|
{ soap_flag_ns1__SendToClass--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__SendToClass * SOAP_FMAC2 soap_instantiate___ns1__SendToClass(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SendToClass(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SendToClass *p;
|
|
size_t k = sizeof(struct __ns1__SendToClass);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SendToClass, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SendToClass);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SendToClass, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SendToClass location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SendToClass(struct soap *soap, const struct __ns1__SendToClass *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SendToClass(soap, tag ? tag : "-ns1:SendToClass", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SendToClass * SOAP_FMAC4 soap_get___ns1__SendToClass(struct soap *soap, struct __ns1__SendToClass *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SendToClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__CreateProject(struct soap *soap, struct __ns1__CreateProject *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__CreateProject = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__CreateProject(struct soap *soap, const struct __ns1__CreateProject *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__CreateProject(soap, &a->ns1__CreateProject);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__CreateProject(struct soap *soap, const char *tag, int id, const struct __ns1__CreateProject *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__CreateProject(soap, "ns1:CreateProject", -1, &a->ns1__CreateProject, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__CreateProject * SOAP_FMAC4 soap_in___ns1__CreateProject(struct soap *soap, const char *tag, struct __ns1__CreateProject *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__CreateProject = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__CreateProject*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__CreateProject, sizeof(struct __ns1__CreateProject), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__CreateProject(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__CreateProject && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__CreateProject(soap, "ns1:CreateProject", &a->ns1__CreateProject, ""))
|
|
{ soap_flag_ns1__CreateProject--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__CreateProject * SOAP_FMAC2 soap_instantiate___ns1__CreateProject(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__CreateProject(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__CreateProject *p;
|
|
size_t k = sizeof(struct __ns1__CreateProject);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__CreateProject, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__CreateProject);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__CreateProject, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__CreateProject location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__CreateProject(struct soap *soap, const struct __ns1__CreateProject *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__CreateProject(soap, tag ? tag : "-ns1:CreateProject", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__CreateProject * SOAP_FMAC4 soap_get___ns1__CreateProject(struct soap *soap, struct __ns1__CreateProject *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__CreateProject(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SetMaterialStatusS(struct soap *soap, struct __ns1__SetMaterialStatusS *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__SetMaterialStatusS = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SetMaterialStatusS(struct soap *soap, const struct __ns1__SetMaterialStatusS *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__SetMaterialStatusS(soap, &a->ns1__SetMaterialStatusS);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SetMaterialStatusS(struct soap *soap, const char *tag, int id, const struct __ns1__SetMaterialStatusS *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTo_ns1__SetMaterialStatusS(soap, "ns1:SetMaterialStatusS", -1, &a->ns1__SetMaterialStatusS, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SetMaterialStatusS * SOAP_FMAC4 soap_in___ns1__SetMaterialStatusS(struct soap *soap, const char *tag, struct __ns1__SetMaterialStatusS *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__SetMaterialStatusS = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SetMaterialStatusS*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SetMaterialStatusS, sizeof(struct __ns1__SetMaterialStatusS), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SetMaterialStatusS(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__SetMaterialStatusS && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__SetMaterialStatusS(soap, "ns1:SetMaterialStatusS", &a->ns1__SetMaterialStatusS, ""))
|
|
{ soap_flag_ns1__SetMaterialStatusS--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && soap_flag)
|
|
{ soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (soap_flag && soap->error == SOAP_NO_TAG)
|
|
break;
|
|
if (soap->error)
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 struct __ns1__SetMaterialStatusS * SOAP_FMAC2 soap_instantiate___ns1__SetMaterialStatusS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SetMaterialStatusS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SetMaterialStatusS *p;
|
|
size_t k = sizeof(struct __ns1__SetMaterialStatusS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SetMaterialStatusS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SetMaterialStatusS);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SetMaterialStatusS, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SetMaterialStatusS location=%p n=%d\n", (void*)p, n));
|
|
if (size)
|
|
*size = k;
|
|
if (!p)
|
|
soap->error = SOAP_EOM;
|
|
else if (cp)
|
|
cp->ptr = (void*)p;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SetMaterialStatusS(struct soap *soap, const struct __ns1__SetMaterialStatusS *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SetMaterialStatusS(soap, tag ? tag : "-ns1:SetMaterialStatusS", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SetMaterialStatusS * SOAP_FMAC4 soap_get___ns1__SetMaterialStatusS(struct soap *soap, struct __ns1__SetMaterialStatusS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SetMaterialStatusS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Reason))
|
|
soap_serialize_SOAP_ENV__Reason(soap, *a);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Reason, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return soap_out_SOAP_ENV__Reason(soap, tag, id, *a, type);
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (struct SOAP_ENV__Reason **)soap_malloc(soap, sizeof(struct SOAP_ENV__Reason *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = soap_in_SOAP_ENV__Reason(soap, tag, *a, type)))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Reason **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_PointerToSOAP_ENV__Reason(soap, tag ? tag : "SOAP-ENV:Reason", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_PointerToSOAP_ENV__Reason(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Detail))
|
|
soap_serialize_SOAP_ENV__Detail(soap, *a);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Detail, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return soap_out_SOAP_ENV__Detail(soap, tag, id, *a, type);
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (struct SOAP_ENV__Detail **)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type)))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Detail **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_PointerToSOAP_ENV__Detail(soap, tag ? tag : "SOAP-ENV:Detail", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_PointerToSOAP_ENV__Detail(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
#ifndef WITH_NOGLOBAL
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Code))
|
|
soap_serialize_SOAP_ENV__Code(soap, *a);
|
|
#endif
|
|
}
|
|
|
|
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)
|
|
{
|
|
char *mark;
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code, &mark);
|
|
if (id < 0)
|
|
return soap->error;
|
|
(void)soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
|
|
soap_unmark(soap, mark);
|
|
return soap->error;
|
|
}
|
|
|
|
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)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (struct SOAP_ENV__Code **)soap_malloc(soap, sizeof(struct SOAP_ENV__Code *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type)))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (struct SOAP_ENV__Code **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
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)
|
|
{
|
|
if (soap_out_PointerToSOAP_ENV__Code(soap, tag ? tag : "SOAP-ENV:Code", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
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)
|
|
{
|
|
if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#endif
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DeleteClass(struct soap *soap, _ns1__DeleteClass *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DeleteClass))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DeleteClass(struct soap *soap, const char *tag, int id, _ns1__DeleteClass *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DeleteClass, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DeleteClass ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClass ** SOAP_FMAC4 soap_in_PointerTo_ns1__DeleteClass(struct soap *soap, const char *tag, _ns1__DeleteClass **a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (_ns1__DeleteClass **)soap_malloc(soap, sizeof(_ns1__DeleteClass *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DeleteClass *)soap_instantiate__ns1__DeleteClass(soap, -1, soap->type, soap->arrayType, NULL)))
|
|
return NULL;
|
|
(*a)->soap_default(soap);
|
|
if (!(*a)->soap_in(soap, tag, NULL))
|
|
{ *a = NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
else
|
|
{ a = (_ns1__DeleteClass **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DeleteClass, sizeof(_ns1__DeleteClass), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__DeleteClass(struct soap *soap, _ns1__DeleteClass *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DeleteClass(soap, tag ? tag : "ns1:DeleteClass", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DeleteClass ** SOAP_FMAC4 soap_get_PointerTo_ns1__DeleteClass(struct soap *soap, _ns1__DeleteClass **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DeleteClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__SendToClass(struct soap *soap, _ns1__SendToClass *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__SendToClass))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__SendToClass(struct soap *soap, const char *tag, int id, _ns1__SendToClass *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__SendToClass, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__SendToClass ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClass ** SOAP_FMAC4 soap_in_PointerTo_ns1__SendToClass(struct soap *soap, const char *tag, _ns1__SendToClass **a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (_ns1__SendToClass **)soap_malloc(soap, sizeof(_ns1__SendToClass *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__SendToClass *)soap_instantiate__ns1__SendToClass(soap, -1, soap->type, soap->arrayType, NULL)))
|
|
return NULL;
|
|
(*a)->soap_default(soap);
|
|
if (!(*a)->soap_in(soap, tag, NULL))
|
|
{ *a = NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
else
|
|
{ a = (_ns1__SendToClass **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__SendToClass, sizeof(_ns1__SendToClass), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__SendToClass(struct soap *soap, _ns1__SendToClass *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__SendToClass(soap, tag ? tag : "ns1:SendToClass", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SendToClass ** SOAP_FMAC4 soap_get_PointerTo_ns1__SendToClass(struct soap *soap, _ns1__SendToClass **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__SendToClass(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__CreateProject(struct soap *soap, _ns1__CreateProject *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__CreateProject))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__CreateProject(struct soap *soap, const char *tag, int id, _ns1__CreateProject *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__CreateProject, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__CreateProject ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProject ** SOAP_FMAC4 soap_in_PointerTo_ns1__CreateProject(struct soap *soap, const char *tag, _ns1__CreateProject **a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (_ns1__CreateProject **)soap_malloc(soap, sizeof(_ns1__CreateProject *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__CreateProject *)soap_instantiate__ns1__CreateProject(soap, -1, soap->type, soap->arrayType, NULL)))
|
|
return NULL;
|
|
(*a)->soap_default(soap);
|
|
if (!(*a)->soap_in(soap, tag, NULL))
|
|
{ *a = NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
else
|
|
{ a = (_ns1__CreateProject **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__CreateProject, sizeof(_ns1__CreateProject), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__CreateProject(struct soap *soap, _ns1__CreateProject *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__CreateProject(soap, tag ? tag : "ns1:CreateProject", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__CreateProject ** SOAP_FMAC4 soap_get_PointerTo_ns1__CreateProject(struct soap *soap, _ns1__CreateProject **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__CreateProject(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__SetMaterialStatusS(struct soap *soap, _ns1__SetMaterialStatusS *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__SetMaterialStatusS))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__SetMaterialStatusS(struct soap *soap, const char *tag, int id, _ns1__SetMaterialStatusS *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__SetMaterialStatusS, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__SetMaterialStatusS ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusS ** SOAP_FMAC4 soap_in_PointerTo_ns1__SetMaterialStatusS(struct soap *soap, const char *tag, _ns1__SetMaterialStatusS **a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 1, NULL))
|
|
return NULL;
|
|
if (!a)
|
|
if (!(a = (_ns1__SetMaterialStatusS **)soap_malloc(soap, sizeof(_ns1__SetMaterialStatusS *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__SetMaterialStatusS *)soap_instantiate__ns1__SetMaterialStatusS(soap, -1, soap->type, soap->arrayType, NULL)))
|
|
return NULL;
|
|
(*a)->soap_default(soap);
|
|
if (!(*a)->soap_in(soap, tag, NULL))
|
|
{ *a = NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
else
|
|
{ a = (_ns1__SetMaterialStatusS **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__SetMaterialStatusS, sizeof(_ns1__SetMaterialStatusS), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__SetMaterialStatusS(struct soap *soap, _ns1__SetMaterialStatusS *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__SetMaterialStatusS(soap, tag ? tag : "ns1:SetMaterialStatusS", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__SetMaterialStatusS ** SOAP_FMAC4 soap_get_PointerTo_ns1__SetMaterialStatusS(struct soap *soap, _ns1__SetMaterialStatusS **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__SetMaterialStatusS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_wstring(struct soap *soap, wchar_t *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
(void)soap_reference(soap, *a, SOAP_TYPE_wstring);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_wstring(struct soap *soap, const char *tag, int id, wchar_t *const*a, const char *type)
|
|
{
|
|
return soap_outwstring(soap, tag, id, a, type, SOAP_TYPE_wstring);
|
|
}
|
|
|
|
SOAP_FMAC3 wchar_t * * SOAP_FMAC4 soap_in_wstring(struct soap *soap, const char *tag, wchar_t **a, const char *type)
|
|
{
|
|
a = soap_inwstring(soap, tag, a, type, SOAP_TYPE_wstring, 1, 0, -1, NULL);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 wchar_t * * SOAP_FMAC4 soap_new_wstring(struct soap *soap, int n)
|
|
{
|
|
wchar_t * *a = static_cast<wchar_t * *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(wchar_t *)));
|
|
for (wchar_t * *p = a; p && n--; ++p)
|
|
soap_default_wstring(soap, p);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_wstring(struct soap *soap, wchar_t *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_wstring(soap, tag ? tag : "string", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 wchar_t ** SOAP_FMAC4 soap_get_wstring(struct soap *soap, wchar_t **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_wstring(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap *soap, char *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
(void)soap_reference(soap, *a, SOAP_TYPE__QName);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
|
|
{
|
|
return soap_outstring(soap, tag, id, a, type, SOAP_TYPE__QName);
|
|
}
|
|
|
|
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag, char **a, const char *type)
|
|
{
|
|
a = soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, 0, -1, NULL);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out__QName(soap, tag ? tag : "QName", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap *soap, char **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__QName(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
(void)soap_reference(soap, *a, SOAP_TYPE_string);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
|
|
{
|
|
return soap_outstring(soap, tag, id, a, type, SOAP_TYPE_string);
|
|
}
|
|
|
|
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type)
|
|
{
|
|
a = soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, 0, -1, NULL);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 char * * SOAP_FMAC4 soap_new_string(struct soap *soap, int n)
|
|
{
|
|
char * *a = static_cast<char * *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(char *)));
|
|
for (char * *p = a; p && n--; ++p)
|
|
soap_default_string(soap, p);
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_string(soap, tag ? tag : "string", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_string(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
#if defined(__BORLANDC__)
|
|
#pragma option pop
|
|
#pragma option pop
|
|
#endif
|
|
|
|
/* End of soapC.cpp */
|