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.
7373 lines
363 KiB
7373 lines
363 KiB
/* soapC.cpp
|
|
Generated by gSOAP 2.8.131 for total2.h
|
|
|
|
gSOAP XML Web services tools
|
|
Copyright (C) 2000-2023, 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.131 2023-11-28 03:27:13 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)
|
|
{
|
|
if (!soap->fault)
|
|
return NULL;
|
|
if (soap->version == 2)
|
|
return soap->fault->SOAP_ENV__Code && soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode ? soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value : NULL;
|
|
return soap->fault->faultcode;
|
|
}
|
|
|
|
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_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_REQ");
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_RSP");
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_REQ");
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_RSP");
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
return soap_in_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, NULL, "ns1:DT_BOM_S4_REQ");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
return soap_in_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
return soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
return soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
return soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
return soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
return soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, NULL, "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
return soap_in_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
return soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_REQ-LIST");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
return soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
return soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, NULL, "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
return soap_in_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, NULL, "ns1:DT_BOM_S4_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
return soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, NULL, "ns1:DT_BOM_S4_REQ-LIST");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, NULL, "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
return soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag, NULL, "ns1:DT_BOM_S4_REQ-BASEINFO");
|
|
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, "ns1:DT_FACTORY_NUMBER_REQ"))
|
|
{ *type = SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ;
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_FACTORY_NUMBER_RSP"))
|
|
{ *type = SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP;
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ"))
|
|
{ *type = SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ;
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_RSP"))
|
|
{ *type = SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP;
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ"))
|
|
{ *type = SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ;
|
|
return soap_in_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, NULL, NULL);
|
|
}
|
|
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: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:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM;
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS;
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO;
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN;
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO;
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-HEAD"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-LIST"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_REQ-BASEINFO"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_PROCESSROUTE_S4_RSP-RSP_BASEINFO"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO;
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM;
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ-LIST-ITEMS"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS;
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ-LIST-HEAD"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD;
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ-LIST"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST;
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, NULL, NULL, NULL);
|
|
}
|
|
if (!soap_match_tag(soap, t, "ns1:DT_BOM_S4_REQ-BASEINFO"))
|
|
{ *type = SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO;
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
return ((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *)ptr)->soap_out(soap, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
return ((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *)ptr)->soap_out(soap, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
return ((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *)ptr)->soap_out(soap, "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
return ((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *)ptr)->soap_out(soap, "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
return ((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *)ptr)->soap_out(soap, "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO", id, "");
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
return ((ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *)ptr)->soap_out(soap, tag, id, "ns1:DT_FACTORY_NUMBER_REQ");
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
return ((ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *)ptr)->soap_out(soap, tag, id, "ns1:DT_FACTORY_NUMBER_RSP");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-HEAD", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-LIST", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_REQ-BASEINFO", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO:
|
|
return ((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *)ptr)->soap_out(soap, "ns1:DT_PROCESSROUTE_S4_RSP-RSP_BASEINFO", id, "");
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
return ((ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *)ptr)->soap_out(soap, tag, id, "ns1:DT_PROCESSROUTE_S4_REQ");
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
return ((ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *)ptr)->soap_out(soap, tag, id, "ns1:DT_PROCESSROUTE_S4_RSP");
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return ((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)ptr)->soap_out(soap, "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
return ((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *)ptr)->soap_out(soap, "ns1:DT_BOM_S4_REQ-LIST-ITEMS", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD:
|
|
return ((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *)ptr)->soap_out(soap, "ns1:DT_BOM_S4_REQ-LIST-HEAD", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
return ((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *)ptr)->soap_out(soap, "ns1:DT_BOM_S4_REQ-LIST", id, "");
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
return ((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *)ptr)->soap_out(soap, "ns1:DT_BOM_S4_REQ-BASEINFO", id, "");
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
return ((ns1__DT_USCOREBOM_USCORES4_USCOREREQ *)ptr)->soap_out(soap, tag, id, "ns1:DT_BOM_S4_REQ");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
return soap_out_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, id, (ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *const*)ptr, "ns1:DT_FACTORY_NUMBER_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
return soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, id, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *const*)ptr, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
return soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, id, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *const*)ptr, "ns1:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
return soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, id, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *const*)ptr, "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
return soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, id, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *const*)ptr, "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
return soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, id, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *const*)ptr, "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
return soap_out_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, id, (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *const*)ptr, "ns1:DT_PROCESSROUTE_S4_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
return soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, id, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *const*)ptr, "ns1:DT_PROCESSROUTE_S4_REQ-LIST");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, id, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*)ptr, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
return soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, id, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *const*)ptr, "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
return soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, id, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *const*)ptr, "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN");
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
return soap_out_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, id, (ns1__DT_USCOREBOM_USCORES4_USCOREREQ *const*)ptr, "ns1:DT_BOM_S4_REQ");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
return soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, id, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *const*)ptr, "ns1:DT_BOM_S4_REQ-LIST");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, id, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*)ptr, "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM");
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
return soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag, id, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *const*)ptr, "ns1:DT_BOM_S4_REQ-BASEINFO");
|
|
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, 0, NULL); /* 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
((_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
((ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
((ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO:
|
|
((_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
((ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
((ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD:
|
|
((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
((_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
((ns1__DT_USCOREBOM_USCORES4_USCOREREQ *)ptr)->soap_serialize(soap);
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN:
|
|
soap_serialize___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(soap, (const struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN:
|
|
soap_serialize___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(soap, (const struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *)ptr);
|
|
break;
|
|
case SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN:
|
|
soap_serialize___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(soap, (const struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
soap_serialize_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, (ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
soap_serialize_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
soap_serialize_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, (ns1__DT_USCOREBOM_USCORES4_USCOREREQ *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*)ptr);
|
|
break;
|
|
case SOAP_TYPE_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *const*)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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
return (void*)soap_instantiate_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN:
|
|
return (void*)soap_instantiate___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
return (void*)soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
return (void*)soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN:
|
|
return (void*)soap_instantiate___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
return (void*)soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
return (void*)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
return (void*)soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, -1, type, arrayType, n);
|
|
case SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN:
|
|
return (void*)soap_instantiate___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST*>(p->ptr), _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<ns1__DT_USCOREBOM_USCORES4_USCOREREQ*>(p->ptr), ns1__DT_USCOREBOM_USCORES4_USCOREREQ);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<ns1__DT_USCOREBOM_USCORES4_USCOREREQ*>(p->ptr), ns1__DT_USCOREBOM_USCORES4_USCOREREQ);
|
|
break;
|
|
case SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN*>(p->ptr), struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN*>(p->ptr), struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP*>(p->ptr), ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP*>(p->ptr), ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST*>(p->ptr), _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ*>(p->ptr), ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ*>(p->ptr), ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ);
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN*>(p->ptr), struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN*>(p->ptr), struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP*>(p->ptr), ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP*>(p->ptr), ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM);
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS*>(p->ptr), _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS);
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ*>(p->ptr), ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ*>(p->ptr), ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ);
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN:
|
|
if (p->size < 0)
|
|
SOAP_DELETE(soap, static_cast<struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN*>(p->ptr), struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN);
|
|
else
|
|
SOAP_DELETE_ARRAY(soap, static_cast<struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN*>(p->ptr), struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN);
|
|
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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO*)p = *(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD*)p = *(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)p = *(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS*)p = *(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST*)p = *(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST*)q;
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy ns1__DT_USCOREBOM_USCORES4_USCOREREQ type=%d location=%p object=%p\n", t, p, q));
|
|
*(ns1__DT_USCOREBOM_USCORES4_USCOREREQ*)p = *(ns1__DT_USCOREBOM_USCORES4_USCOREREQ*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN*)p = *(struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN*)q;
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP type=%d location=%p object=%p\n", t, p, q));
|
|
*(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP*)p = *(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST*)p = *(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST*)q;
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ type=%d location=%p object=%p\n", t, p, q));
|
|
*(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ*)p = *(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN*)p = *(struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO*)p = *(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN*)p = *(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN*)q;
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP type=%d location=%p object=%p\n", t, p, q));
|
|
*(ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP*)p = *(ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO*)p = *(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM*)p = *(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM*)q;
|
|
break;
|
|
case SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS type=%d location=%p object=%p\n", t, p, q));
|
|
*(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS*)p = *(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS*)q;
|
|
break;
|
|
case SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ type=%d location=%p object=%p\n", t, p, q));
|
|
*(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ*)p = *(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ*)q;
|
|
break;
|
|
case SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN:
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copy struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN type=%d location=%p object=%p\n", t, p, q));
|
|
*(struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN*)p = *(struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN*)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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::PSPID);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZPSPID);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::MATNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZZD);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZGH);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::SERNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::WERKS);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::RSPOS);
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::PSPID);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZPSPID);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::MATNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZZD);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZGH);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::SERNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::WERKS);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::RSPOS);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PSPID", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::PSPID, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "ZPSPID", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZPSPID, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "MATNR", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::MATNR, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "ZZD", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZZD, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "ZGH", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZGH, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "SERNR", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::SERNR, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "WERKS", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::WERKS, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "RSPOS", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::RSPOS, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM * SOAP_FMAC4 soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_PSPID1 = 1;
|
|
size_t soap_flag_ZPSPID1 = 1;
|
|
size_t soap_flag_MATNR1 = 1;
|
|
size_t soap_flag_ZZD1 = 1;
|
|
size_t soap_flag_ZGH1 = 1;
|
|
size_t soap_flag_SERNR1 = 1;
|
|
size_t soap_flag_WERKS1 = 1;
|
|
size_t soap_flag_RSPOS1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_PSPID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PSPID", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::PSPID, "xsd:string"))
|
|
{ soap_flag_PSPID1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ZPSPID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "ZPSPID", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZPSPID, "xsd:string"))
|
|
{ soap_flag_ZPSPID1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MATNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MATNR", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::MATNR, "xsd:string"))
|
|
{ soap_flag_MATNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ZZD1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "ZZD", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZZD, "xsd:string"))
|
|
{ soap_flag_ZZD1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ZGH1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "ZGH", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::ZGH, "xsd:string"))
|
|
{ soap_flag_ZGH1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SERNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SERNR", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::SERNR, "xsd:string"))
|
|
{ soap_flag_SERNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_WERKS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "WERKS", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::WERKS, "xsd:string"))
|
|
{ soap_flag_WERKS1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_RSPOS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "RSPOS", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::RSPOS, "xsd:string"))
|
|
{ soap_flag_RSPOS1--;
|
|
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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM * SOAP_FMAC4 soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM = 0;
|
|
this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM = NULL;
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM; i++)
|
|
{
|
|
soap_embedded(soap, this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM + i, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM);
|
|
this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS), type))
|
|
return soap->error;
|
|
if (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM; i++)
|
|
if (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM[i].soap_out(soap, "ITEM", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS * SOAP_FMAC4 soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
struct soap_blist *soap_blist_ITEM1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "ITEM", 1, NULL))
|
|
{ if (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM == NULL)
|
|
{ if (soap_blist_ITEM1 == NULL)
|
|
soap_blist_ITEM1 = soap_alloc_block(soap);
|
|
a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM = soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM>::push(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM == NULL)
|
|
return NULL;
|
|
a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, "ITEM", a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM, ""))
|
|
{ a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM++;
|
|
a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM = NULL;
|
|
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 (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM)
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM>::pop(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM)
|
|
{ a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM = soap_new__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::__sizeITEM);
|
|
if (!a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM>::save(soap, soap_blist_ITEM1, a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM);
|
|
}
|
|
else
|
|
{ a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::ITEM = NULL;
|
|
if (soap_blist_ITEM1)
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM>::end(soap, soap_blist_ITEM1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-ITEMS", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS * SOAP_FMAC4 soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "REQ_TRACE_ID", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_REQ_USCORETRACE_USCOREID1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_REQ_USCORETRACE_USCOREID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "REQ_TRACE_ID", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, "xsd:string"))
|
|
{ soap_flag_REQ_USCORETRACE_USCOREID1--;
|
|
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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::SERNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::TYPE);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::MESSAGE);
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::SERNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::TYPE);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::MESSAGE);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "SERNR", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::SERNR, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "TYPE", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::TYPE, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "MESSAGE", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::MESSAGE, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC4 soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_SERNR1 = 1;
|
|
size_t soap_flag_TYPE1 = 1;
|
|
size_t soap_flag_MESSAGE1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_SERNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SERNR", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::SERNR, "xsd:string"))
|
|
{ soap_flag_SERNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_TYPE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "TYPE", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::TYPE, "xsd:string"))
|
|
{ soap_flag_TYPE1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MESSAGE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MESSAGE", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::MESSAGE, "xsd:string"))
|
|
{ soap_flag_MESSAGE1--;
|
|
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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN 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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC4 soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID);
|
|
}
|
|
|
|
void _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "REQ_TRACE_ID", -1, (char*const*)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC4 soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_REQ_USCORETRACE_USCOREID1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_REQ_USCORETRACE_USCOREID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "REQ_TRACE_ID", (char**)&a->_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID, "xsd:string"))
|
|
{ soap_flag_REQ_USCORETRACE_USCOREID1--;
|
|
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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO 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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC4 soap_get__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::BASEINFO = NULL;
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::ITEMS = NULL;
|
|
}
|
|
|
|
void ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, &this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::BASEINFO);
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, &this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::ITEMS);
|
|
#endif
|
|
}
|
|
|
|
int ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, const char *tag, int id, const ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ), type))
|
|
return soap->error;
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, "BASEINFO", -1, &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::BASEINFO, ""))
|
|
return soap->error;
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, "ITEMS", -1, &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::ITEMS, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ * SOAP_FMAC4 soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_BASEINFO1 = 1;
|
|
size_t soap_flag_ITEMS1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_BASEINFO1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, "BASEINFO", &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::BASEINFO, ""))
|
|
{ soap_flag_BASEINFO1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ITEMS1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, "ITEMS", &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::ITEMS, ""))
|
|
{ soap_flag_ITEMS1--;
|
|
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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ * SOAP_FMAC2 soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *p;
|
|
size_t k = sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ * SOAP_FMAC4 soap_get_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::RSP_USCOREBASEINFO = NULL;
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN = 0;
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
}
|
|
|
|
void ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, &this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::RSP_USCOREBASEINFO);
|
|
if (this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN; i++)
|
|
{
|
|
soap_embedded(soap, this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN + i, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN);
|
|
this->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(struct soap *soap, const char *tag, int id, const ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP), type))
|
|
return soap->error;
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, "RSP_BASEINFO", -1, &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::RSP_USCOREBASEINFO, ""))
|
|
return soap->error;
|
|
if (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN; i++)
|
|
if (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN[i].soap_out(soap, "ZTABLE_RETURN", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP * SOAP_FMAC4 soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(struct soap *soap, const char *tag, ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_RSP_USCOREBASEINFO1 = 1;
|
|
struct soap_blist *soap_blist_ZTABLE_USCORERETURN1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_RSP_USCOREBASEINFO1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, "RSP_BASEINFO", &a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::RSP_USCOREBASEINFO, ""))
|
|
{ soap_flag_RSP_USCOREBASEINFO1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "ZTABLE_RETURN", 1, NULL))
|
|
{ if (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN == NULL)
|
|
{ if (soap_blist_ZTABLE_USCORERETURN1 == NULL)
|
|
soap_blist_ZTABLE_USCORERETURN1 = soap_alloc_block(soap);
|
|
a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN = soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN>::push(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
if (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN == NULL)
|
|
return NULL;
|
|
a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, "ZTABLE_RETURN", a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN, ""))
|
|
{ a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN++;
|
|
a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
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 (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN)
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN>::pop(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
if (a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN)
|
|
{ a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN = soap_new__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::__sizeZTABLE_USCORERETURN);
|
|
if (!a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN>::save(soap, soap_blist_ZTABLE_USCORERETURN1, a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN);
|
|
}
|
|
else
|
|
{ a->ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
if (soap_blist_ZTABLE_USCORERETURN1)
|
|
soap_block<_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN>::end(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP * SOAP_FMAC2 soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *p;
|
|
size_t k = sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP 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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_RSP", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP * SOAP_FMAC4 soap_get_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(struct soap *soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VORNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::ARBPL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::STEUS);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::LTXA1);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::USR00);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::PLNME);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW05);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE05);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VORNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::ARBPL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::STEUS);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::LTXA1);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::USR00);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::PLNME);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW05);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE05);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "VORNR", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VORNR, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "ARBPL", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::ARBPL, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "STEUS", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::STEUS, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "LTXA1", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::LTXA1, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "USR00", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::USR00, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH)
|
|
{ if (soap_element_empty(soap, "BMSCH", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "BMSCH", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PLNME", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::PLNME, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01)
|
|
{ if (soap_element_empty(soap, "VGW01", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "VGW01", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01)
|
|
{ if (soap_element_empty(soap, "VGE01", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "VGE01", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02)
|
|
{ if (soap_element_empty(soap, "VGW02", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "VGW02", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02)
|
|
{ if (soap_element_empty(soap, "VGE02", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "VGE02", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "VGW05", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW05, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "VGE05", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE05, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_VORNR1 = 1;
|
|
size_t soap_flag_ARBPL1 = 1;
|
|
size_t soap_flag_STEUS1 = 1;
|
|
size_t soap_flag_LTXA11 = 1;
|
|
size_t soap_flag_USR001 = 1;
|
|
size_t soap_flag_BMSCH1 = 1;
|
|
size_t soap_flag_PLNME1 = 1;
|
|
size_t soap_flag_VGW011 = 1;
|
|
size_t soap_flag_VGE011 = 1;
|
|
size_t soap_flag_VGW021 = 1;
|
|
size_t soap_flag_VGE021 = 1;
|
|
size_t soap_flag_VGW051 = 1;
|
|
size_t soap_flag_VGE051 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_VORNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VORNR", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VORNR, "xsd:string"))
|
|
{ soap_flag_VORNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ARBPL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "ARBPL", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::ARBPL, "xsd:string"))
|
|
{ soap_flag_ARBPL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_STEUS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "STEUS", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::STEUS, "xsd:string"))
|
|
{ soap_flag_STEUS1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_LTXA11 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "LTXA1", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::LTXA1, "xsd:string"))
|
|
{ soap_flag_LTXA11--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_USR001 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "USR00", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::USR00, "xsd:string"))
|
|
{ soap_flag_USR001--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_BMSCH1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "BMSCH", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH, "xsd:string"))
|
|
{ soap_flag_BMSCH1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_PLNME1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PLNME", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::PLNME, "xsd:string"))
|
|
{ soap_flag_PLNME1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGW011 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGW01", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01, "xsd:string"))
|
|
{ soap_flag_VGW011--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGE011 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGE01", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01, "xsd:string"))
|
|
{ soap_flag_VGE011--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGW021 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGW02", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02, "xsd:string"))
|
|
{ soap_flag_VGW021--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGE021 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGE02", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02, "xsd:string"))
|
|
{ soap_flag_VGE021--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGW051 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGW05", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW05, "xsd:string"))
|
|
{ soap_flag_VGW051--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VGE051 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VGE05", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE05, "xsd:string"))
|
|
{ soap_flag_VGE051--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::BMSCH || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW01 || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE01 || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGW02 || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::VGE02))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM = 0;
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM = NULL;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM; i++)
|
|
{
|
|
soap_embedded(soap, this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM + i, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS), type))
|
|
return soap->error;
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM; i++)
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM[i].soap_out(soap, "SUBITEM", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
struct soap_blist *soap_blist_SUBITEM1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "SUBITEM", 1, NULL))
|
|
{ if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM == NULL)
|
|
{ if (soap_blist_SUBITEM1 == NULL)
|
|
soap_blist_SUBITEM1 = soap_alloc_block(soap);
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM = soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM>::push(soap, soap_blist_SUBITEM1);
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM == NULL)
|
|
return NULL;
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, "SUBITEM", a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM, ""))
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM++;
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM = NULL;
|
|
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 (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM>::pop(soap, soap_blist_SUBITEM1);
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM)
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM = soap_new__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::__sizeSUBITEM);
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM>::save(soap, soap_blist_SUBITEM1, a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM);
|
|
}
|
|
else
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::SUBITEM = NULL;
|
|
if (soap_blist_SUBITEM1)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM>::end(soap, soap_blist_SUBITEM1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNAL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNFL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::FLGAT);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::BEZFL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::LTXA1);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR1);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR2);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SUBITEMS._ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS::soap_default(soap);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNAL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNFL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::FLGAT);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::BEZFL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::LTXA1);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR1);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR2);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SUBITEMS.soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PLNAL", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNAL, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PLNFL", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNFL, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "DATUV", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "FLGAT", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::FLGAT, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "BEZFL", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::BEZFL, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "LTXA1", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::LTXA1, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "VORNR1", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR1, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "VORNR2", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR2, ""))
|
|
return soap->error;
|
|
if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SUBITEMS).soap_out(soap, "SUBITEMS", -1, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_PLNAL1 = 1;
|
|
size_t soap_flag_PLNFL1 = 1;
|
|
size_t soap_flag_DATUV1 = 1;
|
|
size_t soap_flag_FLGAT1 = 1;
|
|
size_t soap_flag_BEZFL1 = 1;
|
|
size_t soap_flag_LTXA11 = 1;
|
|
size_t soap_flag_VORNR11 = 1;
|
|
size_t soap_flag_VORNR21 = 1;
|
|
size_t soap_flag_SUBITEMS1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_PLNAL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PLNAL", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNAL, "xsd:string"))
|
|
{ soap_flag_PLNAL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_PLNFL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PLNFL", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::PLNFL, "xsd:string"))
|
|
{ soap_flag_PLNFL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_DATUV1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "DATUV", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV, "xsd:string"))
|
|
{ soap_flag_DATUV1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_FLGAT1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "FLGAT", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::FLGAT, "xsd:string"))
|
|
{ soap_flag_FLGAT1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_BEZFL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "BEZFL", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::BEZFL, "xsd:string"))
|
|
{ soap_flag_BEZFL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_LTXA11 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "LTXA1", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::LTXA1, "xsd:string"))
|
|
{ soap_flag_LTXA11--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VORNR11 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VORNR1", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR1, "xsd:string"))
|
|
{ soap_flag_VORNR11--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VORNR21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VORNR2", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::VORNR2, "xsd:string"))
|
|
{ soap_flag_VORNR21--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SUBITEMS1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SUBITEMS).soap_in(soap, "SUBITEMS", ""))
|
|
{ soap_flag_SUBITEMS1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_SUBITEMS1 > 0))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM = 0;
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM; i++)
|
|
{
|
|
soap_embedded(soap, this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM + i, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS), type))
|
|
return soap->error;
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM; i++)
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM[i].soap_out(soap, "ITEM", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
struct soap_blist *soap_blist_ITEM1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "ITEM", 1, NULL))
|
|
{ if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM == NULL)
|
|
{ if (soap_blist_ITEM1 == NULL)
|
|
soap_blist_ITEM1 = soap_alloc_block(soap);
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::push(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM == NULL)
|
|
return NULL;
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, "ITEM", a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM, ""))
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM++;
|
|
a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
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 (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::pop(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM)
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = soap_new__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM);
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::save(soap, soap_blist_ITEM1, a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM);
|
|
}
|
|
else
|
|
{ a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
if (soap_blist_ITEM1)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::end(soap, soap_blist_ITEM1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::DATUV);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PLNAL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PSPNR);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::DATUV);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PLNAL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PSPNR);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD), type))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR)
|
|
{ if (soap_element_empty(soap, "MATNR", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "MATNR", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS)
|
|
{ if (soap_element_empty(soap, "WERKS", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "WERKS", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE)
|
|
{ if (soap_element_empty(soap, "VERWE", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "VERWE", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU)
|
|
{ if (soap_element_empty(soap, "STATU", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "STATU", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "DATUV", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::DATUV, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PLNAL", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PLNAL, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PSPNR", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PSPNR, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_MATNR1 = 1;
|
|
size_t soap_flag_WERKS1 = 1;
|
|
size_t soap_flag_VERWE1 = 1;
|
|
size_t soap_flag_STATU1 = 1;
|
|
size_t soap_flag_DATUV1 = 1;
|
|
size_t soap_flag_PLNAL1 = 1;
|
|
size_t soap_flag_PSPNR1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_MATNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MATNR", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR, "xsd:string"))
|
|
{ soap_flag_MATNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_WERKS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "WERKS", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS, "xsd:string"))
|
|
{ soap_flag_WERKS1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_VERWE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "VERWE", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE, "xsd:string"))
|
|
{ soap_flag_VERWE1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_STATU1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "STATU", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU, "xsd:string"))
|
|
{ soap_flag_STATU1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_DATUV1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "DATUV", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::DATUV, "xsd:string"))
|
|
{ soap_flag_DATUV1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_PLNAL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PLNAL", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PLNAL, "xsd:string"))
|
|
{ soap_flag_PLNAL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_PSPNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PSPNR", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::PSPNR, "xsd:string"))
|
|
{ soap_flag_PSPNR1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::MATNR || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::WERKS || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::VERWE || !a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::STATU))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-HEAD", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::HEAD._ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_HEAD::soap_default(soap);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::ITEMS._ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS::soap_default(soap);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::HEAD.soap_serialize(soap);
|
|
this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::ITEMS.soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST), type))
|
|
return soap->error;
|
|
if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::HEAD).soap_out(soap, "HEAD", -1, ""))
|
|
return soap->error;
|
|
if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::ITEMS).soap_out(soap, "ITEMS", -1, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_HEAD1 = 1;
|
|
size_t soap_flag_ITEMS1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_HEAD1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::HEAD).soap_in(soap, "HEAD", ""))
|
|
{ soap_flag_HEAD1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ITEMS1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::ITEMS).soap_in(soap, "ITEMS", ""))
|
|
{ soap_flag_ITEMS1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_HEAD1 > 0 || soap_flag_ITEMS1 > 0))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "REQ_TRACE_ID", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_REQ_USCORETRACE_USCOREID1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_REQ_USCORETRACE_USCOREID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "REQ_TRACE_ID", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, "xsd:string"))
|
|
{ soap_flag_REQ_USCORETRACE_USCOREID1--;
|
|
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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-BASEINFO", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MATNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::TYPE);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MESSAGE);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MATNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::TYPE);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MESSAGE);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "MATNR", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MATNR, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "TYPE", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::TYPE, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "MESSAGE", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MESSAGE, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_MATNR1 = 1;
|
|
size_t soap_flag_TYPE1 = 1;
|
|
size_t soap_flag_MESSAGE1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_MATNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MATNR", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MATNR, "xsd:string"))
|
|
{ soap_flag_MATNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_TYPE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "TYPE", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::TYPE, "xsd:string"))
|
|
{ soap_flag_TYPE1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MESSAGE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MESSAGE", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::MESSAGE, "xsd:string"))
|
|
{ soap_flag_MESSAGE1--;
|
|
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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN 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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID);
|
|
}
|
|
|
|
void _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO), type))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID)
|
|
{ if (soap_element_empty(soap, "REQ_TRACE_ID", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "REQ_TRACE_ID", -1, (char*const*)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC4 soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_REQ_USCORETRACE_USCOREID1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_REQ_USCORETRACE_USCOREID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "REQ_TRACE_ID", (char**)&a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID, "xsd:string"))
|
|
{ soap_flag_REQ_USCORETRACE_USCOREID1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (!a->_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::REQ_USCORETRACE_USCOREID))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO 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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_RSP-RSP_BASEINFO", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO * SOAP_FMAC4 soap_get__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::BASEINFO._ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_BASEINFO::soap_default(soap);
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST = 0;
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST = NULL;
|
|
}
|
|
|
|
void ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::BASEINFO.soap_serialize(soap);
|
|
if (this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST; i++)
|
|
{
|
|
soap_embedded(soap, this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST + i, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST);
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, const char *tag, int id, const ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ), type))
|
|
return soap->error;
|
|
if ((a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::BASEINFO).soap_out(soap, "BASEINFO", -1, ""))
|
|
return soap->error;
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST; i++)
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST[i].soap_out(soap, "LIST", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ * SOAP_FMAC4 soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_BASEINFO1 = 1;
|
|
struct soap_blist *soap_blist_LIST1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_BASEINFO1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::BASEINFO).soap_in(soap, "BASEINFO", ""))
|
|
{ soap_flag_BASEINFO1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "LIST", 1, NULL))
|
|
{ if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST == NULL)
|
|
{ if (soap_blist_LIST1 == NULL)
|
|
soap_blist_LIST1 = soap_alloc_block(soap);
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST = soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST>::push(soap, soap_blist_LIST1);
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST == NULL)
|
|
return NULL;
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, "LIST", a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST, ""))
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST++;
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST = NULL;
|
|
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 (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST>::pop(soap, soap_blist_LIST1);
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST)
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST = soap_new__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::__sizeLIST);
|
|
if (!a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST>::save(soap, soap_blist_LIST1, a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST);
|
|
}
|
|
else
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::LIST = NULL;
|
|
if (soap_blist_LIST1)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST>::end(soap, soap_blist_LIST1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_BASEINFO1 > 0))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ * SOAP_FMAC2 soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *p;
|
|
size_t k = sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ * SOAP_FMAC4 soap_get_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::RSP_USCOREBASEINFO._ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_RSP_USCOREBASEINFO::soap_default(soap);
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN = 0;
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
}
|
|
|
|
void ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::RSP_USCOREBASEINFO.soap_serialize(soap);
|
|
if (this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN; i++)
|
|
{
|
|
soap_embedded(soap, this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN + i, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN);
|
|
this->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(struct soap *soap, const char *tag, int id, const ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP), type))
|
|
return soap->error;
|
|
if ((a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::RSP_USCOREBASEINFO).soap_out(soap, "RSP_BASEINFO", -1, ""))
|
|
return soap->error;
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN; i++)
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN[i].soap_out(soap, "ZTABLE_RETURN", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP * SOAP_FMAC4 soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(struct soap *soap, const char *tag, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_RSP_USCOREBASEINFO1 = 1;
|
|
struct soap_blist *soap_blist_ZTABLE_USCORERETURN1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_RSP_USCOREBASEINFO1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::RSP_USCOREBASEINFO).soap_in(soap, "RSP_BASEINFO", ""))
|
|
{ soap_flag_RSP_USCOREBASEINFO1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "ZTABLE_RETURN", 1, NULL))
|
|
{ if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN == NULL)
|
|
{ if (soap_blist_ZTABLE_USCORERETURN1 == NULL)
|
|
soap_blist_ZTABLE_USCORERETURN1 = soap_alloc_block(soap);
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN = soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN>::push(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN == NULL)
|
|
return NULL;
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, "ZTABLE_RETURN", a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN, ""))
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN++;
|
|
a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
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 (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN>::pop(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
if (a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN)
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN = soap_new__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::__sizeZTABLE_USCORERETURN);
|
|
if (!a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN>::save(soap, soap_blist_ZTABLE_USCORERETURN1, a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN);
|
|
}
|
|
else
|
|
{ a->ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::ZTABLE_USCORERETURN = NULL;
|
|
if (soap_blist_ZTABLE_USCORERETURN1)
|
|
soap_block<_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN>::end(soap, soap_blist_ZTABLE_USCORERETURN1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_RSP_USCOREBASEINFO1 > 0))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP * SOAP_FMAC2 soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *p;
|
|
size_t k = sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP 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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_RSP", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP * SOAP_FMAC4 soap_get_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(struct soap *soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MEINS);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SORTF);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POTX1);
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MEINS);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SORTF);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POTX1);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "DATUV", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP)
|
|
{ if (soap_element_empty(soap, "POSTP", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "POSTP", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR)
|
|
{ if (soap_element_empty(soap, "POSNR", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "POSNR", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK)
|
|
{ if (soap_element_empty(soap, "IDNRK", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "IDNRK", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE)
|
|
{ if (soap_element_empty(soap, "MENGE", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "MENGE", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "MEINS", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MEINS, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "SORTF", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SORTF, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "POTX1", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POTX1, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC4 soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_DATUV1 = 1;
|
|
size_t soap_flag_POSTP1 = 1;
|
|
size_t soap_flag_POSNR1 = 1;
|
|
size_t soap_flag_IDNRK1 = 1;
|
|
size_t soap_flag_MENGE1 = 1;
|
|
size_t soap_flag_MEINS1 = 1;
|
|
size_t soap_flag_SORTF1 = 1;
|
|
size_t soap_flag_POTX11 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_DATUV1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "DATUV", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::DATUV, "xsd:string"))
|
|
{ soap_flag_DATUV1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_POSTP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "POSTP", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP, "xsd:string"))
|
|
{ soap_flag_POSTP1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_POSNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "POSNR", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR, "xsd:string"))
|
|
{ soap_flag_POSNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_IDNRK1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "IDNRK", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK, "xsd:string"))
|
|
{ soap_flag_IDNRK1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MENGE1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MENGE", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE, "xsd:string"))
|
|
{ soap_flag_MENGE1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MEINS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MEINS", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MEINS, "xsd:string"))
|
|
{ soap_flag_MEINS1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_SORTF1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "SORTF", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::SORTF, "xsd:string"))
|
|
{ soap_flag_SORTF1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_POTX11 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "POTX1", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POTX1, "xsd:string"))
|
|
{ soap_flag_POTX11--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSTP || !a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::POSNR || !a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::IDNRK || !a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::MENGE))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM * SOAP_FMAC4 soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM = 0;
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM; i++)
|
|
{
|
|
soap_embedded(soap, this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM + i, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM);
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS), type))
|
|
return soap->error;
|
|
if (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM; i++)
|
|
if (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM[i].soap_out(soap, "ITEM", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC4 soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
struct soap_blist *soap_blist_ITEM1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "ITEM", 1, NULL))
|
|
{ if (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM == NULL)
|
|
{ if (soap_blist_ITEM1 == NULL)
|
|
soap_blist_ITEM1 = soap_alloc_block(soap);
|
|
a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::push(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM == NULL)
|
|
return NULL;
|
|
a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, "ITEM", a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM, ""))
|
|
{ a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM++;
|
|
a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
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 (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::pop(soap, soap_blist_ITEM1);
|
|
if (a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM)
|
|
{ a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = soap_new__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::__sizeITEM);
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::save(soap, soap_blist_ITEM1, a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM);
|
|
}
|
|
else
|
|
{ a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::ITEM = NULL;
|
|
if (soap_blist_ITEM1)
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM>::end(soap, soap_blist_ITEM1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST-ITEMS", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS * SOAP_FMAC4 soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::PSPNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::DATUV);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAN);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAL);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMEIN);
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STKTX);
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::PSPNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::DATUV);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAN);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAL);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMEIN);
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STKTX);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "PSPNR", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::PSPNR, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR)
|
|
{ if (soap_element_empty(soap, "MATNR", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "MATNR", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS)
|
|
{ if (soap_element_empty(soap, "WERKS", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "WERKS", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "DATUV", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::DATUV, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "STLAN", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAN, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "STLAL", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAL, ""))
|
|
return soap->error;
|
|
if (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG)
|
|
{ if (soap_element_empty(soap, "BMENG", 0, NULL))
|
|
return soap->error;
|
|
}
|
|
else if (soap_out_string(soap, "BMENG", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "BMEIN", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMEIN, ""))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "STKTX", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STKTX, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC4 soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_PSPNR1 = 1;
|
|
size_t soap_flag_MATNR1 = 1;
|
|
size_t soap_flag_WERKS1 = 1;
|
|
size_t soap_flag_DATUV1 = 1;
|
|
size_t soap_flag_STLAN1 = 1;
|
|
size_t soap_flag_STLAL1 = 1;
|
|
size_t soap_flag_BMENG1 = 1;
|
|
size_t soap_flag_BMEIN1 = 1;
|
|
size_t soap_flag_STKTX1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_PSPNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "PSPNR", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::PSPNR, "xsd:string"))
|
|
{ soap_flag_PSPNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_MATNR1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "MATNR", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR, "xsd:string"))
|
|
{ soap_flag_MATNR1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_WERKS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "WERKS", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS, "xsd:string"))
|
|
{ soap_flag_WERKS1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_DATUV1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "DATUV", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::DATUV, "xsd:string"))
|
|
{ soap_flag_DATUV1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_STLAN1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "STLAN", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAN, "xsd:string"))
|
|
{ soap_flag_STLAN1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_STLAL1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "STLAL", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STLAL, "xsd:string"))
|
|
{ soap_flag_STLAL1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_BMENG1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "BMENG", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG, "xsd:string"))
|
|
{ soap_flag_BMENG1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_BMEIN1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "BMEIN", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMEIN, "xsd:string"))
|
|
{ soap_flag_BMEIN1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_STKTX1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "STKTX", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::STKTX, "xsd:string"))
|
|
{ soap_flag_STKTX1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (!a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::MATNR || !a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::WERKS || !a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::BMENG))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST-HEAD", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD * SOAP_FMAC4 soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::HEAD._ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_HEAD::soap_default(soap);
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::ITEMS._ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS::soap_default(soap);
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::HEAD.soap_serialize(soap);
|
|
this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::ITEMS.soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST), type))
|
|
return soap->error;
|
|
if ((a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::HEAD).soap_out(soap, "HEAD", -1, ""))
|
|
return soap->error;
|
|
if ((a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::ITEMS).soap_out(soap, "ITEMS", -1, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST * SOAP_FMAC4 soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_HEAD1 = 1;
|
|
size_t soap_flag_ITEMS1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_HEAD1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::HEAD).soap_in(soap, "HEAD", ""))
|
|
{ soap_flag_HEAD1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap_flag_ITEMS1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if ((a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::ITEMS).soap_in(soap, "ITEMS", ""))
|
|
{ soap_flag_ITEMS1--;
|
|
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;
|
|
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_HEAD1 > 0 || soap_flag_ITEMS1 > 0))
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
}
|
|
else if ((soap->mode & SOAP_XML_STRICT) && *soap->href != '#')
|
|
{ soap->error = SOAP_OCCURS;
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST * SOAP_FMAC4 soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_default(struct soap *soap)
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
soap_default_string(soap, &this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
}
|
|
|
|
void _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_string(soap, (char*const*)&this->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID);
|
|
#endif
|
|
}
|
|
|
|
int _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, int id, const _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO), type))
|
|
return soap->error;
|
|
if (soap_out_string(soap, "REQ_TRACE_ID", -1, (char*const*)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, ""))
|
|
return soap->error;
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO*)soap_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_REQ_USCORETRACE_USCOREID1 = 1;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_REQ_USCORETRACE_USCOREID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
|
{ if (soap_in_string(soap, "REQ_TRACE_ID", (char**)&a->_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::REQ_USCORETRACE_USCOREID, "xsd:string"))
|
|
{ soap_flag_REQ_USCORETRACE_USCOREID1--;
|
|
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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC2 soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *p;
|
|
size_t k = sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO 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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-BASEINFO", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO * SOAP_FMAC4 soap_get__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
void ns1__DT_USCOREBOM_USCORES4_USCOREREQ::soap_default(struct soap *soap)
|
|
{
|
|
this->soap = soap;
|
|
this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::BASEINFO = NULL;
|
|
this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST = 0;
|
|
this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST = NULL;
|
|
}
|
|
|
|
void ns1__DT_USCOREBOM_USCORES4_USCOREREQ::soap_serialize(struct soap *soap) const
|
|
{
|
|
(void)soap; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, &this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::BASEINFO);
|
|
if (this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST)
|
|
{ int i;
|
|
for (i = 0; i < (int)this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST; i++)
|
|
{
|
|
soap_embedded(soap, this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST + i, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST);
|
|
this->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST[i].soap_serialize(soap);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
int ns1__DT_USCOREBOM_USCORES4_USCOREREQ::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
|
|
{
|
|
return soap_out_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, id, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, const char *tag, int id, const ns1__DT_USCOREBOM_USCORES4_USCOREREQ *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__DT_USCOREBOM_USCORES4_USCOREREQ), type))
|
|
return soap->error;
|
|
if (soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, "BASEINFO", -1, &a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::BASEINFO, ""))
|
|
return soap->error;
|
|
if (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST)
|
|
{ int i;
|
|
for (i = 0; i < (int)a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST; i++)
|
|
if (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST[i].soap_out(soap, "LIST", -1, ""))
|
|
return soap->error;
|
|
}
|
|
return soap_element_end_out(soap, tag);
|
|
}
|
|
|
|
void *ns1__DT_USCOREBOM_USCORES4_USCOREREQ::soap_in(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_in_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, this, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREBOM_USCORES4_USCOREREQ * SOAP_FMAC4 soap_in_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREBOM_USCORES4_USCOREREQ *a, const char *type)
|
|
{
|
|
(void)type; /* appease -Wall -Werror */
|
|
if (soap_element_begin_in(soap, tag, 0, NULL))
|
|
return NULL;
|
|
a = (ns1__DT_USCOREBOM_USCORES4_USCOREREQ*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREBOM_USCORES4_USCOREREQ), soap->type, soap->arrayType, soap_instantiate, soap_fbase);
|
|
if (!a)
|
|
return NULL;
|
|
if (soap->alloced && soap->alloced != SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ)
|
|
{ soap_revert(soap);
|
|
*soap->id = '\0';
|
|
return (ns1__DT_USCOREBOM_USCORES4_USCOREREQ *)a->soap_in(soap, tag, type);
|
|
}
|
|
if (soap->alloced)
|
|
a->soap_default(soap);
|
|
size_t soap_flag_BASEINFO1 = 1;
|
|
struct soap_blist *soap_blist_LIST1 = NULL;
|
|
if (soap->body && *soap->href != '#')
|
|
{
|
|
for (;;)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_BASEINFO1 && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, "BASEINFO", &a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::BASEINFO, ""))
|
|
{ soap_flag_BASEINFO1--;
|
|
continue;
|
|
}
|
|
}
|
|
if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "LIST", 1, NULL))
|
|
{ if (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST == NULL)
|
|
{ if (soap_blist_LIST1 == NULL)
|
|
soap_blist_LIST1 = soap_alloc_block(soap);
|
|
a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST = soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST>::push(soap, soap_blist_LIST1);
|
|
if (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST == NULL)
|
|
return NULL;
|
|
a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST->soap_default(soap);
|
|
}
|
|
soap_revert(soap);
|
|
if (soap_in__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, "LIST", a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST, ""))
|
|
{ a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST++;
|
|
a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST = NULL;
|
|
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 (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST)
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST>::pop(soap, soap_blist_LIST1);
|
|
if (a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST)
|
|
{ a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST = soap_new__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::__sizeLIST);
|
|
if (!a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST)
|
|
return NULL;
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST>::save(soap, soap_blist_LIST1, a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST);
|
|
}
|
|
else
|
|
{ a->ns1__DT_USCOREBOM_USCORES4_USCOREREQ::LIST = NULL;
|
|
if (soap_blist_LIST1)
|
|
soap_block<_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST>::end(soap, soap_blist_LIST1);
|
|
}
|
|
if (soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
else
|
|
{ a = (ns1__DT_USCOREBOM_USCORES4_USCOREREQ *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREBOM_USCORES4_USCOREREQ), 0, soap_finsert, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC1 ns1__DT_USCOREBOM_USCORES4_USCOREREQ * SOAP_FMAC2 soap_instantiate_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
ns1__DT_USCOREBOM_USCORES4_USCOREREQ *p;
|
|
size_t k = sizeof(ns1__DT_USCOREBOM_USCORES4_USCOREREQ);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ);
|
|
if (p)
|
|
p->soap = soap;
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ, n);
|
|
k *= n;
|
|
if (p)
|
|
for (int i = 0; i < n; i++)
|
|
p[i].soap = soap;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated ns1__DT_USCOREBOM_USCORES4_USCOREREQ 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__DT_USCOREBOM_USCORES4_USCOREREQ::soap_put(struct soap *soap, const char *tag, const char *type) const
|
|
{
|
|
if (soap_out_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag ? tag : "ns1:DT_BOM_S4_REQ", -2, this, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
void *ns1__DT_USCOREBOM_USCORES4_USCOREREQ::soap_get(struct soap *soap, const char *tag, const char *type)
|
|
{
|
|
return soap_get_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, this, tag, type);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREBOM_USCORES4_USCOREREQ * SOAP_FMAC4 soap_get_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(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__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, &a->ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const char *tag, int id, const struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, "ns1:MT_FACTORY_NUMBER_REQ", -1, &a->ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC4 soap_in___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const char *tag, struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN, sizeof(struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, "ns1:MT_FACTORY_NUMBER_REQ", &a->ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ, "ns1:DT_FACTORY_NUMBER_REQ"))
|
|
{ soap_flag_ns1__MT_USCOREFACTORY_USCORENUMBER_USCOREREQ--;
|
|
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__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC2 soap_instantiate___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *p;
|
|
size_t k = sizeof(struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN 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__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(soap, tag ? tag : "-ns1:SI_FACTORY_NUMBER_PLM_OUT_SYN", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC4 soap_get___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, struct __ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SI_USCOREFACTORY_USCORENUMBER_USCOREPLM_USCOREOUT_USCORESYN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, &a->ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const char *tag, int id, const struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, "ns1:MT_PROCESSROUTE_S4_REQ", -1, &a->ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC4 soap_in___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const char *tag, struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN, sizeof(struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, "ns1:MT_PROCESSROUTE_S4_REQ", &a->ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, "ns1:DT_PROCESSROUTE_S4_REQ"))
|
|
{ soap_flag_ns1__MT_USCOREPROCESSROUTE_USCORES4_USCOREREQ--;
|
|
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__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC2 soap_instantiate___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *p;
|
|
size_t k = sizeof(struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN 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__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, const struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(soap, tag ? tag : "-ns1:SI_PROCESSROUTE_PLM_OUT_SYN", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN * SOAP_FMAC4 soap_get___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(struct soap *soap, struct __ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SI_USCOREPROCESSROUTE_USCOREPLM_USCOREOUT_USCORESYN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
a->ns1__MT_USCOREBOM_USCORES4_USCOREREQ = NULL;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, const struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
soap_serialize_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, &a->ns1__MT_USCOREBOM_USCORES4_USCOREREQ);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, const char *tag, int id, const struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *a, const char *type)
|
|
{
|
|
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
|
if (soap_out_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, "ns1:MT_BOM_S4_REQ", -1, &a->ns1__MT_USCOREBOM_USCORES4_USCOREREQ, ""))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN * SOAP_FMAC4 soap_in___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, const char *tag, struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *a, const char *type)
|
|
{
|
|
size_t soap_flag_ns1__MT_USCOREBOM_USCORES4_USCOREREQ = 1;
|
|
short soap_flag;
|
|
(void)tag; (void)type; /* appease -Wall -Werror */
|
|
a = (struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN*)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN, sizeof(struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN), NULL, NULL, NULL, NULL);
|
|
if (!a)
|
|
return NULL;
|
|
soap_default___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(soap, a);
|
|
for (soap_flag = 0;; soap_flag = 1)
|
|
{ soap->error = SOAP_TAG_MISMATCH;
|
|
if (soap_flag_ns1__MT_USCOREBOM_USCORES4_USCOREREQ && soap->error == SOAP_TAG_MISMATCH)
|
|
{ if (soap_in_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, "ns1:MT_BOM_S4_REQ", &a->ns1__MT_USCOREBOM_USCORES4_USCOREREQ, "ns1:DT_BOM_S4_REQ"))
|
|
{ soap_flag_ns1__MT_USCOREBOM_USCORES4_USCOREREQ--;
|
|
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__SIO_USCOREBOM_USCOREPLM_USCOREASYN * SOAP_FMAC2 soap_instantiate___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
|
{
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
|
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
|
struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *p;
|
|
size_t k = sizeof(struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN);
|
|
struct soap_clist *cp = soap_link(soap, SOAP_TYPE___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN, n, soap_fdelete);
|
|
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
|
return NULL;
|
|
if (n < 0)
|
|
{ p = SOAP_NEW(soap, struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN);
|
|
}
|
|
else
|
|
{ p = SOAP_NEW_ARRAY(soap, struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN, n);
|
|
k *= n;
|
|
}
|
|
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN 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__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, const struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(soap, tag ? tag : "-ns1:SIO_BOM_PLM_ASYN", -2, a, type))
|
|
return soap->error;
|
|
return SOAP_OK;
|
|
}
|
|
|
|
SOAP_FMAC3 struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN * SOAP_FMAC4 soap_get___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(struct soap *soap, struct __ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN *p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in___ns1__SIO_USCOREBOM_USCOREPLM_USCOREASYN(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_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, const char *tag, int id, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ ** SOAP_FMAC4 soap_in_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ **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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ **)soap_malloc(soap, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *)soap_instantiate_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ, sizeof(ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ ** SOAP_FMAC4 soap_get_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(struct soap *soap, ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTons1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS **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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS **)soap_malloc(soap, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS), 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-ITEMS", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM **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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM **)soap_malloc(soap, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM), 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-ITEMS-ITEM", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO **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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO **)soap_malloc(soap, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO), 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__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_REQ-BASEINFO", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCOREREQ_BASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN **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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN **)soap_malloc(soap, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN), 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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_RSP-ZTABLE_RETURN", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_ZTABLE_USCORERETURN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO **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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO **)soap_malloc(soap, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *)soap_instantiate__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO, sizeof(_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO), 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__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag ? tag : "ns1:DT_FACTORY_NUMBER_RSP-RSP_BASEINFO", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(struct soap *soap, _ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREFACTORY_USCORENUMBER_USCORERSP_RSP_USCOREBASEINFO(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, const char *tag, int id, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ ** SOAP_FMAC4 soap_in_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ **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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ **)soap_malloc(soap, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *)soap_instantiate_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ ** SOAP_FMAC4 soap_get_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTons1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST **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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST **)soap_malloc(soap, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST), 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **)soap_malloc(soap, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM **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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM **)soap_malloc(soap, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM), 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__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_REQ-LIST-ITEMS-ITEM-SUBITEMS-SUBITEM", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCOREREQ_LIST_ITEMS_ITEM_SUBITEMS_SUBITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, const char *tag, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN **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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN **)soap_malloc(soap, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *)soap_instantiate__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN, sizeof(_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN), 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__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag ? tag : "ns1:DT_PROCESSROUTE_S4_RSP-ZTABLE_RETURN", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(struct soap *soap, _ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREPROCESSROUTE_USCORES4_USCORERSP_ZTABLE_USCORERETURN(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, const char *tag, int id, ns1__DT_USCOREBOM_USCORES4_USCOREREQ *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREBOM_USCORES4_USCOREREQ ** SOAP_FMAC4 soap_in_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, const char *tag, ns1__DT_USCOREBOM_USCORES4_USCOREREQ **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__DT_USCOREBOM_USCORES4_USCOREREQ **)soap_malloc(soap, sizeof(ns1__DT_USCOREBOM_USCORES4_USCOREREQ *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (ns1__DT_USCOREBOM_USCORES4_USCOREREQ *)soap_instantiate_ns1__DT_USCOREBOM_USCORES4_USCOREREQ(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__DT_USCOREBOM_USCORES4_USCOREREQ **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__DT_USCOREBOM_USCORES4_USCOREREQ, sizeof(ns1__DT_USCOREBOM_USCORES4_USCOREREQ), 0, soap_fbase);
|
|
if (soap->body && soap_element_end_in(soap, tag))
|
|
return NULL;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag ? tag : "ns1:DT_BOM_S4_REQ", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 ns1__DT_USCOREBOM_USCORES4_USCOREREQ ** SOAP_FMAC4 soap_get_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(struct soap *soap, ns1__DT_USCOREBOM_USCORES4_USCOREREQ **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTons1__DT_USCOREBOM_USCORES4_USCOREREQ(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST **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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST **)soap_malloc(soap, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST), 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **)soap_malloc(soap, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM), 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__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-LIST-ITEMS-ITEM", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_LIST_ITEMS_ITEM(soap, tag, p, type)))
|
|
if (soap_getindependent(soap))
|
|
return NULL;
|
|
return p;
|
|
}
|
|
|
|
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *const*a)
|
|
{
|
|
(void)soap; (void)a; /* appease -Wall -Werror */
|
|
#ifndef WITH_NOIDREF
|
|
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO))
|
|
(*a)->soap_serialize(soap);
|
|
#endif
|
|
}
|
|
|
|
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, int id, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *const*a, const char *type)
|
|
{
|
|
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, NULL);
|
|
if (id < 0)
|
|
return soap->error;
|
|
return (*a)->soap_out(soap, tag, id, (*a)->soap_type() == SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO ? type : NULL);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO ** SOAP_FMAC4 soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, const char *tag, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO **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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO **)soap_malloc(soap, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *))))
|
|
return NULL;
|
|
*a = NULL;
|
|
if (!soap->null && *soap->href != '#')
|
|
{ soap_revert(soap);
|
|
if (!(*a = (_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *)soap_instantiate__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO, sizeof(_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO), 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__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO *const*a, const char *tag, const char *type)
|
|
{
|
|
if (soap_out_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(soap, tag ? tag : "ns1:DT_BOM_S4_REQ-BASEINFO", -2, a, type))
|
|
return soap->error;
|
|
return soap_putindependent(soap);
|
|
}
|
|
|
|
SOAP_FMAC3 _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO ** SOAP_FMAC4 soap_get_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(struct soap *soap, _ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO **p, const char *tag, const char *type)
|
|
{
|
|
if ((p = soap_in_PointerTo_ns1__DT_USCOREBOM_USCORES4_USCOREREQ_BASEINFO(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 */
|