Files
2026-11-07 13:30:45 +07:00

28818 lines
1.2 MiB
Plaintext

/* soapC.cpp
Generated by gSOAP 2.8.15 from NXSoap.h
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under ONE of the following licenses:
GPL or Genivia's license for commercial use.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
*/
#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.15 2015-02-17 00:56:19 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, NULL))
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, -1)))
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;
soap_default_SOAP_ENV__Fault(soap, soap->fault);
}
if (soap->version == 2 && !soap->fault->SOAP_ENV__Code)
{ soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap, -1);
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code);
}
if (soap->version == 2 && !soap->fault->SOAP_ENV__Reason)
{ soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap, -1);
soap_default_SOAP_ENV__Reason(soap, soap->fault->SOAP_ENV__Reason);
}
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
{
soap_fault(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", NULL);
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->version == 2 && soap->fault->SOAP_ENV__Code)
return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
return (const char**)&soap->fault->faultcode;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ 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);
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode);
}
return (const char**)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
}
return (const char**)&soap->fault->faultcode;
}
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultsubcode(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ if (soap->fault->SOAP_ENV__Code && soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode && soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode)
return soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
return NULL;
}
return soap->fault->faultcode;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
return (const char**)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text;
return (const char**)&soap->fault->faultstring;
}
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2)
{ if (soap->fault->SOAP_ENV__Detail == NULL)
{ soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
}
return (const char**)&soap->fault->SOAP_ENV__Detail->__any;
}
if (soap->fault->detail == NULL)
{ soap->fault->detail = soap_new_SOAP_ENV__Detail(soap, -1);
soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
}
return (const char**)&soap->fault->detail->__any;
}
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultdetail(struct soap *soap)
{
soap_fault(soap);
if (soap->version == 2 && soap->fault->SOAP_ENV__Detail)
return soap->fault->SOAP_ENV__Detail->__any;
if (soap->fault->detail)
return soap->fault->detail->__any;
return 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, &t))
if (soap->error || 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, 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, NULL, NULL, "xsd:byte");
case SOAP_TYPE_short:
return soap_in_short(soap, NULL, NULL, "xsd:short");
case SOAP_TYPE_int:
return soap_in_int(soap, NULL, NULL, "xsd:int");
case SOAP_TYPE_xsd__unsignedByte:
return soap_in_xsd__unsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
case SOAP_TYPE_unsignedByte:
return soap_in_unsignedByte(soap, NULL, NULL, "xsd:unsignedByte");
case SOAP_TYPE_unsignedInt:
return soap_in_unsignedInt(soap, NULL, NULL, "xsd:unsignedInt");
case SOAP_TYPE_time:
return soap_in_time(soap, NULL, NULL, "xsd:dateTime");
case SOAP_TYPE_bool:
return soap_in_bool(soap, NULL, NULL, "xsd:boolean");
case SOAP_TYPE_ns1__OrderInfo:
return soap_in_ns1__OrderInfo(soap, NULL, NULL, "ns1:OrderInfo");
case SOAP_TYPE_ns1__ChangeUserInfo:
return soap_in_ns1__ChangeUserInfo(soap, NULL, NULL, "ns1:ChangeUserInfo");
case SOAP_TYPE_ns1__CouponArgument:
return soap_in_ns1__CouponArgument(soap, NULL, NULL, "ns1:CouponArgument");
case SOAP_TYPE_ns1__UsageT:
return soap_in_ns1__UsageT(soap, NULL, NULL, "ns1:UsageT");
case SOAP_TYPE_ns1__ChargeT:
return soap_in_ns1__ChargeT(soap, NULL, NULL, "ns1:ChargeT");
case SOAP_TYPE_ns1__ResultT:
return soap_in_ns1__ResultT(soap, NULL, NULL, "ns1:ResultT");
case SOAP_TYPE_ns1__ArrayOfAnyType:
return soap_in_ns1__ArrayOfAnyType(soap, NULL, NULL, "ns1:ArrayOfAnyType");
case SOAP_TYPE_ns1__SecurityHeader:
return soap_in_ns1__SecurityHeader(soap, NULL, NULL, "ns1:SecurityHeader");
case SOAP_TYPE_ns1__Header:
return soap_in_ns1__Header(soap, NULL, NULL, "ns1:Header");
case SOAP_TYPE_xsd__decimal:
return soap_in_xsd__decimal(soap, NULL, NULL, "xsd:decimal");
case SOAP_TYPE_std__string:
return soap_in_std__string(soap, NULL, NULL, "xsd:string");
case SOAP_TYPE_PointerTo_ns1__SetUserMappingDataResponse:
return soap_in_PointerTo_ns1__SetUserMappingDataResponse(soap, NULL, NULL, "ns1:SetUserMappingDataResponse");
case SOAP_TYPE_PointerTo_ns1__SetUserMappingData:
return soap_in_PointerTo_ns1__SetUserMappingData(soap, NULL, NULL, "ns1:SetUserMappingData");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChangeResponse:
return soap_in_PointerTo_ns1__ApprovalCashChangeResponse(soap, NULL, NULL, "ns1:ApprovalCashChangeResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange:
return soap_in_PointerTo_ns1__ApprovalCashChange(soap, NULL, NULL, "ns1:ApprovalCashChange");
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLuniaResponse:
return soap_in_PointerTo_ns1__UsageCancelForLuniaResponse(soap, NULL, NULL, "ns1:UsageCancelForLuniaResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLunia:
return soap_in_PointerTo_ns1__UsageCancelForLunia(soap, NULL, NULL, "ns1:UsageCancelForLunia");
case SOAP_TYPE_PointerTo_ns1__ChargeGameCashResponse:
return soap_in_PointerTo_ns1__ChargeGameCashResponse(soap, NULL, NULL, "ns1:ChargeGameCashResponse");
case SOAP_TYPE_PointerTo_ns1__ChargeGameCash:
return soap_in_PointerTo_ns1__ChargeGameCash(soap, NULL, NULL, "ns1:ChargeGameCash");
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCashResponse:
return soap_in_PointerTo_ns1__GetPurseWithGameCashResponse(soap, NULL, NULL, "ns1:GetPurseWithGameCashResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCash:
return soap_in_PointerTo_ns1__GetPurseWithGameCash(soap, NULL, NULL, "ns1:GetPurseWithGameCash");
case SOAP_TYPE_PointerTo_ns1__GetRemainAmountResponse:
return soap_in_PointerTo_ns1__GetRemainAmountResponse(soap, NULL, NULL, "ns1:GetRemainAmountResponse");
case SOAP_TYPE_PointerTo_ns1__GetRemainAmount:
return soap_in_PointerTo_ns1__GetRemainAmount(soap, NULL, NULL, "ns1:GetRemainAmount");
case SOAP_TYPE_PointerTo_ns1__UseCouponResponse:
return soap_in_PointerTo_ns1__UseCouponResponse(soap, NULL, NULL, "ns1:UseCouponResponse");
case SOAP_TYPE_PointerTo_ns1__UseCoupon:
return soap_in_PointerTo_ns1__UseCoupon(soap, NULL, NULL, "ns1:UseCoupon");
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCashResponse:
return soap_in_PointerTo_ns1__ApprovalSendCashResponse(soap, NULL, NULL, "ns1:ApprovalSendCashResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCash:
return soap_in_PointerTo_ns1__ApprovalSendCash(soap, NULL, NULL, "ns1:ApprovalSendCash");
case SOAP_TYPE_PointerTo_ns1__RequestEventChargeResponse:
return soap_in_PointerTo_ns1__RequestEventChargeResponse(soap, NULL, NULL, "ns1:RequestEventChargeResponse");
case SOAP_TYPE_PointerTo_ns1__RequestEventCharge:
return soap_in_PointerTo_ns1__RequestEventCharge(soap, NULL, NULL, "ns1:RequestEventCharge");
case SOAP_TYPE_PointerTo_ns1__UsageRollbackResponse:
return soap_in_PointerTo_ns1__UsageRollbackResponse(soap, NULL, NULL, "ns1:UsageRollbackResponse");
case SOAP_TYPE_PointerTo_ns1__UsageRollback:
return soap_in_PointerTo_ns1__UsageRollback(soap, NULL, NULL, "ns1:UsageRollback");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse:
return soap_in_PointerTo_ns1__GetPurchaseAmountResponse(soap, NULL, NULL, "ns1:GetPurchaseAmountResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmount:
return soap_in_PointerTo_ns1__GetPurchaseAmount(soap, NULL, NULL, "ns1:GetPurchaseAmount");
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSnResponse:
return soap_in_PointerTo_ns1__UsageCancelByUsageSnResponse(soap, NULL, NULL, "ns1:UsageCancelByUsageSnResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSn:
return soap_in_PointerTo_ns1__UsageCancelByUsageSn(soap, NULL, NULL, "ns1:UsageCancelByUsageSn");
case SOAP_TYPE_PointerTo_ns1__UsageCancelResponse:
return soap_in_PointerTo_ns1__UsageCancelResponse(soap, NULL, NULL, "ns1:UsageCancelResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancel:
return soap_in_PointerTo_ns1__UsageCancel(soap, NULL, NULL, "ns1:UsageCancel");
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCouponResponse:
return soap_in_PointerTo_ns1__ChargeForNeopleCouponResponse(soap, NULL, NULL, "ns1:ChargeForNeopleCouponResponse");
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCoupon:
return soap_in_PointerTo_ns1__ChargeForNeopleCoupon(soap, NULL, NULL, "ns1:ChargeForNeopleCoupon");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse:
return soap_in_PointerTo_ns1__GetCashReceiptListResponse(soap, NULL, NULL, "ns1:GetCashReceiptListResponse");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptList:
return soap_in_PointerTo_ns1__GetCashReceiptList(soap, NULL, NULL, "ns1:GetCashReceiptList");
case SOAP_TYPE_PointerTo_ns1__CheckUsageResponse:
return soap_in_PointerTo_ns1__CheckUsageResponse(soap, NULL, NULL, "ns1:CheckUsageResponse");
case SOAP_TYPE_PointerTo_ns1__CheckUsage:
return soap_in_PointerTo_ns1__CheckUsage(soap, NULL, NULL, "ns1:CheckUsage");
case SOAP_TYPE_PointerTo_ns1__PresentExtendResponse:
return soap_in_PointerTo_ns1__PresentExtendResponse(soap, NULL, NULL, "ns1:PresentExtendResponse");
case SOAP_TYPE_PointerTo_ns1__PresentExtend:
return soap_in_PointerTo_ns1__PresentExtend(soap, NULL, NULL, "ns1:PresentExtend");
case SOAP_TYPE_PointerTo_ns1__PresentChannelResponse:
return soap_in_PointerTo_ns1__PresentChannelResponse(soap, NULL, NULL, "ns1:PresentChannelResponse");
case SOAP_TYPE_PointerTo_ns1__PresentChannel:
return soap_in_PointerTo_ns1__PresentChannel(soap, NULL, NULL, "ns1:PresentChannel");
case SOAP_TYPE_PointerTo_ns1__PresentResponse:
return soap_in_PointerTo_ns1__PresentResponse(soap, NULL, NULL, "ns1:PresentResponse");
case SOAP_TYPE_PointerTo_ns1__Present:
return soap_in_PointerTo_ns1__Present(soap, NULL, NULL, "ns1:Present");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse:
return soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(soap, NULL, NULL, "ns1:ApprovalCashChange_ChannelingResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChanneling:
return soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, NULL, NULL, "ns1:ApprovalCashChange_Channeling");
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREExResponse:
return soap_in_PointerTo_ns1__Purchase_USCOREExResponse(soap, NULL, NULL, "ns1:Purchase_ExResponse");
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREEx:
return soap_in_PointerTo_ns1__Purchase_USCOREEx(soap, NULL, NULL, "ns1:Purchase_Ex");
case SOAP_TYPE_PointerTo_ns1__PurchaseExtendResponse:
return soap_in_PointerTo_ns1__PurchaseExtendResponse(soap, NULL, NULL, "ns1:PurchaseExtendResponse");
case SOAP_TYPE_PointerTo_ns1__PurchaseExtend:
return soap_in_PointerTo_ns1__PurchaseExtend(soap, NULL, NULL, "ns1:PurchaseExtend");
case SOAP_TYPE_PointerTo_ns1__PurchaseChannelResponse:
return soap_in_PointerTo_ns1__PurchaseChannelResponse(soap, NULL, NULL, "ns1:PurchaseChannelResponse");
case SOAP_TYPE_PointerTo_ns1__PurchaseChannel:
return soap_in_PointerTo_ns1__PurchaseChannel(soap, NULL, NULL, "ns1:PurchaseChannel");
case SOAP_TYPE_PointerTo_ns1__PurchaseResponse:
return soap_in_PointerTo_ns1__PurchaseResponse(soap, NULL, NULL, "ns1:PurchaseResponse");
case SOAP_TYPE_PointerTo_ns1__Purchase:
return soap_in_PointerTo_ns1__Purchase(soap, NULL, NULL, "ns1:Purchase");
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemainResponse:
return soap_in_PointerTo_ns1__GetChannelingCashRemainResponse(soap, NULL, NULL, "ns1:GetChannelingCashRemainResponse");
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemain:
return soap_in_PointerTo_ns1__GetChannelingCashRemain(soap, NULL, NULL, "ns1:GetChannelingCashRemain");
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannelResponse:
return soap_in_PointerTo_ns1__GetPurseByChannelResponse(soap, NULL, NULL, "ns1:GetPurseByChannelResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannel:
return soap_in_PointerTo_ns1__GetPurseByChannel(soap, NULL, NULL, "ns1:GetPurseByChannel");
case SOAP_TYPE_PointerTo_ns1__GetPurseResponse:
return soap_in_PointerTo_ns1__GetPurseResponse(soap, NULL, NULL, "ns1:GetPurseResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurse:
return soap_in_PointerTo_ns1__GetPurse(soap, NULL, NULL, "ns1:GetPurse");
case SOAP_TYPE_PointerTo_ns1__ISBillingUserResponse:
return soap_in_PointerTo_ns1__ISBillingUserResponse(soap, NULL, NULL, "ns1:ISBillingUserResponse");
case SOAP_TYPE_PointerTo_ns1__ISBillingUser:
return soap_in_PointerTo_ns1__ISBillingUser(soap, NULL, NULL, "ns1:ISBillingUser");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse:
return soap_in_PointerTo_ns1__LastUsageInfoResponse(soap, NULL, NULL, "ns1:LastUsageInfoResponse");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfo:
return soap_in_PointerTo_ns1__LastUsageInfo(soap, NULL, NULL, "ns1:LastUsageInfo");
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse:
return soap_in_PointerTo_ns1__UsageInfoResponse(soap, NULL, NULL, "ns1:UsageInfoResponse");
case SOAP_TYPE_PointerTo_ns1__UsageInfo:
return soap_in_PointerTo_ns1__UsageInfo(soap, NULL, NULL, "ns1:UsageInfo");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse:
return soap_in_PointerTo_ns1__ApprovalPaidInfoResponse(soap, NULL, NULL, "ns1:ApprovalPaidInfoResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfo:
return soap_in_PointerTo_ns1__ApprovalPaidInfo(soap, NULL, NULL, "ns1:ApprovalPaidInfo");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse:
return soap_in_PointerTo_ns1__ApprovalInfoResponse(soap, NULL, NULL, "ns1:ApprovalInfoResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfo:
return soap_in_PointerTo_ns1__ApprovalInfo(soap, NULL, NULL, "ns1:ApprovalInfo");
case SOAP_TYPE_PointerTo_ns1__InitializeSoapResponse:
return soap_in_PointerTo_ns1__InitializeSoapResponse(soap, NULL, NULL, "ns1:InitializeSoapResponse");
case SOAP_TYPE_PointerTo_ns1__InitializeSoap:
return soap_in_PointerTo_ns1__InitializeSoap(soap, NULL, NULL, "ns1:InitializeSoap");
case SOAP_TYPE_PointerTons1__SecurityHeader:
return soap_in_PointerTons1__SecurityHeader(soap, NULL, NULL, "ns1:SecurityHeader");
case SOAP_TYPE_PointerTons1__Header:
return soap_in_PointerTons1__Header(soap, NULL, NULL, "ns1:Header");
case SOAP_TYPE_PointerTons1__OrderInfo:
return soap_in_PointerTons1__OrderInfo(soap, NULL, NULL, "ns1:OrderInfo");
case SOAP_TYPE_PointerTons1__ChangeUserInfo:
return soap_in_PointerTons1__ChangeUserInfo(soap, NULL, NULL, "ns1:ChangeUserInfo");
case SOAP_TYPE_PointerTons1__CouponArgument:
return soap_in_PointerTons1__CouponArgument(soap, NULL, NULL, "ns1:CouponArgument");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
return soap_in_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, NULL, NULL, "ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
return soap_in_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, NULL, NULL, "ns1:GetCashReceiptListResponse-GetCashReceiptListResult");
case SOAP_TYPE_PointerTons1__UsageT:
return soap_in_PointerTons1__UsageT(soap, NULL, NULL, "ns1:UsageT");
case SOAP_TYPE_PointerTons1__ChargeT:
return soap_in_PointerTons1__ChargeT(soap, NULL, NULL, "ns1:ChargeT");
case SOAP_TYPE_PointerTons1__ResultT:
return soap_in_PointerTons1__ResultT(soap, NULL, NULL, "ns1:ResultT");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult:
return soap_in_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, NULL, NULL, "ns1:LastUsageInfoResponse-LastUsageInfoResult");
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse_UsageInfoResult:
return soap_in_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, NULL, NULL, "ns1:UsageInfoResponse-UsageInfoResult");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
return soap_in_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, NULL, NULL, "ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult:
return soap_in_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, NULL, NULL, "ns1:ApprovalInfoResponse-ApprovalInfoResult");
case SOAP_TYPE_PointerTons1__ArrayOfAnyType:
return soap_in_PointerTons1__ArrayOfAnyType(soap, NULL, NULL, "ns1:ArrayOfAnyType");
case SOAP_TYPE_PointerTostd__string:
return soap_in_PointerTostd__string(soap, NULL, NULL, "xsd:string");
case SOAP_TYPE__QName:
{ char **s;
s = soap_in__QName(soap, NULL, NULL, "xsd:QName");
return s ? *s : NULL;
}
case SOAP_TYPE_string:
{ char **s;
s = soap_in_string(soap, NULL, NULL, "xsd:string");
return s ? *s : NULL;
}
default:
#endif
{ const char *t = soap->type;
if (!*t)
t = soap->tag;
if (!soap_match_tag(soap, t, "ns1:OrderInfo"))
{ *type = SOAP_TYPE_ns1__OrderInfo;
return soap_in_ns1__OrderInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChangeUserInfo"))
{ *type = SOAP_TYPE_ns1__ChangeUserInfo;
return soap_in_ns1__ChangeUserInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:CouponArgument"))
{ *type = SOAP_TYPE_ns1__CouponArgument;
return soap_in_ns1__CouponArgument(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageT"))
{ *type = SOAP_TYPE_ns1__UsageT;
return soap_in_ns1__UsageT(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChargeT"))
{ *type = SOAP_TYPE_ns1__ChargeT;
return soap_in_ns1__ChargeT(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ResultT"))
{ *type = SOAP_TYPE_ns1__ResultT;
return soap_in_ns1__ResultT(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ArrayOfAnyType"))
{ *type = SOAP_TYPE_ns1__ArrayOfAnyType;
return soap_in_ns1__ArrayOfAnyType(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:SecurityHeader"))
{ *type = SOAP_TYPE_ns1__SecurityHeader;
return soap_in_ns1__SecurityHeader(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:Header"))
{ *type = SOAP_TYPE_ns1__Header;
return soap_in_ns1__Header(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:decimal"))
{ *type = SOAP_TYPE_xsd__decimal;
return soap_in_xsd__decimal(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:string"))
{ *type = SOAP_TYPE_std__string;
return soap_in_std__string(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:byte"))
{ *type = SOAP_TYPE_byte;
return soap_in_byte(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:short"))
{ *type = SOAP_TYPE_short;
return soap_in_short(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:int"))
{ *type = SOAP_TYPE_int;
return soap_in_int(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:unsignedByte"))
{ *type = SOAP_TYPE_xsd__unsignedByte;
return soap_in_xsd__unsignedByte(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:unsignedByte"))
{ *type = SOAP_TYPE_unsignedByte;
return soap_in_unsignedByte(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:unsignedInt"))
{ *type = SOAP_TYPE_unsignedInt;
return soap_in_unsignedInt(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:dateTime"))
{ *type = SOAP_TYPE_time;
return soap_in_time(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:boolean"))
{ *type = SOAP_TYPE_bool;
return soap_in_bool(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:QName"))
{ char **s;
*type = SOAP_TYPE__QName;
s = soap_in__QName(soap, NULL, 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, NULL, NULL, NULL);
return s ? *s : NULL;
}
t = soap->tag;
if (!soap_match_tag(soap, t, "ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult"))
{ *type = SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult;
return soap_in__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetCashReceiptListResponse-GetCashReceiptListResult"))
{ *type = SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult;
return soap_in__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:LastUsageInfoResponse-LastUsageInfoResult"))
{ *type = SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult;
return soap_in__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageInfoResponse-UsageInfoResult"))
{ *type = SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult;
return soap_in__ns1__UsageInfoResponse_UsageInfoResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult"))
{ *type = SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult;
return soap_in__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalInfoResponse-ApprovalInfoResult"))
{ *type = SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult;
return soap_in__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:SetUserMappingDataResponse"))
{ *type = SOAP_TYPE__ns1__SetUserMappingDataResponse;
return soap_in__ns1__SetUserMappingDataResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:SetUserMappingData"))
{ *type = SOAP_TYPE__ns1__SetUserMappingData;
return soap_in__ns1__SetUserMappingData(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalCashChangeResponse"))
{ *type = SOAP_TYPE__ns1__ApprovalCashChangeResponse;
return soap_in__ns1__ApprovalCashChangeResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalCashChange"))
{ *type = SOAP_TYPE__ns1__ApprovalCashChange;
return soap_in__ns1__ApprovalCashChange(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancelForLuniaResponse"))
{ *type = SOAP_TYPE__ns1__UsageCancelForLuniaResponse;
return soap_in__ns1__UsageCancelForLuniaResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancelForLunia"))
{ *type = SOAP_TYPE__ns1__UsageCancelForLunia;
return soap_in__ns1__UsageCancelForLunia(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChargeGameCashResponse"))
{ *type = SOAP_TYPE__ns1__ChargeGameCashResponse;
return soap_in__ns1__ChargeGameCashResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChargeGameCash"))
{ *type = SOAP_TYPE__ns1__ChargeGameCash;
return soap_in__ns1__ChargeGameCash(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurseWithGameCashResponse"))
{ *type = SOAP_TYPE__ns1__GetPurseWithGameCashResponse;
return soap_in__ns1__GetPurseWithGameCashResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurseWithGameCash"))
{ *type = SOAP_TYPE__ns1__GetPurseWithGameCash;
return soap_in__ns1__GetPurseWithGameCash(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetRemainAmountResponse"))
{ *type = SOAP_TYPE__ns1__GetRemainAmountResponse;
return soap_in__ns1__GetRemainAmountResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetRemainAmount"))
{ *type = SOAP_TYPE__ns1__GetRemainAmount;
return soap_in__ns1__GetRemainAmount(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UseCouponResponse"))
{ *type = SOAP_TYPE__ns1__UseCouponResponse;
return soap_in__ns1__UseCouponResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UseCoupon"))
{ *type = SOAP_TYPE__ns1__UseCoupon;
return soap_in__ns1__UseCoupon(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalSendCashResponse"))
{ *type = SOAP_TYPE__ns1__ApprovalSendCashResponse;
return soap_in__ns1__ApprovalSendCashResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalSendCash"))
{ *type = SOAP_TYPE__ns1__ApprovalSendCash;
return soap_in__ns1__ApprovalSendCash(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:RequestEventChargeResponse"))
{ *type = SOAP_TYPE__ns1__RequestEventChargeResponse;
return soap_in__ns1__RequestEventChargeResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:RequestEventCharge"))
{ *type = SOAP_TYPE__ns1__RequestEventCharge;
return soap_in__ns1__RequestEventCharge(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageRollbackResponse"))
{ *type = SOAP_TYPE__ns1__UsageRollbackResponse;
return soap_in__ns1__UsageRollbackResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageRollback"))
{ *type = SOAP_TYPE__ns1__UsageRollback;
return soap_in__ns1__UsageRollback(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurchaseAmountResponse"))
{ *type = SOAP_TYPE__ns1__GetPurchaseAmountResponse;
return soap_in__ns1__GetPurchaseAmountResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurchaseAmount"))
{ *type = SOAP_TYPE__ns1__GetPurchaseAmount;
return soap_in__ns1__GetPurchaseAmount(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancelByUsageSnResponse"))
{ *type = SOAP_TYPE__ns1__UsageCancelByUsageSnResponse;
return soap_in__ns1__UsageCancelByUsageSnResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancelByUsageSn"))
{ *type = SOAP_TYPE__ns1__UsageCancelByUsageSn;
return soap_in__ns1__UsageCancelByUsageSn(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancelResponse"))
{ *type = SOAP_TYPE__ns1__UsageCancelResponse;
return soap_in__ns1__UsageCancelResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageCancel"))
{ *type = SOAP_TYPE__ns1__UsageCancel;
return soap_in__ns1__UsageCancel(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChargeForNeopleCouponResponse"))
{ *type = SOAP_TYPE__ns1__ChargeForNeopleCouponResponse;
return soap_in__ns1__ChargeForNeopleCouponResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ChargeForNeopleCoupon"))
{ *type = SOAP_TYPE__ns1__ChargeForNeopleCoupon;
return soap_in__ns1__ChargeForNeopleCoupon(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetCashReceiptListResponse"))
{ *type = SOAP_TYPE__ns1__GetCashReceiptListResponse;
return soap_in__ns1__GetCashReceiptListResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetCashReceiptList"))
{ *type = SOAP_TYPE__ns1__GetCashReceiptList;
return soap_in__ns1__GetCashReceiptList(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:CheckUsageResponse"))
{ *type = SOAP_TYPE__ns1__CheckUsageResponse;
return soap_in__ns1__CheckUsageResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:CheckUsage"))
{ *type = SOAP_TYPE__ns1__CheckUsage;
return soap_in__ns1__CheckUsage(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PresentExtendResponse"))
{ *type = SOAP_TYPE__ns1__PresentExtendResponse;
return soap_in__ns1__PresentExtendResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PresentExtend"))
{ *type = SOAP_TYPE__ns1__PresentExtend;
return soap_in__ns1__PresentExtend(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PresentChannelResponse"))
{ *type = SOAP_TYPE__ns1__PresentChannelResponse;
return soap_in__ns1__PresentChannelResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PresentChannel"))
{ *type = SOAP_TYPE__ns1__PresentChannel;
return soap_in__ns1__PresentChannel(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PresentResponse"))
{ *type = SOAP_TYPE__ns1__PresentResponse;
return soap_in__ns1__PresentResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:Present"))
{ *type = SOAP_TYPE__ns1__Present;
return soap_in__ns1__Present(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalCashChange_ChannelingResponse"))
{ *type = SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse;
return soap_in__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalCashChange_Channeling"))
{ *type = SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling;
return soap_in__ns1__ApprovalCashChange_USCOREChanneling(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:Purchase_ExResponse"))
{ *type = SOAP_TYPE__ns1__Purchase_USCOREExResponse;
return soap_in__ns1__Purchase_USCOREExResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:Purchase_Ex"))
{ *type = SOAP_TYPE__ns1__Purchase_USCOREEx;
return soap_in__ns1__Purchase_USCOREEx(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PurchaseExtendResponse"))
{ *type = SOAP_TYPE__ns1__PurchaseExtendResponse;
return soap_in__ns1__PurchaseExtendResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PurchaseExtend"))
{ *type = SOAP_TYPE__ns1__PurchaseExtend;
return soap_in__ns1__PurchaseExtend(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PurchaseChannelResponse"))
{ *type = SOAP_TYPE__ns1__PurchaseChannelResponse;
return soap_in__ns1__PurchaseChannelResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PurchaseChannel"))
{ *type = SOAP_TYPE__ns1__PurchaseChannel;
return soap_in__ns1__PurchaseChannel(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:PurchaseResponse"))
{ *type = SOAP_TYPE__ns1__PurchaseResponse;
return soap_in__ns1__PurchaseResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:Purchase"))
{ *type = SOAP_TYPE__ns1__Purchase;
return soap_in__ns1__Purchase(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetChannelingCashRemainResponse"))
{ *type = SOAP_TYPE__ns1__GetChannelingCashRemainResponse;
return soap_in__ns1__GetChannelingCashRemainResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetChannelingCashRemain"))
{ *type = SOAP_TYPE__ns1__GetChannelingCashRemain;
return soap_in__ns1__GetChannelingCashRemain(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurseByChannelResponse"))
{ *type = SOAP_TYPE__ns1__GetPurseByChannelResponse;
return soap_in__ns1__GetPurseByChannelResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurseByChannel"))
{ *type = SOAP_TYPE__ns1__GetPurseByChannel;
return soap_in__ns1__GetPurseByChannel(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurseResponse"))
{ *type = SOAP_TYPE__ns1__GetPurseResponse;
return soap_in__ns1__GetPurseResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:GetPurse"))
{ *type = SOAP_TYPE__ns1__GetPurse;
return soap_in__ns1__GetPurse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ISBillingUserResponse"))
{ *type = SOAP_TYPE__ns1__ISBillingUserResponse;
return soap_in__ns1__ISBillingUserResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ISBillingUser"))
{ *type = SOAP_TYPE__ns1__ISBillingUser;
return soap_in__ns1__ISBillingUser(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:LastUsageInfoResponse"))
{ *type = SOAP_TYPE__ns1__LastUsageInfoResponse;
return soap_in__ns1__LastUsageInfoResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:LastUsageInfo"))
{ *type = SOAP_TYPE__ns1__LastUsageInfo;
return soap_in__ns1__LastUsageInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageInfoResponse"))
{ *type = SOAP_TYPE__ns1__UsageInfoResponse;
return soap_in__ns1__UsageInfoResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:UsageInfo"))
{ *type = SOAP_TYPE__ns1__UsageInfo;
return soap_in__ns1__UsageInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalPaidInfoResponse"))
{ *type = SOAP_TYPE__ns1__ApprovalPaidInfoResponse;
return soap_in__ns1__ApprovalPaidInfoResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalPaidInfo"))
{ *type = SOAP_TYPE__ns1__ApprovalPaidInfo;
return soap_in__ns1__ApprovalPaidInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalInfoResponse"))
{ *type = SOAP_TYPE__ns1__ApprovalInfoResponse;
return soap_in__ns1__ApprovalInfoResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:ApprovalInfo"))
{ *type = SOAP_TYPE__ns1__ApprovalInfo;
return soap_in__ns1__ApprovalInfo(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:InitializeSoapResponse"))
{ *type = SOAP_TYPE__ns1__InitializeSoapResponse;
return soap_in__ns1__InitializeSoapResponse(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "ns1:InitializeSoap"))
{ *type = SOAP_TYPE__ns1__InitializeSoap;
return soap_in__ns1__InitializeSoap(soap, NULL, NULL, NULL);
}
if (!soap_match_tag(soap, t, "xsd:schema"))
{ char **s;
*type = SOAP_TYPE__xsd__schema;
s = soap_in__xsd__schema(soap, NULL, NULL, NULL);
return s ? *s : 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 (level=%u, %d)\n", soap->tag, soap->level, soap->body));
if (soap->mustUnderstand && !soap->other)
return soap->error = SOAP_MUSTUNDERSTAND;
if (((soap->mode & SOAP_XML_STRICT) && 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, &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->level++;
while (!soap_ignore_element(soap))
;
if (soap->error == SOAP_NO_TAG)
soap->error = soap_element_end_in(soap, NULL);
}
}
}
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, "id", 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_short:
return soap_out_short(soap, tag, id, (const short *)ptr, "xsd:short");
case SOAP_TYPE_int:
return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
case SOAP_TYPE_xsd__unsignedByte:
return soap_out_xsd__unsignedByte(soap, tag, id, (const unsigned char *)ptr, "xsd:unsignedByte");
case SOAP_TYPE_unsignedByte:
return soap_out_unsignedByte(soap, tag, id, (const unsigned char *)ptr, "xsd:unsignedByte");
case SOAP_TYPE_unsignedInt:
return soap_out_unsignedInt(soap, tag, id, (const unsigned int *)ptr, "xsd:unsignedInt");
case SOAP_TYPE_time:
return soap_out_time(soap, tag, id, (const time_t *)ptr, "xsd:dateTime");
case SOAP_TYPE_bool:
return soap_out_bool(soap, tag, id, (const bool *)ptr, "xsd:boolean");
case SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
return ((_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *)ptr)->soap_out(soap, "ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult", id, NULL);
case SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
return ((_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *)ptr)->soap_out(soap, "ns1:GetCashReceiptListResponse-GetCashReceiptListResult", id, NULL);
case SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult:
return ((_ns1__LastUsageInfoResponse_LastUsageInfoResult *)ptr)->soap_out(soap, "ns1:LastUsageInfoResponse-LastUsageInfoResult", id, NULL);
case SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult:
return ((_ns1__UsageInfoResponse_UsageInfoResult *)ptr)->soap_out(soap, "ns1:UsageInfoResponse-UsageInfoResult", id, NULL);
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
return ((_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)ptr)->soap_out(soap, "ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult", id, NULL);
case SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult:
return ((_ns1__ApprovalInfoResponse_ApprovalInfoResult *)ptr)->soap_out(soap, "ns1:ApprovalInfoResponse-ApprovalInfoResult", id, NULL);
case SOAP_TYPE__ns1__SetUserMappingDataResponse:
return ((_ns1__SetUserMappingDataResponse *)ptr)->soap_out(soap, "ns1:SetUserMappingDataResponse", id, NULL);
case SOAP_TYPE__ns1__SetUserMappingData:
return ((_ns1__SetUserMappingData *)ptr)->soap_out(soap, "ns1:SetUserMappingData", id, NULL);
case SOAP_TYPE__ns1__ApprovalCashChangeResponse:
return ((_ns1__ApprovalCashChangeResponse *)ptr)->soap_out(soap, "ns1:ApprovalCashChangeResponse", id, NULL);
case SOAP_TYPE__ns1__ApprovalCashChange:
return ((_ns1__ApprovalCashChange *)ptr)->soap_out(soap, "ns1:ApprovalCashChange", id, NULL);
case SOAP_TYPE__ns1__UsageCancelForLuniaResponse:
return ((_ns1__UsageCancelForLuniaResponse *)ptr)->soap_out(soap, "ns1:UsageCancelForLuniaResponse", id, NULL);
case SOAP_TYPE__ns1__UsageCancelForLunia:
return ((_ns1__UsageCancelForLunia *)ptr)->soap_out(soap, "ns1:UsageCancelForLunia", id, NULL);
case SOAP_TYPE__ns1__ChargeGameCashResponse:
return ((_ns1__ChargeGameCashResponse *)ptr)->soap_out(soap, "ns1:ChargeGameCashResponse", id, NULL);
case SOAP_TYPE__ns1__ChargeGameCash:
return ((_ns1__ChargeGameCash *)ptr)->soap_out(soap, "ns1:ChargeGameCash", id, NULL);
case SOAP_TYPE__ns1__GetPurseWithGameCashResponse:
return ((_ns1__GetPurseWithGameCashResponse *)ptr)->soap_out(soap, "ns1:GetPurseWithGameCashResponse", id, NULL);
case SOAP_TYPE__ns1__GetPurseWithGameCash:
return ((_ns1__GetPurseWithGameCash *)ptr)->soap_out(soap, "ns1:GetPurseWithGameCash", id, NULL);
case SOAP_TYPE__ns1__GetRemainAmountResponse:
return ((_ns1__GetRemainAmountResponse *)ptr)->soap_out(soap, "ns1:GetRemainAmountResponse", id, NULL);
case SOAP_TYPE__ns1__GetRemainAmount:
return ((_ns1__GetRemainAmount *)ptr)->soap_out(soap, "ns1:GetRemainAmount", id, NULL);
case SOAP_TYPE__ns1__UseCouponResponse:
return ((_ns1__UseCouponResponse *)ptr)->soap_out(soap, "ns1:UseCouponResponse", id, NULL);
case SOAP_TYPE__ns1__UseCoupon:
return ((_ns1__UseCoupon *)ptr)->soap_out(soap, "ns1:UseCoupon", id, NULL);
case SOAP_TYPE__ns1__ApprovalSendCashResponse:
return ((_ns1__ApprovalSendCashResponse *)ptr)->soap_out(soap, "ns1:ApprovalSendCashResponse", id, NULL);
case SOAP_TYPE__ns1__ApprovalSendCash:
return ((_ns1__ApprovalSendCash *)ptr)->soap_out(soap, "ns1:ApprovalSendCash", id, NULL);
case SOAP_TYPE__ns1__RequestEventChargeResponse:
return ((_ns1__RequestEventChargeResponse *)ptr)->soap_out(soap, "ns1:RequestEventChargeResponse", id, NULL);
case SOAP_TYPE__ns1__RequestEventCharge:
return ((_ns1__RequestEventCharge *)ptr)->soap_out(soap, "ns1:RequestEventCharge", id, NULL);
case SOAP_TYPE__ns1__UsageRollbackResponse:
return ((_ns1__UsageRollbackResponse *)ptr)->soap_out(soap, "ns1:UsageRollbackResponse", id, NULL);
case SOAP_TYPE__ns1__UsageRollback:
return ((_ns1__UsageRollback *)ptr)->soap_out(soap, "ns1:UsageRollback", id, NULL);
case SOAP_TYPE__ns1__GetPurchaseAmountResponse:
return ((_ns1__GetPurchaseAmountResponse *)ptr)->soap_out(soap, "ns1:GetPurchaseAmountResponse", id, NULL);
case SOAP_TYPE__ns1__GetPurchaseAmount:
return ((_ns1__GetPurchaseAmount *)ptr)->soap_out(soap, "ns1:GetPurchaseAmount", id, NULL);
case SOAP_TYPE__ns1__UsageCancelByUsageSnResponse:
return ((_ns1__UsageCancelByUsageSnResponse *)ptr)->soap_out(soap, "ns1:UsageCancelByUsageSnResponse", id, NULL);
case SOAP_TYPE__ns1__UsageCancelByUsageSn:
return ((_ns1__UsageCancelByUsageSn *)ptr)->soap_out(soap, "ns1:UsageCancelByUsageSn", id, NULL);
case SOAP_TYPE__ns1__UsageCancelResponse:
return ((_ns1__UsageCancelResponse *)ptr)->soap_out(soap, "ns1:UsageCancelResponse", id, NULL);
case SOAP_TYPE__ns1__UsageCancel:
return ((_ns1__UsageCancel *)ptr)->soap_out(soap, "ns1:UsageCancel", id, NULL);
case SOAP_TYPE__ns1__ChargeForNeopleCouponResponse:
return ((_ns1__ChargeForNeopleCouponResponse *)ptr)->soap_out(soap, "ns1:ChargeForNeopleCouponResponse", id, NULL);
case SOAP_TYPE__ns1__ChargeForNeopleCoupon:
return ((_ns1__ChargeForNeopleCoupon *)ptr)->soap_out(soap, "ns1:ChargeForNeopleCoupon", id, NULL);
case SOAP_TYPE__ns1__GetCashReceiptListResponse:
return ((_ns1__GetCashReceiptListResponse *)ptr)->soap_out(soap, "ns1:GetCashReceiptListResponse", id, NULL);
case SOAP_TYPE__ns1__GetCashReceiptList:
return ((_ns1__GetCashReceiptList *)ptr)->soap_out(soap, "ns1:GetCashReceiptList", id, NULL);
case SOAP_TYPE__ns1__CheckUsageResponse:
return ((_ns1__CheckUsageResponse *)ptr)->soap_out(soap, "ns1:CheckUsageResponse", id, NULL);
case SOAP_TYPE__ns1__CheckUsage:
return ((_ns1__CheckUsage *)ptr)->soap_out(soap, "ns1:CheckUsage", id, NULL);
case SOAP_TYPE__ns1__PresentExtendResponse:
return ((_ns1__PresentExtendResponse *)ptr)->soap_out(soap, "ns1:PresentExtendResponse", id, NULL);
case SOAP_TYPE__ns1__PresentExtend:
return ((_ns1__PresentExtend *)ptr)->soap_out(soap, "ns1:PresentExtend", id, NULL);
case SOAP_TYPE__ns1__PresentChannelResponse:
return ((_ns1__PresentChannelResponse *)ptr)->soap_out(soap, "ns1:PresentChannelResponse", id, NULL);
case SOAP_TYPE__ns1__PresentChannel:
return ((_ns1__PresentChannel *)ptr)->soap_out(soap, "ns1:PresentChannel", id, NULL);
case SOAP_TYPE__ns1__PresentResponse:
return ((_ns1__PresentResponse *)ptr)->soap_out(soap, "ns1:PresentResponse", id, NULL);
case SOAP_TYPE__ns1__Present:
return ((_ns1__Present *)ptr)->soap_out(soap, "ns1:Present", id, NULL);
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse:
return ((_ns1__ApprovalCashChange_USCOREChannelingResponse *)ptr)->soap_out(soap, "ns1:ApprovalCashChange_ChannelingResponse", id, NULL);
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling:
return ((_ns1__ApprovalCashChange_USCOREChanneling *)ptr)->soap_out(soap, "ns1:ApprovalCashChange_Channeling", id, NULL);
case SOAP_TYPE__ns1__Purchase_USCOREExResponse:
return ((_ns1__Purchase_USCOREExResponse *)ptr)->soap_out(soap, "ns1:Purchase_ExResponse", id, NULL);
case SOAP_TYPE__ns1__Purchase_USCOREEx:
return ((_ns1__Purchase_USCOREEx *)ptr)->soap_out(soap, "ns1:Purchase_Ex", id, NULL);
case SOAP_TYPE__ns1__PurchaseExtendResponse:
return ((_ns1__PurchaseExtendResponse *)ptr)->soap_out(soap, "ns1:PurchaseExtendResponse", id, NULL);
case SOAP_TYPE__ns1__PurchaseExtend:
return ((_ns1__PurchaseExtend *)ptr)->soap_out(soap, "ns1:PurchaseExtend", id, NULL);
case SOAP_TYPE__ns1__PurchaseChannelResponse:
return ((_ns1__PurchaseChannelResponse *)ptr)->soap_out(soap, "ns1:PurchaseChannelResponse", id, NULL);
case SOAP_TYPE__ns1__PurchaseChannel:
return ((_ns1__PurchaseChannel *)ptr)->soap_out(soap, "ns1:PurchaseChannel", id, NULL);
case SOAP_TYPE__ns1__PurchaseResponse:
return ((_ns1__PurchaseResponse *)ptr)->soap_out(soap, "ns1:PurchaseResponse", id, NULL);
case SOAP_TYPE__ns1__Purchase:
return ((_ns1__Purchase *)ptr)->soap_out(soap, "ns1:Purchase", id, NULL);
case SOAP_TYPE__ns1__GetChannelingCashRemainResponse:
return ((_ns1__GetChannelingCashRemainResponse *)ptr)->soap_out(soap, "ns1:GetChannelingCashRemainResponse", id, NULL);
case SOAP_TYPE__ns1__GetChannelingCashRemain:
return ((_ns1__GetChannelingCashRemain *)ptr)->soap_out(soap, "ns1:GetChannelingCashRemain", id, NULL);
case SOAP_TYPE__ns1__GetPurseByChannelResponse:
return ((_ns1__GetPurseByChannelResponse *)ptr)->soap_out(soap, "ns1:GetPurseByChannelResponse", id, NULL);
case SOAP_TYPE__ns1__GetPurseByChannel:
return ((_ns1__GetPurseByChannel *)ptr)->soap_out(soap, "ns1:GetPurseByChannel", id, NULL);
case SOAP_TYPE__ns1__GetPurseResponse:
return ((_ns1__GetPurseResponse *)ptr)->soap_out(soap, "ns1:GetPurseResponse", id, NULL);
case SOAP_TYPE__ns1__GetPurse:
return ((_ns1__GetPurse *)ptr)->soap_out(soap, "ns1:GetPurse", id, NULL);
case SOAP_TYPE__ns1__ISBillingUserResponse:
return ((_ns1__ISBillingUserResponse *)ptr)->soap_out(soap, "ns1:ISBillingUserResponse", id, NULL);
case SOAP_TYPE__ns1__ISBillingUser:
return ((_ns1__ISBillingUser *)ptr)->soap_out(soap, "ns1:ISBillingUser", id, NULL);
case SOAP_TYPE__ns1__LastUsageInfoResponse:
return ((_ns1__LastUsageInfoResponse *)ptr)->soap_out(soap, "ns1:LastUsageInfoResponse", id, NULL);
case SOAP_TYPE__ns1__LastUsageInfo:
return ((_ns1__LastUsageInfo *)ptr)->soap_out(soap, "ns1:LastUsageInfo", id, NULL);
case SOAP_TYPE__ns1__UsageInfoResponse:
return ((_ns1__UsageInfoResponse *)ptr)->soap_out(soap, "ns1:UsageInfoResponse", id, NULL);
case SOAP_TYPE__ns1__UsageInfo:
return ((_ns1__UsageInfo *)ptr)->soap_out(soap, "ns1:UsageInfo", id, NULL);
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse:
return ((_ns1__ApprovalPaidInfoResponse *)ptr)->soap_out(soap, "ns1:ApprovalPaidInfoResponse", id, NULL);
case SOAP_TYPE__ns1__ApprovalPaidInfo:
return ((_ns1__ApprovalPaidInfo *)ptr)->soap_out(soap, "ns1:ApprovalPaidInfo", id, NULL);
case SOAP_TYPE__ns1__ApprovalInfoResponse:
return ((_ns1__ApprovalInfoResponse *)ptr)->soap_out(soap, "ns1:ApprovalInfoResponse", id, NULL);
case SOAP_TYPE__ns1__ApprovalInfo:
return ((_ns1__ApprovalInfo *)ptr)->soap_out(soap, "ns1:ApprovalInfo", id, NULL);
case SOAP_TYPE__ns1__InitializeSoapResponse:
return ((_ns1__InitializeSoapResponse *)ptr)->soap_out(soap, "ns1:InitializeSoapResponse", id, NULL);
case SOAP_TYPE__ns1__InitializeSoap:
return ((_ns1__InitializeSoap *)ptr)->soap_out(soap, "ns1:InitializeSoap", id, NULL);
case SOAP_TYPE_ns1__OrderInfo:
return ((ns1__OrderInfo *)ptr)->soap_out(soap, tag, id, "ns1:OrderInfo");
case SOAP_TYPE_ns1__ChangeUserInfo:
return ((ns1__ChangeUserInfo *)ptr)->soap_out(soap, tag, id, "ns1:ChangeUserInfo");
case SOAP_TYPE_ns1__CouponArgument:
return ((ns1__CouponArgument *)ptr)->soap_out(soap, tag, id, "ns1:CouponArgument");
case SOAP_TYPE_ns1__UsageT:
return ((ns1__UsageT *)ptr)->soap_out(soap, tag, id, "ns1:UsageT");
case SOAP_TYPE_ns1__ChargeT:
return ((ns1__ChargeT *)ptr)->soap_out(soap, tag, id, "ns1:ChargeT");
case SOAP_TYPE_ns1__ResultT:
return ((ns1__ResultT *)ptr)->soap_out(soap, tag, id, "ns1:ResultT");
case SOAP_TYPE_ns1__ArrayOfAnyType:
return ((ns1__ArrayOfAnyType *)ptr)->soap_out(soap, tag, id, "ns1:ArrayOfAnyType");
case SOAP_TYPE_ns1__SecurityHeader:
return ((ns1__SecurityHeader *)ptr)->soap_out(soap, tag, id, "ns1:SecurityHeader");
case SOAP_TYPE_ns1__Header:
return ((ns1__Header *)ptr)->soap_out(soap, tag, id, "ns1:Header");
case SOAP_TYPE_xsd__decimal:
return soap_out_xsd__decimal(soap, tag, id, (const std::string *)ptr, "xsd:decimal");
case SOAP_TYPE_std__string:
return soap_out_std__string(soap, tag, id, (const std::string *)ptr, "xsd:string");
case SOAP_TYPE_PointerTo_ns1__SetUserMappingDataResponse:
return soap_out_PointerTo_ns1__SetUserMappingDataResponse(soap, tag, id, (_ns1__SetUserMappingDataResponse *const*)ptr, "ns1:SetUserMappingDataResponse");
case SOAP_TYPE_PointerTo_ns1__SetUserMappingData:
return soap_out_PointerTo_ns1__SetUserMappingData(soap, tag, id, (_ns1__SetUserMappingData *const*)ptr, "ns1:SetUserMappingData");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChangeResponse:
return soap_out_PointerTo_ns1__ApprovalCashChangeResponse(soap, tag, id, (_ns1__ApprovalCashChangeResponse *const*)ptr, "ns1:ApprovalCashChangeResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange:
return soap_out_PointerTo_ns1__ApprovalCashChange(soap, tag, id, (_ns1__ApprovalCashChange *const*)ptr, "ns1:ApprovalCashChange");
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLuniaResponse:
return soap_out_PointerTo_ns1__UsageCancelForLuniaResponse(soap, tag, id, (_ns1__UsageCancelForLuniaResponse *const*)ptr, "ns1:UsageCancelForLuniaResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLunia:
return soap_out_PointerTo_ns1__UsageCancelForLunia(soap, tag, id, (_ns1__UsageCancelForLunia *const*)ptr, "ns1:UsageCancelForLunia");
case SOAP_TYPE_PointerTo_ns1__ChargeGameCashResponse:
return soap_out_PointerTo_ns1__ChargeGameCashResponse(soap, tag, id, (_ns1__ChargeGameCashResponse *const*)ptr, "ns1:ChargeGameCashResponse");
case SOAP_TYPE_PointerTo_ns1__ChargeGameCash:
return soap_out_PointerTo_ns1__ChargeGameCash(soap, tag, id, (_ns1__ChargeGameCash *const*)ptr, "ns1:ChargeGameCash");
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCashResponse:
return soap_out_PointerTo_ns1__GetPurseWithGameCashResponse(soap, tag, id, (_ns1__GetPurseWithGameCashResponse *const*)ptr, "ns1:GetPurseWithGameCashResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCash:
return soap_out_PointerTo_ns1__GetPurseWithGameCash(soap, tag, id, (_ns1__GetPurseWithGameCash *const*)ptr, "ns1:GetPurseWithGameCash");
case SOAP_TYPE_PointerTo_ns1__GetRemainAmountResponse:
return soap_out_PointerTo_ns1__GetRemainAmountResponse(soap, tag, id, (_ns1__GetRemainAmountResponse *const*)ptr, "ns1:GetRemainAmountResponse");
case SOAP_TYPE_PointerTo_ns1__GetRemainAmount:
return soap_out_PointerTo_ns1__GetRemainAmount(soap, tag, id, (_ns1__GetRemainAmount *const*)ptr, "ns1:GetRemainAmount");
case SOAP_TYPE_PointerTo_ns1__UseCouponResponse:
return soap_out_PointerTo_ns1__UseCouponResponse(soap, tag, id, (_ns1__UseCouponResponse *const*)ptr, "ns1:UseCouponResponse");
case SOAP_TYPE_PointerTo_ns1__UseCoupon:
return soap_out_PointerTo_ns1__UseCoupon(soap, tag, id, (_ns1__UseCoupon *const*)ptr, "ns1:UseCoupon");
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCashResponse:
return soap_out_PointerTo_ns1__ApprovalSendCashResponse(soap, tag, id, (_ns1__ApprovalSendCashResponse *const*)ptr, "ns1:ApprovalSendCashResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCash:
return soap_out_PointerTo_ns1__ApprovalSendCash(soap, tag, id, (_ns1__ApprovalSendCash *const*)ptr, "ns1:ApprovalSendCash");
case SOAP_TYPE_PointerTo_ns1__RequestEventChargeResponse:
return soap_out_PointerTo_ns1__RequestEventChargeResponse(soap, tag, id, (_ns1__RequestEventChargeResponse *const*)ptr, "ns1:RequestEventChargeResponse");
case SOAP_TYPE_PointerTo_ns1__RequestEventCharge:
return soap_out_PointerTo_ns1__RequestEventCharge(soap, tag, id, (_ns1__RequestEventCharge *const*)ptr, "ns1:RequestEventCharge");
case SOAP_TYPE_PointerTo_ns1__UsageRollbackResponse:
return soap_out_PointerTo_ns1__UsageRollbackResponse(soap, tag, id, (_ns1__UsageRollbackResponse *const*)ptr, "ns1:UsageRollbackResponse");
case SOAP_TYPE_PointerTo_ns1__UsageRollback:
return soap_out_PointerTo_ns1__UsageRollback(soap, tag, id, (_ns1__UsageRollback *const*)ptr, "ns1:UsageRollback");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse:
return soap_out_PointerTo_ns1__GetPurchaseAmountResponse(soap, tag, id, (_ns1__GetPurchaseAmountResponse *const*)ptr, "ns1:GetPurchaseAmountResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmount:
return soap_out_PointerTo_ns1__GetPurchaseAmount(soap, tag, id, (_ns1__GetPurchaseAmount *const*)ptr, "ns1:GetPurchaseAmount");
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSnResponse:
return soap_out_PointerTo_ns1__UsageCancelByUsageSnResponse(soap, tag, id, (_ns1__UsageCancelByUsageSnResponse *const*)ptr, "ns1:UsageCancelByUsageSnResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSn:
return soap_out_PointerTo_ns1__UsageCancelByUsageSn(soap, tag, id, (_ns1__UsageCancelByUsageSn *const*)ptr, "ns1:UsageCancelByUsageSn");
case SOAP_TYPE_PointerTo_ns1__UsageCancelResponse:
return soap_out_PointerTo_ns1__UsageCancelResponse(soap, tag, id, (_ns1__UsageCancelResponse *const*)ptr, "ns1:UsageCancelResponse");
case SOAP_TYPE_PointerTo_ns1__UsageCancel:
return soap_out_PointerTo_ns1__UsageCancel(soap, tag, id, (_ns1__UsageCancel *const*)ptr, "ns1:UsageCancel");
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCouponResponse:
return soap_out_PointerTo_ns1__ChargeForNeopleCouponResponse(soap, tag, id, (_ns1__ChargeForNeopleCouponResponse *const*)ptr, "ns1:ChargeForNeopleCouponResponse");
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCoupon:
return soap_out_PointerTo_ns1__ChargeForNeopleCoupon(soap, tag, id, (_ns1__ChargeForNeopleCoupon *const*)ptr, "ns1:ChargeForNeopleCoupon");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse:
return soap_out_PointerTo_ns1__GetCashReceiptListResponse(soap, tag, id, (_ns1__GetCashReceiptListResponse *const*)ptr, "ns1:GetCashReceiptListResponse");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptList:
return soap_out_PointerTo_ns1__GetCashReceiptList(soap, tag, id, (_ns1__GetCashReceiptList *const*)ptr, "ns1:GetCashReceiptList");
case SOAP_TYPE_PointerTo_ns1__CheckUsageResponse:
return soap_out_PointerTo_ns1__CheckUsageResponse(soap, tag, id, (_ns1__CheckUsageResponse *const*)ptr, "ns1:CheckUsageResponse");
case SOAP_TYPE_PointerTo_ns1__CheckUsage:
return soap_out_PointerTo_ns1__CheckUsage(soap, tag, id, (_ns1__CheckUsage *const*)ptr, "ns1:CheckUsage");
case SOAP_TYPE_PointerTo_ns1__PresentExtendResponse:
return soap_out_PointerTo_ns1__PresentExtendResponse(soap, tag, id, (_ns1__PresentExtendResponse *const*)ptr, "ns1:PresentExtendResponse");
case SOAP_TYPE_PointerTo_ns1__PresentExtend:
return soap_out_PointerTo_ns1__PresentExtend(soap, tag, id, (_ns1__PresentExtend *const*)ptr, "ns1:PresentExtend");
case SOAP_TYPE_PointerTo_ns1__PresentChannelResponse:
return soap_out_PointerTo_ns1__PresentChannelResponse(soap, tag, id, (_ns1__PresentChannelResponse *const*)ptr, "ns1:PresentChannelResponse");
case SOAP_TYPE_PointerTo_ns1__PresentChannel:
return soap_out_PointerTo_ns1__PresentChannel(soap, tag, id, (_ns1__PresentChannel *const*)ptr, "ns1:PresentChannel");
case SOAP_TYPE_PointerTo_ns1__PresentResponse:
return soap_out_PointerTo_ns1__PresentResponse(soap, tag, id, (_ns1__PresentResponse *const*)ptr, "ns1:PresentResponse");
case SOAP_TYPE_PointerTo_ns1__Present:
return soap_out_PointerTo_ns1__Present(soap, tag, id, (_ns1__Present *const*)ptr, "ns1:Present");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse:
return soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag, id, (_ns1__ApprovalCashChange_USCOREChannelingResponse *const*)ptr, "ns1:ApprovalCashChange_ChannelingResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChanneling:
return soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, tag, id, (_ns1__ApprovalCashChange_USCOREChanneling *const*)ptr, "ns1:ApprovalCashChange_Channeling");
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREExResponse:
return soap_out_PointerTo_ns1__Purchase_USCOREExResponse(soap, tag, id, (_ns1__Purchase_USCOREExResponse *const*)ptr, "ns1:Purchase_ExResponse");
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREEx:
return soap_out_PointerTo_ns1__Purchase_USCOREEx(soap, tag, id, (_ns1__Purchase_USCOREEx *const*)ptr, "ns1:Purchase_Ex");
case SOAP_TYPE_PointerTo_ns1__PurchaseExtendResponse:
return soap_out_PointerTo_ns1__PurchaseExtendResponse(soap, tag, id, (_ns1__PurchaseExtendResponse *const*)ptr, "ns1:PurchaseExtendResponse");
case SOAP_TYPE_PointerTo_ns1__PurchaseExtend:
return soap_out_PointerTo_ns1__PurchaseExtend(soap, tag, id, (_ns1__PurchaseExtend *const*)ptr, "ns1:PurchaseExtend");
case SOAP_TYPE_PointerTo_ns1__PurchaseChannelResponse:
return soap_out_PointerTo_ns1__PurchaseChannelResponse(soap, tag, id, (_ns1__PurchaseChannelResponse *const*)ptr, "ns1:PurchaseChannelResponse");
case SOAP_TYPE_PointerTo_ns1__PurchaseChannel:
return soap_out_PointerTo_ns1__PurchaseChannel(soap, tag, id, (_ns1__PurchaseChannel *const*)ptr, "ns1:PurchaseChannel");
case SOAP_TYPE_PointerTo_ns1__PurchaseResponse:
return soap_out_PointerTo_ns1__PurchaseResponse(soap, tag, id, (_ns1__PurchaseResponse *const*)ptr, "ns1:PurchaseResponse");
case SOAP_TYPE_PointerTo_ns1__Purchase:
return soap_out_PointerTo_ns1__Purchase(soap, tag, id, (_ns1__Purchase *const*)ptr, "ns1:Purchase");
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemainResponse:
return soap_out_PointerTo_ns1__GetChannelingCashRemainResponse(soap, tag, id, (_ns1__GetChannelingCashRemainResponse *const*)ptr, "ns1:GetChannelingCashRemainResponse");
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemain:
return soap_out_PointerTo_ns1__GetChannelingCashRemain(soap, tag, id, (_ns1__GetChannelingCashRemain *const*)ptr, "ns1:GetChannelingCashRemain");
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannelResponse:
return soap_out_PointerTo_ns1__GetPurseByChannelResponse(soap, tag, id, (_ns1__GetPurseByChannelResponse *const*)ptr, "ns1:GetPurseByChannelResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannel:
return soap_out_PointerTo_ns1__GetPurseByChannel(soap, tag, id, (_ns1__GetPurseByChannel *const*)ptr, "ns1:GetPurseByChannel");
case SOAP_TYPE_PointerTo_ns1__GetPurseResponse:
return soap_out_PointerTo_ns1__GetPurseResponse(soap, tag, id, (_ns1__GetPurseResponse *const*)ptr, "ns1:GetPurseResponse");
case SOAP_TYPE_PointerTo_ns1__GetPurse:
return soap_out_PointerTo_ns1__GetPurse(soap, tag, id, (_ns1__GetPurse *const*)ptr, "ns1:GetPurse");
case SOAP_TYPE_PointerTo_ns1__ISBillingUserResponse:
return soap_out_PointerTo_ns1__ISBillingUserResponse(soap, tag, id, (_ns1__ISBillingUserResponse *const*)ptr, "ns1:ISBillingUserResponse");
case SOAP_TYPE_PointerTo_ns1__ISBillingUser:
return soap_out_PointerTo_ns1__ISBillingUser(soap, tag, id, (_ns1__ISBillingUser *const*)ptr, "ns1:ISBillingUser");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse:
return soap_out_PointerTo_ns1__LastUsageInfoResponse(soap, tag, id, (_ns1__LastUsageInfoResponse *const*)ptr, "ns1:LastUsageInfoResponse");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfo:
return soap_out_PointerTo_ns1__LastUsageInfo(soap, tag, id, (_ns1__LastUsageInfo *const*)ptr, "ns1:LastUsageInfo");
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse:
return soap_out_PointerTo_ns1__UsageInfoResponse(soap, tag, id, (_ns1__UsageInfoResponse *const*)ptr, "ns1:UsageInfoResponse");
case SOAP_TYPE_PointerTo_ns1__UsageInfo:
return soap_out_PointerTo_ns1__UsageInfo(soap, tag, id, (_ns1__UsageInfo *const*)ptr, "ns1:UsageInfo");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse:
return soap_out_PointerTo_ns1__ApprovalPaidInfoResponse(soap, tag, id, (_ns1__ApprovalPaidInfoResponse *const*)ptr, "ns1:ApprovalPaidInfoResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfo:
return soap_out_PointerTo_ns1__ApprovalPaidInfo(soap, tag, id, (_ns1__ApprovalPaidInfo *const*)ptr, "ns1:ApprovalPaidInfo");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse:
return soap_out_PointerTo_ns1__ApprovalInfoResponse(soap, tag, id, (_ns1__ApprovalInfoResponse *const*)ptr, "ns1:ApprovalInfoResponse");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfo:
return soap_out_PointerTo_ns1__ApprovalInfo(soap, tag, id, (_ns1__ApprovalInfo *const*)ptr, "ns1:ApprovalInfo");
case SOAP_TYPE_PointerTo_ns1__InitializeSoapResponse:
return soap_out_PointerTo_ns1__InitializeSoapResponse(soap, tag, id, (_ns1__InitializeSoapResponse *const*)ptr, "ns1:InitializeSoapResponse");
case SOAP_TYPE_PointerTo_ns1__InitializeSoap:
return soap_out_PointerTo_ns1__InitializeSoap(soap, tag, id, (_ns1__InitializeSoap *const*)ptr, "ns1:InitializeSoap");
case SOAP_TYPE_PointerTons1__SecurityHeader:
return soap_out_PointerTons1__SecurityHeader(soap, tag, id, (ns1__SecurityHeader *const*)ptr, "ns1:SecurityHeader");
case SOAP_TYPE_PointerTons1__Header:
return soap_out_PointerTons1__Header(soap, tag, id, (ns1__Header *const*)ptr, "ns1:Header");
case SOAP_TYPE_PointerTons1__OrderInfo:
return soap_out_PointerTons1__OrderInfo(soap, tag, id, (ns1__OrderInfo *const*)ptr, "ns1:OrderInfo");
case SOAP_TYPE_PointerTons1__ChangeUserInfo:
return soap_out_PointerTons1__ChangeUserInfo(soap, tag, id, (ns1__ChangeUserInfo *const*)ptr, "ns1:ChangeUserInfo");
case SOAP_TYPE_PointerTons1__CouponArgument:
return soap_out_PointerTons1__CouponArgument(soap, tag, id, (ns1__CouponArgument *const*)ptr, "ns1:CouponArgument");
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
return soap_out_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag, id, (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *const*)ptr, "ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult");
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
return soap_out_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag, id, (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *const*)ptr, "ns1:GetCashReceiptListResponse-GetCashReceiptListResult");
case SOAP_TYPE_PointerTons1__UsageT:
return soap_out_PointerTons1__UsageT(soap, tag, id, (ns1__UsageT *const*)ptr, "ns1:UsageT");
case SOAP_TYPE_PointerTons1__ChargeT:
return soap_out_PointerTons1__ChargeT(soap, tag, id, (ns1__ChargeT *const*)ptr, "ns1:ChargeT");
case SOAP_TYPE_PointerTons1__ResultT:
return soap_out_PointerTons1__ResultT(soap, tag, id, (ns1__ResultT *const*)ptr, "ns1:ResultT");
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult:
return soap_out_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag, id, (_ns1__LastUsageInfoResponse_LastUsageInfoResult *const*)ptr, "ns1:LastUsageInfoResponse-LastUsageInfoResult");
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse_UsageInfoResult:
return soap_out_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, tag, id, (_ns1__UsageInfoResponse_UsageInfoResult *const*)ptr, "ns1:UsageInfoResponse-UsageInfoResult");
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
return soap_out_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag, id, (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *const*)ptr, "ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult");
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult:
return soap_out_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag, id, (_ns1__ApprovalInfoResponse_ApprovalInfoResult *const*)ptr, "ns1:ApprovalInfoResponse-ApprovalInfoResult");
case SOAP_TYPE_PointerTons1__ArrayOfAnyType:
return soap_out_PointerTons1__ArrayOfAnyType(soap, tag, id, (ns1__ArrayOfAnyType *const*)ptr, "ns1:ArrayOfAnyType");
case SOAP_TYPE_PointerTostd__string:
return soap_out_PointerTostd__string(soap, tag, id, (std::string *const*)ptr, "xsd:string");
case SOAP_TYPE__xsd__schema:
return soap_out_string(soap, "xsd:schema", id, (char*const*)&ptr, NULL);
case SOAP_TYPE__QName:
return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName");
case SOAP_TYPE_string:
return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string");
}
return SOAP_OK;
}
#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__GetPurchaseAmountResponse_GetPurchaseAmountResult:
((_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
((_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult:
((_ns1__LastUsageInfoResponse_LastUsageInfoResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult:
((_ns1__UsageInfoResponse_UsageInfoResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
((_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult:
((_ns1__ApprovalInfoResponse_ApprovalInfoResult *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__SetUserMappingDataResponse:
((_ns1__SetUserMappingDataResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__SetUserMappingData:
((_ns1__SetUserMappingData *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalCashChangeResponse:
((_ns1__ApprovalCashChangeResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalCashChange:
((_ns1__ApprovalCashChange *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancelForLuniaResponse:
((_ns1__UsageCancelForLuniaResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancelForLunia:
((_ns1__UsageCancelForLunia *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ChargeGameCashResponse:
((_ns1__ChargeGameCashResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ChargeGameCash:
((_ns1__ChargeGameCash *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurseWithGameCashResponse:
((_ns1__GetPurseWithGameCashResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurseWithGameCash:
((_ns1__GetPurseWithGameCash *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetRemainAmountResponse:
((_ns1__GetRemainAmountResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetRemainAmount:
((_ns1__GetRemainAmount *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UseCouponResponse:
((_ns1__UseCouponResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UseCoupon:
((_ns1__UseCoupon *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalSendCashResponse:
((_ns1__ApprovalSendCashResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalSendCash:
((_ns1__ApprovalSendCash *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__RequestEventChargeResponse:
((_ns1__RequestEventChargeResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__RequestEventCharge:
((_ns1__RequestEventCharge *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageRollbackResponse:
((_ns1__UsageRollbackResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageRollback:
((_ns1__UsageRollback *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurchaseAmountResponse:
((_ns1__GetPurchaseAmountResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurchaseAmount:
((_ns1__GetPurchaseAmount *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancelByUsageSnResponse:
((_ns1__UsageCancelByUsageSnResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancelByUsageSn:
((_ns1__UsageCancelByUsageSn *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancelResponse:
((_ns1__UsageCancelResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageCancel:
((_ns1__UsageCancel *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ChargeForNeopleCouponResponse:
((_ns1__ChargeForNeopleCouponResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ChargeForNeopleCoupon:
((_ns1__ChargeForNeopleCoupon *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetCashReceiptListResponse:
((_ns1__GetCashReceiptListResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetCashReceiptList:
((_ns1__GetCashReceiptList *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__CheckUsageResponse:
((_ns1__CheckUsageResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__CheckUsage:
((_ns1__CheckUsage *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PresentExtendResponse:
((_ns1__PresentExtendResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PresentExtend:
((_ns1__PresentExtend *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PresentChannelResponse:
((_ns1__PresentChannelResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PresentChannel:
((_ns1__PresentChannel *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PresentResponse:
((_ns1__PresentResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__Present:
((_ns1__Present *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse:
((_ns1__ApprovalCashChange_USCOREChannelingResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling:
((_ns1__ApprovalCashChange_USCOREChanneling *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__Purchase_USCOREExResponse:
((_ns1__Purchase_USCOREExResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__Purchase_USCOREEx:
((_ns1__Purchase_USCOREEx *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PurchaseExtendResponse:
((_ns1__PurchaseExtendResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PurchaseExtend:
((_ns1__PurchaseExtend *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PurchaseChannelResponse:
((_ns1__PurchaseChannelResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PurchaseChannel:
((_ns1__PurchaseChannel *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__PurchaseResponse:
((_ns1__PurchaseResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__Purchase:
((_ns1__Purchase *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetChannelingCashRemainResponse:
((_ns1__GetChannelingCashRemainResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetChannelingCashRemain:
((_ns1__GetChannelingCashRemain *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurseByChannelResponse:
((_ns1__GetPurseByChannelResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurseByChannel:
((_ns1__GetPurseByChannel *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurseResponse:
((_ns1__GetPurseResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__GetPurse:
((_ns1__GetPurse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ISBillingUserResponse:
((_ns1__ISBillingUserResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ISBillingUser:
((_ns1__ISBillingUser *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__LastUsageInfoResponse:
((_ns1__LastUsageInfoResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__LastUsageInfo:
((_ns1__LastUsageInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageInfoResponse:
((_ns1__UsageInfoResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__UsageInfo:
((_ns1__UsageInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse:
((_ns1__ApprovalPaidInfoResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfo:
((_ns1__ApprovalPaidInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalInfoResponse:
((_ns1__ApprovalInfoResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__ApprovalInfo:
((_ns1__ApprovalInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__InitializeSoapResponse:
((_ns1__InitializeSoapResponse *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE__ns1__InitializeSoap:
((_ns1__InitializeSoap *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__OrderInfo:
((ns1__OrderInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__ChangeUserInfo:
((ns1__ChangeUserInfo *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__CouponArgument:
((ns1__CouponArgument *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__UsageT:
((ns1__UsageT *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__ChargeT:
((ns1__ChargeT *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__ResultT:
((ns1__ResultT *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__ArrayOfAnyType:
((ns1__ArrayOfAnyType *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__SecurityHeader:
((ns1__SecurityHeader *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_ns1__Header:
((ns1__Header *)ptr)->soap_serialize(soap);
break;
case SOAP_TYPE_xsd__decimal:
soap_serialize_xsd__decimal(soap, (const std::string *)ptr);
break;
case SOAP_TYPE_std__string:
soap_serialize_std__string(soap, (const std::string *)ptr);
break;
case SOAP_TYPE___ns1__SetUserMappingData_:
soap_serialize___ns1__SetUserMappingData_(soap, (const struct __ns1__SetUserMappingData_ *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_:
soap_serialize___ns1__ApprovalCashChange_(soap, (const struct __ns1__ApprovalCashChange_ *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancelForLunia_:
soap_serialize___ns1__UsageCancelForLunia_(soap, (const struct __ns1__UsageCancelForLunia_ *)ptr);
break;
case SOAP_TYPE___ns1__ChargeGameCash_:
soap_serialize___ns1__ChargeGameCash_(soap, (const struct __ns1__ChargeGameCash_ *)ptr);
break;
case SOAP_TYPE___ns1__GetPurseWithGameCash_:
soap_serialize___ns1__GetPurseWithGameCash_(soap, (const struct __ns1__GetPurseWithGameCash_ *)ptr);
break;
case SOAP_TYPE___ns1__GetRemainAmount_:
soap_serialize___ns1__GetRemainAmount_(soap, (const struct __ns1__GetRemainAmount_ *)ptr);
break;
case SOAP_TYPE___ns1__UseCoupon_:
soap_serialize___ns1__UseCoupon_(soap, (const struct __ns1__UseCoupon_ *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalSendCash_:
soap_serialize___ns1__ApprovalSendCash_(soap, (const struct __ns1__ApprovalSendCash_ *)ptr);
break;
case SOAP_TYPE___ns1__RequestEventCharge_:
soap_serialize___ns1__RequestEventCharge_(soap, (const struct __ns1__RequestEventCharge_ *)ptr);
break;
case SOAP_TYPE___ns1__UsageRollback_:
soap_serialize___ns1__UsageRollback_(soap, (const struct __ns1__UsageRollback_ *)ptr);
break;
case SOAP_TYPE___ns1__GetPurchaseAmount_:
soap_serialize___ns1__GetPurchaseAmount_(soap, (const struct __ns1__GetPurchaseAmount_ *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancelByUsageSn_:
soap_serialize___ns1__UsageCancelByUsageSn_(soap, (const struct __ns1__UsageCancelByUsageSn_ *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancel_:
soap_serialize___ns1__UsageCancel_(soap, (const struct __ns1__UsageCancel_ *)ptr);
break;
case SOAP_TYPE___ns1__ChargeForNeopleCoupon_:
soap_serialize___ns1__ChargeForNeopleCoupon_(soap, (const struct __ns1__ChargeForNeopleCoupon_ *)ptr);
break;
case SOAP_TYPE___ns1__GetCashReceiptList_:
soap_serialize___ns1__GetCashReceiptList_(soap, (const struct __ns1__GetCashReceiptList_ *)ptr);
break;
case SOAP_TYPE___ns1__CheckUsage_:
soap_serialize___ns1__CheckUsage_(soap, (const struct __ns1__CheckUsage_ *)ptr);
break;
case SOAP_TYPE___ns1__PresentExtend_:
soap_serialize___ns1__PresentExtend_(soap, (const struct __ns1__PresentExtend_ *)ptr);
break;
case SOAP_TYPE___ns1__PresentChannel_:
soap_serialize___ns1__PresentChannel_(soap, (const struct __ns1__PresentChannel_ *)ptr);
break;
case SOAP_TYPE___ns1__Present_:
soap_serialize___ns1__Present_(soap, (const struct __ns1__Present_ *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling_:
soap_serialize___ns1__ApprovalCashChange_USCOREChanneling_(soap, (const struct __ns1__ApprovalCashChange_USCOREChanneling_ *)ptr);
break;
case SOAP_TYPE___ns1__Purchase_USCOREEx_:
soap_serialize___ns1__Purchase_USCOREEx_(soap, (const struct __ns1__Purchase_USCOREEx_ *)ptr);
break;
case SOAP_TYPE___ns1__PurchaseExtend_:
soap_serialize___ns1__PurchaseExtend_(soap, (const struct __ns1__PurchaseExtend_ *)ptr);
break;
case SOAP_TYPE___ns1__PurchaseChannel_:
soap_serialize___ns1__PurchaseChannel_(soap, (const struct __ns1__PurchaseChannel_ *)ptr);
break;
case SOAP_TYPE___ns1__Purchase_:
soap_serialize___ns1__Purchase_(soap, (const struct __ns1__Purchase_ *)ptr);
break;
case SOAP_TYPE___ns1__GetChannelingCashRemain_:
soap_serialize___ns1__GetChannelingCashRemain_(soap, (const struct __ns1__GetChannelingCashRemain_ *)ptr);
break;
case SOAP_TYPE___ns1__GetPurseByChannel_:
soap_serialize___ns1__GetPurseByChannel_(soap, (const struct __ns1__GetPurseByChannel_ *)ptr);
break;
case SOAP_TYPE___ns1__GetPurse_:
soap_serialize___ns1__GetPurse_(soap, (const struct __ns1__GetPurse_ *)ptr);
break;
case SOAP_TYPE___ns1__ISBillingUser_:
soap_serialize___ns1__ISBillingUser_(soap, (const struct __ns1__ISBillingUser_ *)ptr);
break;
case SOAP_TYPE___ns1__LastUsageInfo_:
soap_serialize___ns1__LastUsageInfo_(soap, (const struct __ns1__LastUsageInfo_ *)ptr);
break;
case SOAP_TYPE___ns1__UsageInfo_:
soap_serialize___ns1__UsageInfo_(soap, (const struct __ns1__UsageInfo_ *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalPaidInfo_:
soap_serialize___ns1__ApprovalPaidInfo_(soap, (const struct __ns1__ApprovalPaidInfo_ *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalInfo_:
soap_serialize___ns1__ApprovalInfo_(soap, (const struct __ns1__ApprovalInfo_ *)ptr);
break;
case SOAP_TYPE___ns1__InitializeSoap_:
soap_serialize___ns1__InitializeSoap_(soap, (const struct __ns1__InitializeSoap_ *)ptr);
break;
case SOAP_TYPE___ns1__SetUserMappingData:
soap_serialize___ns1__SetUserMappingData(soap, (const struct __ns1__SetUserMappingData *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange:
soap_serialize___ns1__ApprovalCashChange(soap, (const struct __ns1__ApprovalCashChange *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancelForLunia:
soap_serialize___ns1__UsageCancelForLunia(soap, (const struct __ns1__UsageCancelForLunia *)ptr);
break;
case SOAP_TYPE___ns1__ChargeGameCash:
soap_serialize___ns1__ChargeGameCash(soap, (const struct __ns1__ChargeGameCash *)ptr);
break;
case SOAP_TYPE___ns1__GetPurseWithGameCash:
soap_serialize___ns1__GetPurseWithGameCash(soap, (const struct __ns1__GetPurseWithGameCash *)ptr);
break;
case SOAP_TYPE___ns1__GetRemainAmount:
soap_serialize___ns1__GetRemainAmount(soap, (const struct __ns1__GetRemainAmount *)ptr);
break;
case SOAP_TYPE___ns1__UseCoupon:
soap_serialize___ns1__UseCoupon(soap, (const struct __ns1__UseCoupon *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalSendCash:
soap_serialize___ns1__ApprovalSendCash(soap, (const struct __ns1__ApprovalSendCash *)ptr);
break;
case SOAP_TYPE___ns1__RequestEventCharge:
soap_serialize___ns1__RequestEventCharge(soap, (const struct __ns1__RequestEventCharge *)ptr);
break;
case SOAP_TYPE___ns1__UsageRollback:
soap_serialize___ns1__UsageRollback(soap, (const struct __ns1__UsageRollback *)ptr);
break;
case SOAP_TYPE___ns1__GetPurchaseAmount:
soap_serialize___ns1__GetPurchaseAmount(soap, (const struct __ns1__GetPurchaseAmount *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancelByUsageSn:
soap_serialize___ns1__UsageCancelByUsageSn(soap, (const struct __ns1__UsageCancelByUsageSn *)ptr);
break;
case SOAP_TYPE___ns1__UsageCancel:
soap_serialize___ns1__UsageCancel(soap, (const struct __ns1__UsageCancel *)ptr);
break;
case SOAP_TYPE___ns1__ChargeForNeopleCoupon:
soap_serialize___ns1__ChargeForNeopleCoupon(soap, (const struct __ns1__ChargeForNeopleCoupon *)ptr);
break;
case SOAP_TYPE___ns1__GetCashReceiptList:
soap_serialize___ns1__GetCashReceiptList(soap, (const struct __ns1__GetCashReceiptList *)ptr);
break;
case SOAP_TYPE___ns1__CheckUsage:
soap_serialize___ns1__CheckUsage(soap, (const struct __ns1__CheckUsage *)ptr);
break;
case SOAP_TYPE___ns1__PresentExtend:
soap_serialize___ns1__PresentExtend(soap, (const struct __ns1__PresentExtend *)ptr);
break;
case SOAP_TYPE___ns1__PresentChannel:
soap_serialize___ns1__PresentChannel(soap, (const struct __ns1__PresentChannel *)ptr);
break;
case SOAP_TYPE___ns1__Present:
soap_serialize___ns1__Present(soap, (const struct __ns1__Present *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling:
soap_serialize___ns1__ApprovalCashChange_USCOREChanneling(soap, (const struct __ns1__ApprovalCashChange_USCOREChanneling *)ptr);
break;
case SOAP_TYPE___ns1__Purchase_USCOREEx:
soap_serialize___ns1__Purchase_USCOREEx(soap, (const struct __ns1__Purchase_USCOREEx *)ptr);
break;
case SOAP_TYPE___ns1__PurchaseExtend:
soap_serialize___ns1__PurchaseExtend(soap, (const struct __ns1__PurchaseExtend *)ptr);
break;
case SOAP_TYPE___ns1__PurchaseChannel:
soap_serialize___ns1__PurchaseChannel(soap, (const struct __ns1__PurchaseChannel *)ptr);
break;
case SOAP_TYPE___ns1__Purchase:
soap_serialize___ns1__Purchase(soap, (const struct __ns1__Purchase *)ptr);
break;
case SOAP_TYPE___ns1__GetChannelingCashRemain:
soap_serialize___ns1__GetChannelingCashRemain(soap, (const struct __ns1__GetChannelingCashRemain *)ptr);
break;
case SOAP_TYPE___ns1__GetPurseByChannel:
soap_serialize___ns1__GetPurseByChannel(soap, (const struct __ns1__GetPurseByChannel *)ptr);
break;
case SOAP_TYPE___ns1__GetPurse:
soap_serialize___ns1__GetPurse(soap, (const struct __ns1__GetPurse *)ptr);
break;
case SOAP_TYPE___ns1__ISBillingUser:
soap_serialize___ns1__ISBillingUser(soap, (const struct __ns1__ISBillingUser *)ptr);
break;
case SOAP_TYPE___ns1__LastUsageInfo:
soap_serialize___ns1__LastUsageInfo(soap, (const struct __ns1__LastUsageInfo *)ptr);
break;
case SOAP_TYPE___ns1__UsageInfo:
soap_serialize___ns1__UsageInfo(soap, (const struct __ns1__UsageInfo *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalPaidInfo:
soap_serialize___ns1__ApprovalPaidInfo(soap, (const struct __ns1__ApprovalPaidInfo *)ptr);
break;
case SOAP_TYPE___ns1__ApprovalInfo:
soap_serialize___ns1__ApprovalInfo(soap, (const struct __ns1__ApprovalInfo *)ptr);
break;
case SOAP_TYPE___ns1__InitializeSoap:
soap_serialize___ns1__InitializeSoap(soap, (const struct __ns1__InitializeSoap *)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__SetUserMappingDataResponse:
soap_serialize_PointerTo_ns1__SetUserMappingDataResponse(soap, (_ns1__SetUserMappingDataResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__SetUserMappingData:
soap_serialize_PointerTo_ns1__SetUserMappingData(soap, (_ns1__SetUserMappingData *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChangeResponse:
soap_serialize_PointerTo_ns1__ApprovalCashChangeResponse(soap, (_ns1__ApprovalCashChangeResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange:
soap_serialize_PointerTo_ns1__ApprovalCashChange(soap, (_ns1__ApprovalCashChange *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLuniaResponse:
soap_serialize_PointerTo_ns1__UsageCancelForLuniaResponse(soap, (_ns1__UsageCancelForLuniaResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancelForLunia:
soap_serialize_PointerTo_ns1__UsageCancelForLunia(soap, (_ns1__UsageCancelForLunia *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ChargeGameCashResponse:
soap_serialize_PointerTo_ns1__ChargeGameCashResponse(soap, (_ns1__ChargeGameCashResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ChargeGameCash:
soap_serialize_PointerTo_ns1__ChargeGameCash(soap, (_ns1__ChargeGameCash *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCashResponse:
soap_serialize_PointerTo_ns1__GetPurseWithGameCashResponse(soap, (_ns1__GetPurseWithGameCashResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCash:
soap_serialize_PointerTo_ns1__GetPurseWithGameCash(soap, (_ns1__GetPurseWithGameCash *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetRemainAmountResponse:
soap_serialize_PointerTo_ns1__GetRemainAmountResponse(soap, (_ns1__GetRemainAmountResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetRemainAmount:
soap_serialize_PointerTo_ns1__GetRemainAmount(soap, (_ns1__GetRemainAmount *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UseCouponResponse:
soap_serialize_PointerTo_ns1__UseCouponResponse(soap, (_ns1__UseCouponResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UseCoupon:
soap_serialize_PointerTo_ns1__UseCoupon(soap, (_ns1__UseCoupon *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCashResponse:
soap_serialize_PointerTo_ns1__ApprovalSendCashResponse(soap, (_ns1__ApprovalSendCashResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalSendCash:
soap_serialize_PointerTo_ns1__ApprovalSendCash(soap, (_ns1__ApprovalSendCash *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__RequestEventChargeResponse:
soap_serialize_PointerTo_ns1__RequestEventChargeResponse(soap, (_ns1__RequestEventChargeResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__RequestEventCharge:
soap_serialize_PointerTo_ns1__RequestEventCharge(soap, (_ns1__RequestEventCharge *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageRollbackResponse:
soap_serialize_PointerTo_ns1__UsageRollbackResponse(soap, (_ns1__UsageRollbackResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageRollback:
soap_serialize_PointerTo_ns1__UsageRollback(soap, (_ns1__UsageRollback *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse:
soap_serialize_PointerTo_ns1__GetPurchaseAmountResponse(soap, (_ns1__GetPurchaseAmountResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmount:
soap_serialize_PointerTo_ns1__GetPurchaseAmount(soap, (_ns1__GetPurchaseAmount *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSnResponse:
soap_serialize_PointerTo_ns1__UsageCancelByUsageSnResponse(soap, (_ns1__UsageCancelByUsageSnResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSn:
soap_serialize_PointerTo_ns1__UsageCancelByUsageSn(soap, (_ns1__UsageCancelByUsageSn *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancelResponse:
soap_serialize_PointerTo_ns1__UsageCancelResponse(soap, (_ns1__UsageCancelResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageCancel:
soap_serialize_PointerTo_ns1__UsageCancel(soap, (_ns1__UsageCancel *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCouponResponse:
soap_serialize_PointerTo_ns1__ChargeForNeopleCouponResponse(soap, (_ns1__ChargeForNeopleCouponResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCoupon:
soap_serialize_PointerTo_ns1__ChargeForNeopleCoupon(soap, (_ns1__ChargeForNeopleCoupon *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse:
soap_serialize_PointerTo_ns1__GetCashReceiptListResponse(soap, (_ns1__GetCashReceiptListResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptList:
soap_serialize_PointerTo_ns1__GetCashReceiptList(soap, (_ns1__GetCashReceiptList *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__CheckUsageResponse:
soap_serialize_PointerTo_ns1__CheckUsageResponse(soap, (_ns1__CheckUsageResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__CheckUsage:
soap_serialize_PointerTo_ns1__CheckUsage(soap, (_ns1__CheckUsage *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PresentExtendResponse:
soap_serialize_PointerTo_ns1__PresentExtendResponse(soap, (_ns1__PresentExtendResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PresentExtend:
soap_serialize_PointerTo_ns1__PresentExtend(soap, (_ns1__PresentExtend *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PresentChannelResponse:
soap_serialize_PointerTo_ns1__PresentChannelResponse(soap, (_ns1__PresentChannelResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PresentChannel:
soap_serialize_PointerTo_ns1__PresentChannel(soap, (_ns1__PresentChannel *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PresentResponse:
soap_serialize_PointerTo_ns1__PresentResponse(soap, (_ns1__PresentResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__Present:
soap_serialize_PointerTo_ns1__Present(soap, (_ns1__Present *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse:
soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(soap, (_ns1__ApprovalCashChange_USCOREChannelingResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChanneling:
soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, (_ns1__ApprovalCashChange_USCOREChanneling *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREExResponse:
soap_serialize_PointerTo_ns1__Purchase_USCOREExResponse(soap, (_ns1__Purchase_USCOREExResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__Purchase_USCOREEx:
soap_serialize_PointerTo_ns1__Purchase_USCOREEx(soap, (_ns1__Purchase_USCOREEx *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PurchaseExtendResponse:
soap_serialize_PointerTo_ns1__PurchaseExtendResponse(soap, (_ns1__PurchaseExtendResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PurchaseExtend:
soap_serialize_PointerTo_ns1__PurchaseExtend(soap, (_ns1__PurchaseExtend *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PurchaseChannelResponse:
soap_serialize_PointerTo_ns1__PurchaseChannelResponse(soap, (_ns1__PurchaseChannelResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PurchaseChannel:
soap_serialize_PointerTo_ns1__PurchaseChannel(soap, (_ns1__PurchaseChannel *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__PurchaseResponse:
soap_serialize_PointerTo_ns1__PurchaseResponse(soap, (_ns1__PurchaseResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__Purchase:
soap_serialize_PointerTo_ns1__Purchase(soap, (_ns1__Purchase *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemainResponse:
soap_serialize_PointerTo_ns1__GetChannelingCashRemainResponse(soap, (_ns1__GetChannelingCashRemainResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemain:
soap_serialize_PointerTo_ns1__GetChannelingCashRemain(soap, (_ns1__GetChannelingCashRemain *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannelResponse:
soap_serialize_PointerTo_ns1__GetPurseByChannelResponse(soap, (_ns1__GetPurseByChannelResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurseByChannel:
soap_serialize_PointerTo_ns1__GetPurseByChannel(soap, (_ns1__GetPurseByChannel *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurseResponse:
soap_serialize_PointerTo_ns1__GetPurseResponse(soap, (_ns1__GetPurseResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurse:
soap_serialize_PointerTo_ns1__GetPurse(soap, (_ns1__GetPurse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ISBillingUserResponse:
soap_serialize_PointerTo_ns1__ISBillingUserResponse(soap, (_ns1__ISBillingUserResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ISBillingUser:
soap_serialize_PointerTo_ns1__ISBillingUser(soap, (_ns1__ISBillingUser *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse:
soap_serialize_PointerTo_ns1__LastUsageInfoResponse(soap, (_ns1__LastUsageInfoResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__LastUsageInfo:
soap_serialize_PointerTo_ns1__LastUsageInfo(soap, (_ns1__LastUsageInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse:
soap_serialize_PointerTo_ns1__UsageInfoResponse(soap, (_ns1__UsageInfoResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageInfo:
soap_serialize_PointerTo_ns1__UsageInfo(soap, (_ns1__UsageInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse:
soap_serialize_PointerTo_ns1__ApprovalPaidInfoResponse(soap, (_ns1__ApprovalPaidInfoResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfo:
soap_serialize_PointerTo_ns1__ApprovalPaidInfo(soap, (_ns1__ApprovalPaidInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse:
soap_serialize_PointerTo_ns1__ApprovalInfoResponse(soap, (_ns1__ApprovalInfoResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalInfo:
soap_serialize_PointerTo_ns1__ApprovalInfo(soap, (_ns1__ApprovalInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__InitializeSoapResponse:
soap_serialize_PointerTo_ns1__InitializeSoapResponse(soap, (_ns1__InitializeSoapResponse *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__InitializeSoap:
soap_serialize_PointerTo_ns1__InitializeSoap(soap, (_ns1__InitializeSoap *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__SecurityHeader:
soap_serialize_PointerTons1__SecurityHeader(soap, (ns1__SecurityHeader *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__Header:
soap_serialize_PointerTons1__Header(soap, (ns1__Header *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__OrderInfo:
soap_serialize_PointerTons1__OrderInfo(soap, (ns1__OrderInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__ChangeUserInfo:
soap_serialize_PointerTons1__ChangeUserInfo(soap, (ns1__ChangeUserInfo *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__CouponArgument:
soap_serialize_PointerTons1__CouponArgument(soap, (ns1__CouponArgument *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
soap_serialize_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
soap_serialize_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__UsageT:
soap_serialize_PointerTons1__UsageT(soap, (ns1__UsageT *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__ChargeT:
soap_serialize_PointerTons1__ChargeT(soap, (ns1__ChargeT *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__ResultT:
soap_serialize_PointerTons1__ResultT(soap, (ns1__ResultT *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult:
soap_serialize_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, (_ns1__LastUsageInfoResponse_LastUsageInfoResult *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__UsageInfoResponse_UsageInfoResult:
soap_serialize_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, (_ns1__UsageInfoResponse_UsageInfoResult *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
soap_serialize_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *const*)ptr);
break;
case SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult:
soap_serialize_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, (_ns1__ApprovalInfoResponse_ApprovalInfoResult *const*)ptr);
break;
case SOAP_TYPE_PointerTons1__ArrayOfAnyType:
soap_serialize_PointerTons1__ArrayOfAnyType(soap, (ns1__ArrayOfAnyType *const*)ptr);
break;
case SOAP_TYPE_PointerTostd__string:
soap_serialize_PointerTostd__string(soap, (std::string *const*)ptr);
break;
case SOAP_TYPE__xsd__schema:
soap_serialize_string(soap, (char*const*)&ptr);
break;
case SOAP_TYPE__QName:
soap_serialize_string(soap, (char*const*)&ptr);
break;
case SOAP_TYPE_string:
soap_serialize_string(soap, (char*const*)&ptr);
break;
}
}
#ifdef __cplusplus
}
#endif
#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_std__string:
return (void*)soap_instantiate_std__string(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__Header:
return (void*)soap_instantiate_ns1__Header(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__SecurityHeader:
return (void*)soap_instantiate_ns1__SecurityHeader(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__ArrayOfAnyType:
return (void*)soap_instantiate_ns1__ArrayOfAnyType(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__ResultT:
return (void*)soap_instantiate_ns1__ResultT(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__ChargeT:
return (void*)soap_instantiate_ns1__ChargeT(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__UsageT:
return (void*)soap_instantiate_ns1__UsageT(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__CouponArgument:
return (void*)soap_instantiate_ns1__CouponArgument(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__ChangeUserInfo:
return (void*)soap_instantiate_ns1__ChangeUserInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE_ns1__OrderInfo:
return (void*)soap_instantiate_ns1__OrderInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__InitializeSoap:
return (void*)soap_instantiate__ns1__InitializeSoap(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__InitializeSoapResponse:
return (void*)soap_instantiate__ns1__InitializeSoapResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalInfo:
return (void*)soap_instantiate__ns1__ApprovalInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult:
return (void*)soap_instantiate__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalInfoResponse:
return (void*)soap_instantiate__ns1__ApprovalInfoResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalPaidInfo:
return (void*)soap_instantiate__ns1__ApprovalPaidInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
return (void*)soap_instantiate__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse:
return (void*)soap_instantiate__ns1__ApprovalPaidInfoResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageInfo:
return (void*)soap_instantiate__ns1__UsageInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult:
return (void*)soap_instantiate__ns1__UsageInfoResponse_UsageInfoResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageInfoResponse:
return (void*)soap_instantiate__ns1__UsageInfoResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__LastUsageInfo:
return (void*)soap_instantiate__ns1__LastUsageInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult:
return (void*)soap_instantiate__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__LastUsageInfoResponse:
return (void*)soap_instantiate__ns1__LastUsageInfoResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ISBillingUser:
return (void*)soap_instantiate__ns1__ISBillingUser(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ISBillingUserResponse:
return (void*)soap_instantiate__ns1__ISBillingUserResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurse:
return (void*)soap_instantiate__ns1__GetPurse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurseResponse:
return (void*)soap_instantiate__ns1__GetPurseResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurseByChannel:
return (void*)soap_instantiate__ns1__GetPurseByChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurseByChannelResponse:
return (void*)soap_instantiate__ns1__GetPurseByChannelResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetChannelingCashRemain:
return (void*)soap_instantiate__ns1__GetChannelingCashRemain(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetChannelingCashRemainResponse:
return (void*)soap_instantiate__ns1__GetChannelingCashRemainResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__Purchase:
return (void*)soap_instantiate__ns1__Purchase(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PurchaseResponse:
return (void*)soap_instantiate__ns1__PurchaseResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PurchaseChannel:
return (void*)soap_instantiate__ns1__PurchaseChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PurchaseChannelResponse:
return (void*)soap_instantiate__ns1__PurchaseChannelResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PurchaseExtend:
return (void*)soap_instantiate__ns1__PurchaseExtend(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PurchaseExtendResponse:
return (void*)soap_instantiate__ns1__PurchaseExtendResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__Purchase_USCOREEx:
return (void*)soap_instantiate__ns1__Purchase_USCOREEx(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__Purchase_USCOREExResponse:
return (void*)soap_instantiate__ns1__Purchase_USCOREExResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling:
return (void*)soap_instantiate__ns1__ApprovalCashChange_USCOREChanneling(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse:
return (void*)soap_instantiate__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__Present:
return (void*)soap_instantiate__ns1__Present(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PresentResponse:
return (void*)soap_instantiate__ns1__PresentResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PresentChannel:
return (void*)soap_instantiate__ns1__PresentChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PresentChannelResponse:
return (void*)soap_instantiate__ns1__PresentChannelResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PresentExtend:
return (void*)soap_instantiate__ns1__PresentExtend(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__PresentExtendResponse:
return (void*)soap_instantiate__ns1__PresentExtendResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__CheckUsage:
return (void*)soap_instantiate__ns1__CheckUsage(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__CheckUsageResponse:
return (void*)soap_instantiate__ns1__CheckUsageResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetCashReceiptList:
return (void*)soap_instantiate__ns1__GetCashReceiptList(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
return (void*)soap_instantiate__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetCashReceiptListResponse:
return (void*)soap_instantiate__ns1__GetCashReceiptListResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ChargeForNeopleCoupon:
return (void*)soap_instantiate__ns1__ChargeForNeopleCoupon(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ChargeForNeopleCouponResponse:
return (void*)soap_instantiate__ns1__ChargeForNeopleCouponResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancel:
return (void*)soap_instantiate__ns1__UsageCancel(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancelResponse:
return (void*)soap_instantiate__ns1__UsageCancelResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancelByUsageSn:
return (void*)soap_instantiate__ns1__UsageCancelByUsageSn(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancelByUsageSnResponse:
return (void*)soap_instantiate__ns1__UsageCancelByUsageSnResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurchaseAmount:
return (void*)soap_instantiate__ns1__GetPurchaseAmount(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
return (void*)soap_instantiate__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurchaseAmountResponse:
return (void*)soap_instantiate__ns1__GetPurchaseAmountResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageRollback:
return (void*)soap_instantiate__ns1__UsageRollback(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageRollbackResponse:
return (void*)soap_instantiate__ns1__UsageRollbackResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__RequestEventCharge:
return (void*)soap_instantiate__ns1__RequestEventCharge(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__RequestEventChargeResponse:
return (void*)soap_instantiate__ns1__RequestEventChargeResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalSendCash:
return (void*)soap_instantiate__ns1__ApprovalSendCash(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalSendCashResponse:
return (void*)soap_instantiate__ns1__ApprovalSendCashResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UseCoupon:
return (void*)soap_instantiate__ns1__UseCoupon(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UseCouponResponse:
return (void*)soap_instantiate__ns1__UseCouponResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetRemainAmount:
return (void*)soap_instantiate__ns1__GetRemainAmount(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetRemainAmountResponse:
return (void*)soap_instantiate__ns1__GetRemainAmountResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurseWithGameCash:
return (void*)soap_instantiate__ns1__GetPurseWithGameCash(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__GetPurseWithGameCashResponse:
return (void*)soap_instantiate__ns1__GetPurseWithGameCashResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ChargeGameCash:
return (void*)soap_instantiate__ns1__ChargeGameCash(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ChargeGameCashResponse:
return (void*)soap_instantiate__ns1__ChargeGameCashResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancelForLunia:
return (void*)soap_instantiate__ns1__UsageCancelForLunia(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__UsageCancelForLuniaResponse:
return (void*)soap_instantiate__ns1__UsageCancelForLuniaResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalCashChange:
return (void*)soap_instantiate__ns1__ApprovalCashChange(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__ApprovalCashChangeResponse:
return (void*)soap_instantiate__ns1__ApprovalCashChangeResponse(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__SetUserMappingData:
return (void*)soap_instantiate__ns1__SetUserMappingData(soap, -1, type, arrayType, n);
case SOAP_TYPE__ns1__SetUserMappingDataResponse:
return (void*)soap_instantiate__ns1__SetUserMappingDataResponse(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
case SOAP_TYPE___ns1__InitializeSoap:
return (void*)soap_instantiate___ns1__InitializeSoap(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalInfo:
return (void*)soap_instantiate___ns1__ApprovalInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalPaidInfo:
return (void*)soap_instantiate___ns1__ApprovalPaidInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageInfo:
return (void*)soap_instantiate___ns1__UsageInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__LastUsageInfo:
return (void*)soap_instantiate___ns1__LastUsageInfo(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ISBillingUser:
return (void*)soap_instantiate___ns1__ISBillingUser(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurse:
return (void*)soap_instantiate___ns1__GetPurse(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurseByChannel:
return (void*)soap_instantiate___ns1__GetPurseByChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetChannelingCashRemain:
return (void*)soap_instantiate___ns1__GetChannelingCashRemain(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Purchase:
return (void*)soap_instantiate___ns1__Purchase(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PurchaseChannel:
return (void*)soap_instantiate___ns1__PurchaseChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PurchaseExtend:
return (void*)soap_instantiate___ns1__PurchaseExtend(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Purchase_USCOREEx:
return (void*)soap_instantiate___ns1__Purchase_USCOREEx(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling:
return (void*)soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Present:
return (void*)soap_instantiate___ns1__Present(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PresentChannel:
return (void*)soap_instantiate___ns1__PresentChannel(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PresentExtend:
return (void*)soap_instantiate___ns1__PresentExtend(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__CheckUsage:
return (void*)soap_instantiate___ns1__CheckUsage(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetCashReceiptList:
return (void*)soap_instantiate___ns1__GetCashReceiptList(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ChargeForNeopleCoupon:
return (void*)soap_instantiate___ns1__ChargeForNeopleCoupon(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancel:
return (void*)soap_instantiate___ns1__UsageCancel(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancelByUsageSn:
return (void*)soap_instantiate___ns1__UsageCancelByUsageSn(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurchaseAmount:
return (void*)soap_instantiate___ns1__GetPurchaseAmount(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageRollback:
return (void*)soap_instantiate___ns1__UsageRollback(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__RequestEventCharge:
return (void*)soap_instantiate___ns1__RequestEventCharge(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalSendCash:
return (void*)soap_instantiate___ns1__ApprovalSendCash(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UseCoupon:
return (void*)soap_instantiate___ns1__UseCoupon(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetRemainAmount:
return (void*)soap_instantiate___ns1__GetRemainAmount(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurseWithGameCash:
return (void*)soap_instantiate___ns1__GetPurseWithGameCash(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ChargeGameCash:
return (void*)soap_instantiate___ns1__ChargeGameCash(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancelForLunia:
return (void*)soap_instantiate___ns1__UsageCancelForLunia(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalCashChange:
return (void*)soap_instantiate___ns1__ApprovalCashChange(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__SetUserMappingData:
return (void*)soap_instantiate___ns1__SetUserMappingData(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__InitializeSoap_:
return (void*)soap_instantiate___ns1__InitializeSoap_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalInfo_:
return (void*)soap_instantiate___ns1__ApprovalInfo_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalPaidInfo_:
return (void*)soap_instantiate___ns1__ApprovalPaidInfo_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageInfo_:
return (void*)soap_instantiate___ns1__UsageInfo_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__LastUsageInfo_:
return (void*)soap_instantiate___ns1__LastUsageInfo_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ISBillingUser_:
return (void*)soap_instantiate___ns1__ISBillingUser_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurse_:
return (void*)soap_instantiate___ns1__GetPurse_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurseByChannel_:
return (void*)soap_instantiate___ns1__GetPurseByChannel_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetChannelingCashRemain_:
return (void*)soap_instantiate___ns1__GetChannelingCashRemain_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Purchase_:
return (void*)soap_instantiate___ns1__Purchase_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PurchaseChannel_:
return (void*)soap_instantiate___ns1__PurchaseChannel_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PurchaseExtend_:
return (void*)soap_instantiate___ns1__PurchaseExtend_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Purchase_USCOREEx_:
return (void*)soap_instantiate___ns1__Purchase_USCOREEx_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling_:
return (void*)soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__Present_:
return (void*)soap_instantiate___ns1__Present_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PresentChannel_:
return (void*)soap_instantiate___ns1__PresentChannel_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__PresentExtend_:
return (void*)soap_instantiate___ns1__PresentExtend_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__CheckUsage_:
return (void*)soap_instantiate___ns1__CheckUsage_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetCashReceiptList_:
return (void*)soap_instantiate___ns1__GetCashReceiptList_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ChargeForNeopleCoupon_:
return (void*)soap_instantiate___ns1__ChargeForNeopleCoupon_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancel_:
return (void*)soap_instantiate___ns1__UsageCancel_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancelByUsageSn_:
return (void*)soap_instantiate___ns1__UsageCancelByUsageSn_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurchaseAmount_:
return (void*)soap_instantiate___ns1__GetPurchaseAmount_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageRollback_:
return (void*)soap_instantiate___ns1__UsageRollback_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__RequestEventCharge_:
return (void*)soap_instantiate___ns1__RequestEventCharge_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalSendCash_:
return (void*)soap_instantiate___ns1__ApprovalSendCash_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UseCoupon_:
return (void*)soap_instantiate___ns1__UseCoupon_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetRemainAmount_:
return (void*)soap_instantiate___ns1__GetRemainAmount_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__GetPurseWithGameCash_:
return (void*)soap_instantiate___ns1__GetPurseWithGameCash_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ChargeGameCash_:
return (void*)soap_instantiate___ns1__ChargeGameCash_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__UsageCancelForLunia_:
return (void*)soap_instantiate___ns1__UsageCancelForLunia_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__ApprovalCashChange_:
return (void*)soap_instantiate___ns1__ApprovalCashChange_(soap, -1, type, arrayType, n);
case SOAP_TYPE___ns1__SetUserMappingData_:
return (void*)soap_instantiate___ns1__SetUserMappingData_(soap, -1, type, arrayType, n);
#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
case SOAP_TYPE_xsd__decimal:
return (void*)soap_instantiate_xsd__decimal(soap, -1, type, arrayType, n);
case SOAP_TYPE_std__vectorTemplateOf_XML:
return (void*)soap_instantiate_std__vectorTemplateOf_XML(soap, -1, type, arrayType, n);
}
return NULL;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
{ switch (p->type)
{
case SOAP_TYPE_std__string:
if (p->size < 0)
SOAP_DELETE((std::string*)p->ptr);
else
SOAP_DELETE_ARRAY((std::string*)p->ptr);
break;
case SOAP_TYPE_ns1__Header:
if (p->size < 0)
SOAP_DELETE((ns1__Header*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__Header*)p->ptr);
break;
case SOAP_TYPE_ns1__SecurityHeader:
if (p->size < 0)
SOAP_DELETE((ns1__SecurityHeader*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__SecurityHeader*)p->ptr);
break;
case SOAP_TYPE_ns1__ArrayOfAnyType:
if (p->size < 0)
SOAP_DELETE((ns1__ArrayOfAnyType*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__ArrayOfAnyType*)p->ptr);
break;
case SOAP_TYPE_ns1__ResultT:
if (p->size < 0)
SOAP_DELETE((ns1__ResultT*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__ResultT*)p->ptr);
break;
case SOAP_TYPE_ns1__ChargeT:
if (p->size < 0)
SOAP_DELETE((ns1__ChargeT*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__ChargeT*)p->ptr);
break;
case SOAP_TYPE_ns1__UsageT:
if (p->size < 0)
SOAP_DELETE((ns1__UsageT*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__UsageT*)p->ptr);
break;
case SOAP_TYPE_ns1__CouponArgument:
if (p->size < 0)
SOAP_DELETE((ns1__CouponArgument*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__CouponArgument*)p->ptr);
break;
case SOAP_TYPE_ns1__ChangeUserInfo:
if (p->size < 0)
SOAP_DELETE((ns1__ChangeUserInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__ChangeUserInfo*)p->ptr);
break;
case SOAP_TYPE_ns1__OrderInfo:
if (p->size < 0)
SOAP_DELETE((ns1__OrderInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((ns1__OrderInfo*)p->ptr);
break;
case SOAP_TYPE__ns1__InitializeSoap:
if (p->size < 0)
SOAP_DELETE((_ns1__InitializeSoap*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__InitializeSoap*)p->ptr);
break;
case SOAP_TYPE__ns1__InitializeSoapResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__InitializeSoapResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__InitializeSoapResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalInfo:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalInfo*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalInfoResponse_ApprovalInfoResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalInfoResponse_ApprovalInfoResult*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalInfoResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalInfoResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalInfoResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfo:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalPaidInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalPaidInfo*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalPaidInfoResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalPaidInfoResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalPaidInfoResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageInfo:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageInfo*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageInfoResponse_UsageInfoResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageInfoResponse_UsageInfoResult*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageInfoResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageInfoResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageInfoResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__LastUsageInfo:
if (p->size < 0)
SOAP_DELETE((_ns1__LastUsageInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__LastUsageInfo*)p->ptr);
break;
case SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult:
if (p->size < 0)
SOAP_DELETE((_ns1__LastUsageInfoResponse_LastUsageInfoResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__LastUsageInfoResponse_LastUsageInfoResult*)p->ptr);
break;
case SOAP_TYPE__ns1__LastUsageInfoResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__LastUsageInfoResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__LastUsageInfoResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ISBillingUser:
if (p->size < 0)
SOAP_DELETE((_ns1__ISBillingUser*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ISBillingUser*)p->ptr);
break;
case SOAP_TYPE__ns1__ISBillingUserResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ISBillingUserResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ISBillingUserResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurseResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurseResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurseResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurseByChannel:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurseByChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurseByChannel*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurseByChannelResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurseByChannelResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurseByChannelResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetChannelingCashRemain:
if (p->size < 0)
SOAP_DELETE((_ns1__GetChannelingCashRemain*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetChannelingCashRemain*)p->ptr);
break;
case SOAP_TYPE__ns1__GetChannelingCashRemainResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetChannelingCashRemainResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetChannelingCashRemainResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__Purchase:
if (p->size < 0)
SOAP_DELETE((_ns1__Purchase*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__Purchase*)p->ptr);
break;
case SOAP_TYPE__ns1__PurchaseResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PurchaseResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PurchaseResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__PurchaseChannel:
if (p->size < 0)
SOAP_DELETE((_ns1__PurchaseChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PurchaseChannel*)p->ptr);
break;
case SOAP_TYPE__ns1__PurchaseChannelResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PurchaseChannelResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PurchaseChannelResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__PurchaseExtend:
if (p->size < 0)
SOAP_DELETE((_ns1__PurchaseExtend*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PurchaseExtend*)p->ptr);
break;
case SOAP_TYPE__ns1__PurchaseExtendResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PurchaseExtendResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PurchaseExtendResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__Purchase_USCOREEx:
if (p->size < 0)
SOAP_DELETE((_ns1__Purchase_USCOREEx*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__Purchase_USCOREEx*)p->ptr);
break;
case SOAP_TYPE__ns1__Purchase_USCOREExResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__Purchase_USCOREExResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__Purchase_USCOREExResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalCashChange_USCOREChanneling*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalCashChange_USCOREChanneling*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalCashChange_USCOREChannelingResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalCashChange_USCOREChannelingResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__Present:
if (p->size < 0)
SOAP_DELETE((_ns1__Present*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__Present*)p->ptr);
break;
case SOAP_TYPE__ns1__PresentResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PresentResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PresentResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__PresentChannel:
if (p->size < 0)
SOAP_DELETE((_ns1__PresentChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PresentChannel*)p->ptr);
break;
case SOAP_TYPE__ns1__PresentChannelResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PresentChannelResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PresentChannelResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__PresentExtend:
if (p->size < 0)
SOAP_DELETE((_ns1__PresentExtend*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PresentExtend*)p->ptr);
break;
case SOAP_TYPE__ns1__PresentExtendResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__PresentExtendResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__PresentExtendResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__CheckUsage:
if (p->size < 0)
SOAP_DELETE((_ns1__CheckUsage*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__CheckUsage*)p->ptr);
break;
case SOAP_TYPE__ns1__CheckUsageResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__CheckUsageResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__CheckUsageResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetCashReceiptList:
if (p->size < 0)
SOAP_DELETE((_ns1__GetCashReceiptList*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetCashReceiptList*)p->ptr);
break;
case SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult:
if (p->size < 0)
SOAP_DELETE((_ns1__GetCashReceiptListResponse_GetCashReceiptListResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetCashReceiptListResponse_GetCashReceiptListResult*)p->ptr);
break;
case SOAP_TYPE__ns1__GetCashReceiptListResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetCashReceiptListResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetCashReceiptListResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ChargeForNeopleCoupon:
if (p->size < 0)
SOAP_DELETE((_ns1__ChargeForNeopleCoupon*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ChargeForNeopleCoupon*)p->ptr);
break;
case SOAP_TYPE__ns1__ChargeForNeopleCouponResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ChargeForNeopleCouponResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ChargeForNeopleCouponResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancel:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancel*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancel*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancelResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancelResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancelResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancelByUsageSn:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancelByUsageSn*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancelByUsageSn*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancelByUsageSnResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancelByUsageSnResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancelByUsageSnResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurchaseAmount:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurchaseAmount*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurchaseAmount*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurchaseAmountResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurchaseAmountResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurchaseAmountResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageRollback:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageRollback*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageRollback*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageRollbackResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageRollbackResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageRollbackResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__RequestEventCharge:
if (p->size < 0)
SOAP_DELETE((_ns1__RequestEventCharge*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__RequestEventCharge*)p->ptr);
break;
case SOAP_TYPE__ns1__RequestEventChargeResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__RequestEventChargeResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__RequestEventChargeResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalSendCash:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalSendCash*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalSendCash*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalSendCashResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalSendCashResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalSendCashResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UseCoupon:
if (p->size < 0)
SOAP_DELETE((_ns1__UseCoupon*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UseCoupon*)p->ptr);
break;
case SOAP_TYPE__ns1__UseCouponResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UseCouponResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UseCouponResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetRemainAmount:
if (p->size < 0)
SOAP_DELETE((_ns1__GetRemainAmount*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetRemainAmount*)p->ptr);
break;
case SOAP_TYPE__ns1__GetRemainAmountResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetRemainAmountResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetRemainAmountResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurseWithGameCash:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurseWithGameCash*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurseWithGameCash*)p->ptr);
break;
case SOAP_TYPE__ns1__GetPurseWithGameCashResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__GetPurseWithGameCashResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__GetPurseWithGameCashResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ChargeGameCash:
if (p->size < 0)
SOAP_DELETE((_ns1__ChargeGameCash*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ChargeGameCash*)p->ptr);
break;
case SOAP_TYPE__ns1__ChargeGameCashResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ChargeGameCashResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ChargeGameCashResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancelForLunia:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancelForLunia*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancelForLunia*)p->ptr);
break;
case SOAP_TYPE__ns1__UsageCancelForLuniaResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__UsageCancelForLuniaResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__UsageCancelForLuniaResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalCashChange:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalCashChange*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalCashChange*)p->ptr);
break;
case SOAP_TYPE__ns1__ApprovalCashChangeResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__ApprovalCashChangeResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__ApprovalCashChangeResponse*)p->ptr);
break;
case SOAP_TYPE__ns1__SetUserMappingData:
if (p->size < 0)
SOAP_DELETE((_ns1__SetUserMappingData*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__SetUserMappingData*)p->ptr);
break;
case SOAP_TYPE__ns1__SetUserMappingDataResponse:
if (p->size < 0)
SOAP_DELETE((_ns1__SetUserMappingDataResponse*)p->ptr);
else
SOAP_DELETE_ARRAY((_ns1__SetUserMappingDataResponse*)p->ptr);
break;
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Header:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Header*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Header*)p->ptr);
break;
#endif
case SOAP_TYPE___ns1__InitializeSoap:
if (p->size < 0)
SOAP_DELETE((struct __ns1__InitializeSoap*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__InitializeSoap*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalInfo:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalInfo*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalPaidInfo:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalPaidInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalPaidInfo*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageInfo:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageInfo*)p->ptr);
break;
case SOAP_TYPE___ns1__LastUsageInfo:
if (p->size < 0)
SOAP_DELETE((struct __ns1__LastUsageInfo*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__LastUsageInfo*)p->ptr);
break;
case SOAP_TYPE___ns1__ISBillingUser:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ISBillingUser*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ISBillingUser*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurse:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurse*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurse*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurseByChannel:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurseByChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurseByChannel*)p->ptr);
break;
case SOAP_TYPE___ns1__GetChannelingCashRemain:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetChannelingCashRemain*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetChannelingCashRemain*)p->ptr);
break;
case SOAP_TYPE___ns1__Purchase:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Purchase*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Purchase*)p->ptr);
break;
case SOAP_TYPE___ns1__PurchaseChannel:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PurchaseChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PurchaseChannel*)p->ptr);
break;
case SOAP_TYPE___ns1__PurchaseExtend:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PurchaseExtend*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PurchaseExtend*)p->ptr);
break;
case SOAP_TYPE___ns1__Purchase_USCOREEx:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Purchase_USCOREEx*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Purchase_USCOREEx*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalCashChange_USCOREChanneling*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalCashChange_USCOREChanneling*)p->ptr);
break;
case SOAP_TYPE___ns1__Present:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Present*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Present*)p->ptr);
break;
case SOAP_TYPE___ns1__PresentChannel:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PresentChannel*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PresentChannel*)p->ptr);
break;
case SOAP_TYPE___ns1__PresentExtend:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PresentExtend*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PresentExtend*)p->ptr);
break;
case SOAP_TYPE___ns1__CheckUsage:
if (p->size < 0)
SOAP_DELETE((struct __ns1__CheckUsage*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__CheckUsage*)p->ptr);
break;
case SOAP_TYPE___ns1__GetCashReceiptList:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetCashReceiptList*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetCashReceiptList*)p->ptr);
break;
case SOAP_TYPE___ns1__ChargeForNeopleCoupon:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ChargeForNeopleCoupon*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ChargeForNeopleCoupon*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancel:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancel*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancel*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancelByUsageSn:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancelByUsageSn*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancelByUsageSn*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurchaseAmount:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurchaseAmount*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurchaseAmount*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageRollback:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageRollback*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageRollback*)p->ptr);
break;
case SOAP_TYPE___ns1__RequestEventCharge:
if (p->size < 0)
SOAP_DELETE((struct __ns1__RequestEventCharge*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__RequestEventCharge*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalSendCash:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalSendCash*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalSendCash*)p->ptr);
break;
case SOAP_TYPE___ns1__UseCoupon:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UseCoupon*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UseCoupon*)p->ptr);
break;
case SOAP_TYPE___ns1__GetRemainAmount:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetRemainAmount*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetRemainAmount*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurseWithGameCash:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurseWithGameCash*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurseWithGameCash*)p->ptr);
break;
case SOAP_TYPE___ns1__ChargeGameCash:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ChargeGameCash*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ChargeGameCash*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancelForLunia:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancelForLunia*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancelForLunia*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalCashChange*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalCashChange*)p->ptr);
break;
case SOAP_TYPE___ns1__SetUserMappingData:
if (p->size < 0)
SOAP_DELETE((struct __ns1__SetUserMappingData*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__SetUserMappingData*)p->ptr);
break;
case SOAP_TYPE___ns1__InitializeSoap_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__InitializeSoap_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__InitializeSoap_*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalInfo_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalInfo_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalInfo_*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalPaidInfo_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalPaidInfo_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalPaidInfo_*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageInfo_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageInfo_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageInfo_*)p->ptr);
break;
case SOAP_TYPE___ns1__LastUsageInfo_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__LastUsageInfo_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__LastUsageInfo_*)p->ptr);
break;
case SOAP_TYPE___ns1__ISBillingUser_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ISBillingUser_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ISBillingUser_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurse_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurse_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurse_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurseByChannel_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurseByChannel_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurseByChannel_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetChannelingCashRemain_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetChannelingCashRemain_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetChannelingCashRemain_*)p->ptr);
break;
case SOAP_TYPE___ns1__Purchase_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Purchase_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Purchase_*)p->ptr);
break;
case SOAP_TYPE___ns1__PurchaseChannel_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PurchaseChannel_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PurchaseChannel_*)p->ptr);
break;
case SOAP_TYPE___ns1__PurchaseExtend_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PurchaseExtend_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PurchaseExtend_*)p->ptr);
break;
case SOAP_TYPE___ns1__Purchase_USCOREEx_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Purchase_USCOREEx_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Purchase_USCOREEx_*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalCashChange_USCOREChanneling_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalCashChange_USCOREChanneling_*)p->ptr);
break;
case SOAP_TYPE___ns1__Present_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__Present_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__Present_*)p->ptr);
break;
case SOAP_TYPE___ns1__PresentChannel_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PresentChannel_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PresentChannel_*)p->ptr);
break;
case SOAP_TYPE___ns1__PresentExtend_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__PresentExtend_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__PresentExtend_*)p->ptr);
break;
case SOAP_TYPE___ns1__CheckUsage_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__CheckUsage_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__CheckUsage_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetCashReceiptList_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetCashReceiptList_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetCashReceiptList_*)p->ptr);
break;
case SOAP_TYPE___ns1__ChargeForNeopleCoupon_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ChargeForNeopleCoupon_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ChargeForNeopleCoupon_*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancel_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancel_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancel_*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancelByUsageSn_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancelByUsageSn_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancelByUsageSn_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurchaseAmount_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurchaseAmount_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurchaseAmount_*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageRollback_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageRollback_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageRollback_*)p->ptr);
break;
case SOAP_TYPE___ns1__RequestEventCharge_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__RequestEventCharge_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__RequestEventCharge_*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalSendCash_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalSendCash_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalSendCash_*)p->ptr);
break;
case SOAP_TYPE___ns1__UseCoupon_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UseCoupon_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UseCoupon_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetRemainAmount_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetRemainAmount_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetRemainAmount_*)p->ptr);
break;
case SOAP_TYPE___ns1__GetPurseWithGameCash_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__GetPurseWithGameCash_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__GetPurseWithGameCash_*)p->ptr);
break;
case SOAP_TYPE___ns1__ChargeGameCash_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ChargeGameCash_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ChargeGameCash_*)p->ptr);
break;
case SOAP_TYPE___ns1__UsageCancelForLunia_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__UsageCancelForLunia_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__UsageCancelForLunia_*)p->ptr);
break;
case SOAP_TYPE___ns1__ApprovalCashChange_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__ApprovalCashChange_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__ApprovalCashChange_*)p->ptr);
break;
case SOAP_TYPE___ns1__SetUserMappingData_:
if (p->size < 0)
SOAP_DELETE((struct __ns1__SetUserMappingData_*)p->ptr);
else
SOAP_DELETE_ARRAY((struct __ns1__SetUserMappingData_*)p->ptr);
break;
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Code:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Code*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Code*)p->ptr);
break;
#endif
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Detail:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Detail*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Detail*)p->ptr);
break;
#endif
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Reason:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Reason*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Reason*)p->ptr);
break;
#endif
#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Fault:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Fault*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault*)p->ptr);
break;
#endif
case SOAP_TYPE_xsd__decimal:
if (p->size < 0)
SOAP_DELETE((std::string*)p->ptr);
else
SOAP_DELETE_ARRAY((std::string*)p->ptr);
break;
case SOAP_TYPE_std__vectorTemplateOf_XML:
if (p->size < 0)
SOAP_DELETE((std::vector<char * >*)p->ptr);
else
SOAP_DELETE_ARRAY((std::vector<char * >*)p->ptr);
break;
default: return SOAP_ERR;
}
return SOAP_OK;
}
SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, const char *type, const char *arrayType)
{ return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, soap_instantiate);
}
SOAP_FMAC3 void* SOAP_FMAC4 soap_container_id_forward(struct soap *soap, const char *href, void *p, size_t len, int st, int tt, size_t n, unsigned int k)
{ return soap_id_forward(soap, href, p, len, st, tt, n, k, soap_container_insert);
}
SOAP_FMAC3 void SOAP_FMAC4 soap_container_insert(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
#ifdef WIN32
#pragma warning(push)
#pragma warning(disable:4065)
#endif
{
(void)soap; (void)st; (void)p; (void)len; (void)q; (void)n; /* appease -Wall -Werror */
switch (tt)
{
case SOAP_TYPE_std__vectorTemplateOf_XML:
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Container soap_container_insert type=%d in %d location=%p object=%p len=%lu\n", st, tt, p, q, (unsigned long)len));
(*(std::vector<char * >*)p)[len] = *(char **)q;
break;
default:
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Could not insert type=%d in %d\n", st, tt));
}
#ifdef WIN32
#pragma warning(pop)
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_byte
*a = SOAP_DEFAULT_byte;
#else
*a = (char)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
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)
{ char *p;
p = soap_inbyte(soap, tag, a, type, SOAP_TYPE_byte);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_byte);
if (soap_out_byte(soap, tag?tag:"byte", id, 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 void SOAP_FMAC4 soap_default_short(struct soap *soap, short *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_short
*a = SOAP_DEFAULT_short;
#else
*a = (short)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_short(struct soap *soap, const char *tag, int id, const short *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
return soap_outshort(soap, tag, id, a, type, SOAP_TYPE_short);
}
SOAP_FMAC3 short * SOAP_FMAC4 soap_in_short(struct soap *soap, const char *tag, short *a, const char *type)
{ short *p;
p = soap_inshort(soap, tag, a, type, SOAP_TYPE_short);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_short(struct soap *soap, const short *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_short);
if (soap_out_short(soap, tag?tag:"short", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 short * SOAP_FMAC4 soap_get_short(struct soap *soap, short *p, const char *tag, const char *type)
{
if ((p = soap_in_short(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_int
*a = SOAP_DEFAULT_int;
#else
*a = (int)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
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)
{ int *p;
p = soap_inint(soap, tag, a, type, SOAP_TYPE_int);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_int);
if (soap_out_int(soap, tag?tag:"int", id, 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;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__unsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_xsd__unsignedByte);
}
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_xsd__unsignedByte(struct soap *soap, const char *tag, unsigned char *a, const char *type)
{ unsigned char *p;
p = soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_xsd__unsignedByte);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__unsignedByte(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__unsignedByte);
if (soap_out_xsd__unsignedByte(soap, tag?tag:"xsd:unsignedByte", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_xsd__unsignedByte(struct soap *soap, unsigned char *p, const char *tag, const char *type)
{
if ((p = soap_in_xsd__unsignedByte(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedByte(struct soap *soap, unsigned char *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_unsignedByte
*a = SOAP_DEFAULT_unsignedByte;
#else
*a = (unsigned char)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap *soap, const char *tag, int id, const unsigned char *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
return soap_outunsignedByte(soap, tag, id, a, type, SOAP_TYPE_unsignedByte);
}
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap *soap, const char *tag, unsigned char *a, const char *type)
{ unsigned char *p;
p = soap_inunsignedByte(soap, tag, a, type, SOAP_TYPE_unsignedByte);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap *soap, const unsigned char *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedByte);
if (soap_out_unsignedByte(soap, tag?tag:"unsignedByte", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap *soap, unsigned char *p, const char *tag, const char *type)
{
if ((p = soap_in_unsignedByte(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_unsignedInt(struct soap *soap, unsigned int *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_unsignedInt
*a = SOAP_DEFAULT_unsignedInt;
#else
*a = (unsigned int)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap *soap, const char *tag, int id, const unsigned int *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
return soap_outunsignedInt(soap, tag, id, a, type, SOAP_TYPE_unsignedInt);
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap *soap, const char *tag, unsigned int *a, const char *type)
{ unsigned int *p;
p = soap_inunsignedInt(soap, tag, a, type, SOAP_TYPE_unsignedInt);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap *soap, const unsigned int *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedInt);
if (soap_out_unsignedInt(soap, tag?tag:"unsignedInt", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap *soap, unsigned int *p, const char *tag, const char *type)
{
if ((p = soap_in_unsignedInt(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_time(struct soap *soap, time_t *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_time
*a = SOAP_DEFAULT_time;
#else
*a = (time_t)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_time(struct soap *soap, const char *tag, int id, const time_t *a, const char *type)
{ (void)soap; (void)type; (void)tag; (void)id;
return soap_outdateTime(soap, tag, id, a, type, SOAP_TYPE_time);
}
SOAP_FMAC3 time_t * SOAP_FMAC4 soap_in_time(struct soap *soap, const char *tag, time_t *a, const char *type)
{ time_t *p;
p = soap_indateTime(soap, tag, a, type, SOAP_TYPE_time);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_time(struct soap *soap, const time_t *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_time);
if (soap_out_time(soap, tag?tag:"dateTime", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 time_t * SOAP_FMAC4 soap_get_time(struct soap *soap, time_t *p, const char *tag, const char *type)
{
if ((p = soap_in_time(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_bool(struct soap *soap, bool *a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_bool
*a = SOAP_DEFAULT_bool;
#else
*a = (bool)0;
#endif
}
static const struct soap_code_map soap_codes_bool[] =
{ { (long)false, "false" },
{ (long)true, "true" },
{ 0, NULL }
};
SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap *soap, bool n)
{
(void)soap; /* appease -Wall -Werror */
return soap_code_str(soap_codes_bool, n!=0);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap *soap, const char *tag, int id, const bool *a, const char *type)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_bool), type) || soap_send(soap, soap_bool2s(soap, *a)))
return soap->error;
return soap_element_end_out(soap, tag);
}
SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap *soap, const char *s, bool *a)
{
const struct soap_code_map *map;
if (!s)
return soap->error;
map = soap_code(soap_codes_bool, s);
if (map)
*a = (bool)(map->code != 0);
else
{ long n;
if (soap_s2long(soap, s, &n) || n < 0 || n > 1)
return soap->error = SOAP_TYPE;
*a = (bool)(n != 0);
}
return SOAP_OK;
}
SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap *soap, const char *tag, bool *a, const char *type)
{
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":boolean"))
{ soap->error = SOAP_TYPE;
return NULL;
}
a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_bool, sizeof(bool), 0, NULL, NULL, NULL);
if (!a)
return NULL;
if (soap->body && !*soap->href)
{ if (!a || soap_s2bool(soap, soap_value(soap), a) || soap_element_end_in(soap, tag))
return NULL;
}
else
{ a = (bool *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_bool, 0, sizeof(bool), 0, NULL);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap *soap, const bool *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_bool);
if (soap_out_bool(soap, tag?tag:"boolean", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap *soap, bool *p, const char *tag, const char *type)
{
if ((p = soap_in_bool(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
void _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::xsd__schema);
this->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::__any = NULL;
}
void _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::xsd__schema);
#endif
}
int _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, const char *tag, int id, const _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult), type))
return soap->error;
if (a->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult * SOAP_FMAC4 soap_in__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, const char *tag, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult, sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::__any)))
{ soap_flag___any1--;
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__GetPurchaseAmountResponse_GetPurchaseAmountResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult, 0, sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult), 0, soap_copy__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
if (this->soap_out(soap, tag?tag:"ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult * SOAP_FMAC4 soap_get__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult * SOAP_FMAC2 soap_instantiate__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
if (size)
*size = sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult, n);
if (size)
*size = n * sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult %p -> %p\n", q, p));
*(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult*)p = *(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult*)q;
}
void _ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::xsd__schema);
this->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::__any = NULL;
}
void _ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::xsd__schema);
#endif
}
int _ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, const char *tag, int id, const _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult), type))
return soap->error;
if (a->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse_GetCashReceiptListResult * SOAP_FMAC4 soap_in__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, const char *tag, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult, sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::__any)))
{ soap_flag___any1--;
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__GetCashReceiptListResponse_GetCashReceiptListResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult, 0, sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult), 0, soap_copy__ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
if (this->soap_out(soap, tag?tag:"ns1:GetCashReceiptListResponse-GetCashReceiptListResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetCashReceiptListResponse_GetCashReceiptListResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse_GetCashReceiptListResult * SOAP_FMAC4 soap_get__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetCashReceiptListResponse_GetCashReceiptListResult * SOAP_FMAC2 soap_instantiate__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
if (size)
*size = sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult, n);
if (size)
*size = n * sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetCashReceiptListResponse_GetCashReceiptListResult %p -> %p\n", q, p));
*(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult*)p = *(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult*)q;
}
void _ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__LastUsageInfoResponse_LastUsageInfoResult::xsd__schema);
this->_ns1__LastUsageInfoResponse_LastUsageInfoResult::__any = NULL;
}
void _ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__LastUsageInfoResponse_LastUsageInfoResult::xsd__schema);
#endif
}
int _ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, const char *tag, int id, const _ns1__LastUsageInfoResponse_LastUsageInfoResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult), type))
return soap->error;
if (a->_ns1__LastUsageInfoResponse_LastUsageInfoResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__LastUsageInfoResponse_LastUsageInfoResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__LastUsageInfoResponse_LastUsageInfoResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse_LastUsageInfoResult * SOAP_FMAC4 soap_in__ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, const char *tag, _ns1__LastUsageInfoResponse_LastUsageInfoResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__LastUsageInfoResponse_LastUsageInfoResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult, sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__LastUsageInfoResponse_LastUsageInfoResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__LastUsageInfoResponse_LastUsageInfoResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__LastUsageInfoResponse_LastUsageInfoResult::__any)))
{ soap_flag___any1--;
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__LastUsageInfoResponse_LastUsageInfoResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult, 0, sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult), 0, soap_copy__ns1__LastUsageInfoResponse_LastUsageInfoResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult);
if (this->soap_out(soap, tag?tag:"ns1:LastUsageInfoResponse-LastUsageInfoResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__LastUsageInfoResponse_LastUsageInfoResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse_LastUsageInfoResult * SOAP_FMAC4 soap_get__ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, _ns1__LastUsageInfoResponse_LastUsageInfoResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__LastUsageInfoResponse_LastUsageInfoResult * SOAP_FMAC2 soap_instantiate__ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__LastUsageInfoResponse_LastUsageInfoResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__LastUsageInfoResponse_LastUsageInfoResult);
if (size)
*size = sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__LastUsageInfoResponse_LastUsageInfoResult, n);
if (size)
*size = n * sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__LastUsageInfoResponse_LastUsageInfoResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__LastUsageInfoResponse_LastUsageInfoResult %p -> %p\n", q, p));
*(_ns1__LastUsageInfoResponse_LastUsageInfoResult*)p = *(_ns1__LastUsageInfoResponse_LastUsageInfoResult*)q;
}
void _ns1__UsageInfoResponse_UsageInfoResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__UsageInfoResponse_UsageInfoResult::xsd__schema);
this->_ns1__UsageInfoResponse_UsageInfoResult::__any = NULL;
}
void _ns1__UsageInfoResponse_UsageInfoResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__UsageInfoResponse_UsageInfoResult::xsd__schema);
#endif
}
int _ns1__UsageInfoResponse_UsageInfoResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageInfoResponse_UsageInfoResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, const char *tag, int id, const _ns1__UsageInfoResponse_UsageInfoResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult), type))
return soap->error;
if (a->_ns1__UsageInfoResponse_UsageInfoResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__UsageInfoResponse_UsageInfoResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__UsageInfoResponse_UsageInfoResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageInfoResponse_UsageInfoResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageInfoResponse_UsageInfoResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse_UsageInfoResult * SOAP_FMAC4 soap_in__ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, const char *tag, _ns1__UsageInfoResponse_UsageInfoResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageInfoResponse_UsageInfoResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult, sizeof(_ns1__UsageInfoResponse_UsageInfoResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageInfoResponse_UsageInfoResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__UsageInfoResponse_UsageInfoResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__UsageInfoResponse_UsageInfoResult::__any)))
{ soap_flag___any1--;
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__UsageInfoResponse_UsageInfoResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult, 0, sizeof(_ns1__UsageInfoResponse_UsageInfoResult), 0, soap_copy__ns1__UsageInfoResponse_UsageInfoResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageInfoResponse_UsageInfoResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult);
if (this->soap_out(soap, tag?tag:"ns1:UsageInfoResponse-UsageInfoResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageInfoResponse_UsageInfoResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageInfoResponse_UsageInfoResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse_UsageInfoResult * SOAP_FMAC4 soap_get__ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, _ns1__UsageInfoResponse_UsageInfoResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageInfoResponse_UsageInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageInfoResponse_UsageInfoResult * SOAP_FMAC2 soap_instantiate__ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageInfoResponse_UsageInfoResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageInfoResponse_UsageInfoResult);
if (size)
*size = sizeof(_ns1__UsageInfoResponse_UsageInfoResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageInfoResponse_UsageInfoResult, n);
if (size)
*size = n * sizeof(_ns1__UsageInfoResponse_UsageInfoResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageInfoResponse_UsageInfoResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageInfoResponse_UsageInfoResult %p -> %p\n", q, p));
*(_ns1__UsageInfoResponse_UsageInfoResult*)p = *(_ns1__UsageInfoResponse_UsageInfoResult*)q;
}
void _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::xsd__schema);
this->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::__any = NULL;
}
void _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::xsd__schema);
#endif
}
int _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, const char *tag, int id, const _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult), type))
return soap->error;
if (a->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult * SOAP_FMAC4 soap_in__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult, sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::__any)))
{ soap_flag___any1--;
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__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult, 0, sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult), 0, soap_copy__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult * SOAP_FMAC4 soap_get__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult * SOAP_FMAC2 soap_instantiate__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
if (size)
*size = sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult, n);
if (size)
*size = n * sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult %p -> %p\n", q, p));
*(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult*)p = *(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult*)q;
}
void _ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_default(struct soap *soap)
{
(void)soap; /* appease -Wall -Werror */
soap_default__xsd__schema(soap, &this->_ns1__ApprovalInfoResponse_ApprovalInfoResult::xsd__schema);
this->_ns1__ApprovalInfoResponse_ApprovalInfoResult::__any = NULL;
}
void _ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize__xsd__schema(soap, &this->_ns1__ApprovalInfoResponse_ApprovalInfoResult::xsd__schema);
#endif
}
int _ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, const char *tag, int id, const _ns1__ApprovalInfoResponse_ApprovalInfoResult *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult), type))
return soap->error;
if (a->_ns1__ApprovalInfoResponse_ApprovalInfoResult::xsd__schema)
{ if (soap_out__xsd__schema(soap, "xsd:schema", -1, &a->_ns1__ApprovalInfoResponse_ApprovalInfoResult::xsd__schema, ""))
return soap->error;
}
else if (soap_element_nil(soap, "xsd:schema"))
return soap->error;
soap_outliteral(soap, "-any", &(a->_ns1__ApprovalInfoResponse_ApprovalInfoResult::__any), NULL);
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse_ApprovalInfoResult * SOAP_FMAC4 soap_in__ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, const char *tag, _ns1__ApprovalInfoResponse_ApprovalInfoResult *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalInfoResponse_ApprovalInfoResult *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult, sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalInfoResponse_ApprovalInfoResult *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_xsd__schema1 = 1;
size_t soap_flag___any1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_xsd__schema1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in__xsd__schema(soap, "xsd:schema", &(a->_ns1__ApprovalInfoResponse_ApprovalInfoResult::xsd__schema), ""))
{ soap_flag_xsd__schema1--;
continue;
}
if (soap_flag___any1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_inliteral(soap, "-any", &(a->_ns1__ApprovalInfoResponse_ApprovalInfoResult::__any)))
{ soap_flag___any1--;
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__ApprovalInfoResponse_ApprovalInfoResult *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult, 0, sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult), 0, soap_copy__ns1__ApprovalInfoResponse_ApprovalInfoResult);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_xsd__schema1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalInfoResponse-ApprovalInfoResult", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalInfoResponse_ApprovalInfoResult::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse_ApprovalInfoResult * SOAP_FMAC4 soap_get__ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, _ns1__ApprovalInfoResponse_ApprovalInfoResult *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalInfoResponse_ApprovalInfoResult * SOAP_FMAC2 soap_instantiate__ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalInfoResponse_ApprovalInfoResult(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalInfoResponse_ApprovalInfoResult);
if (size)
*size = sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalInfoResponse_ApprovalInfoResult, n);
if (size)
*size = n * sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalInfoResponse_ApprovalInfoResult*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalInfoResponse_ApprovalInfoResult %p -> %p\n", q, p));
*(_ns1__ApprovalInfoResponse_ApprovalInfoResult*)p = *(_ns1__ApprovalInfoResponse_ApprovalInfoResult*)q;
}
void _ns1__SetUserMappingDataResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__SetUserMappingDataResponse::SetUserMappingDataResult);
/* transient soap skipped */
}
void _ns1__SetUserMappingDataResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__SetUserMappingDataResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__SetUserMappingDataResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SetUserMappingDataResponse(struct soap *soap, const char *tag, int id, const _ns1__SetUserMappingDataResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SetUserMappingDataResponse), type))
return soap->error;
soap_element_result(soap, "ns1:SetUserMappingDataResult");
if (soap_out_int(soap, "ns1:SetUserMappingDataResult", -1, &(a->_ns1__SetUserMappingDataResponse::SetUserMappingDataResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__SetUserMappingDataResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__SetUserMappingDataResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__SetUserMappingDataResponse * SOAP_FMAC4 soap_in__ns1__SetUserMappingDataResponse(struct soap *soap, const char *tag, _ns1__SetUserMappingDataResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__SetUserMappingDataResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SetUserMappingDataResponse, sizeof(_ns1__SetUserMappingDataResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__SetUserMappingDataResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__SetUserMappingDataResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_SetUserMappingDataResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_SetUserMappingDataResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:SetUserMappingDataResult", &(a->_ns1__SetUserMappingDataResponse::SetUserMappingDataResult), "xsd:int"))
{ soap_flag_SetUserMappingDataResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:SetUserMappingDataResult");
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__SetUserMappingDataResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SetUserMappingDataResponse, 0, sizeof(_ns1__SetUserMappingDataResponse), 0, soap_copy__ns1__SetUserMappingDataResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_SetUserMappingDataResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__SetUserMappingDataResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__SetUserMappingDataResponse);
if (this->soap_out(soap, tag?tag:"ns1:SetUserMappingDataResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__SetUserMappingDataResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__SetUserMappingDataResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__SetUserMappingDataResponse * SOAP_FMAC4 soap_get__ns1__SetUserMappingDataResponse(struct soap *soap, _ns1__SetUserMappingDataResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__SetUserMappingDataResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__SetUserMappingDataResponse * SOAP_FMAC2 soap_instantiate__ns1__SetUserMappingDataResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SetUserMappingDataResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__SetUserMappingDataResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__SetUserMappingDataResponse);
if (size)
*size = sizeof(_ns1__SetUserMappingDataResponse);
((_ns1__SetUserMappingDataResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__SetUserMappingDataResponse, n);
if (size)
*size = n * sizeof(_ns1__SetUserMappingDataResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__SetUserMappingDataResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__SetUserMappingDataResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__SetUserMappingDataResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__SetUserMappingDataResponse %p -> %p\n", q, p));
*(_ns1__SetUserMappingDataResponse*)p = *(_ns1__SetUserMappingDataResponse*)q;
}
void _ns1__SetUserMappingData::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__SetUserMappingData::nexonSn);
this->_ns1__SetUserMappingData::id = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__SetUserMappingData::reason);
this->_ns1__SetUserMappingData::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__SetUserMappingData::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__SetUserMappingData::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__SetUserMappingData::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__SetUserMappingData::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__SetUserMappingData(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__SetUserMappingData(struct soap *soap, const char *tag, int id, const _ns1__SetUserMappingData *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__SetUserMappingData), type))
return soap->error;
if (soap_out_int(soap, "ns1:nexonSn", -1, &(a->_ns1__SetUserMappingData::nexonSn), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__SetUserMappingData::id), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__SetUserMappingData::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__SetUserMappingData::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__SetUserMappingData::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__SetUserMappingData(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__SetUserMappingData * SOAP_FMAC4 soap_in__ns1__SetUserMappingData(struct soap *soap, const char *tag, _ns1__SetUserMappingData *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__SetUserMappingData *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__SetUserMappingData, sizeof(_ns1__SetUserMappingData), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__SetUserMappingData)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__SetUserMappingData *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonSn1 = 1;
size_t soap_flag_id1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonSn1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:nexonSn", &(a->_ns1__SetUserMappingData::nexonSn), "xsd:int"))
{ soap_flag_nexonSn1--;
continue;
}
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__SetUserMappingData::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__SetUserMappingData::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__SetUserMappingData::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__SetUserMappingData *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__SetUserMappingData, 0, sizeof(_ns1__SetUserMappingData), 0, soap_copy__ns1__SetUserMappingData);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_nexonSn1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__SetUserMappingData::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__SetUserMappingData);
if (this->soap_out(soap, tag?tag:"ns1:SetUserMappingData", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__SetUserMappingData::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__SetUserMappingData(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__SetUserMappingData * SOAP_FMAC4 soap_get__ns1__SetUserMappingData(struct soap *soap, _ns1__SetUserMappingData *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__SetUserMappingData(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__SetUserMappingData * SOAP_FMAC2 soap_instantiate__ns1__SetUserMappingData(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__SetUserMappingData(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__SetUserMappingData, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__SetUserMappingData);
if (size)
*size = sizeof(_ns1__SetUserMappingData);
((_ns1__SetUserMappingData*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__SetUserMappingData, n);
if (size)
*size = n * sizeof(_ns1__SetUserMappingData);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__SetUserMappingData*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__SetUserMappingData*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__SetUserMappingData(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__SetUserMappingData %p -> %p\n", q, p));
*(_ns1__SetUserMappingData*)p = *(_ns1__SetUserMappingData*)q;
}
void _ns1__ApprovalCashChangeResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__ApprovalCashChangeResponse::ApprovalCashChangeResult);
soap_default_int(soap, &this->_ns1__ApprovalCashChangeResponse::returnCode);
/* transient soap skipped */
}
void _ns1__ApprovalCashChangeResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__ApprovalCashChangeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalCashChangeResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalCashChangeResponse(struct soap *soap, const char *tag, int id, const _ns1__ApprovalCashChangeResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalCashChangeResponse), type))
return soap->error;
soap_element_result(soap, "ns1:ApprovalCashChangeResult");
if (soap_out_bool(soap, "ns1:ApprovalCashChangeResult", -1, &(a->_ns1__ApprovalCashChangeResponse::ApprovalCashChangeResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:returnCode", -1, &(a->_ns1__ApprovalCashChangeResponse::returnCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalCashChangeResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalCashChangeResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChangeResponse * SOAP_FMAC4 soap_in__ns1__ApprovalCashChangeResponse(struct soap *soap, const char *tag, _ns1__ApprovalCashChangeResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalCashChangeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalCashChangeResponse, sizeof(_ns1__ApprovalCashChangeResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalCashChangeResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalCashChangeResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ApprovalCashChangeResult1 = 1;
size_t soap_flag_returnCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ApprovalCashChangeResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:ApprovalCashChangeResult", &(a->_ns1__ApprovalCashChangeResponse::ApprovalCashChangeResult), "xsd:boolean"))
{ soap_flag_ApprovalCashChangeResult1--;
continue;
}
if (soap_flag_returnCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:returnCode", &(a->_ns1__ApprovalCashChangeResponse::returnCode), "xsd:int"))
{ soap_flag_returnCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ApprovalCashChangeResult");
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__ApprovalCashChangeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalCashChangeResponse, 0, sizeof(_ns1__ApprovalCashChangeResponse), 0, soap_copy__ns1__ApprovalCashChangeResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ApprovalCashChangeResult1 > 0 || soap_flag_returnCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalCashChangeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalCashChangeResponse);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalCashChangeResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalCashChangeResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalCashChangeResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChangeResponse * SOAP_FMAC4 soap_get__ns1__ApprovalCashChangeResponse(struct soap *soap, _ns1__ApprovalCashChangeResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalCashChangeResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalCashChangeResponse * SOAP_FMAC2 soap_instantiate__ns1__ApprovalCashChangeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalCashChangeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalCashChangeResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalCashChangeResponse);
if (size)
*size = sizeof(_ns1__ApprovalCashChangeResponse);
((_ns1__ApprovalCashChangeResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalCashChangeResponse, n);
if (size)
*size = n * sizeof(_ns1__ApprovalCashChangeResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalCashChangeResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalCashChangeResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalCashChangeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalCashChangeResponse %p -> %p\n", q, p));
*(_ns1__ApprovalCashChangeResponse*)p = *(_ns1__ApprovalCashChangeResponse*)q;
}
void _ns1__ApprovalCashChange::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__ApprovalCashChange::serviceCode);
this->_ns1__ApprovalCashChange::user = NULL;
this->_ns1__ApprovalCashChange::order = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalCashChange::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ChangeUserInfo(soap, &this->_ns1__ApprovalCashChange::user);
soap_serialize_PointerTons1__OrderInfo(soap, &this->_ns1__ApprovalCashChange::order);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalCashChange::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalCashChange(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalCashChange(struct soap *soap, const char *tag, int id, const _ns1__ApprovalCashChange *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalCashChange), type))
return soap->error;
if (soap_out_int(soap, "ns1:serviceCode", -1, &(a->_ns1__ApprovalCashChange::serviceCode), ""))
return soap->error;
if (soap_out_PointerTons1__ChangeUserInfo(soap, "ns1:user", -1, &(a->_ns1__ApprovalCashChange::user), ""))
return soap->error;
if (soap_out_PointerTons1__OrderInfo(soap, "ns1:order", -1, &(a->_ns1__ApprovalCashChange::order), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalCashChange::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalCashChange(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange * SOAP_FMAC4 soap_in__ns1__ApprovalCashChange(struct soap *soap, const char *tag, _ns1__ApprovalCashChange *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalCashChange *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalCashChange, sizeof(_ns1__ApprovalCashChange), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalCashChange)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalCashChange *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_serviceCode1 = 1;
size_t soap_flag_user1 = 1;
size_t soap_flag_order1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_serviceCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:serviceCode", &(a->_ns1__ApprovalCashChange::serviceCode), "xsd:int"))
{ soap_flag_serviceCode1--;
continue;
}
if (soap_flag_user1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ChangeUserInfo(soap, "ns1:user", &(a->_ns1__ApprovalCashChange::user), "ns1:ChangeUserInfo"))
{ soap_flag_user1--;
continue;
}
if (soap_flag_order1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__OrderInfo(soap, "ns1:order", &(a->_ns1__ApprovalCashChange::order), "ns1:OrderInfo"))
{ soap_flag_order1--;
continue;
}
/* transient soap skipped */
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__ApprovalCashChange *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalCashChange, 0, sizeof(_ns1__ApprovalCashChange), 0, soap_copy__ns1__ApprovalCashChange);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_serviceCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalCashChange::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalCashChange);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalCashChange", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalCashChange::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalCashChange(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange * SOAP_FMAC4 soap_get__ns1__ApprovalCashChange(struct soap *soap, _ns1__ApprovalCashChange *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalCashChange(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalCashChange * SOAP_FMAC2 soap_instantiate__ns1__ApprovalCashChange(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalCashChange(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalCashChange, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalCashChange);
if (size)
*size = sizeof(_ns1__ApprovalCashChange);
((_ns1__ApprovalCashChange*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalCashChange, n);
if (size)
*size = n * sizeof(_ns1__ApprovalCashChange);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalCashChange*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalCashChange*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalCashChange(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalCashChange %p -> %p\n", q, p));
*(_ns1__ApprovalCashChange*)p = *(_ns1__ApprovalCashChange*)q;
}
void _ns1__UsageCancelForLuniaResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__UsageCancelForLuniaResponse::UsageCancelForLuniaResult);
/* transient soap skipped */
}
void _ns1__UsageCancelForLuniaResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__UsageCancelForLuniaResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancelForLuniaResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancelForLuniaResponse(struct soap *soap, const char *tag, int id, const _ns1__UsageCancelForLuniaResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancelForLuniaResponse), type))
return soap->error;
soap_element_result(soap, "ns1:UsageCancelForLuniaResult");
if (soap_out_int(soap, "ns1:UsageCancelForLuniaResult", -1, &(a->_ns1__UsageCancelForLuniaResponse::UsageCancelForLuniaResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancelForLuniaResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancelForLuniaResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLuniaResponse * SOAP_FMAC4 soap_in__ns1__UsageCancelForLuniaResponse(struct soap *soap, const char *tag, _ns1__UsageCancelForLuniaResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancelForLuniaResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancelForLuniaResponse, sizeof(_ns1__UsageCancelForLuniaResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancelForLuniaResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancelForLuniaResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UsageCancelForLuniaResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UsageCancelForLuniaResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:UsageCancelForLuniaResult", &(a->_ns1__UsageCancelForLuniaResponse::UsageCancelForLuniaResult), "xsd:int"))
{ soap_flag_UsageCancelForLuniaResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UsageCancelForLuniaResult");
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__UsageCancelForLuniaResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancelForLuniaResponse, 0, sizeof(_ns1__UsageCancelForLuniaResponse), 0, soap_copy__ns1__UsageCancelForLuniaResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_UsageCancelForLuniaResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancelForLuniaResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancelForLuniaResponse);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancelForLuniaResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancelForLuniaResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancelForLuniaResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLuniaResponse * SOAP_FMAC4 soap_get__ns1__UsageCancelForLuniaResponse(struct soap *soap, _ns1__UsageCancelForLuniaResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancelForLuniaResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancelForLuniaResponse * SOAP_FMAC2 soap_instantiate__ns1__UsageCancelForLuniaResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancelForLuniaResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancelForLuniaResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancelForLuniaResponse);
if (size)
*size = sizeof(_ns1__UsageCancelForLuniaResponse);
((_ns1__UsageCancelForLuniaResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancelForLuniaResponse, n);
if (size)
*size = n * sizeof(_ns1__UsageCancelForLuniaResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancelForLuniaResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancelForLuniaResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancelForLuniaResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancelForLuniaResponse %p -> %p\n", q, p));
*(_ns1__UsageCancelForLuniaResponse*)p = *(_ns1__UsageCancelForLuniaResponse*)q;
}
void _ns1__UsageCancelForLunia::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageCancelForLunia::nexonID = NULL;
this->_ns1__UsageCancelForLunia::transactionID = NULL;
soap_default_int(soap, &this->_ns1__UsageCancelForLunia::refundAmount);
/* transient soap skipped */
}
void _ns1__UsageCancelForLunia::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageCancelForLunia::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageCancelForLunia::transactionID);
/* transient soap skipped */
#endif
}
int _ns1__UsageCancelForLunia::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancelForLunia(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancelForLunia(struct soap *soap, const char *tag, int id, const _ns1__UsageCancelForLunia *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancelForLunia), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__UsageCancelForLunia::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__UsageCancelForLunia::transactionID), ""))
return soap->error;
if (soap_out_int(soap, "ns1:refundAmount", -1, &(a->_ns1__UsageCancelForLunia::refundAmount), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancelForLunia::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancelForLunia(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLunia * SOAP_FMAC4 soap_in__ns1__UsageCancelForLunia(struct soap *soap, const char *tag, _ns1__UsageCancelForLunia *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancelForLunia *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancelForLunia, sizeof(_ns1__UsageCancelForLunia), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancelForLunia)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancelForLunia *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_refundAmount1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__UsageCancelForLunia::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__UsageCancelForLunia::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_refundAmount1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:refundAmount", &(a->_ns1__UsageCancelForLunia::refundAmount), "xsd:int"))
{ soap_flag_refundAmount1--;
continue;
}
/* transient soap skipped */
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__UsageCancelForLunia *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancelForLunia, 0, sizeof(_ns1__UsageCancelForLunia), 0, soap_copy__ns1__UsageCancelForLunia);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_refundAmount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancelForLunia::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancelForLunia);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancelForLunia", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancelForLunia::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancelForLunia(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLunia * SOAP_FMAC4 soap_get__ns1__UsageCancelForLunia(struct soap *soap, _ns1__UsageCancelForLunia *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancelForLunia(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancelForLunia * SOAP_FMAC2 soap_instantiate__ns1__UsageCancelForLunia(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancelForLunia(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancelForLunia, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancelForLunia);
if (size)
*size = sizeof(_ns1__UsageCancelForLunia);
((_ns1__UsageCancelForLunia*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancelForLunia, n);
if (size)
*size = n * sizeof(_ns1__UsageCancelForLunia);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancelForLunia*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancelForLunia*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancelForLunia(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancelForLunia %p -> %p\n", q, p));
*(_ns1__UsageCancelForLunia*)p = *(_ns1__UsageCancelForLunia*)q;
}
void _ns1__ChargeGameCashResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__ChargeGameCashResponse::ChargeGameCashResult);
soap_default_int(soap, &this->_ns1__ChargeGameCashResponse::errorCode);
/* transient soap skipped */
}
void _ns1__ChargeGameCashResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__ChargeGameCashResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ChargeGameCashResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ChargeGameCashResponse(struct soap *soap, const char *tag, int id, const _ns1__ChargeGameCashResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ChargeGameCashResponse), type))
return soap->error;
soap_element_result(soap, "ns1:ChargeGameCashResult");
if (soap_out_int(soap, "ns1:ChargeGameCashResult", -1, &(a->_ns1__ChargeGameCashResponse::ChargeGameCashResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__ChargeGameCashResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ChargeGameCashResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ChargeGameCashResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ChargeGameCashResponse * SOAP_FMAC4 soap_in__ns1__ChargeGameCashResponse(struct soap *soap, const char *tag, _ns1__ChargeGameCashResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ChargeGameCashResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ChargeGameCashResponse, sizeof(_ns1__ChargeGameCashResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ChargeGameCashResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ChargeGameCashResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ChargeGameCashResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ChargeGameCashResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:ChargeGameCashResult", &(a->_ns1__ChargeGameCashResponse::ChargeGameCashResult), "xsd:int"))
{ soap_flag_ChargeGameCashResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__ChargeGameCashResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ChargeGameCashResult");
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__ChargeGameCashResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ChargeGameCashResponse, 0, sizeof(_ns1__ChargeGameCashResponse), 0, soap_copy__ns1__ChargeGameCashResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ChargeGameCashResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ChargeGameCashResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ChargeGameCashResponse);
if (this->soap_out(soap, tag?tag:"ns1:ChargeGameCashResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ChargeGameCashResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ChargeGameCashResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ChargeGameCashResponse * SOAP_FMAC4 soap_get__ns1__ChargeGameCashResponse(struct soap *soap, _ns1__ChargeGameCashResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ChargeGameCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ChargeGameCashResponse * SOAP_FMAC2 soap_instantiate__ns1__ChargeGameCashResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ChargeGameCashResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ChargeGameCashResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ChargeGameCashResponse);
if (size)
*size = sizeof(_ns1__ChargeGameCashResponse);
((_ns1__ChargeGameCashResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ChargeGameCashResponse, n);
if (size)
*size = n * sizeof(_ns1__ChargeGameCashResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ChargeGameCashResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ChargeGameCashResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ChargeGameCashResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ChargeGameCashResponse %p -> %p\n", q, p));
*(_ns1__ChargeGameCashResponse*)p = *(_ns1__ChargeGameCashResponse*)q;
}
void _ns1__ChargeGameCash::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ChargeGameCash::cryptoString = NULL;
soap_default_int(soap, &this->_ns1__ChargeGameCash::productType);
this->_ns1__ChargeGameCash::channel = NULL;
/* transient soap skipped */
}
void _ns1__ChargeGameCash::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ChargeGameCash::cryptoString);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ChargeGameCash::channel);
/* transient soap skipped */
#endif
}
int _ns1__ChargeGameCash::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ChargeGameCash(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ChargeGameCash(struct soap *soap, const char *tag, int id, const _ns1__ChargeGameCash *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ChargeGameCash), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:cryptoString", -1, &(a->_ns1__ChargeGameCash::cryptoString), ""))
return soap->error;
if (soap_out_int(soap, "ns1:productType", -1, &(a->_ns1__ChargeGameCash::productType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:channel", -1, &(a->_ns1__ChargeGameCash::channel), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ChargeGameCash::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ChargeGameCash(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ChargeGameCash * SOAP_FMAC4 soap_in__ns1__ChargeGameCash(struct soap *soap, const char *tag, _ns1__ChargeGameCash *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ChargeGameCash *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ChargeGameCash, sizeof(_ns1__ChargeGameCash), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ChargeGameCash)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ChargeGameCash *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_cryptoString1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_channel1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_cryptoString1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:cryptoString", &(a->_ns1__ChargeGameCash::cryptoString), "xsd:string"))
{ soap_flag_cryptoString1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:productType", &(a->_ns1__ChargeGameCash::productType), "xsd:int"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_channel1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:channel", &(a->_ns1__ChargeGameCash::channel), "xsd:string"))
{ soap_flag_channel1--;
continue;
}
/* transient soap skipped */
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__ChargeGameCash *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ChargeGameCash, 0, sizeof(_ns1__ChargeGameCash), 0, soap_copy__ns1__ChargeGameCash);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ChargeGameCash::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ChargeGameCash);
if (this->soap_out(soap, tag?tag:"ns1:ChargeGameCash", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ChargeGameCash::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ChargeGameCash(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ChargeGameCash * SOAP_FMAC4 soap_get__ns1__ChargeGameCash(struct soap *soap, _ns1__ChargeGameCash *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ChargeGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ChargeGameCash * SOAP_FMAC2 soap_instantiate__ns1__ChargeGameCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ChargeGameCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ChargeGameCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ChargeGameCash);
if (size)
*size = sizeof(_ns1__ChargeGameCash);
((_ns1__ChargeGameCash*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ChargeGameCash, n);
if (size)
*size = n * sizeof(_ns1__ChargeGameCash);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ChargeGameCash*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ChargeGameCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ChargeGameCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ChargeGameCash %p -> %p\n", q, p));
*(_ns1__ChargeGameCash*)p = *(_ns1__ChargeGameCash*)q;
}
void _ns1__GetPurseWithGameCashResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__GetPurseWithGameCashResponse::GetPurseWithGameCashResult);
soap_default_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::paidBalance);
soap_default_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::freeBalance);
soap_default_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::gamecashBalance);
/* transient soap skipped */
}
void _ns1__GetPurseWithGameCashResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::paidBalance);
soap_serialize_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::freeBalance);
soap_serialize_xsd__decimal(soap, &this->_ns1__GetPurseWithGameCashResponse::gamecashBalance);
/* transient soap skipped */
#endif
}
int _ns1__GetPurseWithGameCashResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurseWithGameCashResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurseWithGameCashResponse(struct soap *soap, const char *tag, int id, const _ns1__GetPurseWithGameCashResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurseWithGameCashResponse), type))
return soap->error;
soap_element_result(soap, "ns1:GetPurseWithGameCashResult");
if (soap_out_bool(soap, "ns1:GetPurseWithGameCashResult", -1, &(a->_ns1__GetPurseWithGameCashResponse::GetPurseWithGameCashResult), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:paidBalance", -1, &(a->_ns1__GetPurseWithGameCashResponse::paidBalance), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:freeBalance", -1, &(a->_ns1__GetPurseWithGameCashResponse::freeBalance), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:gamecashBalance", -1, &(a->_ns1__GetPurseWithGameCashResponse::gamecashBalance), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurseWithGameCashResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurseWithGameCashResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCashResponse * SOAP_FMAC4 soap_in__ns1__GetPurseWithGameCashResponse(struct soap *soap, const char *tag, _ns1__GetPurseWithGameCashResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurseWithGameCashResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurseWithGameCashResponse, sizeof(_ns1__GetPurseWithGameCashResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurseWithGameCashResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurseWithGameCashResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetPurseWithGameCashResult1 = 1;
size_t soap_flag_paidBalance1 = 1;
size_t soap_flag_freeBalance1 = 1;
size_t soap_flag_gamecashBalance1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetPurseWithGameCashResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:GetPurseWithGameCashResult", &(a->_ns1__GetPurseWithGameCashResponse::GetPurseWithGameCashResult), "xsd:boolean"))
{ soap_flag_GetPurseWithGameCashResult1--;
continue;
}
if (soap_flag_paidBalance1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:paidBalance", &(a->_ns1__GetPurseWithGameCashResponse::paidBalance), "xsd:decimal"))
{ soap_flag_paidBalance1--;
continue;
}
if (soap_flag_freeBalance1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:freeBalance", &(a->_ns1__GetPurseWithGameCashResponse::freeBalance), "xsd:decimal"))
{ soap_flag_freeBalance1--;
continue;
}
if (soap_flag_gamecashBalance1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:gamecashBalance", &(a->_ns1__GetPurseWithGameCashResponse::gamecashBalance), "xsd:decimal"))
{ soap_flag_gamecashBalance1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetPurseWithGameCashResult");
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__GetPurseWithGameCashResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurseWithGameCashResponse, 0, sizeof(_ns1__GetPurseWithGameCashResponse), 0, soap_copy__ns1__GetPurseWithGameCashResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_GetPurseWithGameCashResult1 > 0 || soap_flag_paidBalance1 > 0 || soap_flag_freeBalance1 > 0 || soap_flag_gamecashBalance1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurseWithGameCashResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurseWithGameCashResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetPurseWithGameCashResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurseWithGameCashResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurseWithGameCashResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCashResponse * SOAP_FMAC4 soap_get__ns1__GetPurseWithGameCashResponse(struct soap *soap, _ns1__GetPurseWithGameCashResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurseWithGameCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurseWithGameCashResponse * SOAP_FMAC2 soap_instantiate__ns1__GetPurseWithGameCashResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurseWithGameCashResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurseWithGameCashResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurseWithGameCashResponse);
if (size)
*size = sizeof(_ns1__GetPurseWithGameCashResponse);
((_ns1__GetPurseWithGameCashResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurseWithGameCashResponse, n);
if (size)
*size = n * sizeof(_ns1__GetPurseWithGameCashResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurseWithGameCashResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurseWithGameCashResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurseWithGameCashResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurseWithGameCashResponse %p -> %p\n", q, p));
*(_ns1__GetPurseWithGameCashResponse*)p = *(_ns1__GetPurseWithGameCashResponse*)q;
}
void _ns1__GetPurseWithGameCash::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetPurseWithGameCash::id = NULL;
soap_default_short(soap, &this->_ns1__GetPurseWithGameCash::productType);
this->_ns1__GetPurseWithGameCash::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__GetPurseWithGameCash::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurseWithGameCash::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurseWithGameCash::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__GetPurseWithGameCash::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurseWithGameCash(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, int id, const _ns1__GetPurseWithGameCash *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurseWithGameCash), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__GetPurseWithGameCash::id), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__GetPurseWithGameCash::productType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__GetPurseWithGameCash::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurseWithGameCash::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurseWithGameCash(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCash * SOAP_FMAC4 soap_in__ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, _ns1__GetPurseWithGameCash *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurseWithGameCash *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurseWithGameCash, sizeof(_ns1__GetPurseWithGameCash), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurseWithGameCash)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurseWithGameCash *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__GetPurseWithGameCash::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__GetPurseWithGameCash::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__GetPurseWithGameCash::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__GetPurseWithGameCash *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurseWithGameCash, 0, sizeof(_ns1__GetPurseWithGameCash), 0, soap_copy__ns1__GetPurseWithGameCash);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurseWithGameCash::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurseWithGameCash);
if (this->soap_out(soap, tag?tag:"ns1:GetPurseWithGameCash", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurseWithGameCash::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurseWithGameCash(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCash * SOAP_FMAC4 soap_get__ns1__GetPurseWithGameCash(struct soap *soap, _ns1__GetPurseWithGameCash *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurseWithGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurseWithGameCash * SOAP_FMAC2 soap_instantiate__ns1__GetPurseWithGameCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurseWithGameCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurseWithGameCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurseWithGameCash);
if (size)
*size = sizeof(_ns1__GetPurseWithGameCash);
((_ns1__GetPurseWithGameCash*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurseWithGameCash, n);
if (size)
*size = n * sizeof(_ns1__GetPurseWithGameCash);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurseWithGameCash*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurseWithGameCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurseWithGameCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurseWithGameCash %p -> %p\n", q, p));
*(_ns1__GetPurseWithGameCash*)p = *(_ns1__GetPurseWithGameCash*)q;
}
void _ns1__GetRemainAmountResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__GetRemainAmountResponse::GetRemainAmountResult);
soap_default_xsd__decimal(soap, &this->_ns1__GetRemainAmountResponse::liabilitiesAmount);
soap_default_xsd__decimal(soap, &this->_ns1__GetRemainAmountResponse::ERPLiabilitiesAmount);
/* transient soap skipped */
}
void _ns1__GetRemainAmountResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_xsd__decimal(soap, &this->_ns1__GetRemainAmountResponse::liabilitiesAmount);
soap_serialize_xsd__decimal(soap, &this->_ns1__GetRemainAmountResponse::ERPLiabilitiesAmount);
/* transient soap skipped */
#endif
}
int _ns1__GetRemainAmountResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetRemainAmountResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetRemainAmountResponse(struct soap *soap, const char *tag, int id, const _ns1__GetRemainAmountResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetRemainAmountResponse), type))
return soap->error;
soap_element_result(soap, "ns1:GetRemainAmountResult");
if (soap_out_bool(soap, "ns1:GetRemainAmountResult", -1, &(a->_ns1__GetRemainAmountResponse::GetRemainAmountResult), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:liabilitiesAmount", -1, &(a->_ns1__GetRemainAmountResponse::liabilitiesAmount), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:ERPLiabilitiesAmount", -1, &(a->_ns1__GetRemainAmountResponse::ERPLiabilitiesAmount), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetRemainAmountResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetRemainAmountResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetRemainAmountResponse * SOAP_FMAC4 soap_in__ns1__GetRemainAmountResponse(struct soap *soap, const char *tag, _ns1__GetRemainAmountResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetRemainAmountResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetRemainAmountResponse, sizeof(_ns1__GetRemainAmountResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetRemainAmountResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetRemainAmountResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetRemainAmountResult1 = 1;
size_t soap_flag_liabilitiesAmount1 = 1;
size_t soap_flag_ERPLiabilitiesAmount1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetRemainAmountResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:GetRemainAmountResult", &(a->_ns1__GetRemainAmountResponse::GetRemainAmountResult), "xsd:boolean"))
{ soap_flag_GetRemainAmountResult1--;
continue;
}
if (soap_flag_liabilitiesAmount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:liabilitiesAmount", &(a->_ns1__GetRemainAmountResponse::liabilitiesAmount), "xsd:decimal"))
{ soap_flag_liabilitiesAmount1--;
continue;
}
if (soap_flag_ERPLiabilitiesAmount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:ERPLiabilitiesAmount", &(a->_ns1__GetRemainAmountResponse::ERPLiabilitiesAmount), "xsd:decimal"))
{ soap_flag_ERPLiabilitiesAmount1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetRemainAmountResult");
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__GetRemainAmountResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetRemainAmountResponse, 0, sizeof(_ns1__GetRemainAmountResponse), 0, soap_copy__ns1__GetRemainAmountResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_GetRemainAmountResult1 > 0 || soap_flag_liabilitiesAmount1 > 0 || soap_flag_ERPLiabilitiesAmount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetRemainAmountResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetRemainAmountResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetRemainAmountResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetRemainAmountResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetRemainAmountResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetRemainAmountResponse * SOAP_FMAC4 soap_get__ns1__GetRemainAmountResponse(struct soap *soap, _ns1__GetRemainAmountResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetRemainAmountResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetRemainAmountResponse * SOAP_FMAC2 soap_instantiate__ns1__GetRemainAmountResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetRemainAmountResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetRemainAmountResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetRemainAmountResponse);
if (size)
*size = sizeof(_ns1__GetRemainAmountResponse);
((_ns1__GetRemainAmountResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetRemainAmountResponse, n);
if (size)
*size = n * sizeof(_ns1__GetRemainAmountResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetRemainAmountResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetRemainAmountResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetRemainAmountResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetRemainAmountResponse %p -> %p\n", q, p));
*(_ns1__GetRemainAmountResponse*)p = *(_ns1__GetRemainAmountResponse*)q;
}
void _ns1__GetRemainAmount::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetRemainAmount::id = NULL;
soap_default_int(soap, &this->_ns1__GetRemainAmount::liabilityType);
this->_ns1__GetRemainAmount::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__GetRemainAmount::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetRemainAmount::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetRemainAmount::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__GetRemainAmount::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetRemainAmount(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetRemainAmount(struct soap *soap, const char *tag, int id, const _ns1__GetRemainAmount *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetRemainAmount), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__GetRemainAmount::id), ""))
return soap->error;
if (soap_out_int(soap, "ns1:liabilityType", -1, &(a->_ns1__GetRemainAmount::liabilityType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__GetRemainAmount::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetRemainAmount::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetRemainAmount(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetRemainAmount * SOAP_FMAC4 soap_in__ns1__GetRemainAmount(struct soap *soap, const char *tag, _ns1__GetRemainAmount *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetRemainAmount *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetRemainAmount, sizeof(_ns1__GetRemainAmount), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetRemainAmount)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetRemainAmount *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_liabilityType1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__GetRemainAmount::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_liabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:liabilityType", &(a->_ns1__GetRemainAmount::liabilityType), "xsd:int"))
{ soap_flag_liabilityType1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__GetRemainAmount::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__GetRemainAmount *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetRemainAmount, 0, sizeof(_ns1__GetRemainAmount), 0, soap_copy__ns1__GetRemainAmount);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_liabilityType1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetRemainAmount::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetRemainAmount);
if (this->soap_out(soap, tag?tag:"ns1:GetRemainAmount", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetRemainAmount::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetRemainAmount(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetRemainAmount * SOAP_FMAC4 soap_get__ns1__GetRemainAmount(struct soap *soap, _ns1__GetRemainAmount *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetRemainAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetRemainAmount * SOAP_FMAC2 soap_instantiate__ns1__GetRemainAmount(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetRemainAmount(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetRemainAmount, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetRemainAmount);
if (size)
*size = sizeof(_ns1__GetRemainAmount);
((_ns1__GetRemainAmount*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetRemainAmount, n);
if (size)
*size = n * sizeof(_ns1__GetRemainAmount);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetRemainAmount*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetRemainAmount*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetRemainAmount(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetRemainAmount %p -> %p\n", q, p));
*(_ns1__GetRemainAmount*)p = *(_ns1__GetRemainAmount*)q;
}
void _ns1__UseCouponResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__UseCouponResponse::UseCouponResult);
this->_ns1__UseCouponResponse::returnCode = NULL;
/* transient soap skipped */
}
void _ns1__UseCouponResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UseCouponResponse::returnCode);
/* transient soap skipped */
#endif
}
int _ns1__UseCouponResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UseCouponResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UseCouponResponse(struct soap *soap, const char *tag, int id, const _ns1__UseCouponResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UseCouponResponse), type))
return soap->error;
soap_element_result(soap, "ns1:UseCouponResult");
if (soap_out_bool(soap, "ns1:UseCouponResult", -1, &(a->_ns1__UseCouponResponse::UseCouponResult), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:returnCode", -1, &(a->_ns1__UseCouponResponse::returnCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UseCouponResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UseCouponResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UseCouponResponse * SOAP_FMAC4 soap_in__ns1__UseCouponResponse(struct soap *soap, const char *tag, _ns1__UseCouponResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UseCouponResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UseCouponResponse, sizeof(_ns1__UseCouponResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UseCouponResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UseCouponResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UseCouponResult1 = 1;
size_t soap_flag_returnCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UseCouponResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:UseCouponResult", &(a->_ns1__UseCouponResponse::UseCouponResult), "xsd:boolean"))
{ soap_flag_UseCouponResult1--;
continue;
}
if (soap_flag_returnCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:returnCode", &(a->_ns1__UseCouponResponse::returnCode), "xsd:string"))
{ soap_flag_returnCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UseCouponResult");
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__UseCouponResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UseCouponResponse, 0, sizeof(_ns1__UseCouponResponse), 0, soap_copy__ns1__UseCouponResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_UseCouponResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UseCouponResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UseCouponResponse);
if (this->soap_out(soap, tag?tag:"ns1:UseCouponResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UseCouponResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UseCouponResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UseCouponResponse * SOAP_FMAC4 soap_get__ns1__UseCouponResponse(struct soap *soap, _ns1__UseCouponResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UseCouponResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UseCouponResponse * SOAP_FMAC2 soap_instantiate__ns1__UseCouponResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UseCouponResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UseCouponResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UseCouponResponse);
if (size)
*size = sizeof(_ns1__UseCouponResponse);
((_ns1__UseCouponResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UseCouponResponse, n);
if (size)
*size = n * sizeof(_ns1__UseCouponResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UseCouponResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UseCouponResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UseCouponResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UseCouponResponse %p -> %p\n", q, p));
*(_ns1__UseCouponResponse*)p = *(_ns1__UseCouponResponse*)q;
}
void _ns1__UseCoupon::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UseCoupon::argument = NULL;
/* transient soap skipped */
}
void _ns1__UseCoupon::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__CouponArgument(soap, &this->_ns1__UseCoupon::argument);
/* transient soap skipped */
#endif
}
int _ns1__UseCoupon::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UseCoupon(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UseCoupon(struct soap *soap, const char *tag, int id, const _ns1__UseCoupon *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UseCoupon), type))
return soap->error;
if (soap_out_PointerTons1__CouponArgument(soap, "ns1:argument", -1, &(a->_ns1__UseCoupon::argument), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UseCoupon::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UseCoupon(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UseCoupon * SOAP_FMAC4 soap_in__ns1__UseCoupon(struct soap *soap, const char *tag, _ns1__UseCoupon *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UseCoupon *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UseCoupon, sizeof(_ns1__UseCoupon), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UseCoupon)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UseCoupon *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_argument1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_argument1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__CouponArgument(soap, "ns1:argument", &(a->_ns1__UseCoupon::argument), "ns1:CouponArgument"))
{ soap_flag_argument1--;
continue;
}
/* transient soap skipped */
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__UseCoupon *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UseCoupon, 0, sizeof(_ns1__UseCoupon), 0, soap_copy__ns1__UseCoupon);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__UseCoupon::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UseCoupon);
if (this->soap_out(soap, tag?tag:"ns1:UseCoupon", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UseCoupon::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UseCoupon(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UseCoupon * SOAP_FMAC4 soap_get__ns1__UseCoupon(struct soap *soap, _ns1__UseCoupon *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UseCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UseCoupon * SOAP_FMAC2 soap_instantiate__ns1__UseCoupon(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UseCoupon(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UseCoupon, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UseCoupon);
if (size)
*size = sizeof(_ns1__UseCoupon);
((_ns1__UseCoupon*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UseCoupon, n);
if (size)
*size = n * sizeof(_ns1__UseCoupon);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UseCoupon*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UseCoupon*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UseCoupon(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UseCoupon %p -> %p\n", q, p));
*(_ns1__UseCoupon*)p = *(_ns1__UseCoupon*)q;
}
void _ns1__ApprovalSendCashResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__ApprovalSendCashResponse::ApprovalSendCashResult);
soap_default_int(soap, &this->_ns1__ApprovalSendCashResponse::errorCode);
/* transient soap skipped */
}
void _ns1__ApprovalSendCashResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__ApprovalSendCashResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalSendCashResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalSendCashResponse(struct soap *soap, const char *tag, int id, const _ns1__ApprovalSendCashResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalSendCashResponse), type))
return soap->error;
soap_element_result(soap, "ns1:ApprovalSendCashResult");
if (soap_out_bool(soap, "ns1:ApprovalSendCashResult", -1, &(a->_ns1__ApprovalSendCashResponse::ApprovalSendCashResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__ApprovalSendCashResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalSendCashResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalSendCashResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCashResponse * SOAP_FMAC4 soap_in__ns1__ApprovalSendCashResponse(struct soap *soap, const char *tag, _ns1__ApprovalSendCashResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalSendCashResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalSendCashResponse, sizeof(_ns1__ApprovalSendCashResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalSendCashResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalSendCashResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ApprovalSendCashResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ApprovalSendCashResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:ApprovalSendCashResult", &(a->_ns1__ApprovalSendCashResponse::ApprovalSendCashResult), "xsd:boolean"))
{ soap_flag_ApprovalSendCashResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__ApprovalSendCashResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ApprovalSendCashResult");
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__ApprovalSendCashResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalSendCashResponse, 0, sizeof(_ns1__ApprovalSendCashResponse), 0, soap_copy__ns1__ApprovalSendCashResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ApprovalSendCashResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalSendCashResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalSendCashResponse);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalSendCashResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalSendCashResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalSendCashResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCashResponse * SOAP_FMAC4 soap_get__ns1__ApprovalSendCashResponse(struct soap *soap, _ns1__ApprovalSendCashResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalSendCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalSendCashResponse * SOAP_FMAC2 soap_instantiate__ns1__ApprovalSendCashResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalSendCashResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalSendCashResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalSendCashResponse);
if (size)
*size = sizeof(_ns1__ApprovalSendCashResponse);
((_ns1__ApprovalSendCashResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalSendCashResponse, n);
if (size)
*size = n * sizeof(_ns1__ApprovalSendCashResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalSendCashResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalSendCashResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalSendCashResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalSendCashResponse %p -> %p\n", q, p));
*(_ns1__ApprovalSendCashResponse*)p = *(_ns1__ApprovalSendCashResponse*)q;
}
void _ns1__ApprovalSendCash::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__ApprovalSendCash::cashChangeType);
soap_default_int(soap, &this->_ns1__ApprovalSendCash::liabilityType);
this->_ns1__ApprovalSendCash::id = NULL;
this->_ns1__ApprovalSendCash::requestId = NULL;
this->_ns1__ApprovalSendCash::orderId = NULL;
soap_default_xsd__decimal(soap, &this->_ns1__ApprovalSendCash::amount);
this->_ns1__ApprovalSendCash::requestIP = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalSendCash::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalSendCash::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalSendCash::requestId);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalSendCash::orderId);
soap_serialize_xsd__decimal(soap, &this->_ns1__ApprovalSendCash::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalSendCash::requestIP);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalSendCash::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalSendCash(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalSendCash(struct soap *soap, const char *tag, int id, const _ns1__ApprovalSendCash *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalSendCash), type))
return soap->error;
if (soap_out_int(soap, "ns1:cashChangeType", -1, &(a->_ns1__ApprovalSendCash::cashChangeType), ""))
return soap->error;
if (soap_out_int(soap, "ns1:liabilityType", -1, &(a->_ns1__ApprovalSendCash::liabilityType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__ApprovalSendCash::id), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:requestId", -1, &(a->_ns1__ApprovalSendCash::requestId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:orderId", -1, &(a->_ns1__ApprovalSendCash::orderId), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__ApprovalSendCash::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:requestIP", -1, &(a->_ns1__ApprovalSendCash::requestIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalSendCash::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalSendCash(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCash * SOAP_FMAC4 soap_in__ns1__ApprovalSendCash(struct soap *soap, const char *tag, _ns1__ApprovalSendCash *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalSendCash *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalSendCash, sizeof(_ns1__ApprovalSendCash), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalSendCash)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalSendCash *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_cashChangeType1 = 1;
size_t soap_flag_liabilityType1 = 1;
size_t soap_flag_id1 = 1;
size_t soap_flag_requestId1 = 1;
size_t soap_flag_orderId1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_requestIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_cashChangeType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:cashChangeType", &(a->_ns1__ApprovalSendCash::cashChangeType), "xsd:int"))
{ soap_flag_cashChangeType1--;
continue;
}
if (soap_flag_liabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:liabilityType", &(a->_ns1__ApprovalSendCash::liabilityType), "xsd:int"))
{ soap_flag_liabilityType1--;
continue;
}
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__ApprovalSendCash::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_requestId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:requestId", &(a->_ns1__ApprovalSendCash::requestId), "xsd:string"))
{ soap_flag_requestId1--;
continue;
}
if (soap_flag_orderId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:orderId", &(a->_ns1__ApprovalSendCash::orderId), "xsd:string"))
{ soap_flag_orderId1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__ApprovalSendCash::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_requestIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:requestIP", &(a->_ns1__ApprovalSendCash::requestIP), "xsd:string"))
{ soap_flag_requestIP1--;
continue;
}
/* transient soap skipped */
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__ApprovalSendCash *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalSendCash, 0, sizeof(_ns1__ApprovalSendCash), 0, soap_copy__ns1__ApprovalSendCash);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_cashChangeType1 > 0 || soap_flag_liabilityType1 > 0 || soap_flag_amount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalSendCash::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalSendCash);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalSendCash", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalSendCash::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalSendCash(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCash * SOAP_FMAC4 soap_get__ns1__ApprovalSendCash(struct soap *soap, _ns1__ApprovalSendCash *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalSendCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalSendCash * SOAP_FMAC2 soap_instantiate__ns1__ApprovalSendCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalSendCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalSendCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalSendCash);
if (size)
*size = sizeof(_ns1__ApprovalSendCash);
((_ns1__ApprovalSendCash*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalSendCash, n);
if (size)
*size = n * sizeof(_ns1__ApprovalSendCash);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalSendCash*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalSendCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalSendCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalSendCash %p -> %p\n", q, p));
*(_ns1__ApprovalSendCash*)p = *(_ns1__ApprovalSendCash*)q;
}
void _ns1__RequestEventChargeResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__RequestEventChargeResponse::RequestEventChargeResult);
/* transient soap skipped */
}
void _ns1__RequestEventChargeResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__RequestEventChargeResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__RequestEventChargeResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__RequestEventChargeResponse(struct soap *soap, const char *tag, int id, const _ns1__RequestEventChargeResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__RequestEventChargeResponse), type))
return soap->error;
soap_element_result(soap, "ns1:RequestEventChargeResult");
if (soap_out_int(soap, "ns1:RequestEventChargeResult", -1, &(a->_ns1__RequestEventChargeResponse::RequestEventChargeResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__RequestEventChargeResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__RequestEventChargeResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__RequestEventChargeResponse * SOAP_FMAC4 soap_in__ns1__RequestEventChargeResponse(struct soap *soap, const char *tag, _ns1__RequestEventChargeResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__RequestEventChargeResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__RequestEventChargeResponse, sizeof(_ns1__RequestEventChargeResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__RequestEventChargeResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__RequestEventChargeResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_RequestEventChargeResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_RequestEventChargeResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:RequestEventChargeResult", &(a->_ns1__RequestEventChargeResponse::RequestEventChargeResult), "xsd:int"))
{ soap_flag_RequestEventChargeResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:RequestEventChargeResult");
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__RequestEventChargeResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__RequestEventChargeResponse, 0, sizeof(_ns1__RequestEventChargeResponse), 0, soap_copy__ns1__RequestEventChargeResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_RequestEventChargeResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__RequestEventChargeResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__RequestEventChargeResponse);
if (this->soap_out(soap, tag?tag:"ns1:RequestEventChargeResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__RequestEventChargeResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__RequestEventChargeResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__RequestEventChargeResponse * SOAP_FMAC4 soap_get__ns1__RequestEventChargeResponse(struct soap *soap, _ns1__RequestEventChargeResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__RequestEventChargeResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__RequestEventChargeResponse * SOAP_FMAC2 soap_instantiate__ns1__RequestEventChargeResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__RequestEventChargeResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__RequestEventChargeResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__RequestEventChargeResponse);
if (size)
*size = sizeof(_ns1__RequestEventChargeResponse);
((_ns1__RequestEventChargeResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__RequestEventChargeResponse, n);
if (size)
*size = n * sizeof(_ns1__RequestEventChargeResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__RequestEventChargeResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__RequestEventChargeResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__RequestEventChargeResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__RequestEventChargeResponse %p -> %p\n", q, p));
*(_ns1__RequestEventChargeResponse*)p = *(_ns1__RequestEventChargeResponse*)q;
}
void _ns1__RequestEventCharge::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__RequestEventCharge::userId = NULL;
soap_default_xsd__decimal(soap, &this->_ns1__RequestEventCharge::amount);
soap_default_int(soap, &this->_ns1__RequestEventCharge::serviceCode);
/* transient soap skipped */
}
void _ns1__RequestEventCharge::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__RequestEventCharge::userId);
soap_serialize_xsd__decimal(soap, &this->_ns1__RequestEventCharge::amount);
/* transient soap skipped */
#endif
}
int _ns1__RequestEventCharge::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__RequestEventCharge(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__RequestEventCharge(struct soap *soap, const char *tag, int id, const _ns1__RequestEventCharge *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__RequestEventCharge), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:userId", -1, &(a->_ns1__RequestEventCharge::userId), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__RequestEventCharge::amount), ""))
return soap->error;
if (soap_out_int(soap, "ns1:serviceCode", -1, &(a->_ns1__RequestEventCharge::serviceCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__RequestEventCharge::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__RequestEventCharge(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__RequestEventCharge * SOAP_FMAC4 soap_in__ns1__RequestEventCharge(struct soap *soap, const char *tag, _ns1__RequestEventCharge *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__RequestEventCharge *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__RequestEventCharge, sizeof(_ns1__RequestEventCharge), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__RequestEventCharge)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__RequestEventCharge *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_userId1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_serviceCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_userId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:userId", &(a->_ns1__RequestEventCharge::userId), "xsd:string"))
{ soap_flag_userId1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__RequestEventCharge::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_serviceCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:serviceCode", &(a->_ns1__RequestEventCharge::serviceCode), "xsd:int"))
{ soap_flag_serviceCode1--;
continue;
}
/* transient soap skipped */
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__RequestEventCharge *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__RequestEventCharge, 0, sizeof(_ns1__RequestEventCharge), 0, soap_copy__ns1__RequestEventCharge);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_amount1 > 0 || soap_flag_serviceCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__RequestEventCharge::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__RequestEventCharge);
if (this->soap_out(soap, tag?tag:"ns1:RequestEventCharge", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__RequestEventCharge::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__RequestEventCharge(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__RequestEventCharge * SOAP_FMAC4 soap_get__ns1__RequestEventCharge(struct soap *soap, _ns1__RequestEventCharge *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__RequestEventCharge(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__RequestEventCharge * SOAP_FMAC2 soap_instantiate__ns1__RequestEventCharge(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__RequestEventCharge(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__RequestEventCharge, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__RequestEventCharge);
if (size)
*size = sizeof(_ns1__RequestEventCharge);
((_ns1__RequestEventCharge*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__RequestEventCharge, n);
if (size)
*size = n * sizeof(_ns1__RequestEventCharge);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__RequestEventCharge*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__RequestEventCharge*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__RequestEventCharge(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__RequestEventCharge %p -> %p\n", q, p));
*(_ns1__RequestEventCharge*)p = *(_ns1__RequestEventCharge*)q;
}
void _ns1__UsageRollbackResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__UsageRollbackResponse::UsageRollbackResult);
/* transient soap skipped */
}
void _ns1__UsageRollbackResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__UsageRollbackResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageRollbackResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageRollbackResponse(struct soap *soap, const char *tag, int id, const _ns1__UsageRollbackResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageRollbackResponse), type))
return soap->error;
soap_element_result(soap, "ns1:UsageRollbackResult");
if (soap_out_int(soap, "ns1:UsageRollbackResult", -1, &(a->_ns1__UsageRollbackResponse::UsageRollbackResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageRollbackResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageRollbackResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageRollbackResponse * SOAP_FMAC4 soap_in__ns1__UsageRollbackResponse(struct soap *soap, const char *tag, _ns1__UsageRollbackResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageRollbackResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageRollbackResponse, sizeof(_ns1__UsageRollbackResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageRollbackResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageRollbackResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UsageRollbackResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UsageRollbackResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:UsageRollbackResult", &(a->_ns1__UsageRollbackResponse::UsageRollbackResult), "xsd:int"))
{ soap_flag_UsageRollbackResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UsageRollbackResult");
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__UsageRollbackResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageRollbackResponse, 0, sizeof(_ns1__UsageRollbackResponse), 0, soap_copy__ns1__UsageRollbackResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_UsageRollbackResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageRollbackResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageRollbackResponse);
if (this->soap_out(soap, tag?tag:"ns1:UsageRollbackResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageRollbackResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageRollbackResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageRollbackResponse * SOAP_FMAC4 soap_get__ns1__UsageRollbackResponse(struct soap *soap, _ns1__UsageRollbackResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageRollbackResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageRollbackResponse * SOAP_FMAC2 soap_instantiate__ns1__UsageRollbackResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageRollbackResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageRollbackResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageRollbackResponse);
if (size)
*size = sizeof(_ns1__UsageRollbackResponse);
((_ns1__UsageRollbackResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageRollbackResponse, n);
if (size)
*size = n * sizeof(_ns1__UsageRollbackResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageRollbackResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageRollbackResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageRollbackResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageRollbackResponse %p -> %p\n", q, p));
*(_ns1__UsageRollbackResponse*)p = *(_ns1__UsageRollbackResponse*)q;
}
void _ns1__UsageRollback::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageRollback::userId = NULL;
soap_default_int(soap, &this->_ns1__UsageRollback::usageSn);
/* transient soap skipped */
}
void _ns1__UsageRollback::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageRollback::userId);
/* transient soap skipped */
#endif
}
int _ns1__UsageRollback::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageRollback(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageRollback(struct soap *soap, const char *tag, int id, const _ns1__UsageRollback *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageRollback), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:userId", -1, &(a->_ns1__UsageRollback::userId), ""))
return soap->error;
if (soap_out_int(soap, "ns1:usageSn", -1, &(a->_ns1__UsageRollback::usageSn), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageRollback::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageRollback(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageRollback * SOAP_FMAC4 soap_in__ns1__UsageRollback(struct soap *soap, const char *tag, _ns1__UsageRollback *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageRollback *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageRollback, sizeof(_ns1__UsageRollback), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageRollback)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageRollback *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_userId1 = 1;
size_t soap_flag_usageSn1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_userId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:userId", &(a->_ns1__UsageRollback::userId), "xsd:string"))
{ soap_flag_userId1--;
continue;
}
if (soap_flag_usageSn1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:usageSn", &(a->_ns1__UsageRollback::usageSn), "xsd:int"))
{ soap_flag_usageSn1--;
continue;
}
/* transient soap skipped */
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__UsageRollback *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageRollback, 0, sizeof(_ns1__UsageRollback), 0, soap_copy__ns1__UsageRollback);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_usageSn1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageRollback::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageRollback);
if (this->soap_out(soap, tag?tag:"ns1:UsageRollback", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageRollback::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageRollback(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageRollback * SOAP_FMAC4 soap_get__ns1__UsageRollback(struct soap *soap, _ns1__UsageRollback *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageRollback(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageRollback * SOAP_FMAC2 soap_instantiate__ns1__UsageRollback(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageRollback(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageRollback, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageRollback);
if (size)
*size = sizeof(_ns1__UsageRollback);
((_ns1__UsageRollback*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageRollback, n);
if (size)
*size = n * sizeof(_ns1__UsageRollback);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageRollback*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageRollback*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageRollback(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageRollback %p -> %p\n", q, p));
*(_ns1__UsageRollback*)p = *(_ns1__UsageRollback*)q;
}
void _ns1__GetPurchaseAmountResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetPurchaseAmountResponse::GetPurchaseAmountResult = NULL;
soap_default_int(soap, &this->_ns1__GetPurchaseAmountResponse::errorCode);
/* transient soap skipped */
}
void _ns1__GetPurchaseAmountResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, &this->_ns1__GetPurchaseAmountResponse::GetPurchaseAmountResult);
/* transient soap skipped */
#endif
}
int _ns1__GetPurchaseAmountResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurchaseAmountResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurchaseAmountResponse(struct soap *soap, const char *tag, int id, const _ns1__GetPurchaseAmountResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurchaseAmountResponse), type))
return soap->error;
if (a->GetPurchaseAmountResult)
soap_element_result(soap, "ns1:GetPurchaseAmountResult");
if (soap_out_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, "ns1:GetPurchaseAmountResult", -1, &(a->_ns1__GetPurchaseAmountResponse::GetPurchaseAmountResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__GetPurchaseAmountResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurchaseAmountResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurchaseAmountResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse * SOAP_FMAC4 soap_in__ns1__GetPurchaseAmountResponse(struct soap *soap, const char *tag, _ns1__GetPurchaseAmountResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurchaseAmountResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurchaseAmountResponse, sizeof(_ns1__GetPurchaseAmountResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurchaseAmountResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurchaseAmountResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetPurchaseAmountResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetPurchaseAmountResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, "ns1:GetPurchaseAmountResult", &(a->_ns1__GetPurchaseAmountResponse::GetPurchaseAmountResult), ""))
{ soap_flag_GetPurchaseAmountResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__GetPurchaseAmountResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetPurchaseAmountResult");
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__GetPurchaseAmountResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurchaseAmountResponse, 0, sizeof(_ns1__GetPurchaseAmountResponse), 0, soap_copy__ns1__GetPurchaseAmountResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurchaseAmountResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurchaseAmountResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetPurchaseAmountResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurchaseAmountResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurchaseAmountResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse * SOAP_FMAC4 soap_get__ns1__GetPurchaseAmountResponse(struct soap *soap, _ns1__GetPurchaseAmountResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurchaseAmountResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurchaseAmountResponse * SOAP_FMAC2 soap_instantiate__ns1__GetPurchaseAmountResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurchaseAmountResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurchaseAmountResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurchaseAmountResponse);
if (size)
*size = sizeof(_ns1__GetPurchaseAmountResponse);
((_ns1__GetPurchaseAmountResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurchaseAmountResponse, n);
if (size)
*size = n * sizeof(_ns1__GetPurchaseAmountResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurchaseAmountResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurchaseAmountResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurchaseAmountResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurchaseAmountResponse %p -> %p\n", q, p));
*(_ns1__GetPurchaseAmountResponse*)p = *(_ns1__GetPurchaseAmountResponse*)q;
}
void _ns1__GetPurchaseAmount::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetPurchaseAmount::nexonID = NULL;
this->_ns1__GetPurchaseAmount::transactionID = NULL;
soap_default_short(soap, &this->_ns1__GetPurchaseAmount::productType);
/* transient soap skipped */
}
void _ns1__GetPurchaseAmount::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurchaseAmount::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurchaseAmount::transactionID);
/* transient soap skipped */
#endif
}
int _ns1__GetPurchaseAmount::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurchaseAmount(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurchaseAmount(struct soap *soap, const char *tag, int id, const _ns1__GetPurchaseAmount *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurchaseAmount), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__GetPurchaseAmount::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__GetPurchaseAmount::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__GetPurchaseAmount::productType), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurchaseAmount::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurchaseAmount(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmount * SOAP_FMAC4 soap_in__ns1__GetPurchaseAmount(struct soap *soap, const char *tag, _ns1__GetPurchaseAmount *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurchaseAmount *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurchaseAmount, sizeof(_ns1__GetPurchaseAmount), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurchaseAmount)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurchaseAmount *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__GetPurchaseAmount::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__GetPurchaseAmount::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__GetPurchaseAmount::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
/* transient soap skipped */
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__GetPurchaseAmount *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurchaseAmount, 0, sizeof(_ns1__GetPurchaseAmount), 0, soap_copy__ns1__GetPurchaseAmount);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurchaseAmount::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurchaseAmount);
if (this->soap_out(soap, tag?tag:"ns1:GetPurchaseAmount", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurchaseAmount::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurchaseAmount(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmount * SOAP_FMAC4 soap_get__ns1__GetPurchaseAmount(struct soap *soap, _ns1__GetPurchaseAmount *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurchaseAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurchaseAmount * SOAP_FMAC2 soap_instantiate__ns1__GetPurchaseAmount(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurchaseAmount(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurchaseAmount, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurchaseAmount);
if (size)
*size = sizeof(_ns1__GetPurchaseAmount);
((_ns1__GetPurchaseAmount*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurchaseAmount, n);
if (size)
*size = n * sizeof(_ns1__GetPurchaseAmount);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurchaseAmount*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurchaseAmount*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurchaseAmount(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurchaseAmount %p -> %p\n", q, p));
*(_ns1__GetPurchaseAmount*)p = *(_ns1__GetPurchaseAmount*)q;
}
void _ns1__UsageCancelByUsageSnResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__UsageCancelByUsageSnResponse::UsageCancelByUsageSnResult);
/* transient soap skipped */
}
void _ns1__UsageCancelByUsageSnResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__UsageCancelByUsageSnResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancelByUsageSnResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancelByUsageSnResponse(struct soap *soap, const char *tag, int id, const _ns1__UsageCancelByUsageSnResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse), type))
return soap->error;
soap_element_result(soap, "ns1:UsageCancelByUsageSnResult");
if (soap_out_int(soap, "ns1:UsageCancelByUsageSnResult", -1, &(a->_ns1__UsageCancelByUsageSnResponse::UsageCancelByUsageSnResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancelByUsageSnResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancelByUsageSnResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSnResponse * SOAP_FMAC4 soap_in__ns1__UsageCancelByUsageSnResponse(struct soap *soap, const char *tag, _ns1__UsageCancelByUsageSnResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancelByUsageSnResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse, sizeof(_ns1__UsageCancelByUsageSnResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancelByUsageSnResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancelByUsageSnResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UsageCancelByUsageSnResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UsageCancelByUsageSnResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:UsageCancelByUsageSnResult", &(a->_ns1__UsageCancelByUsageSnResponse::UsageCancelByUsageSnResult), "xsd:int"))
{ soap_flag_UsageCancelByUsageSnResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UsageCancelByUsageSnResult");
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__UsageCancelByUsageSnResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse, 0, sizeof(_ns1__UsageCancelByUsageSnResponse), 0, soap_copy__ns1__UsageCancelByUsageSnResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_UsageCancelByUsageSnResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancelByUsageSnResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancelByUsageSnResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancelByUsageSnResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancelByUsageSnResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSnResponse * SOAP_FMAC4 soap_get__ns1__UsageCancelByUsageSnResponse(struct soap *soap, _ns1__UsageCancelByUsageSnResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancelByUsageSnResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancelByUsageSnResponse * SOAP_FMAC2 soap_instantiate__ns1__UsageCancelByUsageSnResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancelByUsageSnResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancelByUsageSnResponse);
if (size)
*size = sizeof(_ns1__UsageCancelByUsageSnResponse);
((_ns1__UsageCancelByUsageSnResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancelByUsageSnResponse, n);
if (size)
*size = n * sizeof(_ns1__UsageCancelByUsageSnResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancelByUsageSnResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancelByUsageSnResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancelByUsageSnResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancelByUsageSnResponse %p -> %p\n", q, p));
*(_ns1__UsageCancelByUsageSnResponse*)p = *(_ns1__UsageCancelByUsageSnResponse*)q;
}
void _ns1__UsageCancelByUsageSn::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageCancelByUsageSn::id = NULL;
soap_default_int(soap, &this->_ns1__UsageCancelByUsageSn::usageSn);
soap_default_int(soap, &this->_ns1__UsageCancelByUsageSn::refundAmount);
/* transient soap skipped */
}
void _ns1__UsageCancelByUsageSn::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageCancelByUsageSn::id);
/* transient soap skipped */
#endif
}
int _ns1__UsageCancelByUsageSn::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancelByUsageSn(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, int id, const _ns1__UsageCancelByUsageSn *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancelByUsageSn), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__UsageCancelByUsageSn::id), ""))
return soap->error;
if (soap_out_int(soap, "ns1:usageSn", -1, &(a->_ns1__UsageCancelByUsageSn::usageSn), ""))
return soap->error;
if (soap_out_int(soap, "ns1:refundAmount", -1, &(a->_ns1__UsageCancelByUsageSn::refundAmount), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancelByUsageSn::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancelByUsageSn(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSn * SOAP_FMAC4 soap_in__ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, _ns1__UsageCancelByUsageSn *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancelByUsageSn *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancelByUsageSn, sizeof(_ns1__UsageCancelByUsageSn), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancelByUsageSn)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancelByUsageSn *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_usageSn1 = 1;
size_t soap_flag_refundAmount1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__UsageCancelByUsageSn::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_usageSn1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:usageSn", &(a->_ns1__UsageCancelByUsageSn::usageSn), "xsd:int"))
{ soap_flag_usageSn1--;
continue;
}
if (soap_flag_refundAmount1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:refundAmount", &(a->_ns1__UsageCancelByUsageSn::refundAmount), "xsd:int"))
{ soap_flag_refundAmount1--;
continue;
}
/* transient soap skipped */
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__UsageCancelByUsageSn *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancelByUsageSn, 0, sizeof(_ns1__UsageCancelByUsageSn), 0, soap_copy__ns1__UsageCancelByUsageSn);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_usageSn1 > 0 || soap_flag_refundAmount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancelByUsageSn::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancelByUsageSn);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancelByUsageSn", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancelByUsageSn::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancelByUsageSn(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSn * SOAP_FMAC4 soap_get__ns1__UsageCancelByUsageSn(struct soap *soap, _ns1__UsageCancelByUsageSn *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancelByUsageSn(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancelByUsageSn * SOAP_FMAC2 soap_instantiate__ns1__UsageCancelByUsageSn(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancelByUsageSn(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancelByUsageSn, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancelByUsageSn);
if (size)
*size = sizeof(_ns1__UsageCancelByUsageSn);
((_ns1__UsageCancelByUsageSn*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancelByUsageSn, n);
if (size)
*size = n * sizeof(_ns1__UsageCancelByUsageSn);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancelByUsageSn*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancelByUsageSn*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancelByUsageSn(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancelByUsageSn %p -> %p\n", q, p));
*(_ns1__UsageCancelByUsageSn*)p = *(_ns1__UsageCancelByUsageSn*)q;
}
void _ns1__UsageCancelResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__UsageCancelResponse::UsageCancelResult);
/* transient soap skipped */
}
void _ns1__UsageCancelResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__UsageCancelResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancelResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancelResponse(struct soap *soap, const char *tag, int id, const _ns1__UsageCancelResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancelResponse), type))
return soap->error;
soap_element_result(soap, "ns1:UsageCancelResult");
if (soap_out_int(soap, "ns1:UsageCancelResult", -1, &(a->_ns1__UsageCancelResponse::UsageCancelResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancelResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancelResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancelResponse * SOAP_FMAC4 soap_in__ns1__UsageCancelResponse(struct soap *soap, const char *tag, _ns1__UsageCancelResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancelResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancelResponse, sizeof(_ns1__UsageCancelResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancelResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancelResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UsageCancelResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UsageCancelResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:UsageCancelResult", &(a->_ns1__UsageCancelResponse::UsageCancelResult), "xsd:int"))
{ soap_flag_UsageCancelResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UsageCancelResult");
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__UsageCancelResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancelResponse, 0, sizeof(_ns1__UsageCancelResponse), 0, soap_copy__ns1__UsageCancelResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_UsageCancelResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancelResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancelResponse);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancelResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancelResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancelResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancelResponse * SOAP_FMAC4 soap_get__ns1__UsageCancelResponse(struct soap *soap, _ns1__UsageCancelResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancelResponse * SOAP_FMAC2 soap_instantiate__ns1__UsageCancelResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancelResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancelResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancelResponse);
if (size)
*size = sizeof(_ns1__UsageCancelResponse);
((_ns1__UsageCancelResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancelResponse, n);
if (size)
*size = n * sizeof(_ns1__UsageCancelResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancelResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancelResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancelResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancelResponse %p -> %p\n", q, p));
*(_ns1__UsageCancelResponse*)p = *(_ns1__UsageCancelResponse*)q;
}
void _ns1__UsageCancel::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageCancel::nexonID = NULL;
soap_default_short(soap, &this->_ns1__UsageCancel::productType);
this->_ns1__UsageCancel::transactionID = NULL;
soap_default_int(soap, &this->_ns1__UsageCancel::refundAmount);
/* transient soap skipped */
}
void _ns1__UsageCancel::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageCancel::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageCancel::transactionID);
/* transient soap skipped */
#endif
}
int _ns1__UsageCancel::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageCancel(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageCancel(struct soap *soap, const char *tag, int id, const _ns1__UsageCancel *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageCancel), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__UsageCancel::nexonID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__UsageCancel::productType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__UsageCancel::transactionID), ""))
return soap->error;
if (soap_out_int(soap, "ns1:refundAmount", -1, &(a->_ns1__UsageCancel::refundAmount), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageCancel::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageCancel(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageCancel * SOAP_FMAC4 soap_in__ns1__UsageCancel(struct soap *soap, const char *tag, _ns1__UsageCancel *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageCancel *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageCancel, sizeof(_ns1__UsageCancel), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageCancel)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageCancel *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_refundAmount1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__UsageCancel::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__UsageCancel::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__UsageCancel::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_refundAmount1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:refundAmount", &(a->_ns1__UsageCancel::refundAmount), "xsd:int"))
{ soap_flag_refundAmount1--;
continue;
}
/* transient soap skipped */
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__UsageCancel *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageCancel, 0, sizeof(_ns1__UsageCancel), 0, soap_copy__ns1__UsageCancel);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_refundAmount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageCancel::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageCancel);
if (this->soap_out(soap, tag?tag:"ns1:UsageCancel", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageCancel::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageCancel(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageCancel * SOAP_FMAC4 soap_get__ns1__UsageCancel(struct soap *soap, _ns1__UsageCancel *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageCancel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageCancel * SOAP_FMAC2 soap_instantiate__ns1__UsageCancel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageCancel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageCancel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageCancel);
if (size)
*size = sizeof(_ns1__UsageCancel);
((_ns1__UsageCancel*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageCancel, n);
if (size)
*size = n * sizeof(_ns1__UsageCancel);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageCancel*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageCancel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageCancel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageCancel %p -> %p\n", q, p));
*(_ns1__UsageCancel*)p = *(_ns1__UsageCancel*)q;
}
void _ns1__ChargeForNeopleCouponResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__ChargeForNeopleCouponResponse::ChargeForNeopleCouponResult);
/* transient soap skipped */
}
void _ns1__ChargeForNeopleCouponResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__ChargeForNeopleCouponResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ChargeForNeopleCouponResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ChargeForNeopleCouponResponse(struct soap *soap, const char *tag, int id, const _ns1__ChargeForNeopleCouponResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse), type))
return soap->error;
soap_element_result(soap, "ns1:ChargeForNeopleCouponResult");
if (soap_out_bool(soap, "ns1:ChargeForNeopleCouponResult", -1, &(a->_ns1__ChargeForNeopleCouponResponse::ChargeForNeopleCouponResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ChargeForNeopleCouponResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ChargeForNeopleCouponResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCouponResponse * SOAP_FMAC4 soap_in__ns1__ChargeForNeopleCouponResponse(struct soap *soap, const char *tag, _ns1__ChargeForNeopleCouponResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ChargeForNeopleCouponResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse, sizeof(_ns1__ChargeForNeopleCouponResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ChargeForNeopleCouponResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ChargeForNeopleCouponResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ChargeForNeopleCouponResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ChargeForNeopleCouponResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:ChargeForNeopleCouponResult", &(a->_ns1__ChargeForNeopleCouponResponse::ChargeForNeopleCouponResult), "xsd:boolean"))
{ soap_flag_ChargeForNeopleCouponResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ChargeForNeopleCouponResult");
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__ChargeForNeopleCouponResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse, 0, sizeof(_ns1__ChargeForNeopleCouponResponse), 0, soap_copy__ns1__ChargeForNeopleCouponResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ChargeForNeopleCouponResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ChargeForNeopleCouponResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse);
if (this->soap_out(soap, tag?tag:"ns1:ChargeForNeopleCouponResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ChargeForNeopleCouponResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ChargeForNeopleCouponResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCouponResponse * SOAP_FMAC4 soap_get__ns1__ChargeForNeopleCouponResponse(struct soap *soap, _ns1__ChargeForNeopleCouponResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ChargeForNeopleCouponResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ChargeForNeopleCouponResponse * SOAP_FMAC2 soap_instantiate__ns1__ChargeForNeopleCouponResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ChargeForNeopleCouponResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ChargeForNeopleCouponResponse);
if (size)
*size = sizeof(_ns1__ChargeForNeopleCouponResponse);
((_ns1__ChargeForNeopleCouponResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ChargeForNeopleCouponResponse, n);
if (size)
*size = n * sizeof(_ns1__ChargeForNeopleCouponResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ChargeForNeopleCouponResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ChargeForNeopleCouponResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ChargeForNeopleCouponResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ChargeForNeopleCouponResponse %p -> %p\n", q, p));
*(_ns1__ChargeForNeopleCouponResponse*)p = *(_ns1__ChargeForNeopleCouponResponse*)q;
}
void _ns1__ChargeForNeopleCoupon::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ChargeForNeopleCoupon::nexonId = NULL;
this->_ns1__ChargeForNeopleCoupon::couponNo = NULL;
soap_default_xsd__decimal(soap, &this->_ns1__ChargeForNeopleCoupon::amount);
this->_ns1__ChargeForNeopleCoupon::requestIp = NULL;
/* transient soap skipped */
}
void _ns1__ChargeForNeopleCoupon::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ChargeForNeopleCoupon::nexonId);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ChargeForNeopleCoupon::couponNo);
soap_serialize_xsd__decimal(soap, &this->_ns1__ChargeForNeopleCoupon::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ChargeForNeopleCoupon::requestIp);
/* transient soap skipped */
#endif
}
int _ns1__ChargeForNeopleCoupon::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ChargeForNeopleCoupon(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, int id, const _ns1__ChargeForNeopleCoupon *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ChargeForNeopleCoupon), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonId", -1, &(a->_ns1__ChargeForNeopleCoupon::nexonId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:couponNo", -1, &(a->_ns1__ChargeForNeopleCoupon::couponNo), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__ChargeForNeopleCoupon::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:requestIp", -1, &(a->_ns1__ChargeForNeopleCoupon::requestIp), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ChargeForNeopleCoupon::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ChargeForNeopleCoupon(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCoupon * SOAP_FMAC4 soap_in__ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, _ns1__ChargeForNeopleCoupon *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ChargeForNeopleCoupon *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ChargeForNeopleCoupon, sizeof(_ns1__ChargeForNeopleCoupon), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ChargeForNeopleCoupon)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ChargeForNeopleCoupon *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonId1 = 1;
size_t soap_flag_couponNo1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_requestIp1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonId", &(a->_ns1__ChargeForNeopleCoupon::nexonId), "xsd:string"))
{ soap_flag_nexonId1--;
continue;
}
if (soap_flag_couponNo1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:couponNo", &(a->_ns1__ChargeForNeopleCoupon::couponNo), "xsd:string"))
{ soap_flag_couponNo1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__ChargeForNeopleCoupon::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_requestIp1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:requestIp", &(a->_ns1__ChargeForNeopleCoupon::requestIp), "xsd:string"))
{ soap_flag_requestIp1--;
continue;
}
/* transient soap skipped */
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__ChargeForNeopleCoupon *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ChargeForNeopleCoupon, 0, sizeof(_ns1__ChargeForNeopleCoupon), 0, soap_copy__ns1__ChargeForNeopleCoupon);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_amount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ChargeForNeopleCoupon::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ChargeForNeopleCoupon);
if (this->soap_out(soap, tag?tag:"ns1:ChargeForNeopleCoupon", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ChargeForNeopleCoupon::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ChargeForNeopleCoupon(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCoupon * SOAP_FMAC4 soap_get__ns1__ChargeForNeopleCoupon(struct soap *soap, _ns1__ChargeForNeopleCoupon *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ChargeForNeopleCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ChargeForNeopleCoupon * SOAP_FMAC2 soap_instantiate__ns1__ChargeForNeopleCoupon(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ChargeForNeopleCoupon(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ChargeForNeopleCoupon, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ChargeForNeopleCoupon);
if (size)
*size = sizeof(_ns1__ChargeForNeopleCoupon);
((_ns1__ChargeForNeopleCoupon*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ChargeForNeopleCoupon, n);
if (size)
*size = n * sizeof(_ns1__ChargeForNeopleCoupon);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ChargeForNeopleCoupon*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ChargeForNeopleCoupon*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ChargeForNeopleCoupon(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ChargeForNeopleCoupon %p -> %p\n", q, p));
*(_ns1__ChargeForNeopleCoupon*)p = *(_ns1__ChargeForNeopleCoupon*)q;
}
void _ns1__GetCashReceiptListResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetCashReceiptListResponse::GetCashReceiptListResult = NULL;
soap_default_int(soap, &this->_ns1__GetCashReceiptListResponse::errorCode);
/* transient soap skipped */
}
void _ns1__GetCashReceiptListResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, &this->_ns1__GetCashReceiptListResponse::GetCashReceiptListResult);
/* transient soap skipped */
#endif
}
int _ns1__GetCashReceiptListResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetCashReceiptListResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetCashReceiptListResponse(struct soap *soap, const char *tag, int id, const _ns1__GetCashReceiptListResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetCashReceiptListResponse), type))
return soap->error;
if (a->GetCashReceiptListResult)
soap_element_result(soap, "ns1:GetCashReceiptListResult");
if (soap_out_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, "ns1:GetCashReceiptListResult", -1, &(a->_ns1__GetCashReceiptListResponse::GetCashReceiptListResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__GetCashReceiptListResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetCashReceiptListResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetCashReceiptListResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse * SOAP_FMAC4 soap_in__ns1__GetCashReceiptListResponse(struct soap *soap, const char *tag, _ns1__GetCashReceiptListResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetCashReceiptListResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetCashReceiptListResponse, sizeof(_ns1__GetCashReceiptListResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetCashReceiptListResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetCashReceiptListResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetCashReceiptListResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetCashReceiptListResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, "ns1:GetCashReceiptListResult", &(a->_ns1__GetCashReceiptListResponse::GetCashReceiptListResult), ""))
{ soap_flag_GetCashReceiptListResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__GetCashReceiptListResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetCashReceiptListResult");
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__GetCashReceiptListResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetCashReceiptListResponse, 0, sizeof(_ns1__GetCashReceiptListResponse), 0, soap_copy__ns1__GetCashReceiptListResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetCashReceiptListResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetCashReceiptListResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetCashReceiptListResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetCashReceiptListResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetCashReceiptListResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse * SOAP_FMAC4 soap_get__ns1__GetCashReceiptListResponse(struct soap *soap, _ns1__GetCashReceiptListResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetCashReceiptListResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetCashReceiptListResponse * SOAP_FMAC2 soap_instantiate__ns1__GetCashReceiptListResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetCashReceiptListResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetCashReceiptListResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetCashReceiptListResponse);
if (size)
*size = sizeof(_ns1__GetCashReceiptListResponse);
((_ns1__GetCashReceiptListResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetCashReceiptListResponse, n);
if (size)
*size = n * sizeof(_ns1__GetCashReceiptListResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetCashReceiptListResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetCashReceiptListResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetCashReceiptListResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetCashReceiptListResponse %p -> %p\n", q, p));
*(_ns1__GetCashReceiptListResponse*)p = *(_ns1__GetCashReceiptListResponse*)q;
}
void _ns1__GetCashReceiptList::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetCashReceiptList::nexonID = NULL;
this->_ns1__GetCashReceiptList::startDate = NULL;
this->_ns1__GetCashReceiptList::endDate = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__GetCashReceiptList::reason);
this->_ns1__GetCashReceiptList::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__GetCashReceiptList::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetCashReceiptList::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetCashReceiptList::startDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetCashReceiptList::endDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetCashReceiptList::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__GetCashReceiptList::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetCashReceiptList(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetCashReceiptList(struct soap *soap, const char *tag, int id, const _ns1__GetCashReceiptList *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetCashReceiptList), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__GetCashReceiptList::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:startDate", -1, &(a->_ns1__GetCashReceiptList::startDate), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:endDate", -1, &(a->_ns1__GetCashReceiptList::endDate), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__GetCashReceiptList::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__GetCashReceiptList::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetCashReceiptList::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetCashReceiptList(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptList * SOAP_FMAC4 soap_in__ns1__GetCashReceiptList(struct soap *soap, const char *tag, _ns1__GetCashReceiptList *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetCashReceiptList *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetCashReceiptList, sizeof(_ns1__GetCashReceiptList), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetCashReceiptList)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetCashReceiptList *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_startDate1 = 1;
size_t soap_flag_endDate1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__GetCashReceiptList::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:startDate", &(a->_ns1__GetCashReceiptList::startDate), "xsd:string"))
{ soap_flag_startDate1--;
continue;
}
if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:endDate", &(a->_ns1__GetCashReceiptList::endDate), "xsd:string"))
{ soap_flag_endDate1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__GetCashReceiptList::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__GetCashReceiptList::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__GetCashReceiptList *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetCashReceiptList, 0, sizeof(_ns1__GetCashReceiptList), 0, soap_copy__ns1__GetCashReceiptList);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetCashReceiptList::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetCashReceiptList);
if (this->soap_out(soap, tag?tag:"ns1:GetCashReceiptList", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetCashReceiptList::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetCashReceiptList(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptList * SOAP_FMAC4 soap_get__ns1__GetCashReceiptList(struct soap *soap, _ns1__GetCashReceiptList *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetCashReceiptList(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetCashReceiptList * SOAP_FMAC2 soap_instantiate__ns1__GetCashReceiptList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetCashReceiptList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetCashReceiptList, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetCashReceiptList);
if (size)
*size = sizeof(_ns1__GetCashReceiptList);
((_ns1__GetCashReceiptList*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetCashReceiptList, n);
if (size)
*size = n * sizeof(_ns1__GetCashReceiptList);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetCashReceiptList*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetCashReceiptList*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetCashReceiptList(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetCashReceiptList %p -> %p\n", q, p));
*(_ns1__GetCashReceiptList*)p = *(_ns1__GetCashReceiptList*)q;
}
void _ns1__CheckUsageResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__CheckUsageResponse::CheckUsageResult);
soap_default_int(soap, &this->_ns1__CheckUsageResponse::errorCode);
/* transient soap skipped */
}
void _ns1__CheckUsageResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__CheckUsageResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__CheckUsageResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__CheckUsageResponse(struct soap *soap, const char *tag, int id, const _ns1__CheckUsageResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__CheckUsageResponse), type))
return soap->error;
soap_element_result(soap, "ns1:CheckUsageResult");
if (soap_out_bool(soap, "ns1:CheckUsageResult", -1, &(a->_ns1__CheckUsageResponse::CheckUsageResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__CheckUsageResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__CheckUsageResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__CheckUsageResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__CheckUsageResponse * SOAP_FMAC4 soap_in__ns1__CheckUsageResponse(struct soap *soap, const char *tag, _ns1__CheckUsageResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__CheckUsageResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__CheckUsageResponse, sizeof(_ns1__CheckUsageResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__CheckUsageResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__CheckUsageResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_CheckUsageResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_CheckUsageResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:CheckUsageResult", &(a->_ns1__CheckUsageResponse::CheckUsageResult), "xsd:boolean"))
{ soap_flag_CheckUsageResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__CheckUsageResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:CheckUsageResult");
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__CheckUsageResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__CheckUsageResponse, 0, sizeof(_ns1__CheckUsageResponse), 0, soap_copy__ns1__CheckUsageResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_CheckUsageResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__CheckUsageResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__CheckUsageResponse);
if (this->soap_out(soap, tag?tag:"ns1:CheckUsageResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__CheckUsageResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__CheckUsageResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__CheckUsageResponse * SOAP_FMAC4 soap_get__ns1__CheckUsageResponse(struct soap *soap, _ns1__CheckUsageResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__CheckUsageResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__CheckUsageResponse * SOAP_FMAC2 soap_instantiate__ns1__CheckUsageResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__CheckUsageResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__CheckUsageResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__CheckUsageResponse);
if (size)
*size = sizeof(_ns1__CheckUsageResponse);
((_ns1__CheckUsageResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__CheckUsageResponse, n);
if (size)
*size = n * sizeof(_ns1__CheckUsageResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__CheckUsageResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__CheckUsageResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__CheckUsageResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__CheckUsageResponse %p -> %p\n", q, p));
*(_ns1__CheckUsageResponse*)p = *(_ns1__CheckUsageResponse*)q;
}
void _ns1__CheckUsage::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__CheckUsage::id = NULL;
soap_default_short(soap, &this->_ns1__CheckUsage::productType);
soap_default_xsd__decimal(soap, &this->_ns1__CheckUsage::amount);
this->_ns1__CheckUsage::itemCode = NULL;
this->_ns1__CheckUsage::receiverId = NULL;
this->_ns1__CheckUsage::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__CheckUsage::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__CheckUsage::id);
soap_serialize_xsd__decimal(soap, &this->_ns1__CheckUsage::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__CheckUsage::itemCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__CheckUsage::receiverId);
soap_serialize_PointerTostd__string(soap, &this->_ns1__CheckUsage::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__CheckUsage::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__CheckUsage(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__CheckUsage(struct soap *soap, const char *tag, int id, const _ns1__CheckUsage *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__CheckUsage), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__CheckUsage::id), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__CheckUsage::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__CheckUsage::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:itemCode", -1, &(a->_ns1__CheckUsage::itemCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:receiverId", -1, &(a->_ns1__CheckUsage::receiverId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__CheckUsage::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__CheckUsage::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__CheckUsage(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__CheckUsage * SOAP_FMAC4 soap_in__ns1__CheckUsage(struct soap *soap, const char *tag, _ns1__CheckUsage *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__CheckUsage *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__CheckUsage, sizeof(_ns1__CheckUsage), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__CheckUsage)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__CheckUsage *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_itemCode1 = 1;
size_t soap_flag_receiverId1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__CheckUsage::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__CheckUsage::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__CheckUsage::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_itemCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:itemCode", &(a->_ns1__CheckUsage::itemCode), "xsd:string"))
{ soap_flag_itemCode1--;
continue;
}
if (soap_flag_receiverId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:receiverId", &(a->_ns1__CheckUsage::receiverId), "xsd:string"))
{ soap_flag_receiverId1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__CheckUsage::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__CheckUsage *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__CheckUsage, 0, sizeof(_ns1__CheckUsage), 0, soap_copy__ns1__CheckUsage);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_amount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__CheckUsage::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__CheckUsage);
if (this->soap_out(soap, tag?tag:"ns1:CheckUsage", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__CheckUsage::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__CheckUsage(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__CheckUsage * SOAP_FMAC4 soap_get__ns1__CheckUsage(struct soap *soap, _ns1__CheckUsage *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__CheckUsage(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__CheckUsage * SOAP_FMAC2 soap_instantiate__ns1__CheckUsage(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__CheckUsage(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__CheckUsage, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__CheckUsage);
if (size)
*size = sizeof(_ns1__CheckUsage);
((_ns1__CheckUsage*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__CheckUsage, n);
if (size)
*size = n * sizeof(_ns1__CheckUsage);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__CheckUsage*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__CheckUsage*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__CheckUsage(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__CheckUsage %p -> %p\n", q, p));
*(_ns1__CheckUsage*)p = *(_ns1__CheckUsage*)q;
}
void _ns1__PresentExtendResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PresentExtendResponse::PresentExtendResult);
soap_default_int(soap, &this->_ns1__PresentExtendResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PresentExtendResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PresentExtendResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PresentExtendResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PresentExtendResponse(struct soap *soap, const char *tag, int id, const _ns1__PresentExtendResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PresentExtendResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PresentExtendResult");
if (soap_out_bool(soap, "ns1:PresentExtendResult", -1, &(a->_ns1__PresentExtendResponse::PresentExtendResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PresentExtendResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PresentExtendResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PresentExtendResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PresentExtendResponse * SOAP_FMAC4 soap_in__ns1__PresentExtendResponse(struct soap *soap, const char *tag, _ns1__PresentExtendResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PresentExtendResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PresentExtendResponse, sizeof(_ns1__PresentExtendResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PresentExtendResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PresentExtendResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PresentExtendResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PresentExtendResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PresentExtendResult", &(a->_ns1__PresentExtendResponse::PresentExtendResult), "xsd:boolean"))
{ soap_flag_PresentExtendResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PresentExtendResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PresentExtendResult");
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__PresentExtendResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PresentExtendResponse, 0, sizeof(_ns1__PresentExtendResponse), 0, soap_copy__ns1__PresentExtendResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PresentExtendResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PresentExtendResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PresentExtendResponse);
if (this->soap_out(soap, tag?tag:"ns1:PresentExtendResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PresentExtendResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PresentExtendResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PresentExtendResponse * SOAP_FMAC4 soap_get__ns1__PresentExtendResponse(struct soap *soap, _ns1__PresentExtendResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PresentExtendResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PresentExtendResponse * SOAP_FMAC2 soap_instantiate__ns1__PresentExtendResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PresentExtendResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PresentExtendResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PresentExtendResponse);
if (size)
*size = sizeof(_ns1__PresentExtendResponse);
((_ns1__PresentExtendResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PresentExtendResponse, n);
if (size)
*size = n * sizeof(_ns1__PresentExtendResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PresentExtendResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PresentExtendResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PresentExtendResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PresentExtendResponse %p -> %p\n", q, p));
*(_ns1__PresentExtendResponse*)p = *(_ns1__PresentExtendResponse*)q;
}
void _ns1__PresentExtend::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__PresentExtend::nexonID = NULL;
this->_ns1__PresentExtend::transactionID = NULL;
soap_default_short(soap, &this->_ns1__PresentExtend::productType);
soap_default_xsd__decimal(soap, &this->_ns1__PresentExtend::amount);
soap_default_xsd__decimal(soap, &this->_ns1__PresentExtend::extraCashAmount);
this->_ns1__PresentExtend::productCode = NULL;
this->_ns1__PresentExtend::gameID = NULL;
this->_ns1__PresentExtend::receiveNexonID = NULL;
this->_ns1__PresentExtend::receiveGameID = NULL;
this->_ns1__PresentExtend::data2 = NULL;
this->_ns1__PresentExtend::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__PresentExtend::reason);
this->_ns1__PresentExtend::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__PresentExtend::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__PresentExtend::amount);
soap_serialize_xsd__decimal(soap, &this->_ns1__PresentExtend::extraCashAmount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::receiveNexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::receiveGameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentExtend::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__PresentExtend::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PresentExtend(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PresentExtend(struct soap *soap, const char *tag, int id, const _ns1__PresentExtend *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PresentExtend), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__PresentExtend::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__PresentExtend::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__PresentExtend::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__PresentExtend::amount), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:extraCashAmount", -1, &(a->_ns1__PresentExtend::extraCashAmount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__PresentExtend::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__PresentExtend::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:receiveNexonID", -1, &(a->_ns1__PresentExtend::receiveNexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:receiveGameID", -1, &(a->_ns1__PresentExtend::receiveGameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__PresentExtend::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__PresentExtend::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__PresentExtend::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__PresentExtend::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PresentExtend::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PresentExtend(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PresentExtend * SOAP_FMAC4 soap_in__ns1__PresentExtend(struct soap *soap, const char *tag, _ns1__PresentExtend *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PresentExtend *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PresentExtend, sizeof(_ns1__PresentExtend), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PresentExtend)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PresentExtend *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_extraCashAmount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_receiveNexonID1 = 1;
size_t soap_flag_receiveGameID1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__PresentExtend::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__PresentExtend::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__PresentExtend::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__PresentExtend::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_extraCashAmount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:extraCashAmount", &(a->_ns1__PresentExtend::extraCashAmount), "xsd:decimal"))
{ soap_flag_extraCashAmount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__PresentExtend::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__PresentExtend::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_receiveNexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:receiveNexonID", &(a->_ns1__PresentExtend::receiveNexonID), "xsd:string"))
{ soap_flag_receiveNexonID1--;
continue;
}
if (soap_flag_receiveGameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:receiveGameID", &(a->_ns1__PresentExtend::receiveGameID), "xsd:string"))
{ soap_flag_receiveGameID1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__PresentExtend::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__PresentExtend::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__PresentExtend::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__PresentExtend::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__PresentExtend *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PresentExtend, 0, sizeof(_ns1__PresentExtend), 0, soap_copy__ns1__PresentExtend);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_extraCashAmount1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PresentExtend::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PresentExtend);
if (this->soap_out(soap, tag?tag:"ns1:PresentExtend", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PresentExtend::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PresentExtend(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PresentExtend * SOAP_FMAC4 soap_get__ns1__PresentExtend(struct soap *soap, _ns1__PresentExtend *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PresentExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PresentExtend * SOAP_FMAC2 soap_instantiate__ns1__PresentExtend(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PresentExtend(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PresentExtend, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PresentExtend);
if (size)
*size = sizeof(_ns1__PresentExtend);
((_ns1__PresentExtend*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PresentExtend, n);
if (size)
*size = n * sizeof(_ns1__PresentExtend);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PresentExtend*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PresentExtend*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PresentExtend(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PresentExtend %p -> %p\n", q, p));
*(_ns1__PresentExtend*)p = *(_ns1__PresentExtend*)q;
}
void _ns1__PresentChannelResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PresentChannelResponse::PresentChannelResult);
soap_default_int(soap, &this->_ns1__PresentChannelResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PresentChannelResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PresentChannelResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PresentChannelResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PresentChannelResponse(struct soap *soap, const char *tag, int id, const _ns1__PresentChannelResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PresentChannelResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PresentChannelResult");
if (soap_out_bool(soap, "ns1:PresentChannelResult", -1, &(a->_ns1__PresentChannelResponse::PresentChannelResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PresentChannelResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PresentChannelResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PresentChannelResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PresentChannelResponse * SOAP_FMAC4 soap_in__ns1__PresentChannelResponse(struct soap *soap, const char *tag, _ns1__PresentChannelResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PresentChannelResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PresentChannelResponse, sizeof(_ns1__PresentChannelResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PresentChannelResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PresentChannelResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PresentChannelResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PresentChannelResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PresentChannelResult", &(a->_ns1__PresentChannelResponse::PresentChannelResult), "xsd:boolean"))
{ soap_flag_PresentChannelResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PresentChannelResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PresentChannelResult");
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__PresentChannelResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PresentChannelResponse, 0, sizeof(_ns1__PresentChannelResponse), 0, soap_copy__ns1__PresentChannelResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PresentChannelResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PresentChannelResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PresentChannelResponse);
if (this->soap_out(soap, tag?tag:"ns1:PresentChannelResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PresentChannelResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PresentChannelResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PresentChannelResponse * SOAP_FMAC4 soap_get__ns1__PresentChannelResponse(struct soap *soap, _ns1__PresentChannelResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PresentChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PresentChannelResponse * SOAP_FMAC2 soap_instantiate__ns1__PresentChannelResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PresentChannelResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PresentChannelResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PresentChannelResponse);
if (size)
*size = sizeof(_ns1__PresentChannelResponse);
((_ns1__PresentChannelResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PresentChannelResponse, n);
if (size)
*size = n * sizeof(_ns1__PresentChannelResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PresentChannelResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PresentChannelResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PresentChannelResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PresentChannelResponse %p -> %p\n", q, p));
*(_ns1__PresentChannelResponse*)p = *(_ns1__PresentChannelResponse*)q;
}
void _ns1__PresentChannel::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__PresentChannel::liabilityType);
this->_ns1__PresentChannel::id = NULL;
this->_ns1__PresentChannel::transactionID = NULL;
soap_default_short(soap, &this->_ns1__PresentChannel::productType);
soap_default_xsd__decimal(soap, &this->_ns1__PresentChannel::amount);
this->_ns1__PresentChannel::productCode = NULL;
this->_ns1__PresentChannel::gameID = NULL;
this->_ns1__PresentChannel::giftGameID = NULL;
this->_ns1__PresentChannel::data2 = NULL;
this->_ns1__PresentChannel::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__PresentChannel::reason);
this->_ns1__PresentChannel::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__PresentChannel::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__PresentChannel::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::giftGameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PresentChannel::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__PresentChannel::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PresentChannel(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PresentChannel(struct soap *soap, const char *tag, int id, const _ns1__PresentChannel *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PresentChannel), type))
return soap->error;
if (soap_out_int(soap, "ns1:liabilityType", -1, &(a->_ns1__PresentChannel::liabilityType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__PresentChannel::id), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__PresentChannel::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__PresentChannel::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__PresentChannel::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__PresentChannel::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__PresentChannel::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:giftGameID", -1, &(a->_ns1__PresentChannel::giftGameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__PresentChannel::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__PresentChannel::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__PresentChannel::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__PresentChannel::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PresentChannel::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PresentChannel(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PresentChannel * SOAP_FMAC4 soap_in__ns1__PresentChannel(struct soap *soap, const char *tag, _ns1__PresentChannel *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PresentChannel *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PresentChannel, sizeof(_ns1__PresentChannel), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PresentChannel)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PresentChannel *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_liabilityType1 = 1;
size_t soap_flag_id1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_giftGameID1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_liabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:liabilityType", &(a->_ns1__PresentChannel::liabilityType), "xsd:int"))
{ soap_flag_liabilityType1--;
continue;
}
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__PresentChannel::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__PresentChannel::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__PresentChannel::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__PresentChannel::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__PresentChannel::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__PresentChannel::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_giftGameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:giftGameID", &(a->_ns1__PresentChannel::giftGameID), "xsd:string"))
{ soap_flag_giftGameID1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__PresentChannel::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__PresentChannel::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__PresentChannel::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__PresentChannel::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__PresentChannel *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PresentChannel, 0, sizeof(_ns1__PresentChannel), 0, soap_copy__ns1__PresentChannel);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_liabilityType1 > 0 || soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PresentChannel::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PresentChannel);
if (this->soap_out(soap, tag?tag:"ns1:PresentChannel", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PresentChannel::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PresentChannel(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PresentChannel * SOAP_FMAC4 soap_get__ns1__PresentChannel(struct soap *soap, _ns1__PresentChannel *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PresentChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PresentChannel * SOAP_FMAC2 soap_instantiate__ns1__PresentChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PresentChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PresentChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PresentChannel);
if (size)
*size = sizeof(_ns1__PresentChannel);
((_ns1__PresentChannel*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PresentChannel, n);
if (size)
*size = n * sizeof(_ns1__PresentChannel);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PresentChannel*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PresentChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PresentChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PresentChannel %p -> %p\n", q, p));
*(_ns1__PresentChannel*)p = *(_ns1__PresentChannel*)q;
}
void _ns1__PresentResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PresentResponse::PresentResult);
soap_default_int(soap, &this->_ns1__PresentResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PresentResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PresentResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PresentResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PresentResponse(struct soap *soap, const char *tag, int id, const _ns1__PresentResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PresentResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PresentResult");
if (soap_out_bool(soap, "ns1:PresentResult", -1, &(a->_ns1__PresentResponse::PresentResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PresentResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PresentResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PresentResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PresentResponse * SOAP_FMAC4 soap_in__ns1__PresentResponse(struct soap *soap, const char *tag, _ns1__PresentResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PresentResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PresentResponse, sizeof(_ns1__PresentResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PresentResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PresentResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PresentResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PresentResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PresentResult", &(a->_ns1__PresentResponse::PresentResult), "xsd:boolean"))
{ soap_flag_PresentResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PresentResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PresentResult");
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__PresentResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PresentResponse, 0, sizeof(_ns1__PresentResponse), 0, soap_copy__ns1__PresentResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PresentResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PresentResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PresentResponse);
if (this->soap_out(soap, tag?tag:"ns1:PresentResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PresentResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PresentResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PresentResponse * SOAP_FMAC4 soap_get__ns1__PresentResponse(struct soap *soap, _ns1__PresentResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PresentResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PresentResponse * SOAP_FMAC2 soap_instantiate__ns1__PresentResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PresentResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PresentResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PresentResponse);
if (size)
*size = sizeof(_ns1__PresentResponse);
((_ns1__PresentResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PresentResponse, n);
if (size)
*size = n * sizeof(_ns1__PresentResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PresentResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PresentResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PresentResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PresentResponse %p -> %p\n", q, p));
*(_ns1__PresentResponse*)p = *(_ns1__PresentResponse*)q;
}
void _ns1__Present::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__Present::nexonID = NULL;
this->_ns1__Present::transactionID = NULL;
soap_default_short(soap, &this->_ns1__Present::productType);
soap_default_xsd__decimal(soap, &this->_ns1__Present::amount);
this->_ns1__Present::productCode = NULL;
this->_ns1__Present::gameID = NULL;
this->_ns1__Present::giftGameID = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__Present::age);
this->_ns1__Present::data2 = NULL;
this->_ns1__Present::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__Present::reason);
this->_ns1__Present::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__Present::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__Present::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::giftGameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Present::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__Present::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__Present(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__Present(struct soap *soap, const char *tag, int id, const _ns1__Present *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__Present), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__Present::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__Present::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__Present::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__Present::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__Present::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__Present::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:giftGameID", -1, &(a->_ns1__Present::giftGameID), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:age", -1, &(a->_ns1__Present::age), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__Present::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__Present::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__Present::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__Present::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__Present::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__Present(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__Present * SOAP_FMAC4 soap_in__ns1__Present(struct soap *soap, const char *tag, _ns1__Present *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__Present *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__Present, sizeof(_ns1__Present), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__Present)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__Present *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_giftGameID1 = 1;
size_t soap_flag_age1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__Present::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__Present::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__Present::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__Present::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__Present::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__Present::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_giftGameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:giftGameID", &(a->_ns1__Present::giftGameID), "xsd:string"))
{ soap_flag_giftGameID1--;
continue;
}
if (soap_flag_age1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:age", &(a->_ns1__Present::age), "xsd:unsignedByte"))
{ soap_flag_age1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__Present::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__Present::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__Present::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__Present::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__Present *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__Present, 0, sizeof(_ns1__Present), 0, soap_copy__ns1__Present);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_age1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__Present::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__Present);
if (this->soap_out(soap, tag?tag:"ns1:Present", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__Present::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__Present(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__Present * SOAP_FMAC4 soap_get__ns1__Present(struct soap *soap, _ns1__Present *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__Present(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__Present * SOAP_FMAC2 soap_instantiate__ns1__Present(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__Present(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__Present, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__Present);
if (size)
*size = sizeof(_ns1__Present);
((_ns1__Present*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__Present, n);
if (size)
*size = n * sizeof(_ns1__Present);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__Present*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__Present*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__Present(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__Present %p -> %p\n", q, p));
*(_ns1__Present*)p = *(_ns1__Present*)q;
}
void _ns1__ApprovalCashChange_USCOREChannelingResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalCashChange_USCOREChannelingResponse::ApprovalCashChange_USCOREChannelingResult = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalCashChange_USCOREChannelingResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ResultT(soap, &this->_ns1__ApprovalCashChange_USCOREChannelingResponse::ApprovalCashChange_USCOREChannelingResult);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalCashChange_USCOREChannelingResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, const char *tag, int id, const _ns1__ApprovalCashChange_USCOREChannelingResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse), type))
return soap->error;
if (a->ApprovalCashChange_USCOREChannelingResult)
soap_element_result(soap, "ns1:ApprovalCashChange_ChannelingResult");
if (soap_out_PointerTons1__ResultT(soap, "ns1:ApprovalCashChange_ChannelingResult", -1, &(a->_ns1__ApprovalCashChange_USCOREChannelingResponse::ApprovalCashChange_USCOREChannelingResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalCashChange_USCOREChannelingResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChannelingResponse * SOAP_FMAC4 soap_in__ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, const char *tag, _ns1__ApprovalCashChange_USCOREChannelingResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalCashChange_USCOREChannelingResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse, sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalCashChange_USCOREChannelingResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ApprovalCashChange_USCOREChannelingResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ApprovalCashChange_USCOREChannelingResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ResultT(soap, "ns1:ApprovalCashChange_ChannelingResult", &(a->_ns1__ApprovalCashChange_USCOREChannelingResponse::ApprovalCashChange_USCOREChannelingResult), "ns1:ResultT"))
{ soap_flag_ApprovalCashChange_USCOREChannelingResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ApprovalCashChange_ChannelingResult");
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__ApprovalCashChange_USCOREChannelingResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse, 0, sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse), 0, soap_copy__ns1__ApprovalCashChange_USCOREChannelingResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__ApprovalCashChange_USCOREChannelingResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalCashChange_ChannelingResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalCashChange_USCOREChannelingResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChannelingResponse * SOAP_FMAC4 soap_get__ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, _ns1__ApprovalCashChange_USCOREChannelingResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalCashChange_USCOREChannelingResponse * SOAP_FMAC2 soap_instantiate__ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalCashChange_USCOREChannelingResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalCashChange_USCOREChannelingResponse);
if (size)
*size = sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse);
((_ns1__ApprovalCashChange_USCOREChannelingResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalCashChange_USCOREChannelingResponse, n);
if (size)
*size = n * sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalCashChange_USCOREChannelingResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalCashChange_USCOREChannelingResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalCashChange_USCOREChannelingResponse %p -> %p\n", q, p));
*(_ns1__ApprovalCashChange_USCOREChannelingResponse*)p = *(_ns1__ApprovalCashChange_USCOREChannelingResponse*)q;
}
void _ns1__ApprovalCashChange_USCOREChanneling::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalCashChange_USCOREChanneling::chargeInfo = NULL;
this->_ns1__ApprovalCashChange_USCOREChanneling::channelingInfo = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalCashChange_USCOREChanneling::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ChargeT(soap, &this->_ns1__ApprovalCashChange_USCOREChanneling::chargeInfo);
soap_serialize_PointerTons1__UsageT(soap, &this->_ns1__ApprovalCashChange_USCOREChanneling::channelingInfo);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalCashChange_USCOREChanneling::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalCashChange_USCOREChanneling(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, int id, const _ns1__ApprovalCashChange_USCOREChanneling *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling), type))
return soap->error;
if (soap_out_PointerTons1__ChargeT(soap, "ns1:chargeInfo", -1, &(a->_ns1__ApprovalCashChange_USCOREChanneling::chargeInfo), ""))
return soap->error;
if (soap_out_PointerTons1__UsageT(soap, "ns1:channelingInfo", -1, &(a->_ns1__ApprovalCashChange_USCOREChanneling::channelingInfo), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalCashChange_USCOREChanneling::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalCashChange_USCOREChanneling(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC4 soap_in__ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, _ns1__ApprovalCashChange_USCOREChanneling *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalCashChange_USCOREChanneling *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling, sizeof(_ns1__ApprovalCashChange_USCOREChanneling), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalCashChange_USCOREChanneling *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_chargeInfo1 = 1;
size_t soap_flag_channelingInfo1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_chargeInfo1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ChargeT(soap, "ns1:chargeInfo", &(a->_ns1__ApprovalCashChange_USCOREChanneling::chargeInfo), "ns1:ChargeT"))
{ soap_flag_chargeInfo1--;
continue;
}
if (soap_flag_channelingInfo1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__UsageT(soap, "ns1:channelingInfo", &(a->_ns1__ApprovalCashChange_USCOREChanneling::channelingInfo), "ns1:UsageT"))
{ soap_flag_channelingInfo1--;
continue;
}
/* transient soap skipped */
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__ApprovalCashChange_USCOREChanneling *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling, 0, sizeof(_ns1__ApprovalCashChange_USCOREChanneling), 0, soap_copy__ns1__ApprovalCashChange_USCOREChanneling);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__ApprovalCashChange_USCOREChanneling::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalCashChange_Channeling", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalCashChange_USCOREChanneling::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalCashChange_USCOREChanneling(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC4 soap_get__ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, _ns1__ApprovalCashChange_USCOREChanneling *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalCashChange_USCOREChanneling(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC2 soap_instantiate__ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalCashChange_USCOREChanneling(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalCashChange_USCOREChanneling);
if (size)
*size = sizeof(_ns1__ApprovalCashChange_USCOREChanneling);
((_ns1__ApprovalCashChange_USCOREChanneling*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalCashChange_USCOREChanneling, n);
if (size)
*size = n * sizeof(_ns1__ApprovalCashChange_USCOREChanneling);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalCashChange_USCOREChanneling*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalCashChange_USCOREChanneling*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalCashChange_USCOREChanneling %p -> %p\n", q, p));
*(_ns1__ApprovalCashChange_USCOREChanneling*)p = *(_ns1__ApprovalCashChange_USCOREChanneling*)q;
}
void _ns1__Purchase_USCOREExResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__Purchase_USCOREExResponse::Purchase_USCOREExResult = NULL;
/* transient soap skipped */
}
void _ns1__Purchase_USCOREExResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ResultT(soap, &this->_ns1__Purchase_USCOREExResponse::Purchase_USCOREExResult);
/* transient soap skipped */
#endif
}
int _ns1__Purchase_USCOREExResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__Purchase_USCOREExResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__Purchase_USCOREExResponse(struct soap *soap, const char *tag, int id, const _ns1__Purchase_USCOREExResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__Purchase_USCOREExResponse), type))
return soap->error;
if (a->Purchase_USCOREExResult)
soap_element_result(soap, "ns1:Purchase_ExResult");
if (soap_out_PointerTons1__ResultT(soap, "ns1:Purchase_ExResult", -1, &(a->_ns1__Purchase_USCOREExResponse::Purchase_USCOREExResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__Purchase_USCOREExResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__Purchase_USCOREExResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREExResponse * SOAP_FMAC4 soap_in__ns1__Purchase_USCOREExResponse(struct soap *soap, const char *tag, _ns1__Purchase_USCOREExResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__Purchase_USCOREExResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__Purchase_USCOREExResponse, sizeof(_ns1__Purchase_USCOREExResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__Purchase_USCOREExResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__Purchase_USCOREExResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_Purchase_USCOREExResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_Purchase_USCOREExResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ResultT(soap, "ns1:Purchase_ExResult", &(a->_ns1__Purchase_USCOREExResponse::Purchase_USCOREExResult), "ns1:ResultT"))
{ soap_flag_Purchase_USCOREExResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:Purchase_ExResult");
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__Purchase_USCOREExResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__Purchase_USCOREExResponse, 0, sizeof(_ns1__Purchase_USCOREExResponse), 0, soap_copy__ns1__Purchase_USCOREExResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__Purchase_USCOREExResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__Purchase_USCOREExResponse);
if (this->soap_out(soap, tag?tag:"ns1:Purchase_ExResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__Purchase_USCOREExResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__Purchase_USCOREExResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREExResponse * SOAP_FMAC4 soap_get__ns1__Purchase_USCOREExResponse(struct soap *soap, _ns1__Purchase_USCOREExResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__Purchase_USCOREExResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__Purchase_USCOREExResponse * SOAP_FMAC2 soap_instantiate__ns1__Purchase_USCOREExResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__Purchase_USCOREExResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__Purchase_USCOREExResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__Purchase_USCOREExResponse);
if (size)
*size = sizeof(_ns1__Purchase_USCOREExResponse);
((_ns1__Purchase_USCOREExResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__Purchase_USCOREExResponse, n);
if (size)
*size = n * sizeof(_ns1__Purchase_USCOREExResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__Purchase_USCOREExResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__Purchase_USCOREExResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__Purchase_USCOREExResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__Purchase_USCOREExResponse %p -> %p\n", q, p));
*(_ns1__Purchase_USCOREExResponse*)p = *(_ns1__Purchase_USCOREExResponse*)q;
}
void _ns1__Purchase_USCOREEx::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__Purchase_USCOREEx::argument = NULL;
/* transient soap skipped */
}
void _ns1__Purchase_USCOREEx::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ArrayOfAnyType(soap, &this->_ns1__Purchase_USCOREEx::argument);
/* transient soap skipped */
#endif
}
int _ns1__Purchase_USCOREEx::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__Purchase_USCOREEx(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, int id, const _ns1__Purchase_USCOREEx *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__Purchase_USCOREEx), type))
return soap->error;
if (soap_out_PointerTons1__ArrayOfAnyType(soap, "ns1:argument", -1, &(a->_ns1__Purchase_USCOREEx::argument), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__Purchase_USCOREEx::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__Purchase_USCOREEx(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREEx * SOAP_FMAC4 soap_in__ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, _ns1__Purchase_USCOREEx *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__Purchase_USCOREEx *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__Purchase_USCOREEx, sizeof(_ns1__Purchase_USCOREEx), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__Purchase_USCOREEx)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__Purchase_USCOREEx *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_argument1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_argument1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ArrayOfAnyType(soap, "ns1:argument", &(a->_ns1__Purchase_USCOREEx::argument), "ns1:ArrayOfAnyType"))
{ soap_flag_argument1--;
continue;
}
/* transient soap skipped */
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__Purchase_USCOREEx *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__Purchase_USCOREEx, 0, sizeof(_ns1__Purchase_USCOREEx), 0, soap_copy__ns1__Purchase_USCOREEx);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__Purchase_USCOREEx::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__Purchase_USCOREEx);
if (this->soap_out(soap, tag?tag:"ns1:Purchase_Ex", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__Purchase_USCOREEx::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__Purchase_USCOREEx(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREEx * SOAP_FMAC4 soap_get__ns1__Purchase_USCOREEx(struct soap *soap, _ns1__Purchase_USCOREEx *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__Purchase_USCOREEx(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__Purchase_USCOREEx * SOAP_FMAC2 soap_instantiate__ns1__Purchase_USCOREEx(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__Purchase_USCOREEx(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__Purchase_USCOREEx, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__Purchase_USCOREEx);
if (size)
*size = sizeof(_ns1__Purchase_USCOREEx);
((_ns1__Purchase_USCOREEx*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__Purchase_USCOREEx, n);
if (size)
*size = n * sizeof(_ns1__Purchase_USCOREEx);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__Purchase_USCOREEx*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__Purchase_USCOREEx*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__Purchase_USCOREEx(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__Purchase_USCOREEx %p -> %p\n", q, p));
*(_ns1__Purchase_USCOREEx*)p = *(_ns1__Purchase_USCOREEx*)q;
}
void _ns1__PurchaseExtendResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PurchaseExtendResponse::PurchaseExtendResult);
soap_default_int(soap, &this->_ns1__PurchaseExtendResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PurchaseExtendResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PurchaseExtendResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PurchaseExtendResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PurchaseExtendResponse(struct soap *soap, const char *tag, int id, const _ns1__PurchaseExtendResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PurchaseExtendResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PurchaseExtendResult");
if (soap_out_bool(soap, "ns1:PurchaseExtendResult", -1, &(a->_ns1__PurchaseExtendResponse::PurchaseExtendResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PurchaseExtendResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PurchaseExtendResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PurchaseExtendResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PurchaseExtendResponse * SOAP_FMAC4 soap_in__ns1__PurchaseExtendResponse(struct soap *soap, const char *tag, _ns1__PurchaseExtendResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PurchaseExtendResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PurchaseExtendResponse, sizeof(_ns1__PurchaseExtendResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PurchaseExtendResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PurchaseExtendResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PurchaseExtendResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PurchaseExtendResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PurchaseExtendResult", &(a->_ns1__PurchaseExtendResponse::PurchaseExtendResult), "xsd:boolean"))
{ soap_flag_PurchaseExtendResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PurchaseExtendResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PurchaseExtendResult");
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__PurchaseExtendResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PurchaseExtendResponse, 0, sizeof(_ns1__PurchaseExtendResponse), 0, soap_copy__ns1__PurchaseExtendResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PurchaseExtendResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PurchaseExtendResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PurchaseExtendResponse);
if (this->soap_out(soap, tag?tag:"ns1:PurchaseExtendResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PurchaseExtendResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PurchaseExtendResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PurchaseExtendResponse * SOAP_FMAC4 soap_get__ns1__PurchaseExtendResponse(struct soap *soap, _ns1__PurchaseExtendResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PurchaseExtendResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PurchaseExtendResponse * SOAP_FMAC2 soap_instantiate__ns1__PurchaseExtendResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PurchaseExtendResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PurchaseExtendResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PurchaseExtendResponse);
if (size)
*size = sizeof(_ns1__PurchaseExtendResponse);
((_ns1__PurchaseExtendResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PurchaseExtendResponse, n);
if (size)
*size = n * sizeof(_ns1__PurchaseExtendResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PurchaseExtendResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PurchaseExtendResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PurchaseExtendResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PurchaseExtendResponse %p -> %p\n", q, p));
*(_ns1__PurchaseExtendResponse*)p = *(_ns1__PurchaseExtendResponse*)q;
}
void _ns1__PurchaseExtend::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__PurchaseExtend::nexonID = NULL;
this->_ns1__PurchaseExtend::transactionID = NULL;
soap_default_short(soap, &this->_ns1__PurchaseExtend::productType);
soap_default_xsd__decimal(soap, &this->_ns1__PurchaseExtend::amount);
soap_default_xsd__decimal(soap, &this->_ns1__PurchaseExtend::extraCashAmount);
this->_ns1__PurchaseExtend::productCode = NULL;
this->_ns1__PurchaseExtend::gameID = NULL;
this->_ns1__PurchaseExtend::data2 = NULL;
this->_ns1__PurchaseExtend::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__PurchaseExtend::reason);
this->_ns1__PurchaseExtend::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__PurchaseExtend::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__PurchaseExtend::amount);
soap_serialize_xsd__decimal(soap, &this->_ns1__PurchaseExtend::extraCashAmount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseExtend::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__PurchaseExtend::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PurchaseExtend(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PurchaseExtend(struct soap *soap, const char *tag, int id, const _ns1__PurchaseExtend *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PurchaseExtend), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__PurchaseExtend::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__PurchaseExtend::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__PurchaseExtend::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__PurchaseExtend::amount), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:extraCashAmount", -1, &(a->_ns1__PurchaseExtend::extraCashAmount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__PurchaseExtend::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__PurchaseExtend::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__PurchaseExtend::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__PurchaseExtend::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__PurchaseExtend::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__PurchaseExtend::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PurchaseExtend::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PurchaseExtend(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PurchaseExtend * SOAP_FMAC4 soap_in__ns1__PurchaseExtend(struct soap *soap, const char *tag, _ns1__PurchaseExtend *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PurchaseExtend *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PurchaseExtend, sizeof(_ns1__PurchaseExtend), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PurchaseExtend)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PurchaseExtend *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_extraCashAmount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__PurchaseExtend::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__PurchaseExtend::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__PurchaseExtend::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__PurchaseExtend::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_extraCashAmount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:extraCashAmount", &(a->_ns1__PurchaseExtend::extraCashAmount), "xsd:decimal"))
{ soap_flag_extraCashAmount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__PurchaseExtend::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__PurchaseExtend::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__PurchaseExtend::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__PurchaseExtend::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__PurchaseExtend::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__PurchaseExtend::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__PurchaseExtend *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PurchaseExtend, 0, sizeof(_ns1__PurchaseExtend), 0, soap_copy__ns1__PurchaseExtend);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_extraCashAmount1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PurchaseExtend::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PurchaseExtend);
if (this->soap_out(soap, tag?tag:"ns1:PurchaseExtend", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PurchaseExtend::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PurchaseExtend(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PurchaseExtend * SOAP_FMAC4 soap_get__ns1__PurchaseExtend(struct soap *soap, _ns1__PurchaseExtend *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PurchaseExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PurchaseExtend * SOAP_FMAC2 soap_instantiate__ns1__PurchaseExtend(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PurchaseExtend(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PurchaseExtend, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PurchaseExtend);
if (size)
*size = sizeof(_ns1__PurchaseExtend);
((_ns1__PurchaseExtend*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PurchaseExtend, n);
if (size)
*size = n * sizeof(_ns1__PurchaseExtend);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PurchaseExtend*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PurchaseExtend*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PurchaseExtend(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PurchaseExtend %p -> %p\n", q, p));
*(_ns1__PurchaseExtend*)p = *(_ns1__PurchaseExtend*)q;
}
void _ns1__PurchaseChannelResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PurchaseChannelResponse::PurchaseChannelResult);
soap_default_int(soap, &this->_ns1__PurchaseChannelResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PurchaseChannelResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PurchaseChannelResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PurchaseChannelResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PurchaseChannelResponse(struct soap *soap, const char *tag, int id, const _ns1__PurchaseChannelResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PurchaseChannelResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PurchaseChannelResult");
if (soap_out_bool(soap, "ns1:PurchaseChannelResult", -1, &(a->_ns1__PurchaseChannelResponse::PurchaseChannelResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PurchaseChannelResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PurchaseChannelResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PurchaseChannelResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PurchaseChannelResponse * SOAP_FMAC4 soap_in__ns1__PurchaseChannelResponse(struct soap *soap, const char *tag, _ns1__PurchaseChannelResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PurchaseChannelResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PurchaseChannelResponse, sizeof(_ns1__PurchaseChannelResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PurchaseChannelResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PurchaseChannelResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PurchaseChannelResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PurchaseChannelResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PurchaseChannelResult", &(a->_ns1__PurchaseChannelResponse::PurchaseChannelResult), "xsd:boolean"))
{ soap_flag_PurchaseChannelResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PurchaseChannelResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PurchaseChannelResult");
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__PurchaseChannelResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PurchaseChannelResponse, 0, sizeof(_ns1__PurchaseChannelResponse), 0, soap_copy__ns1__PurchaseChannelResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PurchaseChannelResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PurchaseChannelResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PurchaseChannelResponse);
if (this->soap_out(soap, tag?tag:"ns1:PurchaseChannelResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PurchaseChannelResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PurchaseChannelResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PurchaseChannelResponse * SOAP_FMAC4 soap_get__ns1__PurchaseChannelResponse(struct soap *soap, _ns1__PurchaseChannelResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PurchaseChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PurchaseChannelResponse * SOAP_FMAC2 soap_instantiate__ns1__PurchaseChannelResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PurchaseChannelResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PurchaseChannelResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PurchaseChannelResponse);
if (size)
*size = sizeof(_ns1__PurchaseChannelResponse);
((_ns1__PurchaseChannelResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PurchaseChannelResponse, n);
if (size)
*size = n * sizeof(_ns1__PurchaseChannelResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PurchaseChannelResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PurchaseChannelResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PurchaseChannelResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PurchaseChannelResponse %p -> %p\n", q, p));
*(_ns1__PurchaseChannelResponse*)p = *(_ns1__PurchaseChannelResponse*)q;
}
void _ns1__PurchaseChannel::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->_ns1__PurchaseChannel::liabilityType);
this->_ns1__PurchaseChannel::nexonID = NULL;
this->_ns1__PurchaseChannel::transactionID = NULL;
soap_default_short(soap, &this->_ns1__PurchaseChannel::productType);
soap_default_xsd__decimal(soap, &this->_ns1__PurchaseChannel::amount);
this->_ns1__PurchaseChannel::productCode = NULL;
this->_ns1__PurchaseChannel::gameID = NULL;
this->_ns1__PurchaseChannel::data2 = NULL;
this->_ns1__PurchaseChannel::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__PurchaseChannel::reason);
this->_ns1__PurchaseChannel::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__PurchaseChannel::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__PurchaseChannel::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__PurchaseChannel::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__PurchaseChannel::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PurchaseChannel(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PurchaseChannel(struct soap *soap, const char *tag, int id, const _ns1__PurchaseChannel *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PurchaseChannel), type))
return soap->error;
if (soap_out_int(soap, "ns1:liabilityType", -1, &(a->_ns1__PurchaseChannel::liabilityType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__PurchaseChannel::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__PurchaseChannel::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__PurchaseChannel::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__PurchaseChannel::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__PurchaseChannel::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__PurchaseChannel::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__PurchaseChannel::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__PurchaseChannel::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__PurchaseChannel::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__PurchaseChannel::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PurchaseChannel::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PurchaseChannel(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PurchaseChannel * SOAP_FMAC4 soap_in__ns1__PurchaseChannel(struct soap *soap, const char *tag, _ns1__PurchaseChannel *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PurchaseChannel *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PurchaseChannel, sizeof(_ns1__PurchaseChannel), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PurchaseChannel)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PurchaseChannel *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_liabilityType1 = 1;
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_liabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:liabilityType", &(a->_ns1__PurchaseChannel::liabilityType), "xsd:int"))
{ soap_flag_liabilityType1--;
continue;
}
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__PurchaseChannel::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__PurchaseChannel::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__PurchaseChannel::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__PurchaseChannel::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__PurchaseChannel::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__PurchaseChannel::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__PurchaseChannel::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__PurchaseChannel::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__PurchaseChannel::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__PurchaseChannel::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__PurchaseChannel *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PurchaseChannel, 0, sizeof(_ns1__PurchaseChannel), 0, soap_copy__ns1__PurchaseChannel);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_liabilityType1 > 0 || soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PurchaseChannel::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PurchaseChannel);
if (this->soap_out(soap, tag?tag:"ns1:PurchaseChannel", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PurchaseChannel::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PurchaseChannel(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PurchaseChannel * SOAP_FMAC4 soap_get__ns1__PurchaseChannel(struct soap *soap, _ns1__PurchaseChannel *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PurchaseChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PurchaseChannel * SOAP_FMAC2 soap_instantiate__ns1__PurchaseChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PurchaseChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PurchaseChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PurchaseChannel);
if (size)
*size = sizeof(_ns1__PurchaseChannel);
((_ns1__PurchaseChannel*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PurchaseChannel, n);
if (size)
*size = n * sizeof(_ns1__PurchaseChannel);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PurchaseChannel*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PurchaseChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PurchaseChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PurchaseChannel %p -> %p\n", q, p));
*(_ns1__PurchaseChannel*)p = *(_ns1__PurchaseChannel*)q;
}
void _ns1__PurchaseResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__PurchaseResponse::PurchaseResult);
soap_default_int(soap, &this->_ns1__PurchaseResponse::errorCode);
/* transient soap skipped */
}
void _ns1__PurchaseResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__PurchaseResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__PurchaseResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__PurchaseResponse(struct soap *soap, const char *tag, int id, const _ns1__PurchaseResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__PurchaseResponse), type))
return soap->error;
soap_element_result(soap, "ns1:PurchaseResult");
if (soap_out_bool(soap, "ns1:PurchaseResult", -1, &(a->_ns1__PurchaseResponse::PurchaseResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__PurchaseResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__PurchaseResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__PurchaseResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__PurchaseResponse * SOAP_FMAC4 soap_in__ns1__PurchaseResponse(struct soap *soap, const char *tag, _ns1__PurchaseResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__PurchaseResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__PurchaseResponse, sizeof(_ns1__PurchaseResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__PurchaseResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__PurchaseResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_PurchaseResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_PurchaseResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:PurchaseResult", &(a->_ns1__PurchaseResponse::PurchaseResult), "xsd:boolean"))
{ soap_flag_PurchaseResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__PurchaseResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:PurchaseResult");
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__PurchaseResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__PurchaseResponse, 0, sizeof(_ns1__PurchaseResponse), 0, soap_copy__ns1__PurchaseResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_PurchaseResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__PurchaseResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__PurchaseResponse);
if (this->soap_out(soap, tag?tag:"ns1:PurchaseResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__PurchaseResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__PurchaseResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__PurchaseResponse * SOAP_FMAC4 soap_get__ns1__PurchaseResponse(struct soap *soap, _ns1__PurchaseResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__PurchaseResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__PurchaseResponse * SOAP_FMAC2 soap_instantiate__ns1__PurchaseResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__PurchaseResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__PurchaseResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__PurchaseResponse);
if (size)
*size = sizeof(_ns1__PurchaseResponse);
((_ns1__PurchaseResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__PurchaseResponse, n);
if (size)
*size = n * sizeof(_ns1__PurchaseResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__PurchaseResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__PurchaseResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__PurchaseResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__PurchaseResponse %p -> %p\n", q, p));
*(_ns1__PurchaseResponse*)p = *(_ns1__PurchaseResponse*)q;
}
void _ns1__Purchase::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__Purchase::nexonID = NULL;
this->_ns1__Purchase::transactionID = NULL;
soap_default_short(soap, &this->_ns1__Purchase::productType);
soap_default_xsd__decimal(soap, &this->_ns1__Purchase::amount);
this->_ns1__Purchase::productCode = NULL;
this->_ns1__Purchase::gameID = NULL;
this->_ns1__Purchase::data2 = NULL;
this->_ns1__Purchase::data3 = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__Purchase::reason);
this->_ns1__Purchase::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__Purchase::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::transactionID);
soap_serialize_xsd__decimal(soap, &this->_ns1__Purchase::amount);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::productCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::gameID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::data2);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::data3);
soap_serialize_PointerTostd__string(soap, &this->_ns1__Purchase::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__Purchase::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__Purchase(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__Purchase(struct soap *soap, const char *tag, int id, const _ns1__Purchase *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__Purchase), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__Purchase::nexonID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:transactionID", -1, &(a->_ns1__Purchase::transactionID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__Purchase::productType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:amount", -1, &(a->_ns1__Purchase::amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:productCode", -1, &(a->_ns1__Purchase::productCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:gameID", -1, &(a->_ns1__Purchase::gameID), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data2", -1, &(a->_ns1__Purchase::data2), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:data3", -1, &(a->_ns1__Purchase::data3), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__Purchase::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__Purchase::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__Purchase::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__Purchase(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__Purchase * SOAP_FMAC4 soap_in__ns1__Purchase(struct soap *soap, const char *tag, _ns1__Purchase *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__Purchase *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__Purchase, sizeof(_ns1__Purchase), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__Purchase)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__Purchase *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_transactionID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_amount1 = 1;
size_t soap_flag_productCode1 = 1;
size_t soap_flag_gameID1 = 1;
size_t soap_flag_data21 = 1;
size_t soap_flag_data31 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__Purchase::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_transactionID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:transactionID", &(a->_ns1__Purchase::transactionID), "xsd:string"))
{ soap_flag_transactionID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__Purchase::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:amount", &(a->_ns1__Purchase::amount), "xsd:decimal"))
{ soap_flag_amount1--;
continue;
}
if (soap_flag_productCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:productCode", &(a->_ns1__Purchase::productCode), "xsd:string"))
{ soap_flag_productCode1--;
continue;
}
if (soap_flag_gameID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:gameID", &(a->_ns1__Purchase::gameID), "xsd:string"))
{ soap_flag_gameID1--;
continue;
}
if (soap_flag_data21 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data2", &(a->_ns1__Purchase::data2), "xsd:string"))
{ soap_flag_data21--;
continue;
}
if (soap_flag_data31 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:data3", &(a->_ns1__Purchase::data3), "xsd:string"))
{ soap_flag_data31--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__Purchase::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__Purchase::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__Purchase *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__Purchase, 0, sizeof(_ns1__Purchase), 0, soap_copy__ns1__Purchase);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_amount1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__Purchase::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__Purchase);
if (this->soap_out(soap, tag?tag:"ns1:Purchase", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__Purchase::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__Purchase(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__Purchase * SOAP_FMAC4 soap_get__ns1__Purchase(struct soap *soap, _ns1__Purchase *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__Purchase(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__Purchase * SOAP_FMAC2 soap_instantiate__ns1__Purchase(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__Purchase(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__Purchase, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__Purchase);
if (size)
*size = sizeof(_ns1__Purchase);
((_ns1__Purchase*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__Purchase, n);
if (size)
*size = n * sizeof(_ns1__Purchase);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__Purchase*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__Purchase*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__Purchase(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__Purchase %p -> %p\n", q, p));
*(_ns1__Purchase*)p = *(_ns1__Purchase*)q;
}
void _ns1__GetChannelingCashRemainResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_xsd__decimal(soap, &this->_ns1__GetChannelingCashRemainResponse::GetChannelingCashRemainResult);
soap_default_int(soap, &this->_ns1__GetChannelingCashRemainResponse::errorCode);
/* transient soap skipped */
}
void _ns1__GetChannelingCashRemainResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_xsd__decimal(soap, &this->_ns1__GetChannelingCashRemainResponse::GetChannelingCashRemainResult);
/* transient soap skipped */
#endif
}
int _ns1__GetChannelingCashRemainResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetChannelingCashRemainResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetChannelingCashRemainResponse(struct soap *soap, const char *tag, int id, const _ns1__GetChannelingCashRemainResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetChannelingCashRemainResponse), type))
return soap->error;
soap_element_result(soap, "ns1:GetChannelingCashRemainResult");
if (soap_out_xsd__decimal(soap, "ns1:GetChannelingCashRemainResult", -1, &(a->_ns1__GetChannelingCashRemainResponse::GetChannelingCashRemainResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__GetChannelingCashRemainResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetChannelingCashRemainResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetChannelingCashRemainResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemainResponse * SOAP_FMAC4 soap_in__ns1__GetChannelingCashRemainResponse(struct soap *soap, const char *tag, _ns1__GetChannelingCashRemainResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetChannelingCashRemainResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetChannelingCashRemainResponse, sizeof(_ns1__GetChannelingCashRemainResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetChannelingCashRemainResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetChannelingCashRemainResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetChannelingCashRemainResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetChannelingCashRemainResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:GetChannelingCashRemainResult", &(a->_ns1__GetChannelingCashRemainResponse::GetChannelingCashRemainResult), "xsd:decimal"))
{ soap_flag_GetChannelingCashRemainResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__GetChannelingCashRemainResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetChannelingCashRemainResult");
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__GetChannelingCashRemainResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetChannelingCashRemainResponse, 0, sizeof(_ns1__GetChannelingCashRemainResponse), 0, soap_copy__ns1__GetChannelingCashRemainResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_GetChannelingCashRemainResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetChannelingCashRemainResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetChannelingCashRemainResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetChannelingCashRemainResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetChannelingCashRemainResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetChannelingCashRemainResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemainResponse * SOAP_FMAC4 soap_get__ns1__GetChannelingCashRemainResponse(struct soap *soap, _ns1__GetChannelingCashRemainResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetChannelingCashRemainResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetChannelingCashRemainResponse * SOAP_FMAC2 soap_instantiate__ns1__GetChannelingCashRemainResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetChannelingCashRemainResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetChannelingCashRemainResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetChannelingCashRemainResponse);
if (size)
*size = sizeof(_ns1__GetChannelingCashRemainResponse);
((_ns1__GetChannelingCashRemainResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetChannelingCashRemainResponse, n);
if (size)
*size = n * sizeof(_ns1__GetChannelingCashRemainResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetChannelingCashRemainResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetChannelingCashRemainResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetChannelingCashRemainResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetChannelingCashRemainResponse %p -> %p\n", q, p));
*(_ns1__GetChannelingCashRemainResponse*)p = *(_ns1__GetChannelingCashRemainResponse*)q;
}
void _ns1__GetChannelingCashRemain::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetChannelingCashRemain::channelingCode = NULL;
this->_ns1__GetChannelingCashRemain::id = NULL;
this->_ns1__GetChannelingCashRemain::ip = NULL;
this->_ns1__GetChannelingCashRemain::properties = NULL;
/* transient soap skipped */
}
void _ns1__GetChannelingCashRemain::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetChannelingCashRemain::channelingCode);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetChannelingCashRemain::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetChannelingCashRemain::ip);
soap_serialize_PointerTons1__ArrayOfAnyType(soap, &this->_ns1__GetChannelingCashRemain::properties);
/* transient soap skipped */
#endif
}
int _ns1__GetChannelingCashRemain::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetChannelingCashRemain(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, int id, const _ns1__GetChannelingCashRemain *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetChannelingCashRemain), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:channelingCode", -1, &(a->_ns1__GetChannelingCashRemain::channelingCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__GetChannelingCashRemain::id), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ip", -1, &(a->_ns1__GetChannelingCashRemain::ip), ""))
return soap->error;
if (soap_out_PointerTons1__ArrayOfAnyType(soap, "ns1:properties", -1, &(a->_ns1__GetChannelingCashRemain::properties), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetChannelingCashRemain::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetChannelingCashRemain(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemain * SOAP_FMAC4 soap_in__ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, _ns1__GetChannelingCashRemain *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetChannelingCashRemain *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetChannelingCashRemain, sizeof(_ns1__GetChannelingCashRemain), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetChannelingCashRemain)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetChannelingCashRemain *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_channelingCode1 = 1;
size_t soap_flag_id1 = 1;
size_t soap_flag_ip1 = 1;
size_t soap_flag_properties1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_channelingCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:channelingCode", &(a->_ns1__GetChannelingCashRemain::channelingCode), "xsd:string"))
{ soap_flag_channelingCode1--;
continue;
}
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__GetChannelingCashRemain::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_ip1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ip", &(a->_ns1__GetChannelingCashRemain::ip), "xsd:string"))
{ soap_flag_ip1--;
continue;
}
if (soap_flag_properties1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ArrayOfAnyType(soap, "ns1:properties", &(a->_ns1__GetChannelingCashRemain::properties), "ns1:ArrayOfAnyType"))
{ soap_flag_properties1--;
continue;
}
/* transient soap skipped */
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__GetChannelingCashRemain *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetChannelingCashRemain, 0, sizeof(_ns1__GetChannelingCashRemain), 0, soap_copy__ns1__GetChannelingCashRemain);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__GetChannelingCashRemain::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetChannelingCashRemain);
if (this->soap_out(soap, tag?tag:"ns1:GetChannelingCashRemain", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetChannelingCashRemain::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetChannelingCashRemain(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemain * SOAP_FMAC4 soap_get__ns1__GetChannelingCashRemain(struct soap *soap, _ns1__GetChannelingCashRemain *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetChannelingCashRemain(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetChannelingCashRemain * SOAP_FMAC2 soap_instantiate__ns1__GetChannelingCashRemain(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetChannelingCashRemain(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetChannelingCashRemain, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetChannelingCashRemain);
if (size)
*size = sizeof(_ns1__GetChannelingCashRemain);
((_ns1__GetChannelingCashRemain*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetChannelingCashRemain, n);
if (size)
*size = n * sizeof(_ns1__GetChannelingCashRemain);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetChannelingCashRemain*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetChannelingCashRemain*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetChannelingCashRemain(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetChannelingCashRemain %p -> %p\n", q, p));
*(_ns1__GetChannelingCashRemain*)p = *(_ns1__GetChannelingCashRemain*)q;
}
void _ns1__GetPurseByChannelResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_xsd__decimal(soap, &this->_ns1__GetPurseByChannelResponse::GetPurseByChannelResult);
soap_default_int(soap, &this->_ns1__GetPurseByChannelResponse::errorCode);
/* transient soap skipped */
}
void _ns1__GetPurseByChannelResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_xsd__decimal(soap, &this->_ns1__GetPurseByChannelResponse::GetPurseByChannelResult);
/* transient soap skipped */
#endif
}
int _ns1__GetPurseByChannelResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurseByChannelResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurseByChannelResponse(struct soap *soap, const char *tag, int id, const _ns1__GetPurseByChannelResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurseByChannelResponse), type))
return soap->error;
soap_element_result(soap, "ns1:GetPurseByChannelResult");
if (soap_out_xsd__decimal(soap, "ns1:GetPurseByChannelResult", -1, &(a->_ns1__GetPurseByChannelResponse::GetPurseByChannelResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__GetPurseByChannelResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurseByChannelResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurseByChannelResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannelResponse * SOAP_FMAC4 soap_in__ns1__GetPurseByChannelResponse(struct soap *soap, const char *tag, _ns1__GetPurseByChannelResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurseByChannelResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurseByChannelResponse, sizeof(_ns1__GetPurseByChannelResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurseByChannelResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurseByChannelResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetPurseByChannelResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetPurseByChannelResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:GetPurseByChannelResult", &(a->_ns1__GetPurseByChannelResponse::GetPurseByChannelResult), "xsd:decimal"))
{ soap_flag_GetPurseByChannelResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__GetPurseByChannelResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetPurseByChannelResult");
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__GetPurseByChannelResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurseByChannelResponse, 0, sizeof(_ns1__GetPurseByChannelResponse), 0, soap_copy__ns1__GetPurseByChannelResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_GetPurseByChannelResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurseByChannelResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurseByChannelResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetPurseByChannelResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurseByChannelResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurseByChannelResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannelResponse * SOAP_FMAC4 soap_get__ns1__GetPurseByChannelResponse(struct soap *soap, _ns1__GetPurseByChannelResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurseByChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurseByChannelResponse * SOAP_FMAC2 soap_instantiate__ns1__GetPurseByChannelResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurseByChannelResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurseByChannelResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurseByChannelResponse);
if (size)
*size = sizeof(_ns1__GetPurseByChannelResponse);
((_ns1__GetPurseByChannelResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurseByChannelResponse, n);
if (size)
*size = n * sizeof(_ns1__GetPurseByChannelResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurseByChannelResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurseByChannelResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurseByChannelResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurseByChannelResponse %p -> %p\n", q, p));
*(_ns1__GetPurseByChannelResponse*)p = *(_ns1__GetPurseByChannelResponse*)q;
}
void _ns1__GetPurseByChannel::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetPurseByChannel::nexonID = NULL;
soap_default_int(soap, &this->_ns1__GetPurseByChannel::liabilityType);
soap_default_xsd__unsignedByte(soap, &this->_ns1__GetPurseByChannel::reason);
this->_ns1__GetPurseByChannel::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__GetPurseByChannel::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurseByChannel::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurseByChannel::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__GetPurseByChannel::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurseByChannel(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurseByChannel(struct soap *soap, const char *tag, int id, const _ns1__GetPurseByChannel *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurseByChannel), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__GetPurseByChannel::nexonID), ""))
return soap->error;
if (soap_out_int(soap, "ns1:liabilityType", -1, &(a->_ns1__GetPurseByChannel::liabilityType), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__GetPurseByChannel::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__GetPurseByChannel::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurseByChannel::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurseByChannel(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannel * SOAP_FMAC4 soap_in__ns1__GetPurseByChannel(struct soap *soap, const char *tag, _ns1__GetPurseByChannel *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurseByChannel *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurseByChannel, sizeof(_ns1__GetPurseByChannel), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurseByChannel)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurseByChannel *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_liabilityType1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__GetPurseByChannel::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_liabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:liabilityType", &(a->_ns1__GetPurseByChannel::liabilityType), "xsd:int"))
{ soap_flag_liabilityType1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__GetPurseByChannel::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__GetPurseByChannel::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__GetPurseByChannel *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurseByChannel, 0, sizeof(_ns1__GetPurseByChannel), 0, soap_copy__ns1__GetPurseByChannel);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_liabilityType1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurseByChannel::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurseByChannel);
if (this->soap_out(soap, tag?tag:"ns1:GetPurseByChannel", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurseByChannel::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurseByChannel(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannel * SOAP_FMAC4 soap_get__ns1__GetPurseByChannel(struct soap *soap, _ns1__GetPurseByChannel *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurseByChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurseByChannel * SOAP_FMAC2 soap_instantiate__ns1__GetPurseByChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurseByChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurseByChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurseByChannel);
if (size)
*size = sizeof(_ns1__GetPurseByChannel);
((_ns1__GetPurseByChannel*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurseByChannel, n);
if (size)
*size = n * sizeof(_ns1__GetPurseByChannel);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurseByChannel*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurseByChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurseByChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurseByChannel %p -> %p\n", q, p));
*(_ns1__GetPurseByChannel*)p = *(_ns1__GetPurseByChannel*)q;
}
void _ns1__GetPurseResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_xsd__decimal(soap, &this->_ns1__GetPurseResponse::GetPurseResult);
soap_default_int(soap, &this->_ns1__GetPurseResponse::errorCode);
/* transient soap skipped */
}
void _ns1__GetPurseResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_xsd__decimal(soap, &this->_ns1__GetPurseResponse::GetPurseResult);
/* transient soap skipped */
#endif
}
int _ns1__GetPurseResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurseResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurseResponse(struct soap *soap, const char *tag, int id, const _ns1__GetPurseResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurseResponse), type))
return soap->error;
soap_element_result(soap, "ns1:GetPurseResult");
if (soap_out_xsd__decimal(soap, "ns1:GetPurseResult", -1, &(a->_ns1__GetPurseResponse::GetPurseResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__GetPurseResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurseResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurseResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurseResponse * SOAP_FMAC4 soap_in__ns1__GetPurseResponse(struct soap *soap, const char *tag, _ns1__GetPurseResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurseResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurseResponse, sizeof(_ns1__GetPurseResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurseResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurseResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_GetPurseResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_GetPurseResult1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:GetPurseResult", &(a->_ns1__GetPurseResponse::GetPurseResult), "xsd:decimal"))
{ soap_flag_GetPurseResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__GetPurseResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:GetPurseResult");
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__GetPurseResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurseResponse, 0, sizeof(_ns1__GetPurseResponse), 0, soap_copy__ns1__GetPurseResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_GetPurseResult1 > 0 || soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurseResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurseResponse);
if (this->soap_out(soap, tag?tag:"ns1:GetPurseResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurseResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurseResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurseResponse * SOAP_FMAC4 soap_get__ns1__GetPurseResponse(struct soap *soap, _ns1__GetPurseResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurseResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurseResponse * SOAP_FMAC2 soap_instantiate__ns1__GetPurseResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurseResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurseResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurseResponse);
if (size)
*size = sizeof(_ns1__GetPurseResponse);
((_ns1__GetPurseResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurseResponse, n);
if (size)
*size = n * sizeof(_ns1__GetPurseResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurseResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurseResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurseResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurseResponse %p -> %p\n", q, p));
*(_ns1__GetPurseResponse*)p = *(_ns1__GetPurseResponse*)q;
}
void _ns1__GetPurse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__GetPurse::nexonID = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__GetPurse::reason);
this->_ns1__GetPurse::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__GetPurse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurse::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__GetPurse::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__GetPurse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__GetPurse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__GetPurse(struct soap *soap, const char *tag, int id, const _ns1__GetPurse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__GetPurse), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__GetPurse::nexonID), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__GetPurse::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__GetPurse::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__GetPurse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__GetPurse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__GetPurse * SOAP_FMAC4 soap_in__ns1__GetPurse(struct soap *soap, const char *tag, _ns1__GetPurse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__GetPurse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__GetPurse, sizeof(_ns1__GetPurse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__GetPurse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__GetPurse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__GetPurse::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__GetPurse::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__GetPurse::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__GetPurse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__GetPurse, 0, sizeof(_ns1__GetPurse), 0, soap_copy__ns1__GetPurse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__GetPurse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__GetPurse);
if (this->soap_out(soap, tag?tag:"ns1:GetPurse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__GetPurse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__GetPurse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__GetPurse * SOAP_FMAC4 soap_get__ns1__GetPurse(struct soap *soap, _ns1__GetPurse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__GetPurse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__GetPurse * SOAP_FMAC2 soap_instantiate__ns1__GetPurse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__GetPurse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__GetPurse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__GetPurse);
if (size)
*size = sizeof(_ns1__GetPurse);
((_ns1__GetPurse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__GetPurse, n);
if (size)
*size = n * sizeof(_ns1__GetPurse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__GetPurse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__GetPurse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__GetPurse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__GetPurse %p -> %p\n", q, p));
*(_ns1__GetPurse*)p = *(_ns1__GetPurse*)q;
}
void _ns1__ISBillingUserResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__ISBillingUserResponse::ISBillingUserResult);
soap_default_int(soap, &this->_ns1__ISBillingUserResponse::errorCode);
soap_default_time(soap, &this->_ns1__ISBillingUserResponse::dtLastPaymentDate);
/* transient soap skipped */
}
void _ns1__ISBillingUserResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__ISBillingUserResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ISBillingUserResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ISBillingUserResponse(struct soap *soap, const char *tag, int id, const _ns1__ISBillingUserResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ISBillingUserResponse), type))
return soap->error;
soap_element_result(soap, "ns1:ISBillingUserResult");
if (soap_out_bool(soap, "ns1:ISBillingUserResult", -1, &(a->_ns1__ISBillingUserResponse::ISBillingUserResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__ISBillingUserResponse::errorCode), ""))
return soap->error;
if (soap_out_time(soap, "ns1:dtLastPaymentDate", -1, &(a->_ns1__ISBillingUserResponse::dtLastPaymentDate), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ISBillingUserResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ISBillingUserResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ISBillingUserResponse * SOAP_FMAC4 soap_in__ns1__ISBillingUserResponse(struct soap *soap, const char *tag, _ns1__ISBillingUserResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ISBillingUserResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ISBillingUserResponse, sizeof(_ns1__ISBillingUserResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ISBillingUserResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ISBillingUserResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ISBillingUserResult1 = 1;
size_t soap_flag_errorCode1 = 1;
size_t soap_flag_dtLastPaymentDate1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ISBillingUserResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:ISBillingUserResult", &(a->_ns1__ISBillingUserResponse::ISBillingUserResult), "xsd:boolean"))
{ soap_flag_ISBillingUserResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__ISBillingUserResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
if (soap_flag_dtLastPaymentDate1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_time(soap, "ns1:dtLastPaymentDate", &(a->_ns1__ISBillingUserResponse::dtLastPaymentDate), "xsd:dateTime"))
{ soap_flag_dtLastPaymentDate1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ISBillingUserResult");
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__ISBillingUserResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ISBillingUserResponse, 0, sizeof(_ns1__ISBillingUserResponse), 0, soap_copy__ns1__ISBillingUserResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_ISBillingUserResult1 > 0 || soap_flag_errorCode1 > 0 || soap_flag_dtLastPaymentDate1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ISBillingUserResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ISBillingUserResponse);
if (this->soap_out(soap, tag?tag:"ns1:ISBillingUserResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ISBillingUserResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ISBillingUserResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ISBillingUserResponse * SOAP_FMAC4 soap_get__ns1__ISBillingUserResponse(struct soap *soap, _ns1__ISBillingUserResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ISBillingUserResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ISBillingUserResponse * SOAP_FMAC2 soap_instantiate__ns1__ISBillingUserResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ISBillingUserResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ISBillingUserResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ISBillingUserResponse);
if (size)
*size = sizeof(_ns1__ISBillingUserResponse);
((_ns1__ISBillingUserResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ISBillingUserResponse, n);
if (size)
*size = n * sizeof(_ns1__ISBillingUserResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ISBillingUserResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ISBillingUserResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ISBillingUserResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ISBillingUserResponse %p -> %p\n", q, p));
*(_ns1__ISBillingUserResponse*)p = *(_ns1__ISBillingUserResponse*)q;
}
void _ns1__ISBillingUser::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ISBillingUser::nexonID = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__ISBillingUser::reason);
this->_ns1__ISBillingUser::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__ISBillingUser::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ISBillingUser::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ISBillingUser::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__ISBillingUser::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ISBillingUser(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ISBillingUser(struct soap *soap, const char *tag, int id, const _ns1__ISBillingUser *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ISBillingUser), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__ISBillingUser::nexonID), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__ISBillingUser::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__ISBillingUser::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ISBillingUser::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ISBillingUser(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ISBillingUser * SOAP_FMAC4 soap_in__ns1__ISBillingUser(struct soap *soap, const char *tag, _ns1__ISBillingUser *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ISBillingUser *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ISBillingUser, sizeof(_ns1__ISBillingUser), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ISBillingUser)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ISBillingUser *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__ISBillingUser::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__ISBillingUser::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__ISBillingUser::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__ISBillingUser *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ISBillingUser, 0, sizeof(_ns1__ISBillingUser), 0, soap_copy__ns1__ISBillingUser);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ISBillingUser::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ISBillingUser);
if (this->soap_out(soap, tag?tag:"ns1:ISBillingUser", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ISBillingUser::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ISBillingUser(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ISBillingUser * SOAP_FMAC4 soap_get__ns1__ISBillingUser(struct soap *soap, _ns1__ISBillingUser *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ISBillingUser(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ISBillingUser * SOAP_FMAC2 soap_instantiate__ns1__ISBillingUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ISBillingUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ISBillingUser, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ISBillingUser);
if (size)
*size = sizeof(_ns1__ISBillingUser);
((_ns1__ISBillingUser*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ISBillingUser, n);
if (size)
*size = n * sizeof(_ns1__ISBillingUser);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ISBillingUser*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ISBillingUser*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ISBillingUser(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ISBillingUser %p -> %p\n", q, p));
*(_ns1__ISBillingUser*)p = *(_ns1__ISBillingUser*)q;
}
void _ns1__LastUsageInfoResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__LastUsageInfoResponse::LastUsageInfoResult = NULL;
soap_default_int(soap, &this->_ns1__LastUsageInfoResponse::errorCode);
/* transient soap skipped */
}
void _ns1__LastUsageInfoResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, &this->_ns1__LastUsageInfoResponse::LastUsageInfoResult);
/* transient soap skipped */
#endif
}
int _ns1__LastUsageInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__LastUsageInfoResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__LastUsageInfoResponse(struct soap *soap, const char *tag, int id, const _ns1__LastUsageInfoResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__LastUsageInfoResponse), type))
return soap->error;
if (a->LastUsageInfoResult)
soap_element_result(soap, "ns1:LastUsageInfoResult");
if (soap_out_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, "ns1:LastUsageInfoResult", -1, &(a->_ns1__LastUsageInfoResponse::LastUsageInfoResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__LastUsageInfoResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__LastUsageInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__LastUsageInfoResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse * SOAP_FMAC4 soap_in__ns1__LastUsageInfoResponse(struct soap *soap, const char *tag, _ns1__LastUsageInfoResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__LastUsageInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__LastUsageInfoResponse, sizeof(_ns1__LastUsageInfoResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__LastUsageInfoResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__LastUsageInfoResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_LastUsageInfoResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_LastUsageInfoResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, "ns1:LastUsageInfoResult", &(a->_ns1__LastUsageInfoResponse::LastUsageInfoResult), ""))
{ soap_flag_LastUsageInfoResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__LastUsageInfoResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:LastUsageInfoResult");
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__LastUsageInfoResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__LastUsageInfoResponse, 0, sizeof(_ns1__LastUsageInfoResponse), 0, soap_copy__ns1__LastUsageInfoResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__LastUsageInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__LastUsageInfoResponse);
if (this->soap_out(soap, tag?tag:"ns1:LastUsageInfoResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__LastUsageInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__LastUsageInfoResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse * SOAP_FMAC4 soap_get__ns1__LastUsageInfoResponse(struct soap *soap, _ns1__LastUsageInfoResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__LastUsageInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__LastUsageInfoResponse * SOAP_FMAC2 soap_instantiate__ns1__LastUsageInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__LastUsageInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__LastUsageInfoResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__LastUsageInfoResponse);
if (size)
*size = sizeof(_ns1__LastUsageInfoResponse);
((_ns1__LastUsageInfoResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__LastUsageInfoResponse, n);
if (size)
*size = n * sizeof(_ns1__LastUsageInfoResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__LastUsageInfoResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__LastUsageInfoResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__LastUsageInfoResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__LastUsageInfoResponse %p -> %p\n", q, p));
*(_ns1__LastUsageInfoResponse*)p = *(_ns1__LastUsageInfoResponse*)q;
}
void _ns1__LastUsageInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__LastUsageInfo::id = NULL;
soap_default_short(soap, &this->_ns1__LastUsageInfo::productType);
soap_default_xsd__unsignedByte(soap, &this->_ns1__LastUsageInfo::reason);
this->_ns1__LastUsageInfo::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__LastUsageInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__LastUsageInfo::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__LastUsageInfo::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__LastUsageInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__LastUsageInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__LastUsageInfo(struct soap *soap, const char *tag, int id, const _ns1__LastUsageInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__LastUsageInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__LastUsageInfo::id), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__LastUsageInfo::productType), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__LastUsageInfo::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__LastUsageInfo::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__LastUsageInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__LastUsageInfo(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__LastUsageInfo * SOAP_FMAC4 soap_in__ns1__LastUsageInfo(struct soap *soap, const char *tag, _ns1__LastUsageInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__LastUsageInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__LastUsageInfo, sizeof(_ns1__LastUsageInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__LastUsageInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__LastUsageInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__LastUsageInfo::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__LastUsageInfo::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__LastUsageInfo::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__LastUsageInfo::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__LastUsageInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__LastUsageInfo, 0, sizeof(_ns1__LastUsageInfo), 0, soap_copy__ns1__LastUsageInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__LastUsageInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__LastUsageInfo);
if (this->soap_out(soap, tag?tag:"ns1:LastUsageInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__LastUsageInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__LastUsageInfo(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__LastUsageInfo * SOAP_FMAC4 soap_get__ns1__LastUsageInfo(struct soap *soap, _ns1__LastUsageInfo *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__LastUsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__LastUsageInfo * SOAP_FMAC2 soap_instantiate__ns1__LastUsageInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__LastUsageInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__LastUsageInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__LastUsageInfo);
if (size)
*size = sizeof(_ns1__LastUsageInfo);
((_ns1__LastUsageInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__LastUsageInfo, n);
if (size)
*size = n * sizeof(_ns1__LastUsageInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__LastUsageInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__LastUsageInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__LastUsageInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__LastUsageInfo %p -> %p\n", q, p));
*(_ns1__LastUsageInfo*)p = *(_ns1__LastUsageInfo*)q;
}
void _ns1__UsageInfoResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageInfoResponse::UsageInfoResult = NULL;
soap_default_int(soap, &this->_ns1__UsageInfoResponse::errorCode);
/* transient soap skipped */
}
void _ns1__UsageInfoResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, &this->_ns1__UsageInfoResponse::UsageInfoResult);
/* transient soap skipped */
#endif
}
int _ns1__UsageInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageInfoResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageInfoResponse(struct soap *soap, const char *tag, int id, const _ns1__UsageInfoResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageInfoResponse), type))
return soap->error;
if (a->UsageInfoResult)
soap_element_result(soap, "ns1:UsageInfoResult");
if (soap_out_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, "ns1:UsageInfoResult", -1, &(a->_ns1__UsageInfoResponse::UsageInfoResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__UsageInfoResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageInfoResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse * SOAP_FMAC4 soap_in__ns1__UsageInfoResponse(struct soap *soap, const char *tag, _ns1__UsageInfoResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageInfoResponse, sizeof(_ns1__UsageInfoResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageInfoResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageInfoResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_UsageInfoResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_UsageInfoResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, "ns1:UsageInfoResult", &(a->_ns1__UsageInfoResponse::UsageInfoResult), ""))
{ soap_flag_UsageInfoResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__UsageInfoResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:UsageInfoResult");
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__UsageInfoResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageInfoResponse, 0, sizeof(_ns1__UsageInfoResponse), 0, soap_copy__ns1__UsageInfoResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageInfoResponse);
if (this->soap_out(soap, tag?tag:"ns1:UsageInfoResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageInfoResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse * SOAP_FMAC4 soap_get__ns1__UsageInfoResponse(struct soap *soap, _ns1__UsageInfoResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageInfoResponse * SOAP_FMAC2 soap_instantiate__ns1__UsageInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageInfoResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageInfoResponse);
if (size)
*size = sizeof(_ns1__UsageInfoResponse);
((_ns1__UsageInfoResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageInfoResponse, n);
if (size)
*size = n * sizeof(_ns1__UsageInfoResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageInfoResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageInfoResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageInfoResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageInfoResponse %p -> %p\n", q, p));
*(_ns1__UsageInfoResponse*)p = *(_ns1__UsageInfoResponse*)q;
}
void _ns1__UsageInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__UsageInfo::nexonID = NULL;
soap_default_short(soap, &this->_ns1__UsageInfo::productType);
this->_ns1__UsageInfo::startDate = NULL;
this->_ns1__UsageInfo::endDate = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__UsageInfo::reason);
this->_ns1__UsageInfo::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__UsageInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageInfo::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageInfo::startDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageInfo::endDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__UsageInfo::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__UsageInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__UsageInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__UsageInfo(struct soap *soap, const char *tag, int id, const _ns1__UsageInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__UsageInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__UsageInfo::nexonID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:productType", -1, &(a->_ns1__UsageInfo::productType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:startDate", -1, &(a->_ns1__UsageInfo::startDate), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:endDate", -1, &(a->_ns1__UsageInfo::endDate), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__UsageInfo::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__UsageInfo::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__UsageInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__UsageInfo(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__UsageInfo * SOAP_FMAC4 soap_in__ns1__UsageInfo(struct soap *soap, const char *tag, _ns1__UsageInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__UsageInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__UsageInfo, sizeof(_ns1__UsageInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__UsageInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__UsageInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_productType1 = 1;
size_t soap_flag_startDate1 = 1;
size_t soap_flag_endDate1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__UsageInfo::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_productType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:productType", &(a->_ns1__UsageInfo::productType), "xsd:short"))
{ soap_flag_productType1--;
continue;
}
if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:startDate", &(a->_ns1__UsageInfo::startDate), "xsd:string"))
{ soap_flag_startDate1--;
continue;
}
if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:endDate", &(a->_ns1__UsageInfo::endDate), "xsd:string"))
{ soap_flag_endDate1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__UsageInfo::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__UsageInfo::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__UsageInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__UsageInfo, 0, sizeof(_ns1__UsageInfo), 0, soap_copy__ns1__UsageInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_productType1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__UsageInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__UsageInfo);
if (this->soap_out(soap, tag?tag:"ns1:UsageInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__UsageInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__UsageInfo(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__UsageInfo * SOAP_FMAC4 soap_get__ns1__UsageInfo(struct soap *soap, _ns1__UsageInfo *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__UsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__UsageInfo * SOAP_FMAC2 soap_instantiate__ns1__UsageInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__UsageInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__UsageInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__UsageInfo);
if (size)
*size = sizeof(_ns1__UsageInfo);
((_ns1__UsageInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__UsageInfo, n);
if (size)
*size = n * sizeof(_ns1__UsageInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__UsageInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__UsageInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__UsageInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__UsageInfo %p -> %p\n", q, p));
*(_ns1__UsageInfo*)p = *(_ns1__UsageInfo*)q;
}
void _ns1__ApprovalPaidInfoResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalPaidInfoResponse::ApprovalPaidInfoResult = NULL;
soap_default_int(soap, &this->_ns1__ApprovalPaidInfoResponse::errorCode);
/* transient soap skipped */
}
void _ns1__ApprovalPaidInfoResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, &this->_ns1__ApprovalPaidInfoResponse::ApprovalPaidInfoResult);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalPaidInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalPaidInfoResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalPaidInfoResponse(struct soap *soap, const char *tag, int id, const _ns1__ApprovalPaidInfoResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse), type))
return soap->error;
if (a->ApprovalPaidInfoResult)
soap_element_result(soap, "ns1:ApprovalPaidInfoResult");
if (soap_out_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, "ns1:ApprovalPaidInfoResult", -1, &(a->_ns1__ApprovalPaidInfoResponse::ApprovalPaidInfoResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__ApprovalPaidInfoResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalPaidInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalPaidInfoResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse * SOAP_FMAC4 soap_in__ns1__ApprovalPaidInfoResponse(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfoResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalPaidInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse, sizeof(_ns1__ApprovalPaidInfoResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalPaidInfoResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalPaidInfoResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ApprovalPaidInfoResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ApprovalPaidInfoResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, "ns1:ApprovalPaidInfoResult", &(a->_ns1__ApprovalPaidInfoResponse::ApprovalPaidInfoResult), ""))
{ soap_flag_ApprovalPaidInfoResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__ApprovalPaidInfoResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ApprovalPaidInfoResult");
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__ApprovalPaidInfoResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalPaidInfoResponse, 0, sizeof(_ns1__ApprovalPaidInfoResponse), 0, soap_copy__ns1__ApprovalPaidInfoResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalPaidInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalPaidInfoResponse);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalPaidInfoResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalPaidInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalPaidInfoResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse * SOAP_FMAC4 soap_get__ns1__ApprovalPaidInfoResponse(struct soap *soap, _ns1__ApprovalPaidInfoResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalPaidInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalPaidInfoResponse * SOAP_FMAC2 soap_instantiate__ns1__ApprovalPaidInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalPaidInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalPaidInfoResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalPaidInfoResponse);
if (size)
*size = sizeof(_ns1__ApprovalPaidInfoResponse);
((_ns1__ApprovalPaidInfoResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalPaidInfoResponse, n);
if (size)
*size = n * sizeof(_ns1__ApprovalPaidInfoResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalPaidInfoResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalPaidInfoResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalPaidInfoResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalPaidInfoResponse %p -> %p\n", q, p));
*(_ns1__ApprovalPaidInfoResponse*)p = *(_ns1__ApprovalPaidInfoResponse*)q;
}
void _ns1__ApprovalPaidInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalPaidInfo::id = NULL;
this->_ns1__ApprovalPaidInfo::startDate = NULL;
this->_ns1__ApprovalPaidInfo::endDate = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__ApprovalPaidInfo::reason);
this->_ns1__ApprovalPaidInfo::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalPaidInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalPaidInfo::id);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalPaidInfo::startDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalPaidInfo::endDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalPaidInfo::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalPaidInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalPaidInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, int id, const _ns1__ApprovalPaidInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalPaidInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:id", -1, &(a->_ns1__ApprovalPaidInfo::id), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:startDate", -1, &(a->_ns1__ApprovalPaidInfo::startDate), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:endDate", -1, &(a->_ns1__ApprovalPaidInfo::endDate), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__ApprovalPaidInfo::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__ApprovalPaidInfo::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalPaidInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalPaidInfo(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfo * SOAP_FMAC4 soap_in__ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalPaidInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalPaidInfo, sizeof(_ns1__ApprovalPaidInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalPaidInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalPaidInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_id1 = 1;
size_t soap_flag_startDate1 = 1;
size_t soap_flag_endDate1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_id1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:id", &(a->_ns1__ApprovalPaidInfo::id), "xsd:string"))
{ soap_flag_id1--;
continue;
}
if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:startDate", &(a->_ns1__ApprovalPaidInfo::startDate), "xsd:string"))
{ soap_flag_startDate1--;
continue;
}
if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:endDate", &(a->_ns1__ApprovalPaidInfo::endDate), "xsd:string"))
{ soap_flag_endDate1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__ApprovalPaidInfo::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__ApprovalPaidInfo::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__ApprovalPaidInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalPaidInfo, 0, sizeof(_ns1__ApprovalPaidInfo), 0, soap_copy__ns1__ApprovalPaidInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalPaidInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalPaidInfo);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalPaidInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalPaidInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalPaidInfo(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfo * SOAP_FMAC4 soap_get__ns1__ApprovalPaidInfo(struct soap *soap, _ns1__ApprovalPaidInfo *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalPaidInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalPaidInfo * SOAP_FMAC2 soap_instantiate__ns1__ApprovalPaidInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalPaidInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalPaidInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalPaidInfo);
if (size)
*size = sizeof(_ns1__ApprovalPaidInfo);
((_ns1__ApprovalPaidInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalPaidInfo, n);
if (size)
*size = n * sizeof(_ns1__ApprovalPaidInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalPaidInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalPaidInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalPaidInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalPaidInfo %p -> %p\n", q, p));
*(_ns1__ApprovalPaidInfo*)p = *(_ns1__ApprovalPaidInfo*)q;
}
void _ns1__ApprovalInfoResponse::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalInfoResponse::ApprovalInfoResult = NULL;
soap_default_int(soap, &this->_ns1__ApprovalInfoResponse::errorCode);
/* transient soap skipped */
}
void _ns1__ApprovalInfoResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, &this->_ns1__ApprovalInfoResponse::ApprovalInfoResult);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalInfoResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalInfoResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalInfoResponse(struct soap *soap, const char *tag, int id, const _ns1__ApprovalInfoResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalInfoResponse), type))
return soap->error;
if (a->ApprovalInfoResult)
soap_element_result(soap, "ns1:ApprovalInfoResult");
if (soap_out_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, "ns1:ApprovalInfoResult", -1, &(a->_ns1__ApprovalInfoResponse::ApprovalInfoResult), ""))
return soap->error;
if (soap_out_int(soap, "ns1:errorCode", -1, &(a->_ns1__ApprovalInfoResponse::errorCode), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalInfoResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalInfoResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse * SOAP_FMAC4 soap_in__ns1__ApprovalInfoResponse(struct soap *soap, const char *tag, _ns1__ApprovalInfoResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalInfoResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalInfoResponse, sizeof(_ns1__ApprovalInfoResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalInfoResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalInfoResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ApprovalInfoResult1 = 1;
size_t soap_flag_errorCode1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ApprovalInfoResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, "ns1:ApprovalInfoResult", &(a->_ns1__ApprovalInfoResponse::ApprovalInfoResult), ""))
{ soap_flag_ApprovalInfoResult1--;
continue;
}
if (soap_flag_errorCode1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:errorCode", &(a->_ns1__ApprovalInfoResponse::errorCode), "xsd:int"))
{ soap_flag_errorCode1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:ApprovalInfoResult");
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__ApprovalInfoResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalInfoResponse, 0, sizeof(_ns1__ApprovalInfoResponse), 0, soap_copy__ns1__ApprovalInfoResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_errorCode1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalInfoResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalInfoResponse);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalInfoResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalInfoResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalInfoResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse * SOAP_FMAC4 soap_get__ns1__ApprovalInfoResponse(struct soap *soap, _ns1__ApprovalInfoResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalInfoResponse * SOAP_FMAC2 soap_instantiate__ns1__ApprovalInfoResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalInfoResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalInfoResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalInfoResponse);
if (size)
*size = sizeof(_ns1__ApprovalInfoResponse);
((_ns1__ApprovalInfoResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalInfoResponse, n);
if (size)
*size = n * sizeof(_ns1__ApprovalInfoResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalInfoResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalInfoResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalInfoResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalInfoResponse %p -> %p\n", q, p));
*(_ns1__ApprovalInfoResponse*)p = *(_ns1__ApprovalInfoResponse*)q;
}
void _ns1__ApprovalInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->_ns1__ApprovalInfo::nexonID = NULL;
soap_default_short(soap, &this->_ns1__ApprovalInfo::chargeType);
this->_ns1__ApprovalInfo::startDate = NULL;
this->_ns1__ApprovalInfo::endDate = NULL;
soap_default_xsd__unsignedByte(soap, &this->_ns1__ApprovalInfo::reason);
this->_ns1__ApprovalInfo::actionUserIP = NULL;
/* transient soap skipped */
}
void _ns1__ApprovalInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalInfo::nexonID);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalInfo::startDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalInfo::endDate);
soap_serialize_PointerTostd__string(soap, &this->_ns1__ApprovalInfo::actionUserIP);
/* transient soap skipped */
#endif
}
int _ns1__ApprovalInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__ApprovalInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__ApprovalInfo(struct soap *soap, const char *tag, int id, const _ns1__ApprovalInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__ApprovalInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:nexonID", -1, &(a->_ns1__ApprovalInfo::nexonID), ""))
return soap->error;
if (soap_out_short(soap, "ns1:chargeType", -1, &(a->_ns1__ApprovalInfo::chargeType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:startDate", -1, &(a->_ns1__ApprovalInfo::startDate), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:endDate", -1, &(a->_ns1__ApprovalInfo::endDate), ""))
return soap->error;
if (soap_out_xsd__unsignedByte(soap, "ns1:reason", -1, &(a->_ns1__ApprovalInfo::reason), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:actionUserIP", -1, &(a->_ns1__ApprovalInfo::actionUserIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__ApprovalInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__ApprovalInfo(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__ApprovalInfo * SOAP_FMAC4 soap_in__ns1__ApprovalInfo(struct soap *soap, const char *tag, _ns1__ApprovalInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__ApprovalInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__ApprovalInfo, sizeof(_ns1__ApprovalInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__ApprovalInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__ApprovalInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_nexonID1 = 1;
size_t soap_flag_chargeType1 = 1;
size_t soap_flag_startDate1 = 1;
size_t soap_flag_endDate1 = 1;
size_t soap_flag_reason1 = 1;
size_t soap_flag_actionUserIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_nexonID1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:nexonID", &(a->_ns1__ApprovalInfo::nexonID), "xsd:string"))
{ soap_flag_nexonID1--;
continue;
}
if (soap_flag_chargeType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:chargeType", &(a->_ns1__ApprovalInfo::chargeType), "xsd:short"))
{ soap_flag_chargeType1--;
continue;
}
if (soap_flag_startDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:startDate", &(a->_ns1__ApprovalInfo::startDate), "xsd:string"))
{ soap_flag_startDate1--;
continue;
}
if (soap_flag_endDate1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:endDate", &(a->_ns1__ApprovalInfo::endDate), "xsd:string"))
{ soap_flag_endDate1--;
continue;
}
if (soap_flag_reason1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_xsd__unsignedByte(soap, "ns1:reason", &(a->_ns1__ApprovalInfo::reason), "xsd:unsignedByte"))
{ soap_flag_reason1--;
continue;
}
if (soap_flag_actionUserIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:actionUserIP", &(a->_ns1__ApprovalInfo::actionUserIP), "xsd:string"))
{ soap_flag_actionUserIP1--;
continue;
}
/* transient soap skipped */
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__ApprovalInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__ApprovalInfo, 0, sizeof(_ns1__ApprovalInfo), 0, soap_copy__ns1__ApprovalInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_chargeType1 > 0 || soap_flag_reason1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__ApprovalInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__ApprovalInfo);
if (this->soap_out(soap, tag?tag:"ns1:ApprovalInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__ApprovalInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__ApprovalInfo(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__ApprovalInfo * SOAP_FMAC4 soap_get__ns1__ApprovalInfo(struct soap *soap, _ns1__ApprovalInfo *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__ApprovalInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__ApprovalInfo * SOAP_FMAC2 soap_instantiate__ns1__ApprovalInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__ApprovalInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__ApprovalInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__ApprovalInfo);
if (size)
*size = sizeof(_ns1__ApprovalInfo);
((_ns1__ApprovalInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__ApprovalInfo, n);
if (size)
*size = n * sizeof(_ns1__ApprovalInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__ApprovalInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__ApprovalInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__ApprovalInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__ApprovalInfo %p -> %p\n", q, p));
*(_ns1__ApprovalInfo*)p = *(_ns1__ApprovalInfo*)q;
}
void _ns1__InitializeSoapResponse::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_bool(soap, &this->_ns1__InitializeSoapResponse::InitializeSoapResult);
/* transient soap skipped */
}
void _ns1__InitializeSoapResponse::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__InitializeSoapResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__InitializeSoapResponse(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__InitializeSoapResponse(struct soap *soap, const char *tag, int id, const _ns1__InitializeSoapResponse *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__InitializeSoapResponse), type))
return soap->error;
soap_element_result(soap, "ns1:InitializeSoapResult");
if (soap_out_bool(soap, "ns1:InitializeSoapResult", -1, &(a->_ns1__InitializeSoapResponse::InitializeSoapResult), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__InitializeSoapResponse::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__InitializeSoapResponse(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__InitializeSoapResponse * SOAP_FMAC4 soap_in__ns1__InitializeSoapResponse(struct soap *soap, const char *tag, _ns1__InitializeSoapResponse *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__InitializeSoapResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__InitializeSoapResponse, sizeof(_ns1__InitializeSoapResponse), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__InitializeSoapResponse)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__InitializeSoapResponse *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_InitializeSoapResult1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_InitializeSoapResult1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:InitializeSoapResult", &(a->_ns1__InitializeSoapResponse::InitializeSoapResult), "xsd:boolean"))
{ soap_flag_InitializeSoapResult1--;
continue;
}
/* transient soap skipped */
soap_check_result(soap, "ns1:InitializeSoapResult");
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__InitializeSoapResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__InitializeSoapResponse, 0, sizeof(_ns1__InitializeSoapResponse), 0, soap_copy__ns1__InitializeSoapResponse);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_InitializeSoapResult1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int _ns1__InitializeSoapResponse::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__InitializeSoapResponse);
if (this->soap_out(soap, tag?tag:"ns1:InitializeSoapResponse", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__InitializeSoapResponse::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__InitializeSoapResponse(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__InitializeSoapResponse * SOAP_FMAC4 soap_get__ns1__InitializeSoapResponse(struct soap *soap, _ns1__InitializeSoapResponse *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__InitializeSoapResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__InitializeSoapResponse * SOAP_FMAC2 soap_instantiate__ns1__InitializeSoapResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__InitializeSoapResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__InitializeSoapResponse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__InitializeSoapResponse);
if (size)
*size = sizeof(_ns1__InitializeSoapResponse);
((_ns1__InitializeSoapResponse*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__InitializeSoapResponse, n);
if (size)
*size = n * sizeof(_ns1__InitializeSoapResponse);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__InitializeSoapResponse*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__InitializeSoapResponse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__InitializeSoapResponse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__InitializeSoapResponse %p -> %p\n", q, p));
*(_ns1__InitializeSoapResponse*)p = *(_ns1__InitializeSoapResponse*)q;
}
void _ns1__InitializeSoap::soap_default(struct soap *soap)
{
this->soap = soap;
/* transient soap skipped */
}
void _ns1__InitializeSoap::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
/* transient soap skipped */
#endif
}
int _ns1__InitializeSoap::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out__ns1__InitializeSoap(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__ns1__InitializeSoap(struct soap *soap, const char *tag, int id, const _ns1__InitializeSoap *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE__ns1__InitializeSoap), type))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *_ns1__InitializeSoap::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in__ns1__InitializeSoap(soap, tag, this, type);
}
SOAP_FMAC3 _ns1__InitializeSoap * SOAP_FMAC4 soap_in__ns1__InitializeSoap(struct soap *soap, const char *tag, _ns1__InitializeSoap *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (_ns1__InitializeSoap *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE__ns1__InitializeSoap, sizeof(_ns1__InitializeSoap), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE__ns1__InitializeSoap)
{ soap_revert(soap);
*soap->id = '\0';
return (_ns1__InitializeSoap *)a->soap_in(soap, tag, type);
}
}
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
/* transient soap skipped */
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__InitializeSoap *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE__ns1__InitializeSoap, 0, sizeof(_ns1__InitializeSoap), 0, soap_copy__ns1__InitializeSoap);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int _ns1__InitializeSoap::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE__ns1__InitializeSoap);
if (this->soap_out(soap, tag?tag:"ns1:InitializeSoap", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *_ns1__InitializeSoap::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get__ns1__InitializeSoap(soap, this, tag, type);
}
SOAP_FMAC3 _ns1__InitializeSoap * SOAP_FMAC4 soap_get__ns1__InitializeSoap(struct soap *soap, _ns1__InitializeSoap *p, const char *tag, const char *type)
{
if ((p = soap_in__ns1__InitializeSoap(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 _ns1__InitializeSoap * SOAP_FMAC2 soap_instantiate__ns1__InitializeSoap(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate__ns1__InitializeSoap(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE__ns1__InitializeSoap, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(_ns1__InitializeSoap);
if (size)
*size = sizeof(_ns1__InitializeSoap);
((_ns1__InitializeSoap*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(_ns1__InitializeSoap, n);
if (size)
*size = n * sizeof(_ns1__InitializeSoap);
if (cp->ptr)
for (int i = 0; i < n; i++)
((_ns1__InitializeSoap*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (_ns1__InitializeSoap*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy__ns1__InitializeSoap(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying _ns1__InitializeSoap %p -> %p\n", q, p));
*(_ns1__InitializeSoap*)p = *(_ns1__InitializeSoap*)q;
}
void ns1__OrderInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__OrderInfo::OrderId = NULL;
soap_default_xsd__decimal(soap, &this->ns1__OrderInfo::Amount);
soap_default_int(soap, &this->ns1__OrderInfo::CashChangeTypeSn);
/* transient soap skipped */
}
void ns1__OrderInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__OrderInfo::OrderId);
soap_serialize_xsd__decimal(soap, &this->ns1__OrderInfo::Amount);
/* transient soap skipped */
#endif
}
int ns1__OrderInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__OrderInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__OrderInfo(struct soap *soap, const char *tag, int id, const ns1__OrderInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__OrderInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:OrderId", -1, &(a->ns1__OrderInfo::OrderId), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:Amount", -1, &(a->ns1__OrderInfo::Amount), ""))
return soap->error;
if (soap_out_int(soap, "ns1:CashChangeTypeSn", -1, &(a->ns1__OrderInfo::CashChangeTypeSn), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__OrderInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__OrderInfo(soap, tag, this, type);
}
SOAP_FMAC3 ns1__OrderInfo * SOAP_FMAC4 soap_in_ns1__OrderInfo(struct soap *soap, const char *tag, ns1__OrderInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__OrderInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__OrderInfo, sizeof(ns1__OrderInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__OrderInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__OrderInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_OrderId1 = 1;
size_t soap_flag_Amount1 = 1;
size_t soap_flag_CashChangeTypeSn1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_OrderId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:OrderId", &(a->ns1__OrderInfo::OrderId), "xsd:string"))
{ soap_flag_OrderId1--;
continue;
}
if (soap_flag_Amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:Amount", &(a->ns1__OrderInfo::Amount), "xsd:decimal"))
{ soap_flag_Amount1--;
continue;
}
if (soap_flag_CashChangeTypeSn1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:CashChangeTypeSn", &(a->ns1__OrderInfo::CashChangeTypeSn), "xsd:int"))
{ soap_flag_CashChangeTypeSn1--;
continue;
}
/* transient soap skipped */
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__OrderInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__OrderInfo, 0, sizeof(ns1__OrderInfo), 0, soap_copy_ns1__OrderInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Amount1 > 0 || soap_flag_CashChangeTypeSn1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int ns1__OrderInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__OrderInfo);
if (this->soap_out(soap, tag?tag:"ns1:OrderInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__OrderInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__OrderInfo(soap, this, tag, type);
}
SOAP_FMAC3 ns1__OrderInfo * SOAP_FMAC4 soap_get_ns1__OrderInfo(struct soap *soap, ns1__OrderInfo *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__OrderInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__OrderInfo * SOAP_FMAC2 soap_instantiate_ns1__OrderInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__OrderInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__OrderInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__OrderInfo);
if (size)
*size = sizeof(ns1__OrderInfo);
((ns1__OrderInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__OrderInfo, n);
if (size)
*size = n * sizeof(ns1__OrderInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__OrderInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__OrderInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__OrderInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__OrderInfo %p -> %p\n", q, p));
*(ns1__OrderInfo*)p = *(ns1__OrderInfo*)q;
}
void ns1__ChangeUserInfo::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__ChangeUserInfo::SourceId = NULL;
this->ns1__ChangeUserInfo::TargetId = NULL;
this->ns1__ChangeUserInfo::GameId = NULL;
this->ns1__ChangeUserInfo::RequestIP = NULL;
/* transient soap skipped */
}
void ns1__ChangeUserInfo::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__ChangeUserInfo::SourceId);
soap_serialize_PointerTostd__string(soap, &this->ns1__ChangeUserInfo::TargetId);
soap_serialize_PointerTostd__string(soap, &this->ns1__ChangeUserInfo::GameId);
soap_serialize_PointerTostd__string(soap, &this->ns1__ChangeUserInfo::RequestIP);
/* transient soap skipped */
#endif
}
int ns1__ChangeUserInfo::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__ChangeUserInfo(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__ChangeUserInfo(struct soap *soap, const char *tag, int id, const ns1__ChangeUserInfo *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__ChangeUserInfo), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:SourceId", -1, &(a->ns1__ChangeUserInfo::SourceId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:TargetId", -1, &(a->ns1__ChangeUserInfo::TargetId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:GameId", -1, &(a->ns1__ChangeUserInfo::GameId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:RequestIP", -1, &(a->ns1__ChangeUserInfo::RequestIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__ChangeUserInfo::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__ChangeUserInfo(soap, tag, this, type);
}
SOAP_FMAC3 ns1__ChangeUserInfo * SOAP_FMAC4 soap_in_ns1__ChangeUserInfo(struct soap *soap, const char *tag, ns1__ChangeUserInfo *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__ChangeUserInfo *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__ChangeUserInfo, sizeof(ns1__ChangeUserInfo), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__ChangeUserInfo)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__ChangeUserInfo *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_SourceId1 = 1;
size_t soap_flag_TargetId1 = 1;
size_t soap_flag_GameId1 = 1;
size_t soap_flag_RequestIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_SourceId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:SourceId", &(a->ns1__ChangeUserInfo::SourceId), "xsd:string"))
{ soap_flag_SourceId1--;
continue;
}
if (soap_flag_TargetId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:TargetId", &(a->ns1__ChangeUserInfo::TargetId), "xsd:string"))
{ soap_flag_TargetId1--;
continue;
}
if (soap_flag_GameId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:GameId", &(a->ns1__ChangeUserInfo::GameId), "xsd:string"))
{ soap_flag_GameId1--;
continue;
}
if (soap_flag_RequestIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:RequestIP", &(a->ns1__ChangeUserInfo::RequestIP), "xsd:string"))
{ soap_flag_RequestIP1--;
continue;
}
/* transient soap skipped */
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__ChangeUserInfo *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__ChangeUserInfo, 0, sizeof(ns1__ChangeUserInfo), 0, soap_copy_ns1__ChangeUserInfo);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int ns1__ChangeUserInfo::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__ChangeUserInfo);
if (this->soap_out(soap, tag?tag:"ns1:ChangeUserInfo", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__ChangeUserInfo::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__ChangeUserInfo(soap, this, tag, type);
}
SOAP_FMAC3 ns1__ChangeUserInfo * SOAP_FMAC4 soap_get_ns1__ChangeUserInfo(struct soap *soap, ns1__ChangeUserInfo *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__ChangeUserInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__ChangeUserInfo * SOAP_FMAC2 soap_instantiate_ns1__ChangeUserInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__ChangeUserInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__ChangeUserInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__ChangeUserInfo);
if (size)
*size = sizeof(ns1__ChangeUserInfo);
((ns1__ChangeUserInfo*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__ChangeUserInfo, n);
if (size)
*size = n * sizeof(ns1__ChangeUserInfo);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__ChangeUserInfo*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__ChangeUserInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__ChangeUserInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__ChangeUserInfo %p -> %p\n", q, p));
*(ns1__ChangeUserInfo*)p = *(ns1__ChangeUserInfo*)q;
}
void ns1__CouponArgument::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__CouponArgument::Value = NULL;
/* transient soap skipped */
}
void ns1__CouponArgument::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTons1__ArrayOfAnyType(soap, &this->ns1__CouponArgument::Value);
/* transient soap skipped */
#endif
}
int ns1__CouponArgument::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__CouponArgument(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__CouponArgument(struct soap *soap, const char *tag, int id, const ns1__CouponArgument *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__CouponArgument), type))
return soap->error;
if (soap_out_PointerTons1__ArrayOfAnyType(soap, "ns1:Value", -1, &(a->ns1__CouponArgument::Value), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__CouponArgument::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__CouponArgument(soap, tag, this, type);
}
SOAP_FMAC3 ns1__CouponArgument * SOAP_FMAC4 soap_in_ns1__CouponArgument(struct soap *soap, const char *tag, ns1__CouponArgument *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__CouponArgument *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__CouponArgument, sizeof(ns1__CouponArgument), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__CouponArgument)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__CouponArgument *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_Value1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_Value1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__ArrayOfAnyType(soap, "ns1:Value", &(a->ns1__CouponArgument::Value), "ns1:ArrayOfAnyType"))
{ soap_flag_Value1--;
continue;
}
/* transient soap skipped */
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__CouponArgument *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__CouponArgument, 0, sizeof(ns1__CouponArgument), 0, soap_copy_ns1__CouponArgument);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int ns1__CouponArgument::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__CouponArgument);
if (this->soap_out(soap, tag?tag:"ns1:CouponArgument", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__CouponArgument::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__CouponArgument(soap, this, tag, type);
}
SOAP_FMAC3 ns1__CouponArgument * SOAP_FMAC4 soap_get_ns1__CouponArgument(struct soap *soap, ns1__CouponArgument *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__CouponArgument(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__CouponArgument * SOAP_FMAC2 soap_instantiate_ns1__CouponArgument(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__CouponArgument(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__CouponArgument, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__CouponArgument);
if (size)
*size = sizeof(ns1__CouponArgument);
((ns1__CouponArgument*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__CouponArgument, n);
if (size)
*size = n * sizeof(ns1__CouponArgument);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__CouponArgument*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__CouponArgument*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__CouponArgument(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__CouponArgument %p -> %p\n", q, p));
*(ns1__CouponArgument*)p = *(ns1__CouponArgument*)q;
}
void ns1__UsageT::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__UsageT::ChannelingId = NULL;
this->ns1__UsageT::ChannelingUserKey = NULL;
this->ns1__UsageT::Amount = NULL;
this->ns1__UsageT::ItemId = NULL;
this->ns1__UsageT::OrderId = NULL;
this->ns1__UsageT::RemoteIP = NULL;
/* transient soap skipped */
}
void ns1__UsageT::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::ChannelingId);
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::ChannelingUserKey);
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::Amount);
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::ItemId);
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::OrderId);
soap_serialize_PointerTostd__string(soap, &this->ns1__UsageT::RemoteIP);
/* transient soap skipped */
#endif
}
int ns1__UsageT::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__UsageT(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__UsageT(struct soap *soap, const char *tag, int id, const ns1__UsageT *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__UsageT), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ChannelingId", -1, &(a->ns1__UsageT::ChannelingId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ChannelingUserKey", -1, &(a->ns1__UsageT::ChannelingUserKey), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Amount", -1, &(a->ns1__UsageT::Amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ItemId", -1, &(a->ns1__UsageT::ItemId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:OrderId", -1, &(a->ns1__UsageT::OrderId), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:RemoteIP", -1, &(a->ns1__UsageT::RemoteIP), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__UsageT::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__UsageT(soap, tag, this, type);
}
SOAP_FMAC3 ns1__UsageT * SOAP_FMAC4 soap_in_ns1__UsageT(struct soap *soap, const char *tag, ns1__UsageT *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__UsageT *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__UsageT, sizeof(ns1__UsageT), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__UsageT)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__UsageT *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_ChannelingId1 = 1;
size_t soap_flag_ChannelingUserKey1 = 1;
size_t soap_flag_Amount1 = 1;
size_t soap_flag_ItemId1 = 1;
size_t soap_flag_OrderId1 = 1;
size_t soap_flag_RemoteIP1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ChannelingId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ChannelingId", &(a->ns1__UsageT::ChannelingId), "xsd:string"))
{ soap_flag_ChannelingId1--;
continue;
}
if (soap_flag_ChannelingUserKey1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ChannelingUserKey", &(a->ns1__UsageT::ChannelingUserKey), "xsd:string"))
{ soap_flag_ChannelingUserKey1--;
continue;
}
if (soap_flag_Amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Amount", &(a->ns1__UsageT::Amount), "xsd:string"))
{ soap_flag_Amount1--;
continue;
}
if (soap_flag_ItemId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ItemId", &(a->ns1__UsageT::ItemId), "xsd:string"))
{ soap_flag_ItemId1--;
continue;
}
if (soap_flag_OrderId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:OrderId", &(a->ns1__UsageT::OrderId), "xsd:string"))
{ soap_flag_OrderId1--;
continue;
}
if (soap_flag_RemoteIP1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:RemoteIP", &(a->ns1__UsageT::RemoteIP), "xsd:string"))
{ soap_flag_RemoteIP1--;
continue;
}
/* transient soap skipped */
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__UsageT *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__UsageT, 0, sizeof(ns1__UsageT), 0, soap_copy_ns1__UsageT);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int ns1__UsageT::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__UsageT);
if (this->soap_out(soap, tag?tag:"ns1:UsageT", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__UsageT::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__UsageT(soap, this, tag, type);
}
SOAP_FMAC3 ns1__UsageT * SOAP_FMAC4 soap_get_ns1__UsageT(struct soap *soap, ns1__UsageT *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__UsageT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__UsageT * SOAP_FMAC2 soap_instantiate_ns1__UsageT(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__UsageT(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__UsageT, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__UsageT);
if (size)
*size = sizeof(ns1__UsageT);
((ns1__UsageT*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__UsageT, n);
if (size)
*size = n * sizeof(ns1__UsageT);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__UsageT*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__UsageT*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__UsageT(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__UsageT %p -> %p\n", q, p));
*(ns1__UsageT*)p = *(ns1__UsageT*)q;
}
void ns1__ChargeT::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_int(soap, &this->ns1__ChargeT::LiabilityType);
this->ns1__ChargeT::LiabilityTypeCode = NULL;
this->ns1__ChargeT::BillingId = NULL;
soap_default_short(soap, &this->ns1__ChargeT::ChargeType);
soap_default_xsd__decimal(soap, &this->ns1__ChargeT::Amount);
this->ns1__ChargeT::OrderId = NULL;
/* transient soap skipped */
}
void ns1__ChargeT::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__ChargeT::LiabilityTypeCode);
soap_serialize_PointerTostd__string(soap, &this->ns1__ChargeT::BillingId);
soap_serialize_xsd__decimal(soap, &this->ns1__ChargeT::Amount);
soap_serialize_PointerTostd__string(soap, &this->ns1__ChargeT::OrderId);
/* transient soap skipped */
#endif
}
int ns1__ChargeT::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__ChargeT(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__ChargeT(struct soap *soap, const char *tag, int id, const ns1__ChargeT *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__ChargeT), type))
return soap->error;
if (soap_out_int(soap, "ns1:LiabilityType", -1, &(a->ns1__ChargeT::LiabilityType), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:LiabilityTypeCode", -1, &(a->ns1__ChargeT::LiabilityTypeCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:BillingId", -1, &(a->ns1__ChargeT::BillingId), ""))
return soap->error;
if (soap_out_short(soap, "ns1:ChargeType", -1, &(a->ns1__ChargeT::ChargeType), ""))
return soap->error;
if (soap_out_xsd__decimal(soap, "ns1:Amount", -1, &(a->ns1__ChargeT::Amount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:OrderId", -1, &(a->ns1__ChargeT::OrderId), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__ChargeT::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__ChargeT(soap, tag, this, type);
}
SOAP_FMAC3 ns1__ChargeT * SOAP_FMAC4 soap_in_ns1__ChargeT(struct soap *soap, const char *tag, ns1__ChargeT *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__ChargeT *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__ChargeT, sizeof(ns1__ChargeT), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__ChargeT)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__ChargeT *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_LiabilityType1 = 1;
size_t soap_flag_LiabilityTypeCode1 = 1;
size_t soap_flag_BillingId1 = 1;
size_t soap_flag_ChargeType1 = 1;
size_t soap_flag_Amount1 = 1;
size_t soap_flag_OrderId1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_LiabilityType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:LiabilityType", &(a->ns1__ChargeT::LiabilityType), "xsd:int"))
{ soap_flag_LiabilityType1--;
continue;
}
if (soap_flag_LiabilityTypeCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:LiabilityTypeCode", &(a->ns1__ChargeT::LiabilityTypeCode), "xsd:string"))
{ soap_flag_LiabilityTypeCode1--;
continue;
}
if (soap_flag_BillingId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:BillingId", &(a->ns1__ChargeT::BillingId), "xsd:string"))
{ soap_flag_BillingId1--;
continue;
}
if (soap_flag_ChargeType1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_short(soap, "ns1:ChargeType", &(a->ns1__ChargeT::ChargeType), "xsd:short"))
{ soap_flag_ChargeType1--;
continue;
}
if (soap_flag_Amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_xsd__decimal(soap, "ns1:Amount", &(a->ns1__ChargeT::Amount), "xsd:decimal"))
{ soap_flag_Amount1--;
continue;
}
if (soap_flag_OrderId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:OrderId", &(a->ns1__ChargeT::OrderId), "xsd:string"))
{ soap_flag_OrderId1--;
continue;
}
/* transient soap skipped */
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__ChargeT *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__ChargeT, 0, sizeof(ns1__ChargeT), 0, soap_copy_ns1__ChargeT);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_LiabilityType1 > 0 || soap_flag_ChargeType1 > 0 || soap_flag_Amount1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int ns1__ChargeT::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__ChargeT);
if (this->soap_out(soap, tag?tag:"ns1:ChargeT", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__ChargeT::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__ChargeT(soap, this, tag, type);
}
SOAP_FMAC3 ns1__ChargeT * SOAP_FMAC4 soap_get_ns1__ChargeT(struct soap *soap, ns1__ChargeT *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__ChargeT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__ChargeT * SOAP_FMAC2 soap_instantiate_ns1__ChargeT(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__ChargeT(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__ChargeT, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__ChargeT);
if (size)
*size = sizeof(ns1__ChargeT);
((ns1__ChargeT*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__ChargeT, n);
if (size)
*size = n * sizeof(ns1__ChargeT);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__ChargeT*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__ChargeT*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__ChargeT(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__ChargeT %p -> %p\n", q, p));
*(ns1__ChargeT*)p = *(ns1__ChargeT*)q;
}
void ns1__ResultT::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__ResultT::Command = NULL;
soap_default_bool(soap, &this->ns1__ResultT::Result);
soap_default_int(soap, &this->ns1__ResultT::Code);
this->ns1__ResultT::strCode = NULL;
this->ns1__ResultT::Message = NULL;
this->ns1__ResultT::ApprovalNo = NULL;
this->ns1__ResultT::ApprovalAmount = NULL;
this->ns1__ResultT::Balance = NULL;
soap_default_int(soap, &this->ns1__ResultT::ApvSn);
/* transient soap skipped */
}
void ns1__ResultT::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::Command);
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::strCode);
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::Message);
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::ApprovalNo);
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::ApprovalAmount);
soap_serialize_PointerTostd__string(soap, &this->ns1__ResultT::Balance);
/* transient soap skipped */
#endif
}
int ns1__ResultT::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__ResultT(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__ResultT(struct soap *soap, const char *tag, int id, const ns1__ResultT *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__ResultT), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Command", -1, &(a->ns1__ResultT::Command), ""))
return soap->error;
if (soap_out_bool(soap, "ns1:Result", -1, &(a->ns1__ResultT::Result), ""))
return soap->error;
if (soap_out_int(soap, "ns1:Code", -1, &(a->ns1__ResultT::Code), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:strCode", -1, &(a->ns1__ResultT::strCode), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Message", -1, &(a->ns1__ResultT::Message), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ApprovalNo", -1, &(a->ns1__ResultT::ApprovalNo), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:ApprovalAmount", -1, &(a->ns1__ResultT::ApprovalAmount), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Balance", -1, &(a->ns1__ResultT::Balance), ""))
return soap->error;
if (soap_out_int(soap, "ns1:ApvSn", -1, &(a->ns1__ResultT::ApvSn), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__ResultT::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__ResultT(soap, tag, this, type);
}
SOAP_FMAC3 ns1__ResultT * SOAP_FMAC4 soap_in_ns1__ResultT(struct soap *soap, const char *tag, ns1__ResultT *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__ResultT *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__ResultT, sizeof(ns1__ResultT), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__ResultT)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__ResultT *)a->soap_in(soap, tag, type);
}
}
size_t soap_flag_Command1 = 1;
size_t soap_flag_Result1 = 1;
size_t soap_flag_Code1 = 1;
size_t soap_flag_strCode1 = 1;
size_t soap_flag_Message1 = 1;
size_t soap_flag_ApprovalNo1 = 1;
size_t soap_flag_ApprovalAmount1 = 1;
size_t soap_flag_Balance1 = 1;
size_t soap_flag_ApvSn1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_Command1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Command", &(a->ns1__ResultT::Command), "xsd:string"))
{ soap_flag_Command1--;
continue;
}
if (soap_flag_Result1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_bool(soap, "ns1:Result", &(a->ns1__ResultT::Result), "xsd:boolean"))
{ soap_flag_Result1--;
continue;
}
if (soap_flag_Code1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:Code", &(a->ns1__ResultT::Code), "xsd:int"))
{ soap_flag_Code1--;
continue;
}
if (soap_flag_strCode1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:strCode", &(a->ns1__ResultT::strCode), "xsd:string"))
{ soap_flag_strCode1--;
continue;
}
if (soap_flag_Message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Message", &(a->ns1__ResultT::Message), "xsd:string"))
{ soap_flag_Message1--;
continue;
}
if (soap_flag_ApprovalNo1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ApprovalNo", &(a->ns1__ResultT::ApprovalNo), "xsd:string"))
{ soap_flag_ApprovalNo1--;
continue;
}
if (soap_flag_ApprovalAmount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:ApprovalAmount", &(a->ns1__ResultT::ApprovalAmount), "xsd:string"))
{ soap_flag_ApprovalAmount1--;
continue;
}
if (soap_flag_Balance1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Balance", &(a->ns1__ResultT::Balance), "xsd:string"))
{ soap_flag_Balance1--;
continue;
}
if (soap_flag_ApvSn1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_int(soap, "ns1:ApvSn", &(a->ns1__ResultT::ApvSn), "xsd:int"))
{ soap_flag_ApvSn1--;
continue;
}
/* transient soap skipped */
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__ResultT *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__ResultT, 0, sizeof(ns1__ResultT), 0, soap_copy_ns1__ResultT);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Result1 > 0 || soap_flag_Code1 > 0 || soap_flag_ApvSn1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int ns1__ResultT::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__ResultT);
if (this->soap_out(soap, tag?tag:"ns1:ResultT", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__ResultT::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__ResultT(soap, this, tag, type);
}
SOAP_FMAC3 ns1__ResultT * SOAP_FMAC4 soap_get_ns1__ResultT(struct soap *soap, ns1__ResultT *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__ResultT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__ResultT * SOAP_FMAC2 soap_instantiate_ns1__ResultT(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__ResultT(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__ResultT, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__ResultT);
if (size)
*size = sizeof(ns1__ResultT);
((ns1__ResultT*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__ResultT, n);
if (size)
*size = n * sizeof(ns1__ResultT);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__ResultT*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__ResultT*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__ResultT(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__ResultT %p -> %p\n", q, p));
*(ns1__ResultT*)p = *(ns1__ResultT*)q;
}
void ns1__ArrayOfAnyType::soap_default(struct soap *soap)
{
this->soap = soap;
soap_default_std__vectorTemplateOf_XML(soap, &this->ns1__ArrayOfAnyType::anyType);
/* transient soap skipped */
}
void ns1__ArrayOfAnyType::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_std__vectorTemplateOf_XML(soap, &this->ns1__ArrayOfAnyType::anyType);
/* transient soap skipped */
#endif
}
int ns1__ArrayOfAnyType::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__ArrayOfAnyType(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__ArrayOfAnyType(struct soap *soap, const char *tag, int id, const ns1__ArrayOfAnyType *a, const char *type)
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__ArrayOfAnyType), type))
return soap->error;
if (soap_out_std__vectorTemplateOf_XML(soap, "ns1:anyType", -1, &(a->ns1__ArrayOfAnyType::anyType), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__ArrayOfAnyType::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__ArrayOfAnyType(soap, tag, this, type);
}
SOAP_FMAC3 ns1__ArrayOfAnyType * SOAP_FMAC4 soap_in_ns1__ArrayOfAnyType(struct soap *soap, const char *tag, ns1__ArrayOfAnyType *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__ArrayOfAnyType *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__ArrayOfAnyType, sizeof(ns1__ArrayOfAnyType), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__ArrayOfAnyType)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__ArrayOfAnyType *)a->soap_in(soap, tag, type);
}
}
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_in_std__vectorTemplateOf_XML(soap, "ns1:anyType", &(a->ns1__ArrayOfAnyType::anyType), ""))
continue;
/* transient soap skipped */
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__ArrayOfAnyType *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__ArrayOfAnyType, 0, sizeof(ns1__ArrayOfAnyType), 0, soap_copy_ns1__ArrayOfAnyType);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int ns1__ArrayOfAnyType::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__ArrayOfAnyType);
if (this->soap_out(soap, tag?tag:"ns1:ArrayOfAnyType", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__ArrayOfAnyType::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__ArrayOfAnyType(soap, this, tag, type);
}
SOAP_FMAC3 ns1__ArrayOfAnyType * SOAP_FMAC4 soap_get_ns1__ArrayOfAnyType(struct soap *soap, ns1__ArrayOfAnyType *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__ArrayOfAnyType(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__ArrayOfAnyType * SOAP_FMAC2 soap_instantiate_ns1__ArrayOfAnyType(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__ArrayOfAnyType(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__ArrayOfAnyType, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__ArrayOfAnyType);
if (size)
*size = sizeof(ns1__ArrayOfAnyType);
((ns1__ArrayOfAnyType*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__ArrayOfAnyType, n);
if (size)
*size = n * sizeof(ns1__ArrayOfAnyType);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__ArrayOfAnyType*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__ArrayOfAnyType*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__ArrayOfAnyType(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__ArrayOfAnyType %p -> %p\n", q, p));
*(ns1__ArrayOfAnyType*)p = *(ns1__ArrayOfAnyType*)q;
}
void ns1__SecurityHeader::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__SecurityHeader::Created = NULL;
this->ns1__SecurityHeader::HashKey = NULL;
this->ns1__SecurityHeader::Data = NULL;
soap_default_unsignedInt(soap, &this->ns1__SecurityHeader::Key);
soap_default_unsignedInt(soap, &this->ns1__SecurityHeader::CheckSum);
this->ns1__SecurityHeader::__anyAttribute = NULL;
/* transient soap skipped */
}
void ns1__SecurityHeader::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__SecurityHeader::Created);
soap_serialize_PointerTostd__string(soap, &this->ns1__SecurityHeader::HashKey);
soap_serialize_PointerTostd__string(soap, &this->ns1__SecurityHeader::Data);
/* transient soap skipped */
#endif
}
int ns1__SecurityHeader::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__SecurityHeader(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__SecurityHeader(struct soap *soap, const char *tag, int id, const ns1__SecurityHeader *a, const char *type)
{
if (((ns1__SecurityHeader*)a)->__anyAttribute)
soap_set_attr(soap, "-anyAttribute", ((ns1__SecurityHeader*)a)->__anyAttribute, 1);
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__SecurityHeader), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Created", -1, &(a->ns1__SecurityHeader::Created), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:HashKey", -1, &(a->ns1__SecurityHeader::HashKey), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:Data", -1, &(a->ns1__SecurityHeader::Data), ""))
return soap->error;
if (soap_out_unsignedInt(soap, "ns1:Key", -1, &(a->ns1__SecurityHeader::Key), ""))
return soap->error;
if (soap_out_unsignedInt(soap, "ns1:CheckSum", -1, &(a->ns1__SecurityHeader::CheckSum), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__SecurityHeader::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__SecurityHeader(soap, tag, this, type);
}
SOAP_FMAC3 ns1__SecurityHeader * SOAP_FMAC4 soap_in_ns1__SecurityHeader(struct soap *soap, const char *tag, ns1__SecurityHeader *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__SecurityHeader *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__SecurityHeader, sizeof(ns1__SecurityHeader), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__SecurityHeader)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__SecurityHeader *)a->soap_in(soap, tag, type);
}
}
if (soap_s2string(soap, soap_attr_value(soap, "-anyAttribute", 0), &((ns1__SecurityHeader*)a)->__anyAttribute, 0, -1))
return NULL;
size_t soap_flag_Created1 = 1;
size_t soap_flag_HashKey1 = 1;
size_t soap_flag_Data1 = 1;
size_t soap_flag_Key1 = 1;
size_t soap_flag_CheckSum1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_Created1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Created", &(a->ns1__SecurityHeader::Created), "xsd:string"))
{ soap_flag_Created1--;
continue;
}
if (soap_flag_HashKey1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:HashKey", &(a->ns1__SecurityHeader::HashKey), "xsd:string"))
{ soap_flag_HashKey1--;
continue;
}
if (soap_flag_Data1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:Data", &(a->ns1__SecurityHeader::Data), "xsd:string"))
{ soap_flag_Data1--;
continue;
}
if (soap_flag_Key1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_unsignedInt(soap, "ns1:Key", &(a->ns1__SecurityHeader::Key), "xsd:unsignedInt"))
{ soap_flag_Key1--;
continue;
}
if (soap_flag_CheckSum1 && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_unsignedInt(soap, "ns1:CheckSum", &(a->ns1__SecurityHeader::CheckSum), "xsd:unsignedInt"))
{ soap_flag_CheckSum1--;
continue;
}
/* transient soap skipped */
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__SecurityHeader *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__SecurityHeader, 0, sizeof(ns1__SecurityHeader), 0, soap_copy_ns1__SecurityHeader);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Key1 > 0 || soap_flag_CheckSum1 > 0))
{ soap->error = SOAP_OCCURS;
return NULL;
}
return a;
}
int ns1__SecurityHeader::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__SecurityHeader);
if (this->soap_out(soap, tag?tag:"ns1:SecurityHeader", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__SecurityHeader::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__SecurityHeader(soap, this, tag, type);
}
SOAP_FMAC3 ns1__SecurityHeader * SOAP_FMAC4 soap_get_ns1__SecurityHeader(struct soap *soap, ns1__SecurityHeader *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__SecurityHeader(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__SecurityHeader * SOAP_FMAC2 soap_instantiate_ns1__SecurityHeader(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__SecurityHeader(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__SecurityHeader, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__SecurityHeader);
if (size)
*size = sizeof(ns1__SecurityHeader);
((ns1__SecurityHeader*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__SecurityHeader, n);
if (size)
*size = n * sizeof(ns1__SecurityHeader);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__SecurityHeader*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__SecurityHeader*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__SecurityHeader(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__SecurityHeader %p -> %p\n", q, p));
*(ns1__SecurityHeader*)p = *(ns1__SecurityHeader*)q;
}
void ns1__Header::soap_default(struct soap *soap)
{
this->soap = soap;
this->ns1__Header::TS = NULL;
this->ns1__Header::IPAddress = NULL;
this->ns1__Header::MD5Hash = NULL;
this->ns1__Header::__anyAttribute = NULL;
/* transient soap skipped */
}
void ns1__Header::soap_serialize(struct soap *soap) const
{
#ifndef WITH_NOIDREF
(void)soap; /* appease -Wall -Werror */
soap_serialize_PointerTostd__string(soap, &this->ns1__Header::TS);
soap_serialize_PointerTostd__string(soap, &this->ns1__Header::IPAddress);
soap_serialize_PointerTostd__string(soap, &this->ns1__Header::MD5Hash);
/* transient soap skipped */
#endif
}
int ns1__Header::soap_out(struct soap *soap, const char *tag, int id, const char *type) const
{
return soap_out_ns1__Header(soap, tag, id, this, type);
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__Header(struct soap *soap, const char *tag, int id, const ns1__Header *a, const char *type)
{
if (((ns1__Header*)a)->__anyAttribute)
soap_set_attr(soap, "-anyAttribute", ((ns1__Header*)a)->__anyAttribute, 1);
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__Header), type))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:TS", -1, &(a->ns1__Header::TS), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:IPAddress", -1, &(a->ns1__Header::IPAddress), ""))
return soap->error;
if (soap_out_PointerTostd__string(soap, "ns1:MD5Hash", -1, &(a->ns1__Header::MD5Hash), ""))
return soap->error;
/* transient soap skipped */
return soap_element_end_out(soap, tag);
}
void *ns1__Header::soap_in(struct soap *soap, const char *tag, const char *type)
{ return soap_in_ns1__Header(soap, tag, this, type);
}
SOAP_FMAC3 ns1__Header * SOAP_FMAC4 soap_in_ns1__Header(struct soap *soap, const char *tag, ns1__Header *a, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 0, NULL))
return NULL;
a = (ns1__Header *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__Header, sizeof(ns1__Header), soap->type, soap->arrayType);
if (!a)
return NULL;
if (soap->alloced)
{ a->soap_default(soap);
if (soap->clist->type != SOAP_TYPE_ns1__Header)
{ soap_revert(soap);
*soap->id = '\0';
return (ns1__Header *)a->soap_in(soap, tag, type);
}
}
if (soap_s2string(soap, soap_attr_value(soap, "-anyAttribute", 0), &((ns1__Header*)a)->__anyAttribute, 0, -1))
return NULL;
size_t soap_flag_TS1 = 1;
size_t soap_flag_IPAddress1 = 1;
size_t soap_flag_MD5Hash1 = 1;
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_TS1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:TS", &(a->ns1__Header::TS), "xsd:string"))
{ soap_flag_TS1--;
continue;
}
if (soap_flag_IPAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:IPAddress", &(a->ns1__Header::IPAddress), "xsd:string"))
{ soap_flag_IPAddress1--;
continue;
}
if (soap_flag_MD5Hash1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_PointerTostd__string(soap, "ns1:MD5Hash", &(a->ns1__Header::MD5Hash), "xsd:string"))
{ soap_flag_MD5Hash1--;
continue;
}
/* transient soap skipped */
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__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__Header, 0, sizeof(ns1__Header), 0, soap_copy_ns1__Header);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
int ns1__Header::soap_put(struct soap *soap, const char *tag, const char *type) const
{
register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ns1__Header);
if (this->soap_out(soap, tag?tag:"ns1:Header", id, type))
return soap->error;
return soap_putindependent(soap);
}
void *ns1__Header::soap_get(struct soap *soap, const char *tag, const char *type)
{
return soap_get_ns1__Header(soap, this, tag, type);
}
SOAP_FMAC3 ns1__Header * SOAP_FMAC4 soap_get_ns1__Header(struct soap *soap, ns1__Header *p, const char *tag, const char *type)
{
if ((p = soap_in_ns1__Header(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 ns1__Header * SOAP_FMAC2 soap_instantiate_ns1__Header(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ns1__Header, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(ns1__Header);
if (size)
*size = sizeof(ns1__Header);
((ns1__Header*)cp->ptr)->soap = soap;
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(ns1__Header, n);
if (size)
*size = n * sizeof(ns1__Header);
if (cp->ptr)
for (int i = 0; i < n; i++)
((ns1__Header*)cp->ptr)[i].soap = soap;
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (ns1__Header*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__Header(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying ns1__Header %p -> %p\n", q, p));
*(ns1__Header*)p = *(ns1__Header*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__decimal(struct soap *soap, const std::string *a)
{ (void)soap; (void)a; /* appease -Wall -Werror */
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
{
if ((soap->mode & SOAP_C_NILSTRING) && s->empty())
return soap_element_null(soap, tag, id, type);
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_xsd__decimal), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_xsd__decimal(struct soap *soap, const char *tag, std::string *s, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!s)
s = soap_new_std__string(soap, -1);
if (soap->null)
if (s)
s->erase();
if (soap->body && !*soap->href)
{ char *t;
s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType);
if (s)
{ if (!(t = soap_string_in(soap, 1, 0, -1)))
return NULL;
s->assign(t);
}
}
else
s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_xsd__decimal, sizeof(std::string), soap->type, soap->arrayType), 0, SOAP_TYPE_xsd__decimal, 0, sizeof(std::string), 0, soap_copy_xsd__decimal);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
return s;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap *soap, const std::string *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_xsd__decimal);
if (soap_out_xsd__decimal(soap, tag?tag:"xsd:decimal", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_xsd__decimal(struct soap *soap, std::string *p, const char *tag, const char *type)
{
if ((p = soap_in_xsd__decimal(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__string(struct soap *soap, std::string *p)
{
(void)soap; /* appease -Wall -Werror */
p->erase();
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__string(struct soap *soap, const std::string *a)
{ (void)soap; (void)a; /* appease -Wall -Werror */
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__string(struct soap *soap, const char *tag, int id, const std::string *s, const char *type)
{
if ((soap->mode & SOAP_C_NILSTRING) && s->empty())
return soap_element_null(soap, tag, id, type);
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, s, SOAP_TYPE_std__string), type) || soap_string_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_in_std__string(struct soap *soap, const char *tag, std::string *s, const char *type)
{
(void)type; /* appease -Wall -Werror */
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!s)
s = soap_new_std__string(soap, -1);
if (soap->null)
if (s)
s->erase();
if (soap->body && !*soap->href)
{ char *t;
s = (std::string*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType);
if (s)
{ if (!(t = soap_string_in(soap, 1, 0, -1)))
return NULL;
s->assign(t);
}
}
else
s = (std::string*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_std__string, sizeof(std::string), soap->type, soap->arrayType), 0, SOAP_TYPE_std__string, 0, sizeof(std::string), 0, soap_copy_std__string);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
return s;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__string(struct soap *soap, const std::string *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_std__string);
if (soap_out_std__string(soap, tag?tag:"string", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 std::string * SOAP_FMAC4 soap_get_std__string(struct soap *soap, std::string *p, const char *tag, const char *type)
{
if ((p = soap_in_std__string(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 std::string * SOAP_FMAC2 soap_instantiate_std__string(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__string(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__string, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(std::string);
if (size)
*size = sizeof(std::string);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(std::string, n);
if (size)
*size = n * sizeof(std::string);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (std::string*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__string(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::string %p -> %p\n", q, p));
*(std::string*)p = *(std::string*)q;
}
#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)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize__QName(soap, &a->faultcode);
soap_serialize_string(soap, &a->faultstring);
soap_serialize_string(soap, &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, &a->SOAP_ENV__Node);
soap_serialize_string(soap, &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_QName2s(soap, a->faultcode);
(void)soap; (void)tag; (void)id; (void)type;
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*)&soap_tmp_faultcode, ""))
return soap->error;
if (soap_out_string(soap, "faultstring", -1, &a->faultstring, ""))
return soap->error;
if (soap_out_string(soap, "faultactor", -1, &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, &a->SOAP_ENV__Node, ""))
return soap->error;
if (soap_out_string(soap, "SOAP-ENV:Role", -1, &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, type))
return NULL;
a = (struct SOAP_ENV__Fault *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), 0, NULL, NULL, NULL);
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", &a->faultcode, ""))
{ soap_flag_faultcode--;
continue;
}
if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
if (soap_in_string(soap, "faultstring", &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", &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", &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", &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, 0, sizeof(struct SOAP_ENV__Fault), 0, NULL);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
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)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Fault);
if (soap_out_SOAP_ENV__Fault(soap, tag?tag:"SOAP-ENV:Fault", id, 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;
}
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)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault);
if (size)
*size = sizeof(struct SOAP_ENV__Fault);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Fault, n);
if (size)
*size = n * sizeof(struct SOAP_ENV__Fault);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct SOAP_ENV__Fault*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Fault %p -> %p\n", q, p));
*(struct SOAP_ENV__Fault*)p = *(struct SOAP_ENV__Fault*)q;
}
#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)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_string(soap, &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)type;
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, &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, type))
return NULL;
a = (struct SOAP_ENV__Reason *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), 0, NULL, NULL, NULL);
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", &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, 0, 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_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Reason);
if (soap_out_SOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, 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;
}
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)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason);
if (size)
*size = sizeof(struct SOAP_ENV__Reason);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Reason, n);
if (size)
*size = n * sizeof(struct SOAP_ENV__Reason);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct SOAP_ENV__Reason*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Reason %p -> %p\n", q, p));
*(struct SOAP_ENV__Reason*)p = *(struct SOAP_ENV__Reason*)q;
}
#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)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
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)type;
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type))
return soap->error;
soap_outliteral(soap, "-any", &a->__any, NULL);
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, type))
return NULL;
a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL);
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, &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", &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, 0, 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_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Detail);
if (soap_out_SOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, 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;
}
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)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail);
if (size)
*size = sizeof(struct SOAP_ENV__Detail);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Detail, n);
if (size)
*size = n * sizeof(struct SOAP_ENV__Detail);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct SOAP_ENV__Detail*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Detail %p -> %p\n", q, p));
*(struct SOAP_ENV__Detail*)p = *(struct SOAP_ENV__Detail*)q;
}
#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)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize__QName(soap, &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_QName2s(soap, a->SOAP_ENV__Value);
(void)soap; (void)tag; (void)id; (void)type;
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*)&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, type))
return NULL;
a = (struct SOAP_ENV__Code *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), 0, NULL, NULL, NULL);
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", &a->SOAP_ENV__Value, ""))
{ 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, 0, 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_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Code);
if (soap_out_SOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, 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;
}
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)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code);
if (size)
*size = sizeof(struct SOAP_ENV__Code);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Code, n);
if (size)
*size = n * sizeof(struct SOAP_ENV__Code);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct SOAP_ENV__Code*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Code %p -> %p\n", q, p));
*(struct SOAP_ENV__Code*)p = *(struct SOAP_ENV__Code*)q;
}
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SetUserMappingData_(struct soap *soap, struct __ns1__SetUserMappingData_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__SetUserMappingData = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SetUserMappingData_(struct soap *soap, const struct __ns1__SetUserMappingData_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__SetUserMappingData(soap, &a->ns1__SetUserMappingData);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SetUserMappingData_(struct soap *soap, const char *tag, int id, const struct __ns1__SetUserMappingData_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__SetUserMappingData(soap, "ns1:SetUserMappingData", -1, &a->ns1__SetUserMappingData, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__SetUserMappingData_ * SOAP_FMAC4 soap_in___ns1__SetUserMappingData_(struct soap *soap, const char *tag, struct __ns1__SetUserMappingData_ *a, const char *type)
{
size_t soap_flag_ns1__SetUserMappingData = 1;
short soap_flag;
a = (struct __ns1__SetUserMappingData_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SetUserMappingData_, sizeof(struct __ns1__SetUserMappingData_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__SetUserMappingData_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__SetUserMappingData && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__SetUserMappingData(soap, "ns1:SetUserMappingData", &a->ns1__SetUserMappingData, ""))
{ soap_flag_ns1__SetUserMappingData--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SetUserMappingData_(struct soap *soap, const struct __ns1__SetUserMappingData_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__SetUserMappingData_(soap, tag?tag:"-ns1:SetUserMappingData", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__SetUserMappingData_ * SOAP_FMAC4 soap_get___ns1__SetUserMappingData_(struct soap *soap, struct __ns1__SetUserMappingData_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__SetUserMappingData_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__SetUserMappingData_ * SOAP_FMAC2 soap_instantiate___ns1__SetUserMappingData_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SetUserMappingData_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__SetUserMappingData_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__SetUserMappingData_);
if (size)
*size = sizeof(struct __ns1__SetUserMappingData_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__SetUserMappingData_, n);
if (size)
*size = n * sizeof(struct __ns1__SetUserMappingData_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__SetUserMappingData_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__SetUserMappingData_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__SetUserMappingData_ %p -> %p\n", q, p));
*(struct __ns1__SetUserMappingData_*)p = *(struct __ns1__SetUserMappingData_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalCashChange_(struct soap *soap, struct __ns1__ApprovalCashChange_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalCashChange = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalCashChange_(struct soap *soap, const struct __ns1__ApprovalCashChange_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalCashChange(soap, &a->ns1__ApprovalCashChange);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalCashChange_(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalCashChange_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalCashChange(soap, "ns1:ApprovalCashChange", -1, &a->ns1__ApprovalCashChange, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_ * SOAP_FMAC4 soap_in___ns1__ApprovalCashChange_(struct soap *soap, const char *tag, struct __ns1__ApprovalCashChange_ *a, const char *type)
{
size_t soap_flag_ns1__ApprovalCashChange = 1;
short soap_flag;
a = (struct __ns1__ApprovalCashChange_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalCashChange_, sizeof(struct __ns1__ApprovalCashChange_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalCashChange_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalCashChange && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalCashChange(soap, "ns1:ApprovalCashChange", &a->ns1__ApprovalCashChange, ""))
{ soap_flag_ns1__ApprovalCashChange--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalCashChange_(struct soap *soap, const struct __ns1__ApprovalCashChange_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalCashChange_(soap, tag?tag:"-ns1:ApprovalCashChange", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_ * SOAP_FMAC4 soap_get___ns1__ApprovalCashChange_(struct soap *soap, struct __ns1__ApprovalCashChange_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalCashChange_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalCashChange_ * SOAP_FMAC2 soap_instantiate___ns1__ApprovalCashChange_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalCashChange_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalCashChange_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalCashChange_);
if (size)
*size = sizeof(struct __ns1__ApprovalCashChange_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalCashChange_, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalCashChange_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalCashChange_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalCashChange_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalCashChange_ %p -> %p\n", q, p));
*(struct __ns1__ApprovalCashChange_*)p = *(struct __ns1__ApprovalCashChange_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancelForLunia_(struct soap *soap, struct __ns1__UsageCancelForLunia_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancelForLunia = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancelForLunia_(struct soap *soap, const struct __ns1__UsageCancelForLunia_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancelForLunia(soap, &a->ns1__UsageCancelForLunia);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancelForLunia_(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancelForLunia_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancelForLunia(soap, "ns1:UsageCancelForLunia", -1, &a->ns1__UsageCancelForLunia, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelForLunia_ * SOAP_FMAC4 soap_in___ns1__UsageCancelForLunia_(struct soap *soap, const char *tag, struct __ns1__UsageCancelForLunia_ *a, const char *type)
{
size_t soap_flag_ns1__UsageCancelForLunia = 1;
short soap_flag;
a = (struct __ns1__UsageCancelForLunia_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancelForLunia_, sizeof(struct __ns1__UsageCancelForLunia_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancelForLunia_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancelForLunia && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancelForLunia(soap, "ns1:UsageCancelForLunia", &a->ns1__UsageCancelForLunia, ""))
{ soap_flag_ns1__UsageCancelForLunia--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancelForLunia_(struct soap *soap, const struct __ns1__UsageCancelForLunia_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancelForLunia_(soap, tag?tag:"-ns1:UsageCancelForLunia", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelForLunia_ * SOAP_FMAC4 soap_get___ns1__UsageCancelForLunia_(struct soap *soap, struct __ns1__UsageCancelForLunia_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancelForLunia_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancelForLunia_ * SOAP_FMAC2 soap_instantiate___ns1__UsageCancelForLunia_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancelForLunia_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancelForLunia_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancelForLunia_);
if (size)
*size = sizeof(struct __ns1__UsageCancelForLunia_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancelForLunia_, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancelForLunia_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancelForLunia_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancelForLunia_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancelForLunia_ %p -> %p\n", q, p));
*(struct __ns1__UsageCancelForLunia_*)p = *(struct __ns1__UsageCancelForLunia_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ChargeGameCash_(struct soap *soap, struct __ns1__ChargeGameCash_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ChargeGameCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ChargeGameCash_(struct soap *soap, const struct __ns1__ChargeGameCash_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ChargeGameCash(soap, &a->ns1__ChargeGameCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ChargeGameCash_(struct soap *soap, const char *tag, int id, const struct __ns1__ChargeGameCash_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ChargeGameCash(soap, "ns1:ChargeGameCash", -1, &a->ns1__ChargeGameCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeGameCash_ * SOAP_FMAC4 soap_in___ns1__ChargeGameCash_(struct soap *soap, const char *tag, struct __ns1__ChargeGameCash_ *a, const char *type)
{
size_t soap_flag_ns1__ChargeGameCash = 1;
short soap_flag;
a = (struct __ns1__ChargeGameCash_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ChargeGameCash_, sizeof(struct __ns1__ChargeGameCash_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ChargeGameCash_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ChargeGameCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ChargeGameCash(soap, "ns1:ChargeGameCash", &a->ns1__ChargeGameCash, ""))
{ soap_flag_ns1__ChargeGameCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ChargeGameCash_(struct soap *soap, const struct __ns1__ChargeGameCash_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ChargeGameCash_(soap, tag?tag:"-ns1:ChargeGameCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeGameCash_ * SOAP_FMAC4 soap_get___ns1__ChargeGameCash_(struct soap *soap, struct __ns1__ChargeGameCash_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ChargeGameCash_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ChargeGameCash_ * SOAP_FMAC2 soap_instantiate___ns1__ChargeGameCash_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ChargeGameCash_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ChargeGameCash_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ChargeGameCash_);
if (size)
*size = sizeof(struct __ns1__ChargeGameCash_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ChargeGameCash_, n);
if (size)
*size = n * sizeof(struct __ns1__ChargeGameCash_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ChargeGameCash_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ChargeGameCash_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ChargeGameCash_ %p -> %p\n", q, p));
*(struct __ns1__ChargeGameCash_*)p = *(struct __ns1__ChargeGameCash_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurseWithGameCash_(struct soap *soap, struct __ns1__GetPurseWithGameCash_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurseWithGameCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurseWithGameCash_(struct soap *soap, const struct __ns1__GetPurseWithGameCash_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurseWithGameCash(soap, &a->ns1__GetPurseWithGameCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurseWithGameCash_(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurseWithGameCash_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurseWithGameCash(soap, "ns1:GetPurseWithGameCash", -1, &a->ns1__GetPurseWithGameCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseWithGameCash_ * SOAP_FMAC4 soap_in___ns1__GetPurseWithGameCash_(struct soap *soap, const char *tag, struct __ns1__GetPurseWithGameCash_ *a, const char *type)
{
size_t soap_flag_ns1__GetPurseWithGameCash = 1;
short soap_flag;
a = (struct __ns1__GetPurseWithGameCash_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurseWithGameCash_, sizeof(struct __ns1__GetPurseWithGameCash_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurseWithGameCash_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurseWithGameCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurseWithGameCash(soap, "ns1:GetPurseWithGameCash", &a->ns1__GetPurseWithGameCash, ""))
{ soap_flag_ns1__GetPurseWithGameCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurseWithGameCash_(struct soap *soap, const struct __ns1__GetPurseWithGameCash_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurseWithGameCash_(soap, tag?tag:"-ns1:GetPurseWithGameCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseWithGameCash_ * SOAP_FMAC4 soap_get___ns1__GetPurseWithGameCash_(struct soap *soap, struct __ns1__GetPurseWithGameCash_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurseWithGameCash_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurseWithGameCash_ * SOAP_FMAC2 soap_instantiate___ns1__GetPurseWithGameCash_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurseWithGameCash_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurseWithGameCash_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurseWithGameCash_);
if (size)
*size = sizeof(struct __ns1__GetPurseWithGameCash_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurseWithGameCash_, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurseWithGameCash_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurseWithGameCash_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurseWithGameCash_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurseWithGameCash_ %p -> %p\n", q, p));
*(struct __ns1__GetPurseWithGameCash_*)p = *(struct __ns1__GetPurseWithGameCash_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetRemainAmount_(struct soap *soap, struct __ns1__GetRemainAmount_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetRemainAmount = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetRemainAmount_(struct soap *soap, const struct __ns1__GetRemainAmount_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetRemainAmount(soap, &a->ns1__GetRemainAmount);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetRemainAmount_(struct soap *soap, const char *tag, int id, const struct __ns1__GetRemainAmount_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetRemainAmount(soap, "ns1:GetRemainAmount", -1, &a->ns1__GetRemainAmount, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetRemainAmount_ * SOAP_FMAC4 soap_in___ns1__GetRemainAmount_(struct soap *soap, const char *tag, struct __ns1__GetRemainAmount_ *a, const char *type)
{
size_t soap_flag_ns1__GetRemainAmount = 1;
short soap_flag;
a = (struct __ns1__GetRemainAmount_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetRemainAmount_, sizeof(struct __ns1__GetRemainAmount_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetRemainAmount_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetRemainAmount && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetRemainAmount(soap, "ns1:GetRemainAmount", &a->ns1__GetRemainAmount, ""))
{ soap_flag_ns1__GetRemainAmount--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetRemainAmount_(struct soap *soap, const struct __ns1__GetRemainAmount_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetRemainAmount_(soap, tag?tag:"-ns1:GetRemainAmount", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetRemainAmount_ * SOAP_FMAC4 soap_get___ns1__GetRemainAmount_(struct soap *soap, struct __ns1__GetRemainAmount_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetRemainAmount_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetRemainAmount_ * SOAP_FMAC2 soap_instantiate___ns1__GetRemainAmount_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetRemainAmount_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetRemainAmount_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetRemainAmount_);
if (size)
*size = sizeof(struct __ns1__GetRemainAmount_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetRemainAmount_, n);
if (size)
*size = n * sizeof(struct __ns1__GetRemainAmount_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetRemainAmount_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetRemainAmount_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetRemainAmount_ %p -> %p\n", q, p));
*(struct __ns1__GetRemainAmount_*)p = *(struct __ns1__GetRemainAmount_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UseCoupon_(struct soap *soap, struct __ns1__UseCoupon_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UseCoupon = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UseCoupon_(struct soap *soap, const struct __ns1__UseCoupon_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UseCoupon(soap, &a->ns1__UseCoupon);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UseCoupon_(struct soap *soap, const char *tag, int id, const struct __ns1__UseCoupon_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UseCoupon(soap, "ns1:UseCoupon", -1, &a->ns1__UseCoupon, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UseCoupon_ * SOAP_FMAC4 soap_in___ns1__UseCoupon_(struct soap *soap, const char *tag, struct __ns1__UseCoupon_ *a, const char *type)
{
size_t soap_flag_ns1__UseCoupon = 1;
short soap_flag;
a = (struct __ns1__UseCoupon_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UseCoupon_, sizeof(struct __ns1__UseCoupon_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UseCoupon_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UseCoupon && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UseCoupon(soap, "ns1:UseCoupon", &a->ns1__UseCoupon, ""))
{ soap_flag_ns1__UseCoupon--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UseCoupon_(struct soap *soap, const struct __ns1__UseCoupon_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UseCoupon_(soap, tag?tag:"-ns1:UseCoupon", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UseCoupon_ * SOAP_FMAC4 soap_get___ns1__UseCoupon_(struct soap *soap, struct __ns1__UseCoupon_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UseCoupon_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UseCoupon_ * SOAP_FMAC2 soap_instantiate___ns1__UseCoupon_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UseCoupon_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UseCoupon_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UseCoupon_);
if (size)
*size = sizeof(struct __ns1__UseCoupon_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UseCoupon_, n);
if (size)
*size = n * sizeof(struct __ns1__UseCoupon_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UseCoupon_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UseCoupon_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UseCoupon_ %p -> %p\n", q, p));
*(struct __ns1__UseCoupon_*)p = *(struct __ns1__UseCoupon_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalSendCash_(struct soap *soap, struct __ns1__ApprovalSendCash_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalSendCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalSendCash_(struct soap *soap, const struct __ns1__ApprovalSendCash_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalSendCash(soap, &a->ns1__ApprovalSendCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalSendCash_(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalSendCash_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalSendCash(soap, "ns1:ApprovalSendCash", -1, &a->ns1__ApprovalSendCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalSendCash_ * SOAP_FMAC4 soap_in___ns1__ApprovalSendCash_(struct soap *soap, const char *tag, struct __ns1__ApprovalSendCash_ *a, const char *type)
{
size_t soap_flag_ns1__ApprovalSendCash = 1;
short soap_flag;
a = (struct __ns1__ApprovalSendCash_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalSendCash_, sizeof(struct __ns1__ApprovalSendCash_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalSendCash_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalSendCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalSendCash(soap, "ns1:ApprovalSendCash", &a->ns1__ApprovalSendCash, ""))
{ soap_flag_ns1__ApprovalSendCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalSendCash_(struct soap *soap, const struct __ns1__ApprovalSendCash_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalSendCash_(soap, tag?tag:"-ns1:ApprovalSendCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalSendCash_ * SOAP_FMAC4 soap_get___ns1__ApprovalSendCash_(struct soap *soap, struct __ns1__ApprovalSendCash_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalSendCash_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalSendCash_ * SOAP_FMAC2 soap_instantiate___ns1__ApprovalSendCash_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalSendCash_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalSendCash_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalSendCash_);
if (size)
*size = sizeof(struct __ns1__ApprovalSendCash_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalSendCash_, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalSendCash_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalSendCash_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalSendCash_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalSendCash_ %p -> %p\n", q, p));
*(struct __ns1__ApprovalSendCash_*)p = *(struct __ns1__ApprovalSendCash_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__RequestEventCharge_(struct soap *soap, struct __ns1__RequestEventCharge_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__RequestEventCharge = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__RequestEventCharge_(struct soap *soap, const struct __ns1__RequestEventCharge_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__RequestEventCharge(soap, &a->ns1__RequestEventCharge);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__RequestEventCharge_(struct soap *soap, const char *tag, int id, const struct __ns1__RequestEventCharge_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__RequestEventCharge(soap, "ns1:RequestEventCharge", -1, &a->ns1__RequestEventCharge, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__RequestEventCharge_ * SOAP_FMAC4 soap_in___ns1__RequestEventCharge_(struct soap *soap, const char *tag, struct __ns1__RequestEventCharge_ *a, const char *type)
{
size_t soap_flag_ns1__RequestEventCharge = 1;
short soap_flag;
a = (struct __ns1__RequestEventCharge_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__RequestEventCharge_, sizeof(struct __ns1__RequestEventCharge_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__RequestEventCharge_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__RequestEventCharge && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__RequestEventCharge(soap, "ns1:RequestEventCharge", &a->ns1__RequestEventCharge, ""))
{ soap_flag_ns1__RequestEventCharge--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__RequestEventCharge_(struct soap *soap, const struct __ns1__RequestEventCharge_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__RequestEventCharge_(soap, tag?tag:"-ns1:RequestEventCharge", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__RequestEventCharge_ * SOAP_FMAC4 soap_get___ns1__RequestEventCharge_(struct soap *soap, struct __ns1__RequestEventCharge_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__RequestEventCharge_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__RequestEventCharge_ * SOAP_FMAC2 soap_instantiate___ns1__RequestEventCharge_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__RequestEventCharge_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__RequestEventCharge_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__RequestEventCharge_);
if (size)
*size = sizeof(struct __ns1__RequestEventCharge_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__RequestEventCharge_, n);
if (size)
*size = n * sizeof(struct __ns1__RequestEventCharge_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__RequestEventCharge_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__RequestEventCharge_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__RequestEventCharge_ %p -> %p\n", q, p));
*(struct __ns1__RequestEventCharge_*)p = *(struct __ns1__RequestEventCharge_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageRollback_(struct soap *soap, struct __ns1__UsageRollback_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageRollback = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageRollback_(struct soap *soap, const struct __ns1__UsageRollback_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageRollback(soap, &a->ns1__UsageRollback);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageRollback_(struct soap *soap, const char *tag, int id, const struct __ns1__UsageRollback_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageRollback(soap, "ns1:UsageRollback", -1, &a->ns1__UsageRollback, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageRollback_ * SOAP_FMAC4 soap_in___ns1__UsageRollback_(struct soap *soap, const char *tag, struct __ns1__UsageRollback_ *a, const char *type)
{
size_t soap_flag_ns1__UsageRollback = 1;
short soap_flag;
a = (struct __ns1__UsageRollback_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageRollback_, sizeof(struct __ns1__UsageRollback_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageRollback_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageRollback && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageRollback(soap, "ns1:UsageRollback", &a->ns1__UsageRollback, ""))
{ soap_flag_ns1__UsageRollback--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageRollback_(struct soap *soap, const struct __ns1__UsageRollback_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageRollback_(soap, tag?tag:"-ns1:UsageRollback", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageRollback_ * SOAP_FMAC4 soap_get___ns1__UsageRollback_(struct soap *soap, struct __ns1__UsageRollback_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageRollback_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageRollback_ * SOAP_FMAC2 soap_instantiate___ns1__UsageRollback_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageRollback_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageRollback_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageRollback_);
if (size)
*size = sizeof(struct __ns1__UsageRollback_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageRollback_, n);
if (size)
*size = n * sizeof(struct __ns1__UsageRollback_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageRollback_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageRollback_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageRollback_ %p -> %p\n", q, p));
*(struct __ns1__UsageRollback_*)p = *(struct __ns1__UsageRollback_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurchaseAmount_(struct soap *soap, struct __ns1__GetPurchaseAmount_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurchaseAmount = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurchaseAmount_(struct soap *soap, const struct __ns1__GetPurchaseAmount_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurchaseAmount(soap, &a->ns1__GetPurchaseAmount);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurchaseAmount_(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurchaseAmount_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurchaseAmount(soap, "ns1:GetPurchaseAmount", -1, &a->ns1__GetPurchaseAmount, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurchaseAmount_ * SOAP_FMAC4 soap_in___ns1__GetPurchaseAmount_(struct soap *soap, const char *tag, struct __ns1__GetPurchaseAmount_ *a, const char *type)
{
size_t soap_flag_ns1__GetPurchaseAmount = 1;
short soap_flag;
a = (struct __ns1__GetPurchaseAmount_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurchaseAmount_, sizeof(struct __ns1__GetPurchaseAmount_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurchaseAmount_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurchaseAmount && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurchaseAmount(soap, "ns1:GetPurchaseAmount", &a->ns1__GetPurchaseAmount, ""))
{ soap_flag_ns1__GetPurchaseAmount--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurchaseAmount_(struct soap *soap, const struct __ns1__GetPurchaseAmount_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurchaseAmount_(soap, tag?tag:"-ns1:GetPurchaseAmount", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurchaseAmount_ * SOAP_FMAC4 soap_get___ns1__GetPurchaseAmount_(struct soap *soap, struct __ns1__GetPurchaseAmount_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurchaseAmount_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurchaseAmount_ * SOAP_FMAC2 soap_instantiate___ns1__GetPurchaseAmount_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurchaseAmount_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurchaseAmount_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurchaseAmount_);
if (size)
*size = sizeof(struct __ns1__GetPurchaseAmount_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurchaseAmount_, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurchaseAmount_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurchaseAmount_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurchaseAmount_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurchaseAmount_ %p -> %p\n", q, p));
*(struct __ns1__GetPurchaseAmount_*)p = *(struct __ns1__GetPurchaseAmount_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancelByUsageSn_(struct soap *soap, struct __ns1__UsageCancelByUsageSn_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancelByUsageSn = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancelByUsageSn_(struct soap *soap, const struct __ns1__UsageCancelByUsageSn_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancelByUsageSn(soap, &a->ns1__UsageCancelByUsageSn);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancelByUsageSn_(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancelByUsageSn_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancelByUsageSn(soap, "ns1:UsageCancelByUsageSn", -1, &a->ns1__UsageCancelByUsageSn, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelByUsageSn_ * SOAP_FMAC4 soap_in___ns1__UsageCancelByUsageSn_(struct soap *soap, const char *tag, struct __ns1__UsageCancelByUsageSn_ *a, const char *type)
{
size_t soap_flag_ns1__UsageCancelByUsageSn = 1;
short soap_flag;
a = (struct __ns1__UsageCancelByUsageSn_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancelByUsageSn_, sizeof(struct __ns1__UsageCancelByUsageSn_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancelByUsageSn_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancelByUsageSn && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancelByUsageSn(soap, "ns1:UsageCancelByUsageSn", &a->ns1__UsageCancelByUsageSn, ""))
{ soap_flag_ns1__UsageCancelByUsageSn--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancelByUsageSn_(struct soap *soap, const struct __ns1__UsageCancelByUsageSn_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancelByUsageSn_(soap, tag?tag:"-ns1:UsageCancelByUsageSn", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelByUsageSn_ * SOAP_FMAC4 soap_get___ns1__UsageCancelByUsageSn_(struct soap *soap, struct __ns1__UsageCancelByUsageSn_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancelByUsageSn_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancelByUsageSn_ * SOAP_FMAC2 soap_instantiate___ns1__UsageCancelByUsageSn_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancelByUsageSn_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancelByUsageSn_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancelByUsageSn_);
if (size)
*size = sizeof(struct __ns1__UsageCancelByUsageSn_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancelByUsageSn_, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancelByUsageSn_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancelByUsageSn_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancelByUsageSn_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancelByUsageSn_ %p -> %p\n", q, p));
*(struct __ns1__UsageCancelByUsageSn_*)p = *(struct __ns1__UsageCancelByUsageSn_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancel_(struct soap *soap, struct __ns1__UsageCancel_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancel_(struct soap *soap, const struct __ns1__UsageCancel_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancel(soap, &a->ns1__UsageCancel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancel_(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancel_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancel(soap, "ns1:UsageCancel", -1, &a->ns1__UsageCancel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancel_ * SOAP_FMAC4 soap_in___ns1__UsageCancel_(struct soap *soap, const char *tag, struct __ns1__UsageCancel_ *a, const char *type)
{
size_t soap_flag_ns1__UsageCancel = 1;
short soap_flag;
a = (struct __ns1__UsageCancel_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancel_, sizeof(struct __ns1__UsageCancel_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancel_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancel(soap, "ns1:UsageCancel", &a->ns1__UsageCancel, ""))
{ soap_flag_ns1__UsageCancel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancel_(struct soap *soap, const struct __ns1__UsageCancel_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancel_(soap, tag?tag:"-ns1:UsageCancel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancel_ * SOAP_FMAC4 soap_get___ns1__UsageCancel_(struct soap *soap, struct __ns1__UsageCancel_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancel_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancel_ * SOAP_FMAC2 soap_instantiate___ns1__UsageCancel_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancel_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancel_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancel_);
if (size)
*size = sizeof(struct __ns1__UsageCancel_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancel_, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancel_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancel_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancel_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancel_ %p -> %p\n", q, p));
*(struct __ns1__UsageCancel_*)p = *(struct __ns1__UsageCancel_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ChargeForNeopleCoupon_(struct soap *soap, struct __ns1__ChargeForNeopleCoupon_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ChargeForNeopleCoupon = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ChargeForNeopleCoupon_(struct soap *soap, const struct __ns1__ChargeForNeopleCoupon_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ChargeForNeopleCoupon(soap, &a->ns1__ChargeForNeopleCoupon);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ChargeForNeopleCoupon_(struct soap *soap, const char *tag, int id, const struct __ns1__ChargeForNeopleCoupon_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ChargeForNeopleCoupon(soap, "ns1:ChargeForNeopleCoupon", -1, &a->ns1__ChargeForNeopleCoupon, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeForNeopleCoupon_ * SOAP_FMAC4 soap_in___ns1__ChargeForNeopleCoupon_(struct soap *soap, const char *tag, struct __ns1__ChargeForNeopleCoupon_ *a, const char *type)
{
size_t soap_flag_ns1__ChargeForNeopleCoupon = 1;
short soap_flag;
a = (struct __ns1__ChargeForNeopleCoupon_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ChargeForNeopleCoupon_, sizeof(struct __ns1__ChargeForNeopleCoupon_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ChargeForNeopleCoupon_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ChargeForNeopleCoupon && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ChargeForNeopleCoupon(soap, "ns1:ChargeForNeopleCoupon", &a->ns1__ChargeForNeopleCoupon, ""))
{ soap_flag_ns1__ChargeForNeopleCoupon--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ChargeForNeopleCoupon_(struct soap *soap, const struct __ns1__ChargeForNeopleCoupon_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ChargeForNeopleCoupon_(soap, tag?tag:"-ns1:ChargeForNeopleCoupon", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeForNeopleCoupon_ * SOAP_FMAC4 soap_get___ns1__ChargeForNeopleCoupon_(struct soap *soap, struct __ns1__ChargeForNeopleCoupon_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ChargeForNeopleCoupon_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ChargeForNeopleCoupon_ * SOAP_FMAC2 soap_instantiate___ns1__ChargeForNeopleCoupon_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ChargeForNeopleCoupon_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ChargeForNeopleCoupon_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ChargeForNeopleCoupon_);
if (size)
*size = sizeof(struct __ns1__ChargeForNeopleCoupon_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ChargeForNeopleCoupon_, n);
if (size)
*size = n * sizeof(struct __ns1__ChargeForNeopleCoupon_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ChargeForNeopleCoupon_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ChargeForNeopleCoupon_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ChargeForNeopleCoupon_ %p -> %p\n", q, p));
*(struct __ns1__ChargeForNeopleCoupon_*)p = *(struct __ns1__ChargeForNeopleCoupon_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetCashReceiptList_(struct soap *soap, struct __ns1__GetCashReceiptList_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetCashReceiptList = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetCashReceiptList_(struct soap *soap, const struct __ns1__GetCashReceiptList_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetCashReceiptList(soap, &a->ns1__GetCashReceiptList);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetCashReceiptList_(struct soap *soap, const char *tag, int id, const struct __ns1__GetCashReceiptList_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetCashReceiptList(soap, "ns1:GetCashReceiptList", -1, &a->ns1__GetCashReceiptList, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetCashReceiptList_ * SOAP_FMAC4 soap_in___ns1__GetCashReceiptList_(struct soap *soap, const char *tag, struct __ns1__GetCashReceiptList_ *a, const char *type)
{
size_t soap_flag_ns1__GetCashReceiptList = 1;
short soap_flag;
a = (struct __ns1__GetCashReceiptList_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetCashReceiptList_, sizeof(struct __ns1__GetCashReceiptList_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetCashReceiptList_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetCashReceiptList && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetCashReceiptList(soap, "ns1:GetCashReceiptList", &a->ns1__GetCashReceiptList, ""))
{ soap_flag_ns1__GetCashReceiptList--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetCashReceiptList_(struct soap *soap, const struct __ns1__GetCashReceiptList_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetCashReceiptList_(soap, tag?tag:"-ns1:GetCashReceiptList", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetCashReceiptList_ * SOAP_FMAC4 soap_get___ns1__GetCashReceiptList_(struct soap *soap, struct __ns1__GetCashReceiptList_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetCashReceiptList_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetCashReceiptList_ * SOAP_FMAC2 soap_instantiate___ns1__GetCashReceiptList_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetCashReceiptList_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetCashReceiptList_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetCashReceiptList_);
if (size)
*size = sizeof(struct __ns1__GetCashReceiptList_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetCashReceiptList_, n);
if (size)
*size = n * sizeof(struct __ns1__GetCashReceiptList_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetCashReceiptList_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetCashReceiptList_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetCashReceiptList_ %p -> %p\n", q, p));
*(struct __ns1__GetCashReceiptList_*)p = *(struct __ns1__GetCashReceiptList_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__CheckUsage_(struct soap *soap, struct __ns1__CheckUsage_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__CheckUsage = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__CheckUsage_(struct soap *soap, const struct __ns1__CheckUsage_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__CheckUsage(soap, &a->ns1__CheckUsage);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__CheckUsage_(struct soap *soap, const char *tag, int id, const struct __ns1__CheckUsage_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__CheckUsage(soap, "ns1:CheckUsage", -1, &a->ns1__CheckUsage, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__CheckUsage_ * SOAP_FMAC4 soap_in___ns1__CheckUsage_(struct soap *soap, const char *tag, struct __ns1__CheckUsage_ *a, const char *type)
{
size_t soap_flag_ns1__CheckUsage = 1;
short soap_flag;
a = (struct __ns1__CheckUsage_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__CheckUsage_, sizeof(struct __ns1__CheckUsage_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__CheckUsage_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__CheckUsage && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__CheckUsage(soap, "ns1:CheckUsage", &a->ns1__CheckUsage, ""))
{ soap_flag_ns1__CheckUsage--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__CheckUsage_(struct soap *soap, const struct __ns1__CheckUsage_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__CheckUsage_(soap, tag?tag:"-ns1:CheckUsage", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__CheckUsage_ * SOAP_FMAC4 soap_get___ns1__CheckUsage_(struct soap *soap, struct __ns1__CheckUsage_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__CheckUsage_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__CheckUsage_ * SOAP_FMAC2 soap_instantiate___ns1__CheckUsage_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__CheckUsage_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__CheckUsage_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__CheckUsage_);
if (size)
*size = sizeof(struct __ns1__CheckUsage_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__CheckUsage_, n);
if (size)
*size = n * sizeof(struct __ns1__CheckUsage_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__CheckUsage_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__CheckUsage_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__CheckUsage_ %p -> %p\n", q, p));
*(struct __ns1__CheckUsage_*)p = *(struct __ns1__CheckUsage_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PresentExtend_(struct soap *soap, struct __ns1__PresentExtend_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PresentExtend = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PresentExtend_(struct soap *soap, const struct __ns1__PresentExtend_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PresentExtend(soap, &a->ns1__PresentExtend);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PresentExtend_(struct soap *soap, const char *tag, int id, const struct __ns1__PresentExtend_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PresentExtend(soap, "ns1:PresentExtend", -1, &a->ns1__PresentExtend, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentExtend_ * SOAP_FMAC4 soap_in___ns1__PresentExtend_(struct soap *soap, const char *tag, struct __ns1__PresentExtend_ *a, const char *type)
{
size_t soap_flag_ns1__PresentExtend = 1;
short soap_flag;
a = (struct __ns1__PresentExtend_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PresentExtend_, sizeof(struct __ns1__PresentExtend_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PresentExtend_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PresentExtend && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PresentExtend(soap, "ns1:PresentExtend", &a->ns1__PresentExtend, ""))
{ soap_flag_ns1__PresentExtend--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PresentExtend_(struct soap *soap, const struct __ns1__PresentExtend_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PresentExtend_(soap, tag?tag:"-ns1:PresentExtend", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentExtend_ * SOAP_FMAC4 soap_get___ns1__PresentExtend_(struct soap *soap, struct __ns1__PresentExtend_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PresentExtend_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PresentExtend_ * SOAP_FMAC2 soap_instantiate___ns1__PresentExtend_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PresentExtend_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PresentExtend_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PresentExtend_);
if (size)
*size = sizeof(struct __ns1__PresentExtend_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PresentExtend_, n);
if (size)
*size = n * sizeof(struct __ns1__PresentExtend_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PresentExtend_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PresentExtend_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PresentExtend_ %p -> %p\n", q, p));
*(struct __ns1__PresentExtend_*)p = *(struct __ns1__PresentExtend_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PresentChannel_(struct soap *soap, struct __ns1__PresentChannel_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PresentChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PresentChannel_(struct soap *soap, const struct __ns1__PresentChannel_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PresentChannel(soap, &a->ns1__PresentChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PresentChannel_(struct soap *soap, const char *tag, int id, const struct __ns1__PresentChannel_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PresentChannel(soap, "ns1:PresentChannel", -1, &a->ns1__PresentChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentChannel_ * SOAP_FMAC4 soap_in___ns1__PresentChannel_(struct soap *soap, const char *tag, struct __ns1__PresentChannel_ *a, const char *type)
{
size_t soap_flag_ns1__PresentChannel = 1;
short soap_flag;
a = (struct __ns1__PresentChannel_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PresentChannel_, sizeof(struct __ns1__PresentChannel_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PresentChannel_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PresentChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PresentChannel(soap, "ns1:PresentChannel", &a->ns1__PresentChannel, ""))
{ soap_flag_ns1__PresentChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PresentChannel_(struct soap *soap, const struct __ns1__PresentChannel_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PresentChannel_(soap, tag?tag:"-ns1:PresentChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentChannel_ * SOAP_FMAC4 soap_get___ns1__PresentChannel_(struct soap *soap, struct __ns1__PresentChannel_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PresentChannel_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PresentChannel_ * SOAP_FMAC2 soap_instantiate___ns1__PresentChannel_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PresentChannel_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PresentChannel_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PresentChannel_);
if (size)
*size = sizeof(struct __ns1__PresentChannel_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PresentChannel_, n);
if (size)
*size = n * sizeof(struct __ns1__PresentChannel_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PresentChannel_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PresentChannel_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PresentChannel_ %p -> %p\n", q, p));
*(struct __ns1__PresentChannel_*)p = *(struct __ns1__PresentChannel_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Present_(struct soap *soap, struct __ns1__Present_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Present = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Present_(struct soap *soap, const struct __ns1__Present_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Present(soap, &a->ns1__Present);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Present_(struct soap *soap, const char *tag, int id, const struct __ns1__Present_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Present(soap, "ns1:Present", -1, &a->ns1__Present, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Present_ * SOAP_FMAC4 soap_in___ns1__Present_(struct soap *soap, const char *tag, struct __ns1__Present_ *a, const char *type)
{
size_t soap_flag_ns1__Present = 1;
short soap_flag;
a = (struct __ns1__Present_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Present_, sizeof(struct __ns1__Present_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Present_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Present && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Present(soap, "ns1:Present", &a->ns1__Present, ""))
{ soap_flag_ns1__Present--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Present_(struct soap *soap, const struct __ns1__Present_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Present_(soap, tag?tag:"-ns1:Present", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Present_ * SOAP_FMAC4 soap_get___ns1__Present_(struct soap *soap, struct __ns1__Present_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Present_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Present_ * SOAP_FMAC2 soap_instantiate___ns1__Present_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Present_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Present_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Present_);
if (size)
*size = sizeof(struct __ns1__Present_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Present_, n);
if (size)
*size = n * sizeof(struct __ns1__Present_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Present_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Present_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Present_ %p -> %p\n", q, p));
*(struct __ns1__Present_*)p = *(struct __ns1__Present_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, struct __ns1__ApprovalCashChange_USCOREChanneling_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalCashChange_USCOREChanneling = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, const struct __ns1__ApprovalCashChange_USCOREChanneling_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, &a->ns1__ApprovalCashChange_USCOREChanneling);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalCashChange_USCOREChanneling_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, "ns1:ApprovalCashChange_Channeling", -1, &a->ns1__ApprovalCashChange_USCOREChanneling, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_USCOREChanneling_ * SOAP_FMAC4 soap_in___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, const char *tag, struct __ns1__ApprovalCashChange_USCOREChanneling_ *a, const char *type)
{
size_t soap_flag_ns1__ApprovalCashChange_USCOREChanneling = 1;
short soap_flag;
a = (struct __ns1__ApprovalCashChange_USCOREChanneling_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling_, sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalCashChange_USCOREChanneling_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalCashChange_USCOREChanneling && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, "ns1:ApprovalCashChange_Channeling", &a->ns1__ApprovalCashChange_USCOREChanneling, ""))
{ soap_flag_ns1__ApprovalCashChange_USCOREChanneling--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, const struct __ns1__ApprovalCashChange_USCOREChanneling_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalCashChange_USCOREChanneling_(soap, tag?tag:"-ns1:ApprovalCashChange_Channeling", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_USCOREChanneling_ * SOAP_FMAC4 soap_get___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, struct __ns1__ApprovalCashChange_USCOREChanneling_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalCashChange_USCOREChanneling_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalCashChange_USCOREChanneling_ * SOAP_FMAC2 soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalCashChange_USCOREChanneling_);
if (size)
*size = sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalCashChange_USCOREChanneling_, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalCashChange_USCOREChanneling_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalCashChange_USCOREChanneling_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalCashChange_USCOREChanneling_ %p -> %p\n", q, p));
*(struct __ns1__ApprovalCashChange_USCOREChanneling_*)p = *(struct __ns1__ApprovalCashChange_USCOREChanneling_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Purchase_USCOREEx_(struct soap *soap, struct __ns1__Purchase_USCOREEx_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Purchase_USCOREEx = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Purchase_USCOREEx_(struct soap *soap, const struct __ns1__Purchase_USCOREEx_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Purchase_USCOREEx(soap, &a->ns1__Purchase_USCOREEx);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Purchase_USCOREEx_(struct soap *soap, const char *tag, int id, const struct __ns1__Purchase_USCOREEx_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Purchase_USCOREEx(soap, "ns1:Purchase_Ex", -1, &a->ns1__Purchase_USCOREEx, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_USCOREEx_ * SOAP_FMAC4 soap_in___ns1__Purchase_USCOREEx_(struct soap *soap, const char *tag, struct __ns1__Purchase_USCOREEx_ *a, const char *type)
{
size_t soap_flag_ns1__Purchase_USCOREEx = 1;
short soap_flag;
a = (struct __ns1__Purchase_USCOREEx_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Purchase_USCOREEx_, sizeof(struct __ns1__Purchase_USCOREEx_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Purchase_USCOREEx_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Purchase_USCOREEx && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Purchase_USCOREEx(soap, "ns1:Purchase_Ex", &a->ns1__Purchase_USCOREEx, ""))
{ soap_flag_ns1__Purchase_USCOREEx--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Purchase_USCOREEx_(struct soap *soap, const struct __ns1__Purchase_USCOREEx_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Purchase_USCOREEx_(soap, tag?tag:"-ns1:Purchase_Ex", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_USCOREEx_ * SOAP_FMAC4 soap_get___ns1__Purchase_USCOREEx_(struct soap *soap, struct __ns1__Purchase_USCOREEx_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Purchase_USCOREEx_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Purchase_USCOREEx_ * SOAP_FMAC2 soap_instantiate___ns1__Purchase_USCOREEx_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Purchase_USCOREEx_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Purchase_USCOREEx_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Purchase_USCOREEx_);
if (size)
*size = sizeof(struct __ns1__Purchase_USCOREEx_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Purchase_USCOREEx_, n);
if (size)
*size = n * sizeof(struct __ns1__Purchase_USCOREEx_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Purchase_USCOREEx_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Purchase_USCOREEx_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Purchase_USCOREEx_ %p -> %p\n", q, p));
*(struct __ns1__Purchase_USCOREEx_*)p = *(struct __ns1__Purchase_USCOREEx_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PurchaseExtend_(struct soap *soap, struct __ns1__PurchaseExtend_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PurchaseExtend = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PurchaseExtend_(struct soap *soap, const struct __ns1__PurchaseExtend_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PurchaseExtend(soap, &a->ns1__PurchaseExtend);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PurchaseExtend_(struct soap *soap, const char *tag, int id, const struct __ns1__PurchaseExtend_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PurchaseExtend(soap, "ns1:PurchaseExtend", -1, &a->ns1__PurchaseExtend, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseExtend_ * SOAP_FMAC4 soap_in___ns1__PurchaseExtend_(struct soap *soap, const char *tag, struct __ns1__PurchaseExtend_ *a, const char *type)
{
size_t soap_flag_ns1__PurchaseExtend = 1;
short soap_flag;
a = (struct __ns1__PurchaseExtend_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PurchaseExtend_, sizeof(struct __ns1__PurchaseExtend_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PurchaseExtend_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PurchaseExtend && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PurchaseExtend(soap, "ns1:PurchaseExtend", &a->ns1__PurchaseExtend, ""))
{ soap_flag_ns1__PurchaseExtend--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PurchaseExtend_(struct soap *soap, const struct __ns1__PurchaseExtend_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PurchaseExtend_(soap, tag?tag:"-ns1:PurchaseExtend", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseExtend_ * SOAP_FMAC4 soap_get___ns1__PurchaseExtend_(struct soap *soap, struct __ns1__PurchaseExtend_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PurchaseExtend_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PurchaseExtend_ * SOAP_FMAC2 soap_instantiate___ns1__PurchaseExtend_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PurchaseExtend_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PurchaseExtend_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PurchaseExtend_);
if (size)
*size = sizeof(struct __ns1__PurchaseExtend_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PurchaseExtend_, n);
if (size)
*size = n * sizeof(struct __ns1__PurchaseExtend_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PurchaseExtend_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PurchaseExtend_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PurchaseExtend_ %p -> %p\n", q, p));
*(struct __ns1__PurchaseExtend_*)p = *(struct __ns1__PurchaseExtend_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PurchaseChannel_(struct soap *soap, struct __ns1__PurchaseChannel_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PurchaseChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PurchaseChannel_(struct soap *soap, const struct __ns1__PurchaseChannel_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PurchaseChannel(soap, &a->ns1__PurchaseChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PurchaseChannel_(struct soap *soap, const char *tag, int id, const struct __ns1__PurchaseChannel_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PurchaseChannel(soap, "ns1:PurchaseChannel", -1, &a->ns1__PurchaseChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseChannel_ * SOAP_FMAC4 soap_in___ns1__PurchaseChannel_(struct soap *soap, const char *tag, struct __ns1__PurchaseChannel_ *a, const char *type)
{
size_t soap_flag_ns1__PurchaseChannel = 1;
short soap_flag;
a = (struct __ns1__PurchaseChannel_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PurchaseChannel_, sizeof(struct __ns1__PurchaseChannel_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PurchaseChannel_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PurchaseChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PurchaseChannel(soap, "ns1:PurchaseChannel", &a->ns1__PurchaseChannel, ""))
{ soap_flag_ns1__PurchaseChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PurchaseChannel_(struct soap *soap, const struct __ns1__PurchaseChannel_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PurchaseChannel_(soap, tag?tag:"-ns1:PurchaseChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseChannel_ * SOAP_FMAC4 soap_get___ns1__PurchaseChannel_(struct soap *soap, struct __ns1__PurchaseChannel_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PurchaseChannel_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PurchaseChannel_ * SOAP_FMAC2 soap_instantiate___ns1__PurchaseChannel_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PurchaseChannel_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PurchaseChannel_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PurchaseChannel_);
if (size)
*size = sizeof(struct __ns1__PurchaseChannel_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PurchaseChannel_, n);
if (size)
*size = n * sizeof(struct __ns1__PurchaseChannel_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PurchaseChannel_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PurchaseChannel_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PurchaseChannel_ %p -> %p\n", q, p));
*(struct __ns1__PurchaseChannel_*)p = *(struct __ns1__PurchaseChannel_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Purchase_(struct soap *soap, struct __ns1__Purchase_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Purchase = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Purchase_(struct soap *soap, const struct __ns1__Purchase_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Purchase(soap, &a->ns1__Purchase);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Purchase_(struct soap *soap, const char *tag, int id, const struct __ns1__Purchase_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Purchase(soap, "ns1:Purchase", -1, &a->ns1__Purchase, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_ * SOAP_FMAC4 soap_in___ns1__Purchase_(struct soap *soap, const char *tag, struct __ns1__Purchase_ *a, const char *type)
{
size_t soap_flag_ns1__Purchase = 1;
short soap_flag;
a = (struct __ns1__Purchase_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Purchase_, sizeof(struct __ns1__Purchase_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Purchase_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Purchase && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Purchase(soap, "ns1:Purchase", &a->ns1__Purchase, ""))
{ soap_flag_ns1__Purchase--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Purchase_(struct soap *soap, const struct __ns1__Purchase_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Purchase_(soap, tag?tag:"-ns1:Purchase", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_ * SOAP_FMAC4 soap_get___ns1__Purchase_(struct soap *soap, struct __ns1__Purchase_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Purchase_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Purchase_ * SOAP_FMAC2 soap_instantiate___ns1__Purchase_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Purchase_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Purchase_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Purchase_);
if (size)
*size = sizeof(struct __ns1__Purchase_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Purchase_, n);
if (size)
*size = n * sizeof(struct __ns1__Purchase_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Purchase_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Purchase_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Purchase_ %p -> %p\n", q, p));
*(struct __ns1__Purchase_*)p = *(struct __ns1__Purchase_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetChannelingCashRemain_(struct soap *soap, struct __ns1__GetChannelingCashRemain_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetChannelingCashRemain = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetChannelingCashRemain_(struct soap *soap, const struct __ns1__GetChannelingCashRemain_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetChannelingCashRemain(soap, &a->ns1__GetChannelingCashRemain);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetChannelingCashRemain_(struct soap *soap, const char *tag, int id, const struct __ns1__GetChannelingCashRemain_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetChannelingCashRemain(soap, "ns1:GetChannelingCashRemain", -1, &a->ns1__GetChannelingCashRemain, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetChannelingCashRemain_ * SOAP_FMAC4 soap_in___ns1__GetChannelingCashRemain_(struct soap *soap, const char *tag, struct __ns1__GetChannelingCashRemain_ *a, const char *type)
{
size_t soap_flag_ns1__GetChannelingCashRemain = 1;
short soap_flag;
a = (struct __ns1__GetChannelingCashRemain_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetChannelingCashRemain_, sizeof(struct __ns1__GetChannelingCashRemain_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetChannelingCashRemain_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetChannelingCashRemain && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetChannelingCashRemain(soap, "ns1:GetChannelingCashRemain", &a->ns1__GetChannelingCashRemain, ""))
{ soap_flag_ns1__GetChannelingCashRemain--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetChannelingCashRemain_(struct soap *soap, const struct __ns1__GetChannelingCashRemain_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetChannelingCashRemain_(soap, tag?tag:"-ns1:GetChannelingCashRemain", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetChannelingCashRemain_ * SOAP_FMAC4 soap_get___ns1__GetChannelingCashRemain_(struct soap *soap, struct __ns1__GetChannelingCashRemain_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetChannelingCashRemain_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetChannelingCashRemain_ * SOAP_FMAC2 soap_instantiate___ns1__GetChannelingCashRemain_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetChannelingCashRemain_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetChannelingCashRemain_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetChannelingCashRemain_);
if (size)
*size = sizeof(struct __ns1__GetChannelingCashRemain_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetChannelingCashRemain_, n);
if (size)
*size = n * sizeof(struct __ns1__GetChannelingCashRemain_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetChannelingCashRemain_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetChannelingCashRemain_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetChannelingCashRemain_ %p -> %p\n", q, p));
*(struct __ns1__GetChannelingCashRemain_*)p = *(struct __ns1__GetChannelingCashRemain_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurseByChannel_(struct soap *soap, struct __ns1__GetPurseByChannel_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurseByChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurseByChannel_(struct soap *soap, const struct __ns1__GetPurseByChannel_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurseByChannel(soap, &a->ns1__GetPurseByChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurseByChannel_(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurseByChannel_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurseByChannel(soap, "ns1:GetPurseByChannel", -1, &a->ns1__GetPurseByChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseByChannel_ * SOAP_FMAC4 soap_in___ns1__GetPurseByChannel_(struct soap *soap, const char *tag, struct __ns1__GetPurseByChannel_ *a, const char *type)
{
size_t soap_flag_ns1__GetPurseByChannel = 1;
short soap_flag;
a = (struct __ns1__GetPurseByChannel_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurseByChannel_, sizeof(struct __ns1__GetPurseByChannel_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurseByChannel_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurseByChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurseByChannel(soap, "ns1:GetPurseByChannel", &a->ns1__GetPurseByChannel, ""))
{ soap_flag_ns1__GetPurseByChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurseByChannel_(struct soap *soap, const struct __ns1__GetPurseByChannel_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurseByChannel_(soap, tag?tag:"-ns1:GetPurseByChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseByChannel_ * SOAP_FMAC4 soap_get___ns1__GetPurseByChannel_(struct soap *soap, struct __ns1__GetPurseByChannel_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurseByChannel_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurseByChannel_ * SOAP_FMAC2 soap_instantiate___ns1__GetPurseByChannel_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurseByChannel_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurseByChannel_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurseByChannel_);
if (size)
*size = sizeof(struct __ns1__GetPurseByChannel_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurseByChannel_, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurseByChannel_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurseByChannel_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurseByChannel_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurseByChannel_ %p -> %p\n", q, p));
*(struct __ns1__GetPurseByChannel_*)p = *(struct __ns1__GetPurseByChannel_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurse_(struct soap *soap, struct __ns1__GetPurse_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurse = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurse_(struct soap *soap, const struct __ns1__GetPurse_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurse(soap, &a->ns1__GetPurse);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurse_(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurse_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurse(soap, "ns1:GetPurse", -1, &a->ns1__GetPurse, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurse_ * SOAP_FMAC4 soap_in___ns1__GetPurse_(struct soap *soap, const char *tag, struct __ns1__GetPurse_ *a, const char *type)
{
size_t soap_flag_ns1__GetPurse = 1;
short soap_flag;
a = (struct __ns1__GetPurse_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurse_, sizeof(struct __ns1__GetPurse_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurse_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurse && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurse(soap, "ns1:GetPurse", &a->ns1__GetPurse, ""))
{ soap_flag_ns1__GetPurse--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurse_(struct soap *soap, const struct __ns1__GetPurse_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurse_(soap, tag?tag:"-ns1:GetPurse", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurse_ * SOAP_FMAC4 soap_get___ns1__GetPurse_(struct soap *soap, struct __ns1__GetPurse_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurse_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurse_ * SOAP_FMAC2 soap_instantiate___ns1__GetPurse_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurse_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurse_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurse_);
if (size)
*size = sizeof(struct __ns1__GetPurse_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurse_, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurse_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurse_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurse_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurse_ %p -> %p\n", q, p));
*(struct __ns1__GetPurse_*)p = *(struct __ns1__GetPurse_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ISBillingUser_(struct soap *soap, struct __ns1__ISBillingUser_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ISBillingUser = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ISBillingUser_(struct soap *soap, const struct __ns1__ISBillingUser_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ISBillingUser(soap, &a->ns1__ISBillingUser);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ISBillingUser_(struct soap *soap, const char *tag, int id, const struct __ns1__ISBillingUser_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ISBillingUser(soap, "ns1:ISBillingUser", -1, &a->ns1__ISBillingUser, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ISBillingUser_ * SOAP_FMAC4 soap_in___ns1__ISBillingUser_(struct soap *soap, const char *tag, struct __ns1__ISBillingUser_ *a, const char *type)
{
size_t soap_flag_ns1__ISBillingUser = 1;
short soap_flag;
a = (struct __ns1__ISBillingUser_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ISBillingUser_, sizeof(struct __ns1__ISBillingUser_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ISBillingUser_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ISBillingUser && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ISBillingUser(soap, "ns1:ISBillingUser", &a->ns1__ISBillingUser, ""))
{ soap_flag_ns1__ISBillingUser--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ISBillingUser_(struct soap *soap, const struct __ns1__ISBillingUser_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ISBillingUser_(soap, tag?tag:"-ns1:ISBillingUser", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ISBillingUser_ * SOAP_FMAC4 soap_get___ns1__ISBillingUser_(struct soap *soap, struct __ns1__ISBillingUser_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ISBillingUser_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ISBillingUser_ * SOAP_FMAC2 soap_instantiate___ns1__ISBillingUser_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ISBillingUser_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ISBillingUser_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ISBillingUser_);
if (size)
*size = sizeof(struct __ns1__ISBillingUser_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ISBillingUser_, n);
if (size)
*size = n * sizeof(struct __ns1__ISBillingUser_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ISBillingUser_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ISBillingUser_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ISBillingUser_ %p -> %p\n", q, p));
*(struct __ns1__ISBillingUser_*)p = *(struct __ns1__ISBillingUser_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__LastUsageInfo_(struct soap *soap, struct __ns1__LastUsageInfo_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__LastUsageInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__LastUsageInfo_(struct soap *soap, const struct __ns1__LastUsageInfo_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__LastUsageInfo(soap, &a->ns1__LastUsageInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__LastUsageInfo_(struct soap *soap, const char *tag, int id, const struct __ns1__LastUsageInfo_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__LastUsageInfo(soap, "ns1:LastUsageInfo", -1, &a->ns1__LastUsageInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__LastUsageInfo_ * SOAP_FMAC4 soap_in___ns1__LastUsageInfo_(struct soap *soap, const char *tag, struct __ns1__LastUsageInfo_ *a, const char *type)
{
size_t soap_flag_ns1__LastUsageInfo = 1;
short soap_flag;
a = (struct __ns1__LastUsageInfo_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__LastUsageInfo_, sizeof(struct __ns1__LastUsageInfo_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__LastUsageInfo_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__LastUsageInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__LastUsageInfo(soap, "ns1:LastUsageInfo", &a->ns1__LastUsageInfo, ""))
{ soap_flag_ns1__LastUsageInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__LastUsageInfo_(struct soap *soap, const struct __ns1__LastUsageInfo_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__LastUsageInfo_(soap, tag?tag:"-ns1:LastUsageInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__LastUsageInfo_ * SOAP_FMAC4 soap_get___ns1__LastUsageInfo_(struct soap *soap, struct __ns1__LastUsageInfo_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__LastUsageInfo_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__LastUsageInfo_ * SOAP_FMAC2 soap_instantiate___ns1__LastUsageInfo_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__LastUsageInfo_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__LastUsageInfo_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__LastUsageInfo_);
if (size)
*size = sizeof(struct __ns1__LastUsageInfo_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__LastUsageInfo_, n);
if (size)
*size = n * sizeof(struct __ns1__LastUsageInfo_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__LastUsageInfo_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__LastUsageInfo_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__LastUsageInfo_ %p -> %p\n", q, p));
*(struct __ns1__LastUsageInfo_*)p = *(struct __ns1__LastUsageInfo_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageInfo_(struct soap *soap, struct __ns1__UsageInfo_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageInfo_(struct soap *soap, const struct __ns1__UsageInfo_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageInfo(soap, &a->ns1__UsageInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageInfo_(struct soap *soap, const char *tag, int id, const struct __ns1__UsageInfo_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageInfo(soap, "ns1:UsageInfo", -1, &a->ns1__UsageInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageInfo_ * SOAP_FMAC4 soap_in___ns1__UsageInfo_(struct soap *soap, const char *tag, struct __ns1__UsageInfo_ *a, const char *type)
{
size_t soap_flag_ns1__UsageInfo = 1;
short soap_flag;
a = (struct __ns1__UsageInfo_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageInfo_, sizeof(struct __ns1__UsageInfo_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageInfo_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageInfo(soap, "ns1:UsageInfo", &a->ns1__UsageInfo, ""))
{ soap_flag_ns1__UsageInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageInfo_(struct soap *soap, const struct __ns1__UsageInfo_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageInfo_(soap, tag?tag:"-ns1:UsageInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageInfo_ * SOAP_FMAC4 soap_get___ns1__UsageInfo_(struct soap *soap, struct __ns1__UsageInfo_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageInfo_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageInfo_ * SOAP_FMAC2 soap_instantiate___ns1__UsageInfo_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageInfo_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageInfo_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageInfo_);
if (size)
*size = sizeof(struct __ns1__UsageInfo_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageInfo_, n);
if (size)
*size = n * sizeof(struct __ns1__UsageInfo_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageInfo_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageInfo_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageInfo_ %p -> %p\n", q, p));
*(struct __ns1__UsageInfo_*)p = *(struct __ns1__UsageInfo_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalPaidInfo_(struct soap *soap, struct __ns1__ApprovalPaidInfo_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalPaidInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalPaidInfo_(struct soap *soap, const struct __ns1__ApprovalPaidInfo_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalPaidInfo(soap, &a->ns1__ApprovalPaidInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalPaidInfo_(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalPaidInfo_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalPaidInfo(soap, "ns1:ApprovalPaidInfo", -1, &a->ns1__ApprovalPaidInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalPaidInfo_ * SOAP_FMAC4 soap_in___ns1__ApprovalPaidInfo_(struct soap *soap, const char *tag, struct __ns1__ApprovalPaidInfo_ *a, const char *type)
{
size_t soap_flag_ns1__ApprovalPaidInfo = 1;
short soap_flag;
a = (struct __ns1__ApprovalPaidInfo_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalPaidInfo_, sizeof(struct __ns1__ApprovalPaidInfo_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalPaidInfo_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalPaidInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalPaidInfo(soap, "ns1:ApprovalPaidInfo", &a->ns1__ApprovalPaidInfo, ""))
{ soap_flag_ns1__ApprovalPaidInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalPaidInfo_(struct soap *soap, const struct __ns1__ApprovalPaidInfo_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalPaidInfo_(soap, tag?tag:"-ns1:ApprovalPaidInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalPaidInfo_ * SOAP_FMAC4 soap_get___ns1__ApprovalPaidInfo_(struct soap *soap, struct __ns1__ApprovalPaidInfo_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalPaidInfo_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalPaidInfo_ * SOAP_FMAC2 soap_instantiate___ns1__ApprovalPaidInfo_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalPaidInfo_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalPaidInfo_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalPaidInfo_);
if (size)
*size = sizeof(struct __ns1__ApprovalPaidInfo_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalPaidInfo_, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalPaidInfo_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalPaidInfo_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalPaidInfo_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalPaidInfo_ %p -> %p\n", q, p));
*(struct __ns1__ApprovalPaidInfo_*)p = *(struct __ns1__ApprovalPaidInfo_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalInfo_(struct soap *soap, struct __ns1__ApprovalInfo_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalInfo_(struct soap *soap, const struct __ns1__ApprovalInfo_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalInfo(soap, &a->ns1__ApprovalInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalInfo_(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalInfo_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalInfo(soap, "ns1:ApprovalInfo", -1, &a->ns1__ApprovalInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalInfo_ * SOAP_FMAC4 soap_in___ns1__ApprovalInfo_(struct soap *soap, const char *tag, struct __ns1__ApprovalInfo_ *a, const char *type)
{
size_t soap_flag_ns1__ApprovalInfo = 1;
short soap_flag;
a = (struct __ns1__ApprovalInfo_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalInfo_, sizeof(struct __ns1__ApprovalInfo_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalInfo_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalInfo(soap, "ns1:ApprovalInfo", &a->ns1__ApprovalInfo, ""))
{ soap_flag_ns1__ApprovalInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalInfo_(struct soap *soap, const struct __ns1__ApprovalInfo_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalInfo_(soap, tag?tag:"-ns1:ApprovalInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalInfo_ * SOAP_FMAC4 soap_get___ns1__ApprovalInfo_(struct soap *soap, struct __ns1__ApprovalInfo_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalInfo_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalInfo_ * SOAP_FMAC2 soap_instantiate___ns1__ApprovalInfo_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalInfo_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalInfo_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalInfo_);
if (size)
*size = sizeof(struct __ns1__ApprovalInfo_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalInfo_, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalInfo_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalInfo_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalInfo_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalInfo_ %p -> %p\n", q, p));
*(struct __ns1__ApprovalInfo_*)p = *(struct __ns1__ApprovalInfo_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__InitializeSoap_(struct soap *soap, struct __ns1__InitializeSoap_ *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__InitializeSoap = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__InitializeSoap_(struct soap *soap, const struct __ns1__InitializeSoap_ *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__InitializeSoap(soap, &a->ns1__InitializeSoap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__InitializeSoap_(struct soap *soap, const char *tag, int id, const struct __ns1__InitializeSoap_ *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__InitializeSoap(soap, "ns1:InitializeSoap", -1, &a->ns1__InitializeSoap, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__InitializeSoap_ * SOAP_FMAC4 soap_in___ns1__InitializeSoap_(struct soap *soap, const char *tag, struct __ns1__InitializeSoap_ *a, const char *type)
{
size_t soap_flag_ns1__InitializeSoap = 1;
short soap_flag;
a = (struct __ns1__InitializeSoap_ *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__InitializeSoap_, sizeof(struct __ns1__InitializeSoap_), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__InitializeSoap_(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__InitializeSoap && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__InitializeSoap(soap, "ns1:InitializeSoap", &a->ns1__InitializeSoap, ""))
{ soap_flag_ns1__InitializeSoap--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__InitializeSoap_(struct soap *soap, const struct __ns1__InitializeSoap_ *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__InitializeSoap_(soap, tag?tag:"-ns1:InitializeSoap", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__InitializeSoap_ * SOAP_FMAC4 soap_get___ns1__InitializeSoap_(struct soap *soap, struct __ns1__InitializeSoap_ *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__InitializeSoap_(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__InitializeSoap_ * SOAP_FMAC2 soap_instantiate___ns1__InitializeSoap_(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__InitializeSoap_(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__InitializeSoap_, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__InitializeSoap_);
if (size)
*size = sizeof(struct __ns1__InitializeSoap_);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__InitializeSoap_, n);
if (size)
*size = n * sizeof(struct __ns1__InitializeSoap_);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__InitializeSoap_*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__InitializeSoap_(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__InitializeSoap_ %p -> %p\n", q, p));
*(struct __ns1__InitializeSoap_*)p = *(struct __ns1__InitializeSoap_*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__SetUserMappingData(struct soap *soap, struct __ns1__SetUserMappingData *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__SetUserMappingData = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__SetUserMappingData(struct soap *soap, const struct __ns1__SetUserMappingData *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__SetUserMappingData(soap, &a->ns1__SetUserMappingData);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__SetUserMappingData(struct soap *soap, const char *tag, int id, const struct __ns1__SetUserMappingData *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__SetUserMappingData(soap, "ns1:SetUserMappingData", -1, &a->ns1__SetUserMappingData, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__SetUserMappingData * SOAP_FMAC4 soap_in___ns1__SetUserMappingData(struct soap *soap, const char *tag, struct __ns1__SetUserMappingData *a, const char *type)
{
size_t soap_flag_ns1__SetUserMappingData = 1;
short soap_flag;
a = (struct __ns1__SetUserMappingData *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__SetUserMappingData, sizeof(struct __ns1__SetUserMappingData), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__SetUserMappingData(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__SetUserMappingData && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__SetUserMappingData(soap, "ns1:SetUserMappingData", &a->ns1__SetUserMappingData, ""))
{ soap_flag_ns1__SetUserMappingData--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__SetUserMappingData(struct soap *soap, const struct __ns1__SetUserMappingData *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__SetUserMappingData(soap, tag?tag:"-ns1:SetUserMappingData", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__SetUserMappingData * SOAP_FMAC4 soap_get___ns1__SetUserMappingData(struct soap *soap, struct __ns1__SetUserMappingData *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__SetUserMappingData(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__SetUserMappingData * SOAP_FMAC2 soap_instantiate___ns1__SetUserMappingData(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__SetUserMappingData(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__SetUserMappingData, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__SetUserMappingData);
if (size)
*size = sizeof(struct __ns1__SetUserMappingData);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__SetUserMappingData, n);
if (size)
*size = n * sizeof(struct __ns1__SetUserMappingData);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__SetUserMappingData*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__SetUserMappingData(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__SetUserMappingData %p -> %p\n", q, p));
*(struct __ns1__SetUserMappingData*)p = *(struct __ns1__SetUserMappingData*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalCashChange(struct soap *soap, struct __ns1__ApprovalCashChange *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalCashChange = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalCashChange(struct soap *soap, const struct __ns1__ApprovalCashChange *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalCashChange(soap, &a->ns1__ApprovalCashChange);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalCashChange(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalCashChange *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalCashChange(soap, "ns1:ApprovalCashChange", -1, &a->ns1__ApprovalCashChange, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange * SOAP_FMAC4 soap_in___ns1__ApprovalCashChange(struct soap *soap, const char *tag, struct __ns1__ApprovalCashChange *a, const char *type)
{
size_t soap_flag_ns1__ApprovalCashChange = 1;
short soap_flag;
a = (struct __ns1__ApprovalCashChange *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalCashChange, sizeof(struct __ns1__ApprovalCashChange), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalCashChange(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalCashChange && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalCashChange(soap, "ns1:ApprovalCashChange", &a->ns1__ApprovalCashChange, ""))
{ soap_flag_ns1__ApprovalCashChange--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalCashChange(struct soap *soap, const struct __ns1__ApprovalCashChange *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalCashChange(soap, tag?tag:"-ns1:ApprovalCashChange", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange * SOAP_FMAC4 soap_get___ns1__ApprovalCashChange(struct soap *soap, struct __ns1__ApprovalCashChange *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalCashChange(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalCashChange * SOAP_FMAC2 soap_instantiate___ns1__ApprovalCashChange(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalCashChange(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalCashChange, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalCashChange);
if (size)
*size = sizeof(struct __ns1__ApprovalCashChange);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalCashChange, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalCashChange);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalCashChange*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalCashChange(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalCashChange %p -> %p\n", q, p));
*(struct __ns1__ApprovalCashChange*)p = *(struct __ns1__ApprovalCashChange*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancelForLunia(struct soap *soap, struct __ns1__UsageCancelForLunia *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancelForLunia = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancelForLunia(struct soap *soap, const struct __ns1__UsageCancelForLunia *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancelForLunia(soap, &a->ns1__UsageCancelForLunia);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancelForLunia(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancelForLunia *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancelForLunia(soap, "ns1:UsageCancelForLunia", -1, &a->ns1__UsageCancelForLunia, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelForLunia * SOAP_FMAC4 soap_in___ns1__UsageCancelForLunia(struct soap *soap, const char *tag, struct __ns1__UsageCancelForLunia *a, const char *type)
{
size_t soap_flag_ns1__UsageCancelForLunia = 1;
short soap_flag;
a = (struct __ns1__UsageCancelForLunia *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancelForLunia, sizeof(struct __ns1__UsageCancelForLunia), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancelForLunia(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancelForLunia && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancelForLunia(soap, "ns1:UsageCancelForLunia", &a->ns1__UsageCancelForLunia, ""))
{ soap_flag_ns1__UsageCancelForLunia--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancelForLunia(struct soap *soap, const struct __ns1__UsageCancelForLunia *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancelForLunia(soap, tag?tag:"-ns1:UsageCancelForLunia", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelForLunia * SOAP_FMAC4 soap_get___ns1__UsageCancelForLunia(struct soap *soap, struct __ns1__UsageCancelForLunia *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancelForLunia(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancelForLunia * SOAP_FMAC2 soap_instantiate___ns1__UsageCancelForLunia(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancelForLunia(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancelForLunia, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancelForLunia);
if (size)
*size = sizeof(struct __ns1__UsageCancelForLunia);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancelForLunia, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancelForLunia);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancelForLunia*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancelForLunia(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancelForLunia %p -> %p\n", q, p));
*(struct __ns1__UsageCancelForLunia*)p = *(struct __ns1__UsageCancelForLunia*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ChargeGameCash(struct soap *soap, struct __ns1__ChargeGameCash *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ChargeGameCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ChargeGameCash(struct soap *soap, const struct __ns1__ChargeGameCash *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ChargeGameCash(soap, &a->ns1__ChargeGameCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ChargeGameCash(struct soap *soap, const char *tag, int id, const struct __ns1__ChargeGameCash *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ChargeGameCash(soap, "ns1:ChargeGameCash", -1, &a->ns1__ChargeGameCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeGameCash * SOAP_FMAC4 soap_in___ns1__ChargeGameCash(struct soap *soap, const char *tag, struct __ns1__ChargeGameCash *a, const char *type)
{
size_t soap_flag_ns1__ChargeGameCash = 1;
short soap_flag;
a = (struct __ns1__ChargeGameCash *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ChargeGameCash, sizeof(struct __ns1__ChargeGameCash), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ChargeGameCash(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ChargeGameCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ChargeGameCash(soap, "ns1:ChargeGameCash", &a->ns1__ChargeGameCash, ""))
{ soap_flag_ns1__ChargeGameCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ChargeGameCash(struct soap *soap, const struct __ns1__ChargeGameCash *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ChargeGameCash(soap, tag?tag:"-ns1:ChargeGameCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeGameCash * SOAP_FMAC4 soap_get___ns1__ChargeGameCash(struct soap *soap, struct __ns1__ChargeGameCash *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ChargeGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ChargeGameCash * SOAP_FMAC2 soap_instantiate___ns1__ChargeGameCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ChargeGameCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ChargeGameCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ChargeGameCash);
if (size)
*size = sizeof(struct __ns1__ChargeGameCash);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ChargeGameCash, n);
if (size)
*size = n * sizeof(struct __ns1__ChargeGameCash);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ChargeGameCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ChargeGameCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ChargeGameCash %p -> %p\n", q, p));
*(struct __ns1__ChargeGameCash*)p = *(struct __ns1__ChargeGameCash*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurseWithGameCash(struct soap *soap, struct __ns1__GetPurseWithGameCash *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurseWithGameCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurseWithGameCash(struct soap *soap, const struct __ns1__GetPurseWithGameCash *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurseWithGameCash(soap, &a->ns1__GetPurseWithGameCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurseWithGameCash *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurseWithGameCash(soap, "ns1:GetPurseWithGameCash", -1, &a->ns1__GetPurseWithGameCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseWithGameCash * SOAP_FMAC4 soap_in___ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, struct __ns1__GetPurseWithGameCash *a, const char *type)
{
size_t soap_flag_ns1__GetPurseWithGameCash = 1;
short soap_flag;
a = (struct __ns1__GetPurseWithGameCash *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurseWithGameCash, sizeof(struct __ns1__GetPurseWithGameCash), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurseWithGameCash(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurseWithGameCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurseWithGameCash(soap, "ns1:GetPurseWithGameCash", &a->ns1__GetPurseWithGameCash, ""))
{ soap_flag_ns1__GetPurseWithGameCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurseWithGameCash(struct soap *soap, const struct __ns1__GetPurseWithGameCash *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurseWithGameCash(soap, tag?tag:"-ns1:GetPurseWithGameCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseWithGameCash * SOAP_FMAC4 soap_get___ns1__GetPurseWithGameCash(struct soap *soap, struct __ns1__GetPurseWithGameCash *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurseWithGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurseWithGameCash * SOAP_FMAC2 soap_instantiate___ns1__GetPurseWithGameCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurseWithGameCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurseWithGameCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurseWithGameCash);
if (size)
*size = sizeof(struct __ns1__GetPurseWithGameCash);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurseWithGameCash, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurseWithGameCash);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurseWithGameCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurseWithGameCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurseWithGameCash %p -> %p\n", q, p));
*(struct __ns1__GetPurseWithGameCash*)p = *(struct __ns1__GetPurseWithGameCash*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetRemainAmount(struct soap *soap, struct __ns1__GetRemainAmount *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetRemainAmount = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetRemainAmount(struct soap *soap, const struct __ns1__GetRemainAmount *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetRemainAmount(soap, &a->ns1__GetRemainAmount);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetRemainAmount(struct soap *soap, const char *tag, int id, const struct __ns1__GetRemainAmount *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetRemainAmount(soap, "ns1:GetRemainAmount", -1, &a->ns1__GetRemainAmount, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetRemainAmount * SOAP_FMAC4 soap_in___ns1__GetRemainAmount(struct soap *soap, const char *tag, struct __ns1__GetRemainAmount *a, const char *type)
{
size_t soap_flag_ns1__GetRemainAmount = 1;
short soap_flag;
a = (struct __ns1__GetRemainAmount *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetRemainAmount, sizeof(struct __ns1__GetRemainAmount), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetRemainAmount(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetRemainAmount && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetRemainAmount(soap, "ns1:GetRemainAmount", &a->ns1__GetRemainAmount, ""))
{ soap_flag_ns1__GetRemainAmount--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetRemainAmount(struct soap *soap, const struct __ns1__GetRemainAmount *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetRemainAmount(soap, tag?tag:"-ns1:GetRemainAmount", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetRemainAmount * SOAP_FMAC4 soap_get___ns1__GetRemainAmount(struct soap *soap, struct __ns1__GetRemainAmount *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetRemainAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetRemainAmount * SOAP_FMAC2 soap_instantiate___ns1__GetRemainAmount(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetRemainAmount(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetRemainAmount, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetRemainAmount);
if (size)
*size = sizeof(struct __ns1__GetRemainAmount);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetRemainAmount, n);
if (size)
*size = n * sizeof(struct __ns1__GetRemainAmount);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetRemainAmount*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetRemainAmount(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetRemainAmount %p -> %p\n", q, p));
*(struct __ns1__GetRemainAmount*)p = *(struct __ns1__GetRemainAmount*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UseCoupon(struct soap *soap, struct __ns1__UseCoupon *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UseCoupon = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UseCoupon(struct soap *soap, const struct __ns1__UseCoupon *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UseCoupon(soap, &a->ns1__UseCoupon);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UseCoupon(struct soap *soap, const char *tag, int id, const struct __ns1__UseCoupon *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UseCoupon(soap, "ns1:UseCoupon", -1, &a->ns1__UseCoupon, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UseCoupon * SOAP_FMAC4 soap_in___ns1__UseCoupon(struct soap *soap, const char *tag, struct __ns1__UseCoupon *a, const char *type)
{
size_t soap_flag_ns1__UseCoupon = 1;
short soap_flag;
a = (struct __ns1__UseCoupon *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UseCoupon, sizeof(struct __ns1__UseCoupon), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UseCoupon(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UseCoupon && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UseCoupon(soap, "ns1:UseCoupon", &a->ns1__UseCoupon, ""))
{ soap_flag_ns1__UseCoupon--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UseCoupon(struct soap *soap, const struct __ns1__UseCoupon *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UseCoupon(soap, tag?tag:"-ns1:UseCoupon", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UseCoupon * SOAP_FMAC4 soap_get___ns1__UseCoupon(struct soap *soap, struct __ns1__UseCoupon *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UseCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UseCoupon * SOAP_FMAC2 soap_instantiate___ns1__UseCoupon(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UseCoupon(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UseCoupon, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UseCoupon);
if (size)
*size = sizeof(struct __ns1__UseCoupon);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UseCoupon, n);
if (size)
*size = n * sizeof(struct __ns1__UseCoupon);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UseCoupon*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UseCoupon(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UseCoupon %p -> %p\n", q, p));
*(struct __ns1__UseCoupon*)p = *(struct __ns1__UseCoupon*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalSendCash(struct soap *soap, struct __ns1__ApprovalSendCash *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalSendCash = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalSendCash(struct soap *soap, const struct __ns1__ApprovalSendCash *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalSendCash(soap, &a->ns1__ApprovalSendCash);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalSendCash(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalSendCash *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalSendCash(soap, "ns1:ApprovalSendCash", -1, &a->ns1__ApprovalSendCash, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalSendCash * SOAP_FMAC4 soap_in___ns1__ApprovalSendCash(struct soap *soap, const char *tag, struct __ns1__ApprovalSendCash *a, const char *type)
{
size_t soap_flag_ns1__ApprovalSendCash = 1;
short soap_flag;
a = (struct __ns1__ApprovalSendCash *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalSendCash, sizeof(struct __ns1__ApprovalSendCash), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalSendCash(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalSendCash && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalSendCash(soap, "ns1:ApprovalSendCash", &a->ns1__ApprovalSendCash, ""))
{ soap_flag_ns1__ApprovalSendCash--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalSendCash(struct soap *soap, const struct __ns1__ApprovalSendCash *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalSendCash(soap, tag?tag:"-ns1:ApprovalSendCash", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalSendCash * SOAP_FMAC4 soap_get___ns1__ApprovalSendCash(struct soap *soap, struct __ns1__ApprovalSendCash *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalSendCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalSendCash * SOAP_FMAC2 soap_instantiate___ns1__ApprovalSendCash(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalSendCash(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalSendCash, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalSendCash);
if (size)
*size = sizeof(struct __ns1__ApprovalSendCash);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalSendCash, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalSendCash);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalSendCash*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalSendCash(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalSendCash %p -> %p\n", q, p));
*(struct __ns1__ApprovalSendCash*)p = *(struct __ns1__ApprovalSendCash*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__RequestEventCharge(struct soap *soap, struct __ns1__RequestEventCharge *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__RequestEventCharge = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__RequestEventCharge(struct soap *soap, const struct __ns1__RequestEventCharge *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__RequestEventCharge(soap, &a->ns1__RequestEventCharge);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__RequestEventCharge(struct soap *soap, const char *tag, int id, const struct __ns1__RequestEventCharge *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__RequestEventCharge(soap, "ns1:RequestEventCharge", -1, &a->ns1__RequestEventCharge, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__RequestEventCharge * SOAP_FMAC4 soap_in___ns1__RequestEventCharge(struct soap *soap, const char *tag, struct __ns1__RequestEventCharge *a, const char *type)
{
size_t soap_flag_ns1__RequestEventCharge = 1;
short soap_flag;
a = (struct __ns1__RequestEventCharge *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__RequestEventCharge, sizeof(struct __ns1__RequestEventCharge), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__RequestEventCharge(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__RequestEventCharge && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__RequestEventCharge(soap, "ns1:RequestEventCharge", &a->ns1__RequestEventCharge, ""))
{ soap_flag_ns1__RequestEventCharge--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__RequestEventCharge(struct soap *soap, const struct __ns1__RequestEventCharge *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__RequestEventCharge(soap, tag?tag:"-ns1:RequestEventCharge", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__RequestEventCharge * SOAP_FMAC4 soap_get___ns1__RequestEventCharge(struct soap *soap, struct __ns1__RequestEventCharge *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__RequestEventCharge(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__RequestEventCharge * SOAP_FMAC2 soap_instantiate___ns1__RequestEventCharge(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__RequestEventCharge(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__RequestEventCharge, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__RequestEventCharge);
if (size)
*size = sizeof(struct __ns1__RequestEventCharge);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__RequestEventCharge, n);
if (size)
*size = n * sizeof(struct __ns1__RequestEventCharge);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__RequestEventCharge*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__RequestEventCharge(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__RequestEventCharge %p -> %p\n", q, p));
*(struct __ns1__RequestEventCharge*)p = *(struct __ns1__RequestEventCharge*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageRollback(struct soap *soap, struct __ns1__UsageRollback *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageRollback = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageRollback(struct soap *soap, const struct __ns1__UsageRollback *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageRollback(soap, &a->ns1__UsageRollback);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageRollback(struct soap *soap, const char *tag, int id, const struct __ns1__UsageRollback *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageRollback(soap, "ns1:UsageRollback", -1, &a->ns1__UsageRollback, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageRollback * SOAP_FMAC4 soap_in___ns1__UsageRollback(struct soap *soap, const char *tag, struct __ns1__UsageRollback *a, const char *type)
{
size_t soap_flag_ns1__UsageRollback = 1;
short soap_flag;
a = (struct __ns1__UsageRollback *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageRollback, sizeof(struct __ns1__UsageRollback), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageRollback(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageRollback && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageRollback(soap, "ns1:UsageRollback", &a->ns1__UsageRollback, ""))
{ soap_flag_ns1__UsageRollback--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageRollback(struct soap *soap, const struct __ns1__UsageRollback *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageRollback(soap, tag?tag:"-ns1:UsageRollback", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageRollback * SOAP_FMAC4 soap_get___ns1__UsageRollback(struct soap *soap, struct __ns1__UsageRollback *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageRollback(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageRollback * SOAP_FMAC2 soap_instantiate___ns1__UsageRollback(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageRollback(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageRollback, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageRollback);
if (size)
*size = sizeof(struct __ns1__UsageRollback);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageRollback, n);
if (size)
*size = n * sizeof(struct __ns1__UsageRollback);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageRollback*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageRollback(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageRollback %p -> %p\n", q, p));
*(struct __ns1__UsageRollback*)p = *(struct __ns1__UsageRollback*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurchaseAmount(struct soap *soap, struct __ns1__GetPurchaseAmount *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurchaseAmount = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurchaseAmount(struct soap *soap, const struct __ns1__GetPurchaseAmount *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurchaseAmount(soap, &a->ns1__GetPurchaseAmount);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurchaseAmount(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurchaseAmount *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurchaseAmount(soap, "ns1:GetPurchaseAmount", -1, &a->ns1__GetPurchaseAmount, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurchaseAmount * SOAP_FMAC4 soap_in___ns1__GetPurchaseAmount(struct soap *soap, const char *tag, struct __ns1__GetPurchaseAmount *a, const char *type)
{
size_t soap_flag_ns1__GetPurchaseAmount = 1;
short soap_flag;
a = (struct __ns1__GetPurchaseAmount *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurchaseAmount, sizeof(struct __ns1__GetPurchaseAmount), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurchaseAmount(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurchaseAmount && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurchaseAmount(soap, "ns1:GetPurchaseAmount", &a->ns1__GetPurchaseAmount, ""))
{ soap_flag_ns1__GetPurchaseAmount--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurchaseAmount(struct soap *soap, const struct __ns1__GetPurchaseAmount *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurchaseAmount(soap, tag?tag:"-ns1:GetPurchaseAmount", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurchaseAmount * SOAP_FMAC4 soap_get___ns1__GetPurchaseAmount(struct soap *soap, struct __ns1__GetPurchaseAmount *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurchaseAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurchaseAmount * SOAP_FMAC2 soap_instantiate___ns1__GetPurchaseAmount(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurchaseAmount(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurchaseAmount, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurchaseAmount);
if (size)
*size = sizeof(struct __ns1__GetPurchaseAmount);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurchaseAmount, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurchaseAmount);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurchaseAmount*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurchaseAmount(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurchaseAmount %p -> %p\n", q, p));
*(struct __ns1__GetPurchaseAmount*)p = *(struct __ns1__GetPurchaseAmount*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancelByUsageSn(struct soap *soap, struct __ns1__UsageCancelByUsageSn *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancelByUsageSn = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancelByUsageSn(struct soap *soap, const struct __ns1__UsageCancelByUsageSn *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancelByUsageSn(soap, &a->ns1__UsageCancelByUsageSn);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancelByUsageSn *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancelByUsageSn(soap, "ns1:UsageCancelByUsageSn", -1, &a->ns1__UsageCancelByUsageSn, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelByUsageSn * SOAP_FMAC4 soap_in___ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, struct __ns1__UsageCancelByUsageSn *a, const char *type)
{
size_t soap_flag_ns1__UsageCancelByUsageSn = 1;
short soap_flag;
a = (struct __ns1__UsageCancelByUsageSn *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancelByUsageSn, sizeof(struct __ns1__UsageCancelByUsageSn), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancelByUsageSn(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancelByUsageSn && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancelByUsageSn(soap, "ns1:UsageCancelByUsageSn", &a->ns1__UsageCancelByUsageSn, ""))
{ soap_flag_ns1__UsageCancelByUsageSn--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancelByUsageSn(struct soap *soap, const struct __ns1__UsageCancelByUsageSn *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancelByUsageSn(soap, tag?tag:"-ns1:UsageCancelByUsageSn", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancelByUsageSn * SOAP_FMAC4 soap_get___ns1__UsageCancelByUsageSn(struct soap *soap, struct __ns1__UsageCancelByUsageSn *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancelByUsageSn(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancelByUsageSn * SOAP_FMAC2 soap_instantiate___ns1__UsageCancelByUsageSn(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancelByUsageSn(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancelByUsageSn, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancelByUsageSn);
if (size)
*size = sizeof(struct __ns1__UsageCancelByUsageSn);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancelByUsageSn, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancelByUsageSn);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancelByUsageSn*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancelByUsageSn(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancelByUsageSn %p -> %p\n", q, p));
*(struct __ns1__UsageCancelByUsageSn*)p = *(struct __ns1__UsageCancelByUsageSn*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageCancel(struct soap *soap, struct __ns1__UsageCancel *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageCancel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageCancel(struct soap *soap, const struct __ns1__UsageCancel *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageCancel(soap, &a->ns1__UsageCancel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageCancel(struct soap *soap, const char *tag, int id, const struct __ns1__UsageCancel *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageCancel(soap, "ns1:UsageCancel", -1, &a->ns1__UsageCancel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancel * SOAP_FMAC4 soap_in___ns1__UsageCancel(struct soap *soap, const char *tag, struct __ns1__UsageCancel *a, const char *type)
{
size_t soap_flag_ns1__UsageCancel = 1;
short soap_flag;
a = (struct __ns1__UsageCancel *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageCancel, sizeof(struct __ns1__UsageCancel), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageCancel(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageCancel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageCancel(soap, "ns1:UsageCancel", &a->ns1__UsageCancel, ""))
{ soap_flag_ns1__UsageCancel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageCancel(struct soap *soap, const struct __ns1__UsageCancel *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageCancel(soap, tag?tag:"-ns1:UsageCancel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageCancel * SOAP_FMAC4 soap_get___ns1__UsageCancel(struct soap *soap, struct __ns1__UsageCancel *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageCancel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageCancel * SOAP_FMAC2 soap_instantiate___ns1__UsageCancel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageCancel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageCancel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageCancel);
if (size)
*size = sizeof(struct __ns1__UsageCancel);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageCancel, n);
if (size)
*size = n * sizeof(struct __ns1__UsageCancel);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageCancel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageCancel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageCancel %p -> %p\n", q, p));
*(struct __ns1__UsageCancel*)p = *(struct __ns1__UsageCancel*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ChargeForNeopleCoupon(struct soap *soap, struct __ns1__ChargeForNeopleCoupon *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ChargeForNeopleCoupon = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ChargeForNeopleCoupon(struct soap *soap, const struct __ns1__ChargeForNeopleCoupon *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ChargeForNeopleCoupon(soap, &a->ns1__ChargeForNeopleCoupon);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, int id, const struct __ns1__ChargeForNeopleCoupon *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ChargeForNeopleCoupon(soap, "ns1:ChargeForNeopleCoupon", -1, &a->ns1__ChargeForNeopleCoupon, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeForNeopleCoupon * SOAP_FMAC4 soap_in___ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, struct __ns1__ChargeForNeopleCoupon *a, const char *type)
{
size_t soap_flag_ns1__ChargeForNeopleCoupon = 1;
short soap_flag;
a = (struct __ns1__ChargeForNeopleCoupon *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ChargeForNeopleCoupon, sizeof(struct __ns1__ChargeForNeopleCoupon), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ChargeForNeopleCoupon(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ChargeForNeopleCoupon && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ChargeForNeopleCoupon(soap, "ns1:ChargeForNeopleCoupon", &a->ns1__ChargeForNeopleCoupon, ""))
{ soap_flag_ns1__ChargeForNeopleCoupon--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ChargeForNeopleCoupon(struct soap *soap, const struct __ns1__ChargeForNeopleCoupon *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ChargeForNeopleCoupon(soap, tag?tag:"-ns1:ChargeForNeopleCoupon", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ChargeForNeopleCoupon * SOAP_FMAC4 soap_get___ns1__ChargeForNeopleCoupon(struct soap *soap, struct __ns1__ChargeForNeopleCoupon *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ChargeForNeopleCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ChargeForNeopleCoupon * SOAP_FMAC2 soap_instantiate___ns1__ChargeForNeopleCoupon(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ChargeForNeopleCoupon(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ChargeForNeopleCoupon, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ChargeForNeopleCoupon);
if (size)
*size = sizeof(struct __ns1__ChargeForNeopleCoupon);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ChargeForNeopleCoupon, n);
if (size)
*size = n * sizeof(struct __ns1__ChargeForNeopleCoupon);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ChargeForNeopleCoupon*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ChargeForNeopleCoupon(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ChargeForNeopleCoupon %p -> %p\n", q, p));
*(struct __ns1__ChargeForNeopleCoupon*)p = *(struct __ns1__ChargeForNeopleCoupon*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetCashReceiptList(struct soap *soap, struct __ns1__GetCashReceiptList *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetCashReceiptList = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetCashReceiptList(struct soap *soap, const struct __ns1__GetCashReceiptList *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetCashReceiptList(soap, &a->ns1__GetCashReceiptList);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetCashReceiptList(struct soap *soap, const char *tag, int id, const struct __ns1__GetCashReceiptList *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetCashReceiptList(soap, "ns1:GetCashReceiptList", -1, &a->ns1__GetCashReceiptList, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetCashReceiptList * SOAP_FMAC4 soap_in___ns1__GetCashReceiptList(struct soap *soap, const char *tag, struct __ns1__GetCashReceiptList *a, const char *type)
{
size_t soap_flag_ns1__GetCashReceiptList = 1;
short soap_flag;
a = (struct __ns1__GetCashReceiptList *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetCashReceiptList, sizeof(struct __ns1__GetCashReceiptList), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetCashReceiptList(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetCashReceiptList && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetCashReceiptList(soap, "ns1:GetCashReceiptList", &a->ns1__GetCashReceiptList, ""))
{ soap_flag_ns1__GetCashReceiptList--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetCashReceiptList(struct soap *soap, const struct __ns1__GetCashReceiptList *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetCashReceiptList(soap, tag?tag:"-ns1:GetCashReceiptList", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetCashReceiptList * SOAP_FMAC4 soap_get___ns1__GetCashReceiptList(struct soap *soap, struct __ns1__GetCashReceiptList *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetCashReceiptList(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetCashReceiptList * SOAP_FMAC2 soap_instantiate___ns1__GetCashReceiptList(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetCashReceiptList(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetCashReceiptList, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetCashReceiptList);
if (size)
*size = sizeof(struct __ns1__GetCashReceiptList);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetCashReceiptList, n);
if (size)
*size = n * sizeof(struct __ns1__GetCashReceiptList);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetCashReceiptList*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetCashReceiptList(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetCashReceiptList %p -> %p\n", q, p));
*(struct __ns1__GetCashReceiptList*)p = *(struct __ns1__GetCashReceiptList*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__CheckUsage(struct soap *soap, struct __ns1__CheckUsage *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__CheckUsage = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__CheckUsage(struct soap *soap, const struct __ns1__CheckUsage *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__CheckUsage(soap, &a->ns1__CheckUsage);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__CheckUsage(struct soap *soap, const char *tag, int id, const struct __ns1__CheckUsage *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__CheckUsage(soap, "ns1:CheckUsage", -1, &a->ns1__CheckUsage, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__CheckUsage * SOAP_FMAC4 soap_in___ns1__CheckUsage(struct soap *soap, const char *tag, struct __ns1__CheckUsage *a, const char *type)
{
size_t soap_flag_ns1__CheckUsage = 1;
short soap_flag;
a = (struct __ns1__CheckUsage *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__CheckUsage, sizeof(struct __ns1__CheckUsage), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__CheckUsage(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__CheckUsage && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__CheckUsage(soap, "ns1:CheckUsage", &a->ns1__CheckUsage, ""))
{ soap_flag_ns1__CheckUsage--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__CheckUsage(struct soap *soap, const struct __ns1__CheckUsage *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__CheckUsage(soap, tag?tag:"-ns1:CheckUsage", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__CheckUsage * SOAP_FMAC4 soap_get___ns1__CheckUsage(struct soap *soap, struct __ns1__CheckUsage *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__CheckUsage(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__CheckUsage * SOAP_FMAC2 soap_instantiate___ns1__CheckUsage(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__CheckUsage(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__CheckUsage, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__CheckUsage);
if (size)
*size = sizeof(struct __ns1__CheckUsage);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__CheckUsage, n);
if (size)
*size = n * sizeof(struct __ns1__CheckUsage);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__CheckUsage*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__CheckUsage(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__CheckUsage %p -> %p\n", q, p));
*(struct __ns1__CheckUsage*)p = *(struct __ns1__CheckUsage*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PresentExtend(struct soap *soap, struct __ns1__PresentExtend *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PresentExtend = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PresentExtend(struct soap *soap, const struct __ns1__PresentExtend *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PresentExtend(soap, &a->ns1__PresentExtend);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PresentExtend(struct soap *soap, const char *tag, int id, const struct __ns1__PresentExtend *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PresentExtend(soap, "ns1:PresentExtend", -1, &a->ns1__PresentExtend, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentExtend * SOAP_FMAC4 soap_in___ns1__PresentExtend(struct soap *soap, const char *tag, struct __ns1__PresentExtend *a, const char *type)
{
size_t soap_flag_ns1__PresentExtend = 1;
short soap_flag;
a = (struct __ns1__PresentExtend *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PresentExtend, sizeof(struct __ns1__PresentExtend), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PresentExtend(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PresentExtend && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PresentExtend(soap, "ns1:PresentExtend", &a->ns1__PresentExtend, ""))
{ soap_flag_ns1__PresentExtend--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PresentExtend(struct soap *soap, const struct __ns1__PresentExtend *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PresentExtend(soap, tag?tag:"-ns1:PresentExtend", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentExtend * SOAP_FMAC4 soap_get___ns1__PresentExtend(struct soap *soap, struct __ns1__PresentExtend *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PresentExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PresentExtend * SOAP_FMAC2 soap_instantiate___ns1__PresentExtend(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PresentExtend(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PresentExtend, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PresentExtend);
if (size)
*size = sizeof(struct __ns1__PresentExtend);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PresentExtend, n);
if (size)
*size = n * sizeof(struct __ns1__PresentExtend);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PresentExtend*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PresentExtend(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PresentExtend %p -> %p\n", q, p));
*(struct __ns1__PresentExtend*)p = *(struct __ns1__PresentExtend*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PresentChannel(struct soap *soap, struct __ns1__PresentChannel *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PresentChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PresentChannel(struct soap *soap, const struct __ns1__PresentChannel *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PresentChannel(soap, &a->ns1__PresentChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PresentChannel(struct soap *soap, const char *tag, int id, const struct __ns1__PresentChannel *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PresentChannel(soap, "ns1:PresentChannel", -1, &a->ns1__PresentChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentChannel * SOAP_FMAC4 soap_in___ns1__PresentChannel(struct soap *soap, const char *tag, struct __ns1__PresentChannel *a, const char *type)
{
size_t soap_flag_ns1__PresentChannel = 1;
short soap_flag;
a = (struct __ns1__PresentChannel *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PresentChannel, sizeof(struct __ns1__PresentChannel), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PresentChannel(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PresentChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PresentChannel(soap, "ns1:PresentChannel", &a->ns1__PresentChannel, ""))
{ soap_flag_ns1__PresentChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PresentChannel(struct soap *soap, const struct __ns1__PresentChannel *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PresentChannel(soap, tag?tag:"-ns1:PresentChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PresentChannel * SOAP_FMAC4 soap_get___ns1__PresentChannel(struct soap *soap, struct __ns1__PresentChannel *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PresentChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PresentChannel * SOAP_FMAC2 soap_instantiate___ns1__PresentChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PresentChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PresentChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PresentChannel);
if (size)
*size = sizeof(struct __ns1__PresentChannel);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PresentChannel, n);
if (size)
*size = n * sizeof(struct __ns1__PresentChannel);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PresentChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PresentChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PresentChannel %p -> %p\n", q, p));
*(struct __ns1__PresentChannel*)p = *(struct __ns1__PresentChannel*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Present(struct soap *soap, struct __ns1__Present *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Present = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Present(struct soap *soap, const struct __ns1__Present *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Present(soap, &a->ns1__Present);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Present(struct soap *soap, const char *tag, int id, const struct __ns1__Present *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Present(soap, "ns1:Present", -1, &a->ns1__Present, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Present * SOAP_FMAC4 soap_in___ns1__Present(struct soap *soap, const char *tag, struct __ns1__Present *a, const char *type)
{
size_t soap_flag_ns1__Present = 1;
short soap_flag;
a = (struct __ns1__Present *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Present, sizeof(struct __ns1__Present), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Present(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Present && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Present(soap, "ns1:Present", &a->ns1__Present, ""))
{ soap_flag_ns1__Present--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Present(struct soap *soap, const struct __ns1__Present *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Present(soap, tag?tag:"-ns1:Present", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Present * SOAP_FMAC4 soap_get___ns1__Present(struct soap *soap, struct __ns1__Present *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Present(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Present * SOAP_FMAC2 soap_instantiate___ns1__Present(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Present(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Present, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Present);
if (size)
*size = sizeof(struct __ns1__Present);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Present, n);
if (size)
*size = n * sizeof(struct __ns1__Present);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Present*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Present(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Present %p -> %p\n", q, p));
*(struct __ns1__Present*)p = *(struct __ns1__Present*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, struct __ns1__ApprovalCashChange_USCOREChanneling *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalCashChange_USCOREChanneling = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const struct __ns1__ApprovalCashChange_USCOREChanneling *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, &a->ns1__ApprovalCashChange_USCOREChanneling);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalCashChange_USCOREChanneling *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, "ns1:ApprovalCashChange_Channeling", -1, &a->ns1__ApprovalCashChange_USCOREChanneling, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC4 soap_in___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, struct __ns1__ApprovalCashChange_USCOREChanneling *a, const char *type)
{
size_t soap_flag_ns1__ApprovalCashChange_USCOREChanneling = 1;
short soap_flag;
a = (struct __ns1__ApprovalCashChange_USCOREChanneling *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling, sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalCashChange_USCOREChanneling(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalCashChange_USCOREChanneling && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, "ns1:ApprovalCashChange_Channeling", &a->ns1__ApprovalCashChange_USCOREChanneling, ""))
{ soap_flag_ns1__ApprovalCashChange_USCOREChanneling--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const struct __ns1__ApprovalCashChange_USCOREChanneling *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalCashChange_USCOREChanneling(soap, tag?tag:"-ns1:ApprovalCashChange_Channeling", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC4 soap_get___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, struct __ns1__ApprovalCashChange_USCOREChanneling *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalCashChange_USCOREChanneling(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalCashChange_USCOREChanneling * SOAP_FMAC2 soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalCashChange_USCOREChanneling(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalCashChange_USCOREChanneling, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalCashChange_USCOREChanneling);
if (size)
*size = sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalCashChange_USCOREChanneling, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalCashChange_USCOREChanneling);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalCashChange_USCOREChanneling*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalCashChange_USCOREChanneling %p -> %p\n", q, p));
*(struct __ns1__ApprovalCashChange_USCOREChanneling*)p = *(struct __ns1__ApprovalCashChange_USCOREChanneling*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Purchase_USCOREEx(struct soap *soap, struct __ns1__Purchase_USCOREEx *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Purchase_USCOREEx = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Purchase_USCOREEx(struct soap *soap, const struct __ns1__Purchase_USCOREEx *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Purchase_USCOREEx(soap, &a->ns1__Purchase_USCOREEx);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, int id, const struct __ns1__Purchase_USCOREEx *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Purchase_USCOREEx(soap, "ns1:Purchase_Ex", -1, &a->ns1__Purchase_USCOREEx, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_USCOREEx * SOAP_FMAC4 soap_in___ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, struct __ns1__Purchase_USCOREEx *a, const char *type)
{
size_t soap_flag_ns1__Purchase_USCOREEx = 1;
short soap_flag;
a = (struct __ns1__Purchase_USCOREEx *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Purchase_USCOREEx, sizeof(struct __ns1__Purchase_USCOREEx), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Purchase_USCOREEx(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Purchase_USCOREEx && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Purchase_USCOREEx(soap, "ns1:Purchase_Ex", &a->ns1__Purchase_USCOREEx, ""))
{ soap_flag_ns1__Purchase_USCOREEx--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Purchase_USCOREEx(struct soap *soap, const struct __ns1__Purchase_USCOREEx *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Purchase_USCOREEx(soap, tag?tag:"-ns1:Purchase_Ex", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase_USCOREEx * SOAP_FMAC4 soap_get___ns1__Purchase_USCOREEx(struct soap *soap, struct __ns1__Purchase_USCOREEx *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Purchase_USCOREEx(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Purchase_USCOREEx * SOAP_FMAC2 soap_instantiate___ns1__Purchase_USCOREEx(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Purchase_USCOREEx(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Purchase_USCOREEx, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Purchase_USCOREEx);
if (size)
*size = sizeof(struct __ns1__Purchase_USCOREEx);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Purchase_USCOREEx, n);
if (size)
*size = n * sizeof(struct __ns1__Purchase_USCOREEx);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Purchase_USCOREEx*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Purchase_USCOREEx(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Purchase_USCOREEx %p -> %p\n", q, p));
*(struct __ns1__Purchase_USCOREEx*)p = *(struct __ns1__Purchase_USCOREEx*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PurchaseExtend(struct soap *soap, struct __ns1__PurchaseExtend *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PurchaseExtend = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PurchaseExtend(struct soap *soap, const struct __ns1__PurchaseExtend *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PurchaseExtend(soap, &a->ns1__PurchaseExtend);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PurchaseExtend(struct soap *soap, const char *tag, int id, const struct __ns1__PurchaseExtend *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PurchaseExtend(soap, "ns1:PurchaseExtend", -1, &a->ns1__PurchaseExtend, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseExtend * SOAP_FMAC4 soap_in___ns1__PurchaseExtend(struct soap *soap, const char *tag, struct __ns1__PurchaseExtend *a, const char *type)
{
size_t soap_flag_ns1__PurchaseExtend = 1;
short soap_flag;
a = (struct __ns1__PurchaseExtend *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PurchaseExtend, sizeof(struct __ns1__PurchaseExtend), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PurchaseExtend(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PurchaseExtend && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PurchaseExtend(soap, "ns1:PurchaseExtend", &a->ns1__PurchaseExtend, ""))
{ soap_flag_ns1__PurchaseExtend--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PurchaseExtend(struct soap *soap, const struct __ns1__PurchaseExtend *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PurchaseExtend(soap, tag?tag:"-ns1:PurchaseExtend", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseExtend * SOAP_FMAC4 soap_get___ns1__PurchaseExtend(struct soap *soap, struct __ns1__PurchaseExtend *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PurchaseExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PurchaseExtend * SOAP_FMAC2 soap_instantiate___ns1__PurchaseExtend(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PurchaseExtend(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PurchaseExtend, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PurchaseExtend);
if (size)
*size = sizeof(struct __ns1__PurchaseExtend);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PurchaseExtend, n);
if (size)
*size = n * sizeof(struct __ns1__PurchaseExtend);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PurchaseExtend*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PurchaseExtend(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PurchaseExtend %p -> %p\n", q, p));
*(struct __ns1__PurchaseExtend*)p = *(struct __ns1__PurchaseExtend*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__PurchaseChannel(struct soap *soap, struct __ns1__PurchaseChannel *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__PurchaseChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__PurchaseChannel(struct soap *soap, const struct __ns1__PurchaseChannel *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__PurchaseChannel(soap, &a->ns1__PurchaseChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__PurchaseChannel(struct soap *soap, const char *tag, int id, const struct __ns1__PurchaseChannel *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__PurchaseChannel(soap, "ns1:PurchaseChannel", -1, &a->ns1__PurchaseChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseChannel * SOAP_FMAC4 soap_in___ns1__PurchaseChannel(struct soap *soap, const char *tag, struct __ns1__PurchaseChannel *a, const char *type)
{
size_t soap_flag_ns1__PurchaseChannel = 1;
short soap_flag;
a = (struct __ns1__PurchaseChannel *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__PurchaseChannel, sizeof(struct __ns1__PurchaseChannel), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__PurchaseChannel(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__PurchaseChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__PurchaseChannel(soap, "ns1:PurchaseChannel", &a->ns1__PurchaseChannel, ""))
{ soap_flag_ns1__PurchaseChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__PurchaseChannel(struct soap *soap, const struct __ns1__PurchaseChannel *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__PurchaseChannel(soap, tag?tag:"-ns1:PurchaseChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__PurchaseChannel * SOAP_FMAC4 soap_get___ns1__PurchaseChannel(struct soap *soap, struct __ns1__PurchaseChannel *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__PurchaseChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__PurchaseChannel * SOAP_FMAC2 soap_instantiate___ns1__PurchaseChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__PurchaseChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__PurchaseChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__PurchaseChannel);
if (size)
*size = sizeof(struct __ns1__PurchaseChannel);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__PurchaseChannel, n);
if (size)
*size = n * sizeof(struct __ns1__PurchaseChannel);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__PurchaseChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__PurchaseChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__PurchaseChannel %p -> %p\n", q, p));
*(struct __ns1__PurchaseChannel*)p = *(struct __ns1__PurchaseChannel*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__Purchase(struct soap *soap, struct __ns1__Purchase *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__Purchase = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__Purchase(struct soap *soap, const struct __ns1__Purchase *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__Purchase(soap, &a->ns1__Purchase);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__Purchase(struct soap *soap, const char *tag, int id, const struct __ns1__Purchase *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__Purchase(soap, "ns1:Purchase", -1, &a->ns1__Purchase, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase * SOAP_FMAC4 soap_in___ns1__Purchase(struct soap *soap, const char *tag, struct __ns1__Purchase *a, const char *type)
{
size_t soap_flag_ns1__Purchase = 1;
short soap_flag;
a = (struct __ns1__Purchase *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__Purchase, sizeof(struct __ns1__Purchase), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__Purchase(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Purchase && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__Purchase(soap, "ns1:Purchase", &a->ns1__Purchase, ""))
{ soap_flag_ns1__Purchase--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__Purchase(struct soap *soap, const struct __ns1__Purchase *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__Purchase(soap, tag?tag:"-ns1:Purchase", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__Purchase * SOAP_FMAC4 soap_get___ns1__Purchase(struct soap *soap, struct __ns1__Purchase *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__Purchase(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__Purchase * SOAP_FMAC2 soap_instantiate___ns1__Purchase(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__Purchase(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__Purchase, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__Purchase);
if (size)
*size = sizeof(struct __ns1__Purchase);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__Purchase, n);
if (size)
*size = n * sizeof(struct __ns1__Purchase);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__Purchase*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__Purchase(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__Purchase %p -> %p\n", q, p));
*(struct __ns1__Purchase*)p = *(struct __ns1__Purchase*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetChannelingCashRemain(struct soap *soap, struct __ns1__GetChannelingCashRemain *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetChannelingCashRemain = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetChannelingCashRemain(struct soap *soap, const struct __ns1__GetChannelingCashRemain *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetChannelingCashRemain(soap, &a->ns1__GetChannelingCashRemain);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, int id, const struct __ns1__GetChannelingCashRemain *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetChannelingCashRemain(soap, "ns1:GetChannelingCashRemain", -1, &a->ns1__GetChannelingCashRemain, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetChannelingCashRemain * SOAP_FMAC4 soap_in___ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, struct __ns1__GetChannelingCashRemain *a, const char *type)
{
size_t soap_flag_ns1__GetChannelingCashRemain = 1;
short soap_flag;
a = (struct __ns1__GetChannelingCashRemain *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetChannelingCashRemain, sizeof(struct __ns1__GetChannelingCashRemain), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetChannelingCashRemain(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetChannelingCashRemain && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetChannelingCashRemain(soap, "ns1:GetChannelingCashRemain", &a->ns1__GetChannelingCashRemain, ""))
{ soap_flag_ns1__GetChannelingCashRemain--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetChannelingCashRemain(struct soap *soap, const struct __ns1__GetChannelingCashRemain *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetChannelingCashRemain(soap, tag?tag:"-ns1:GetChannelingCashRemain", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetChannelingCashRemain * SOAP_FMAC4 soap_get___ns1__GetChannelingCashRemain(struct soap *soap, struct __ns1__GetChannelingCashRemain *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetChannelingCashRemain(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetChannelingCashRemain * SOAP_FMAC2 soap_instantiate___ns1__GetChannelingCashRemain(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetChannelingCashRemain(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetChannelingCashRemain, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetChannelingCashRemain);
if (size)
*size = sizeof(struct __ns1__GetChannelingCashRemain);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetChannelingCashRemain, n);
if (size)
*size = n * sizeof(struct __ns1__GetChannelingCashRemain);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetChannelingCashRemain*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetChannelingCashRemain(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetChannelingCashRemain %p -> %p\n", q, p));
*(struct __ns1__GetChannelingCashRemain*)p = *(struct __ns1__GetChannelingCashRemain*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurseByChannel(struct soap *soap, struct __ns1__GetPurseByChannel *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurseByChannel = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurseByChannel(struct soap *soap, const struct __ns1__GetPurseByChannel *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurseByChannel(soap, &a->ns1__GetPurseByChannel);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurseByChannel(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurseByChannel *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurseByChannel(soap, "ns1:GetPurseByChannel", -1, &a->ns1__GetPurseByChannel, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseByChannel * SOAP_FMAC4 soap_in___ns1__GetPurseByChannel(struct soap *soap, const char *tag, struct __ns1__GetPurseByChannel *a, const char *type)
{
size_t soap_flag_ns1__GetPurseByChannel = 1;
short soap_flag;
a = (struct __ns1__GetPurseByChannel *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurseByChannel, sizeof(struct __ns1__GetPurseByChannel), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurseByChannel(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurseByChannel && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurseByChannel(soap, "ns1:GetPurseByChannel", &a->ns1__GetPurseByChannel, ""))
{ soap_flag_ns1__GetPurseByChannel--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurseByChannel(struct soap *soap, const struct __ns1__GetPurseByChannel *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurseByChannel(soap, tag?tag:"-ns1:GetPurseByChannel", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurseByChannel * SOAP_FMAC4 soap_get___ns1__GetPurseByChannel(struct soap *soap, struct __ns1__GetPurseByChannel *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurseByChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurseByChannel * SOAP_FMAC2 soap_instantiate___ns1__GetPurseByChannel(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurseByChannel(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurseByChannel, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurseByChannel);
if (size)
*size = sizeof(struct __ns1__GetPurseByChannel);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurseByChannel, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurseByChannel);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurseByChannel*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurseByChannel(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurseByChannel %p -> %p\n", q, p));
*(struct __ns1__GetPurseByChannel*)p = *(struct __ns1__GetPurseByChannel*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__GetPurse(struct soap *soap, struct __ns1__GetPurse *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__GetPurse = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__GetPurse(struct soap *soap, const struct __ns1__GetPurse *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__GetPurse(soap, &a->ns1__GetPurse);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__GetPurse(struct soap *soap, const char *tag, int id, const struct __ns1__GetPurse *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__GetPurse(soap, "ns1:GetPurse", -1, &a->ns1__GetPurse, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurse * SOAP_FMAC4 soap_in___ns1__GetPurse(struct soap *soap, const char *tag, struct __ns1__GetPurse *a, const char *type)
{
size_t soap_flag_ns1__GetPurse = 1;
short soap_flag;
a = (struct __ns1__GetPurse *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__GetPurse, sizeof(struct __ns1__GetPurse), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__GetPurse(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__GetPurse && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__GetPurse(soap, "ns1:GetPurse", &a->ns1__GetPurse, ""))
{ soap_flag_ns1__GetPurse--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__GetPurse(struct soap *soap, const struct __ns1__GetPurse *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__GetPurse(soap, tag?tag:"-ns1:GetPurse", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__GetPurse * SOAP_FMAC4 soap_get___ns1__GetPurse(struct soap *soap, struct __ns1__GetPurse *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__GetPurse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__GetPurse * SOAP_FMAC2 soap_instantiate___ns1__GetPurse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__GetPurse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__GetPurse, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__GetPurse);
if (size)
*size = sizeof(struct __ns1__GetPurse);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__GetPurse, n);
if (size)
*size = n * sizeof(struct __ns1__GetPurse);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__GetPurse*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__GetPurse(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__GetPurse %p -> %p\n", q, p));
*(struct __ns1__GetPurse*)p = *(struct __ns1__GetPurse*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ISBillingUser(struct soap *soap, struct __ns1__ISBillingUser *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ISBillingUser = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ISBillingUser(struct soap *soap, const struct __ns1__ISBillingUser *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ISBillingUser(soap, &a->ns1__ISBillingUser);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ISBillingUser(struct soap *soap, const char *tag, int id, const struct __ns1__ISBillingUser *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ISBillingUser(soap, "ns1:ISBillingUser", -1, &a->ns1__ISBillingUser, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ISBillingUser * SOAP_FMAC4 soap_in___ns1__ISBillingUser(struct soap *soap, const char *tag, struct __ns1__ISBillingUser *a, const char *type)
{
size_t soap_flag_ns1__ISBillingUser = 1;
short soap_flag;
a = (struct __ns1__ISBillingUser *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ISBillingUser, sizeof(struct __ns1__ISBillingUser), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ISBillingUser(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ISBillingUser && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ISBillingUser(soap, "ns1:ISBillingUser", &a->ns1__ISBillingUser, ""))
{ soap_flag_ns1__ISBillingUser--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ISBillingUser(struct soap *soap, const struct __ns1__ISBillingUser *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ISBillingUser(soap, tag?tag:"-ns1:ISBillingUser", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ISBillingUser * SOAP_FMAC4 soap_get___ns1__ISBillingUser(struct soap *soap, struct __ns1__ISBillingUser *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ISBillingUser(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ISBillingUser * SOAP_FMAC2 soap_instantiate___ns1__ISBillingUser(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ISBillingUser(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ISBillingUser, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ISBillingUser);
if (size)
*size = sizeof(struct __ns1__ISBillingUser);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ISBillingUser, n);
if (size)
*size = n * sizeof(struct __ns1__ISBillingUser);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ISBillingUser*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ISBillingUser(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ISBillingUser %p -> %p\n", q, p));
*(struct __ns1__ISBillingUser*)p = *(struct __ns1__ISBillingUser*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__LastUsageInfo(struct soap *soap, struct __ns1__LastUsageInfo *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__LastUsageInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__LastUsageInfo(struct soap *soap, const struct __ns1__LastUsageInfo *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__LastUsageInfo(soap, &a->ns1__LastUsageInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__LastUsageInfo(struct soap *soap, const char *tag, int id, const struct __ns1__LastUsageInfo *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__LastUsageInfo(soap, "ns1:LastUsageInfo", -1, &a->ns1__LastUsageInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__LastUsageInfo * SOAP_FMAC4 soap_in___ns1__LastUsageInfo(struct soap *soap, const char *tag, struct __ns1__LastUsageInfo *a, const char *type)
{
size_t soap_flag_ns1__LastUsageInfo = 1;
short soap_flag;
a = (struct __ns1__LastUsageInfo *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__LastUsageInfo, sizeof(struct __ns1__LastUsageInfo), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__LastUsageInfo(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__LastUsageInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__LastUsageInfo(soap, "ns1:LastUsageInfo", &a->ns1__LastUsageInfo, ""))
{ soap_flag_ns1__LastUsageInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__LastUsageInfo(struct soap *soap, const struct __ns1__LastUsageInfo *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__LastUsageInfo(soap, tag?tag:"-ns1:LastUsageInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__LastUsageInfo * SOAP_FMAC4 soap_get___ns1__LastUsageInfo(struct soap *soap, struct __ns1__LastUsageInfo *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__LastUsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__LastUsageInfo * SOAP_FMAC2 soap_instantiate___ns1__LastUsageInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__LastUsageInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__LastUsageInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__LastUsageInfo);
if (size)
*size = sizeof(struct __ns1__LastUsageInfo);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__LastUsageInfo, n);
if (size)
*size = n * sizeof(struct __ns1__LastUsageInfo);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__LastUsageInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__LastUsageInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__LastUsageInfo %p -> %p\n", q, p));
*(struct __ns1__LastUsageInfo*)p = *(struct __ns1__LastUsageInfo*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__UsageInfo(struct soap *soap, struct __ns1__UsageInfo *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__UsageInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__UsageInfo(struct soap *soap, const struct __ns1__UsageInfo *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__UsageInfo(soap, &a->ns1__UsageInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__UsageInfo(struct soap *soap, const char *tag, int id, const struct __ns1__UsageInfo *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__UsageInfo(soap, "ns1:UsageInfo", -1, &a->ns1__UsageInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageInfo * SOAP_FMAC4 soap_in___ns1__UsageInfo(struct soap *soap, const char *tag, struct __ns1__UsageInfo *a, const char *type)
{
size_t soap_flag_ns1__UsageInfo = 1;
short soap_flag;
a = (struct __ns1__UsageInfo *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__UsageInfo, sizeof(struct __ns1__UsageInfo), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__UsageInfo(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__UsageInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__UsageInfo(soap, "ns1:UsageInfo", &a->ns1__UsageInfo, ""))
{ soap_flag_ns1__UsageInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__UsageInfo(struct soap *soap, const struct __ns1__UsageInfo *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__UsageInfo(soap, tag?tag:"-ns1:UsageInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__UsageInfo * SOAP_FMAC4 soap_get___ns1__UsageInfo(struct soap *soap, struct __ns1__UsageInfo *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__UsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__UsageInfo * SOAP_FMAC2 soap_instantiate___ns1__UsageInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__UsageInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__UsageInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__UsageInfo);
if (size)
*size = sizeof(struct __ns1__UsageInfo);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__UsageInfo, n);
if (size)
*size = n * sizeof(struct __ns1__UsageInfo);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__UsageInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__UsageInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__UsageInfo %p -> %p\n", q, p));
*(struct __ns1__UsageInfo*)p = *(struct __ns1__UsageInfo*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalPaidInfo(struct soap *soap, struct __ns1__ApprovalPaidInfo *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalPaidInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalPaidInfo(struct soap *soap, const struct __ns1__ApprovalPaidInfo *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalPaidInfo(soap, &a->ns1__ApprovalPaidInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalPaidInfo *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalPaidInfo(soap, "ns1:ApprovalPaidInfo", -1, &a->ns1__ApprovalPaidInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalPaidInfo * SOAP_FMAC4 soap_in___ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, struct __ns1__ApprovalPaidInfo *a, const char *type)
{
size_t soap_flag_ns1__ApprovalPaidInfo = 1;
short soap_flag;
a = (struct __ns1__ApprovalPaidInfo *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalPaidInfo, sizeof(struct __ns1__ApprovalPaidInfo), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalPaidInfo(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalPaidInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalPaidInfo(soap, "ns1:ApprovalPaidInfo", &a->ns1__ApprovalPaidInfo, ""))
{ soap_flag_ns1__ApprovalPaidInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalPaidInfo(struct soap *soap, const struct __ns1__ApprovalPaidInfo *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalPaidInfo(soap, tag?tag:"-ns1:ApprovalPaidInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalPaidInfo * SOAP_FMAC4 soap_get___ns1__ApprovalPaidInfo(struct soap *soap, struct __ns1__ApprovalPaidInfo *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalPaidInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalPaidInfo * SOAP_FMAC2 soap_instantiate___ns1__ApprovalPaidInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalPaidInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalPaidInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalPaidInfo);
if (size)
*size = sizeof(struct __ns1__ApprovalPaidInfo);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalPaidInfo, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalPaidInfo);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalPaidInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalPaidInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalPaidInfo %p -> %p\n", q, p));
*(struct __ns1__ApprovalPaidInfo*)p = *(struct __ns1__ApprovalPaidInfo*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__ApprovalInfo(struct soap *soap, struct __ns1__ApprovalInfo *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__ApprovalInfo = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__ApprovalInfo(struct soap *soap, const struct __ns1__ApprovalInfo *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__ApprovalInfo(soap, &a->ns1__ApprovalInfo);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__ApprovalInfo(struct soap *soap, const char *tag, int id, const struct __ns1__ApprovalInfo *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__ApprovalInfo(soap, "ns1:ApprovalInfo", -1, &a->ns1__ApprovalInfo, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalInfo * SOAP_FMAC4 soap_in___ns1__ApprovalInfo(struct soap *soap, const char *tag, struct __ns1__ApprovalInfo *a, const char *type)
{
size_t soap_flag_ns1__ApprovalInfo = 1;
short soap_flag;
a = (struct __ns1__ApprovalInfo *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__ApprovalInfo, sizeof(struct __ns1__ApprovalInfo), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__ApprovalInfo(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__ApprovalInfo && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__ApprovalInfo(soap, "ns1:ApprovalInfo", &a->ns1__ApprovalInfo, ""))
{ soap_flag_ns1__ApprovalInfo--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__ApprovalInfo(struct soap *soap, const struct __ns1__ApprovalInfo *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__ApprovalInfo(soap, tag?tag:"-ns1:ApprovalInfo", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__ApprovalInfo * SOAP_FMAC4 soap_get___ns1__ApprovalInfo(struct soap *soap, struct __ns1__ApprovalInfo *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__ApprovalInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__ApprovalInfo * SOAP_FMAC2 soap_instantiate___ns1__ApprovalInfo(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__ApprovalInfo(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__ApprovalInfo, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__ApprovalInfo);
if (size)
*size = sizeof(struct __ns1__ApprovalInfo);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__ApprovalInfo, n);
if (size)
*size = n * sizeof(struct __ns1__ApprovalInfo);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__ApprovalInfo*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__ApprovalInfo(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__ApprovalInfo %p -> %p\n", q, p));
*(struct __ns1__ApprovalInfo*)p = *(struct __ns1__ApprovalInfo*)q;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__InitializeSoap(struct soap *soap, struct __ns1__InitializeSoap *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
a->ns1__InitializeSoap = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__InitializeSoap(struct soap *soap, const struct __ns1__InitializeSoap *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTo_ns1__InitializeSoap(soap, &a->ns1__InitializeSoap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__InitializeSoap(struct soap *soap, const char *tag, int id, const struct __ns1__InitializeSoap *a, const char *type)
{
(void)soap; (void)tag; (void)id; (void)type;
if (soap_out_PointerTo_ns1__InitializeSoap(soap, "ns1:InitializeSoap", -1, &a->ns1__InitializeSoap, ""))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__InitializeSoap * SOAP_FMAC4 soap_in___ns1__InitializeSoap(struct soap *soap, const char *tag, struct __ns1__InitializeSoap *a, const char *type)
{
size_t soap_flag_ns1__InitializeSoap = 1;
short soap_flag;
a = (struct __ns1__InitializeSoap *)soap_id_enter(soap, "", a, SOAP_TYPE___ns1__InitializeSoap, sizeof(struct __ns1__InitializeSoap), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default___ns1__InitializeSoap(soap, a);
for (soap_flag = 0;; soap_flag = 1)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__InitializeSoap && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTo_ns1__InitializeSoap(soap, "ns1:InitializeSoap", &a->ns1__InitializeSoap, ""))
{ soap_flag_ns1__InitializeSoap--;
continue;
}
if (soap->error == SOAP_TAG_MISMATCH)
if (soap_flag)
{ soap->error = SOAP_OK;
break;
}
if (soap_flag && soap->error == SOAP_NO_TAG)
break;
if (soap->error)
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__InitializeSoap(struct soap *soap, const struct __ns1__InitializeSoap *a, const char *tag, const char *type)
{
register int id = 0;
if (soap_out___ns1__InitializeSoap(soap, tag?tag:"-ns1:InitializeSoap", id, a, type))
return soap->error;
return SOAP_OK;
}
SOAP_FMAC3 struct __ns1__InitializeSoap * SOAP_FMAC4 soap_get___ns1__InitializeSoap(struct soap *soap, struct __ns1__InitializeSoap *p, const char *tag, const char *type)
{
if ((p = soap_in___ns1__InitializeSoap(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC1 struct __ns1__InitializeSoap * SOAP_FMAC2 soap_instantiate___ns1__InitializeSoap(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__InitializeSoap(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE___ns1__InitializeSoap, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct __ns1__InitializeSoap);
if (size)
*size = sizeof(struct __ns1__InitializeSoap);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct __ns1__InitializeSoap, n);
if (size)
*size = n * sizeof(struct __ns1__InitializeSoap);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct __ns1__InitializeSoap*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__InitializeSoap(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__InitializeSoap %p -> %p\n", q, p));
*(struct __ns1__InitializeSoap*)p = *(struct __ns1__InitializeSoap*)q;
}
#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 */
a->ns1__Header_ = NULL;
a->ns1__SecurityHeader_ = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
{
#ifndef WITH_NOIDREF
(void)soap; (void)a; /* appease -Wall -Werror */
soap_serialize_PointerTons1__Header(soap, &a->ns1__Header_);
soap_serialize_PointerTons1__SecurityHeader(soap, &a->ns1__SecurityHeader_);
#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)type;
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Header), type))
return soap->error;
soap->mustUnderstand = 1;
if (soap_out_PointerTons1__Header(soap, "ns1:Header", -1, &a->ns1__Header_, ""))
return soap->error;
soap->mustUnderstand = 1;
if (soap_out_PointerTons1__SecurityHeader(soap, "ns1:SecurityHeader", -1, &a->ns1__SecurityHeader_, ""))
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)
{
size_t soap_flag_ns1__Header_ = 1;
size_t soap_flag_ns1__SecurityHeader_ = 1;
if (soap_element_begin_in(soap, tag, 0, type))
return NULL;
a = (struct SOAP_ENV__Header *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), 0, NULL, NULL, NULL);
if (!a)
return NULL;
soap_default_SOAP_ENV__Header(soap, a);
if (soap->body && !*soap->href)
{
for (;;)
{ soap->error = SOAP_TAG_MISMATCH;
if (soap_flag_ns1__Header_ && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__Header(soap, "ns1:Header", &a->ns1__Header_, "ns1:Header"))
{ soap_flag_ns1__Header_--;
continue;
}
if (soap_flag_ns1__SecurityHeader_ && soap->error == SOAP_TAG_MISMATCH)
if (soap_in_PointerTons1__SecurityHeader(soap, "ns1:SecurityHeader", &a->ns1__SecurityHeader_, "ns1:SecurityHeader"))
{ soap_flag_ns1__SecurityHeader_--;
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__Header *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_SOAP_ENV__Header, 0, sizeof(struct SOAP_ENV__Header), 0, NULL);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
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)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_SOAP_ENV__Header);
if (soap_out_SOAP_ENV__Header(soap, tag?tag:"SOAP-ENV:Header", id, 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;
}
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)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header);
if (size)
*size = sizeof(struct SOAP_ENV__Header);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Header, n);
if (size)
*size = n * sizeof(struct SOAP_ENV__Header);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (struct SOAP_ENV__Header*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct SOAP_ENV__Header %p -> %p\n", q, p));
*(struct SOAP_ENV__Header*)p = *(struct SOAP_ENV__Header*)q;
}
#endif
#ifndef WITH_NOGLOBAL
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a)
{
#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);
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)
{
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);
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)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Reason);
if (soap_out_PointerToSOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", id, 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)
{
#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);
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)
{
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);
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)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Detail);
if (soap_out_PointerToSOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", id, 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)
{
#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)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code);
if (id < 0)
return soap->error;
return soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
}
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)
{
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);
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)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerToSOAP_ENV__Code);
if (soap_out_PointerToSOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerToSOAP_ENV__Code(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__SetUserMappingDataResponse(struct soap *soap, _ns1__SetUserMappingDataResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__SetUserMappingDataResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__SetUserMappingDataResponse(struct soap *soap, const char *tag, int id, _ns1__SetUserMappingDataResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__SetUserMappingDataResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__SetUserMappingDataResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__SetUserMappingDataResponse(struct soap *soap, const char *tag, _ns1__SetUserMappingDataResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__SetUserMappingDataResponse **)soap_malloc(soap, sizeof(_ns1__SetUserMappingDataResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__SetUserMappingDataResponse *)soap_instantiate__ns1__SetUserMappingDataResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__SetUserMappingDataResponse ** p = (_ns1__SetUserMappingDataResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__SetUserMappingDataResponse, sizeof(_ns1__SetUserMappingDataResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__SetUserMappingDataResponse(struct soap *soap, _ns1__SetUserMappingDataResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__SetUserMappingDataResponse);
if (soap_out_PointerTo_ns1__SetUserMappingDataResponse(soap, tag?tag:"ns1:SetUserMappingDataResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__SetUserMappingDataResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__SetUserMappingDataResponse(struct soap *soap, _ns1__SetUserMappingDataResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__SetUserMappingDataResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__SetUserMappingData(struct soap *soap, _ns1__SetUserMappingData *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__SetUserMappingData))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__SetUserMappingData(struct soap *soap, const char *tag, int id, _ns1__SetUserMappingData *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__SetUserMappingData);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__SetUserMappingData ** SOAP_FMAC4 soap_in_PointerTo_ns1__SetUserMappingData(struct soap *soap, const char *tag, _ns1__SetUserMappingData **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__SetUserMappingData **)soap_malloc(soap, sizeof(_ns1__SetUserMappingData *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__SetUserMappingData *)soap_instantiate__ns1__SetUserMappingData(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__SetUserMappingData ** p = (_ns1__SetUserMappingData **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__SetUserMappingData, sizeof(_ns1__SetUserMappingData), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__SetUserMappingData(struct soap *soap, _ns1__SetUserMappingData *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__SetUserMappingData);
if (soap_out_PointerTo_ns1__SetUserMappingData(soap, tag?tag:"ns1:SetUserMappingData", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__SetUserMappingData ** SOAP_FMAC4 soap_get_PointerTo_ns1__SetUserMappingData(struct soap *soap, _ns1__SetUserMappingData **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__SetUserMappingData(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalCashChangeResponse(struct soap *soap, _ns1__ApprovalCashChangeResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalCashChangeResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalCashChangeResponse(struct soap *soap, const char *tag, int id, _ns1__ApprovalCashChangeResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalCashChangeResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChangeResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalCashChangeResponse(struct soap *soap, const char *tag, _ns1__ApprovalCashChangeResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalCashChangeResponse **)soap_malloc(soap, sizeof(_ns1__ApprovalCashChangeResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalCashChangeResponse *)soap_instantiate__ns1__ApprovalCashChangeResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalCashChangeResponse ** p = (_ns1__ApprovalCashChangeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalCashChangeResponse, sizeof(_ns1__ApprovalCashChangeResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalCashChangeResponse(struct soap *soap, _ns1__ApprovalCashChangeResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalCashChangeResponse);
if (soap_out_PointerTo_ns1__ApprovalCashChangeResponse(soap, tag?tag:"ns1:ApprovalCashChangeResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalCashChangeResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalCashChangeResponse(struct soap *soap, _ns1__ApprovalCashChangeResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalCashChangeResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalCashChange(struct soap *soap, _ns1__ApprovalCashChange *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalCashChange))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalCashChange(struct soap *soap, const char *tag, int id, _ns1__ApprovalCashChange *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalCashChange);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalCashChange(struct soap *soap, const char *tag, _ns1__ApprovalCashChange **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalCashChange **)soap_malloc(soap, sizeof(_ns1__ApprovalCashChange *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalCashChange *)soap_instantiate__ns1__ApprovalCashChange(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalCashChange ** p = (_ns1__ApprovalCashChange **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalCashChange, sizeof(_ns1__ApprovalCashChange), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalCashChange(struct soap *soap, _ns1__ApprovalCashChange *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalCashChange);
if (soap_out_PointerTo_ns1__ApprovalCashChange(soap, tag?tag:"ns1:ApprovalCashChange", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalCashChange ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalCashChange(struct soap *soap, _ns1__ApprovalCashChange **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalCashChange(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancelForLuniaResponse(struct soap *soap, _ns1__UsageCancelForLuniaResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancelForLuniaResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancelForLuniaResponse(struct soap *soap, const char *tag, int id, _ns1__UsageCancelForLuniaResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancelForLuniaResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLuniaResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancelForLuniaResponse(struct soap *soap, const char *tag, _ns1__UsageCancelForLuniaResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancelForLuniaResponse **)soap_malloc(soap, sizeof(_ns1__UsageCancelForLuniaResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancelForLuniaResponse *)soap_instantiate__ns1__UsageCancelForLuniaResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancelForLuniaResponse ** p = (_ns1__UsageCancelForLuniaResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancelForLuniaResponse, sizeof(_ns1__UsageCancelForLuniaResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancelForLuniaResponse(struct soap *soap, _ns1__UsageCancelForLuniaResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancelForLuniaResponse);
if (soap_out_PointerTo_ns1__UsageCancelForLuniaResponse(soap, tag?tag:"ns1:UsageCancelForLuniaResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancelForLuniaResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancelForLuniaResponse(struct soap *soap, _ns1__UsageCancelForLuniaResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancelForLuniaResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancelForLunia(struct soap *soap, _ns1__UsageCancelForLunia *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancelForLunia))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancelForLunia(struct soap *soap, const char *tag, int id, _ns1__UsageCancelForLunia *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancelForLunia);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancelForLunia ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancelForLunia(struct soap *soap, const char *tag, _ns1__UsageCancelForLunia **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancelForLunia **)soap_malloc(soap, sizeof(_ns1__UsageCancelForLunia *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancelForLunia *)soap_instantiate__ns1__UsageCancelForLunia(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancelForLunia ** p = (_ns1__UsageCancelForLunia **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancelForLunia, sizeof(_ns1__UsageCancelForLunia), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancelForLunia(struct soap *soap, _ns1__UsageCancelForLunia *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancelForLunia);
if (soap_out_PointerTo_ns1__UsageCancelForLunia(soap, tag?tag:"ns1:UsageCancelForLunia", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancelForLunia ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancelForLunia(struct soap *soap, _ns1__UsageCancelForLunia **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancelForLunia(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ChargeGameCashResponse(struct soap *soap, _ns1__ChargeGameCashResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ChargeGameCashResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ChargeGameCashResponse(struct soap *soap, const char *tag, int id, _ns1__ChargeGameCashResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ChargeGameCashResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ChargeGameCashResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ChargeGameCashResponse(struct soap *soap, const char *tag, _ns1__ChargeGameCashResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ChargeGameCashResponse **)soap_malloc(soap, sizeof(_ns1__ChargeGameCashResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ChargeGameCashResponse *)soap_instantiate__ns1__ChargeGameCashResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ChargeGameCashResponse ** p = (_ns1__ChargeGameCashResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ChargeGameCashResponse, sizeof(_ns1__ChargeGameCashResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ChargeGameCashResponse(struct soap *soap, _ns1__ChargeGameCashResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ChargeGameCashResponse);
if (soap_out_PointerTo_ns1__ChargeGameCashResponse(soap, tag?tag:"ns1:ChargeGameCashResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ChargeGameCashResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ChargeGameCashResponse(struct soap *soap, _ns1__ChargeGameCashResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ChargeGameCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ChargeGameCash(struct soap *soap, _ns1__ChargeGameCash *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ChargeGameCash))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ChargeGameCash(struct soap *soap, const char *tag, int id, _ns1__ChargeGameCash *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ChargeGameCash);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ChargeGameCash ** SOAP_FMAC4 soap_in_PointerTo_ns1__ChargeGameCash(struct soap *soap, const char *tag, _ns1__ChargeGameCash **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ChargeGameCash **)soap_malloc(soap, sizeof(_ns1__ChargeGameCash *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ChargeGameCash *)soap_instantiate__ns1__ChargeGameCash(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ChargeGameCash ** p = (_ns1__ChargeGameCash **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ChargeGameCash, sizeof(_ns1__ChargeGameCash), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ChargeGameCash(struct soap *soap, _ns1__ChargeGameCash *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ChargeGameCash);
if (soap_out_PointerTo_ns1__ChargeGameCash(soap, tag?tag:"ns1:ChargeGameCash", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ChargeGameCash ** SOAP_FMAC4 soap_get_PointerTo_ns1__ChargeGameCash(struct soap *soap, _ns1__ChargeGameCash **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ChargeGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurseWithGameCashResponse(struct soap *soap, _ns1__GetPurseWithGameCashResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurseWithGameCashResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurseWithGameCashResponse(struct soap *soap, const char *tag, int id, _ns1__GetPurseWithGameCashResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurseWithGameCashResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCashResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurseWithGameCashResponse(struct soap *soap, const char *tag, _ns1__GetPurseWithGameCashResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurseWithGameCashResponse **)soap_malloc(soap, sizeof(_ns1__GetPurseWithGameCashResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurseWithGameCashResponse *)soap_instantiate__ns1__GetPurseWithGameCashResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurseWithGameCashResponse ** p = (_ns1__GetPurseWithGameCashResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurseWithGameCashResponse, sizeof(_ns1__GetPurseWithGameCashResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurseWithGameCashResponse(struct soap *soap, _ns1__GetPurseWithGameCashResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCashResponse);
if (soap_out_PointerTo_ns1__GetPurseWithGameCashResponse(soap, tag?tag:"ns1:GetPurseWithGameCashResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCashResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurseWithGameCashResponse(struct soap *soap, _ns1__GetPurseWithGameCashResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurseWithGameCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurseWithGameCash(struct soap *soap, _ns1__GetPurseWithGameCash *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurseWithGameCash))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, int id, _ns1__GetPurseWithGameCash *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurseWithGameCash);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCash ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurseWithGameCash(struct soap *soap, const char *tag, _ns1__GetPurseWithGameCash **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurseWithGameCash **)soap_malloc(soap, sizeof(_ns1__GetPurseWithGameCash *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurseWithGameCash *)soap_instantiate__ns1__GetPurseWithGameCash(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurseWithGameCash ** p = (_ns1__GetPurseWithGameCash **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurseWithGameCash, sizeof(_ns1__GetPurseWithGameCash), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurseWithGameCash(struct soap *soap, _ns1__GetPurseWithGameCash *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurseWithGameCash);
if (soap_out_PointerTo_ns1__GetPurseWithGameCash(soap, tag?tag:"ns1:GetPurseWithGameCash", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurseWithGameCash ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurseWithGameCash(struct soap *soap, _ns1__GetPurseWithGameCash **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurseWithGameCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetRemainAmountResponse(struct soap *soap, _ns1__GetRemainAmountResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetRemainAmountResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetRemainAmountResponse(struct soap *soap, const char *tag, int id, _ns1__GetRemainAmountResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetRemainAmountResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetRemainAmountResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetRemainAmountResponse(struct soap *soap, const char *tag, _ns1__GetRemainAmountResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetRemainAmountResponse **)soap_malloc(soap, sizeof(_ns1__GetRemainAmountResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetRemainAmountResponse *)soap_instantiate__ns1__GetRemainAmountResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetRemainAmountResponse ** p = (_ns1__GetRemainAmountResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetRemainAmountResponse, sizeof(_ns1__GetRemainAmountResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetRemainAmountResponse(struct soap *soap, _ns1__GetRemainAmountResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetRemainAmountResponse);
if (soap_out_PointerTo_ns1__GetRemainAmountResponse(soap, tag?tag:"ns1:GetRemainAmountResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetRemainAmountResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetRemainAmountResponse(struct soap *soap, _ns1__GetRemainAmountResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetRemainAmountResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetRemainAmount(struct soap *soap, _ns1__GetRemainAmount *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetRemainAmount))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetRemainAmount(struct soap *soap, const char *tag, int id, _ns1__GetRemainAmount *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetRemainAmount);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetRemainAmount ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetRemainAmount(struct soap *soap, const char *tag, _ns1__GetRemainAmount **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetRemainAmount **)soap_malloc(soap, sizeof(_ns1__GetRemainAmount *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetRemainAmount *)soap_instantiate__ns1__GetRemainAmount(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetRemainAmount ** p = (_ns1__GetRemainAmount **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetRemainAmount, sizeof(_ns1__GetRemainAmount), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetRemainAmount(struct soap *soap, _ns1__GetRemainAmount *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetRemainAmount);
if (soap_out_PointerTo_ns1__GetRemainAmount(soap, tag?tag:"ns1:GetRemainAmount", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetRemainAmount ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetRemainAmount(struct soap *soap, _ns1__GetRemainAmount **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetRemainAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UseCouponResponse(struct soap *soap, _ns1__UseCouponResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UseCouponResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UseCouponResponse(struct soap *soap, const char *tag, int id, _ns1__UseCouponResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UseCouponResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UseCouponResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UseCouponResponse(struct soap *soap, const char *tag, _ns1__UseCouponResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UseCouponResponse **)soap_malloc(soap, sizeof(_ns1__UseCouponResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UseCouponResponse *)soap_instantiate__ns1__UseCouponResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UseCouponResponse ** p = (_ns1__UseCouponResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UseCouponResponse, sizeof(_ns1__UseCouponResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UseCouponResponse(struct soap *soap, _ns1__UseCouponResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UseCouponResponse);
if (soap_out_PointerTo_ns1__UseCouponResponse(soap, tag?tag:"ns1:UseCouponResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UseCouponResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UseCouponResponse(struct soap *soap, _ns1__UseCouponResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UseCouponResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UseCoupon(struct soap *soap, _ns1__UseCoupon *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UseCoupon))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UseCoupon(struct soap *soap, const char *tag, int id, _ns1__UseCoupon *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UseCoupon);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UseCoupon ** SOAP_FMAC4 soap_in_PointerTo_ns1__UseCoupon(struct soap *soap, const char *tag, _ns1__UseCoupon **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UseCoupon **)soap_malloc(soap, sizeof(_ns1__UseCoupon *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UseCoupon *)soap_instantiate__ns1__UseCoupon(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UseCoupon ** p = (_ns1__UseCoupon **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UseCoupon, sizeof(_ns1__UseCoupon), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UseCoupon(struct soap *soap, _ns1__UseCoupon *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UseCoupon);
if (soap_out_PointerTo_ns1__UseCoupon(soap, tag?tag:"ns1:UseCoupon", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UseCoupon ** SOAP_FMAC4 soap_get_PointerTo_ns1__UseCoupon(struct soap *soap, _ns1__UseCoupon **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UseCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalSendCashResponse(struct soap *soap, _ns1__ApprovalSendCashResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalSendCashResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalSendCashResponse(struct soap *soap, const char *tag, int id, _ns1__ApprovalSendCashResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalSendCashResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCashResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalSendCashResponse(struct soap *soap, const char *tag, _ns1__ApprovalSendCashResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalSendCashResponse **)soap_malloc(soap, sizeof(_ns1__ApprovalSendCashResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalSendCashResponse *)soap_instantiate__ns1__ApprovalSendCashResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalSendCashResponse ** p = (_ns1__ApprovalSendCashResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalSendCashResponse, sizeof(_ns1__ApprovalSendCashResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalSendCashResponse(struct soap *soap, _ns1__ApprovalSendCashResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalSendCashResponse);
if (soap_out_PointerTo_ns1__ApprovalSendCashResponse(soap, tag?tag:"ns1:ApprovalSendCashResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalSendCashResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalSendCashResponse(struct soap *soap, _ns1__ApprovalSendCashResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalSendCashResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalSendCash(struct soap *soap, _ns1__ApprovalSendCash *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalSendCash))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalSendCash(struct soap *soap, const char *tag, int id, _ns1__ApprovalSendCash *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalSendCash);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalSendCash ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalSendCash(struct soap *soap, const char *tag, _ns1__ApprovalSendCash **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalSendCash **)soap_malloc(soap, sizeof(_ns1__ApprovalSendCash *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalSendCash *)soap_instantiate__ns1__ApprovalSendCash(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalSendCash ** p = (_ns1__ApprovalSendCash **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalSendCash, sizeof(_ns1__ApprovalSendCash), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalSendCash(struct soap *soap, _ns1__ApprovalSendCash *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalSendCash);
if (soap_out_PointerTo_ns1__ApprovalSendCash(soap, tag?tag:"ns1:ApprovalSendCash", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalSendCash ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalSendCash(struct soap *soap, _ns1__ApprovalSendCash **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalSendCash(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__RequestEventChargeResponse(struct soap *soap, _ns1__RequestEventChargeResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__RequestEventChargeResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__RequestEventChargeResponse(struct soap *soap, const char *tag, int id, _ns1__RequestEventChargeResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__RequestEventChargeResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__RequestEventChargeResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__RequestEventChargeResponse(struct soap *soap, const char *tag, _ns1__RequestEventChargeResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__RequestEventChargeResponse **)soap_malloc(soap, sizeof(_ns1__RequestEventChargeResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__RequestEventChargeResponse *)soap_instantiate__ns1__RequestEventChargeResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__RequestEventChargeResponse ** p = (_ns1__RequestEventChargeResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__RequestEventChargeResponse, sizeof(_ns1__RequestEventChargeResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__RequestEventChargeResponse(struct soap *soap, _ns1__RequestEventChargeResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__RequestEventChargeResponse);
if (soap_out_PointerTo_ns1__RequestEventChargeResponse(soap, tag?tag:"ns1:RequestEventChargeResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__RequestEventChargeResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__RequestEventChargeResponse(struct soap *soap, _ns1__RequestEventChargeResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__RequestEventChargeResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__RequestEventCharge(struct soap *soap, _ns1__RequestEventCharge *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__RequestEventCharge))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__RequestEventCharge(struct soap *soap, const char *tag, int id, _ns1__RequestEventCharge *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__RequestEventCharge);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__RequestEventCharge ** SOAP_FMAC4 soap_in_PointerTo_ns1__RequestEventCharge(struct soap *soap, const char *tag, _ns1__RequestEventCharge **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__RequestEventCharge **)soap_malloc(soap, sizeof(_ns1__RequestEventCharge *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__RequestEventCharge *)soap_instantiate__ns1__RequestEventCharge(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__RequestEventCharge ** p = (_ns1__RequestEventCharge **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__RequestEventCharge, sizeof(_ns1__RequestEventCharge), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__RequestEventCharge(struct soap *soap, _ns1__RequestEventCharge *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__RequestEventCharge);
if (soap_out_PointerTo_ns1__RequestEventCharge(soap, tag?tag:"ns1:RequestEventCharge", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__RequestEventCharge ** SOAP_FMAC4 soap_get_PointerTo_ns1__RequestEventCharge(struct soap *soap, _ns1__RequestEventCharge **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__RequestEventCharge(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageRollbackResponse(struct soap *soap, _ns1__UsageRollbackResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageRollbackResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageRollbackResponse(struct soap *soap, const char *tag, int id, _ns1__UsageRollbackResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageRollbackResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageRollbackResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageRollbackResponse(struct soap *soap, const char *tag, _ns1__UsageRollbackResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageRollbackResponse **)soap_malloc(soap, sizeof(_ns1__UsageRollbackResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageRollbackResponse *)soap_instantiate__ns1__UsageRollbackResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageRollbackResponse ** p = (_ns1__UsageRollbackResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageRollbackResponse, sizeof(_ns1__UsageRollbackResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageRollbackResponse(struct soap *soap, _ns1__UsageRollbackResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageRollbackResponse);
if (soap_out_PointerTo_ns1__UsageRollbackResponse(soap, tag?tag:"ns1:UsageRollbackResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageRollbackResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageRollbackResponse(struct soap *soap, _ns1__UsageRollbackResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageRollbackResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageRollback(struct soap *soap, _ns1__UsageRollback *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageRollback))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageRollback(struct soap *soap, const char *tag, int id, _ns1__UsageRollback *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageRollback);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageRollback ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageRollback(struct soap *soap, const char *tag, _ns1__UsageRollback **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageRollback **)soap_malloc(soap, sizeof(_ns1__UsageRollback *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageRollback *)soap_instantiate__ns1__UsageRollback(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageRollback ** p = (_ns1__UsageRollback **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageRollback, sizeof(_ns1__UsageRollback), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageRollback(struct soap *soap, _ns1__UsageRollback *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageRollback);
if (soap_out_PointerTo_ns1__UsageRollback(soap, tag?tag:"ns1:UsageRollback", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageRollback ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageRollback(struct soap *soap, _ns1__UsageRollback **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageRollback(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurchaseAmountResponse(struct soap *soap, _ns1__GetPurchaseAmountResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurchaseAmountResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurchaseAmountResponse(struct soap *soap, const char *tag, int id, _ns1__GetPurchaseAmountResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurchaseAmountResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurchaseAmountResponse(struct soap *soap, const char *tag, _ns1__GetPurchaseAmountResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurchaseAmountResponse **)soap_malloc(soap, sizeof(_ns1__GetPurchaseAmountResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurchaseAmountResponse *)soap_instantiate__ns1__GetPurchaseAmountResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurchaseAmountResponse ** p = (_ns1__GetPurchaseAmountResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurchaseAmountResponse, sizeof(_ns1__GetPurchaseAmountResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurchaseAmountResponse(struct soap *soap, _ns1__GetPurchaseAmountResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse);
if (soap_out_PointerTo_ns1__GetPurchaseAmountResponse(soap, tag?tag:"ns1:GetPurchaseAmountResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurchaseAmountResponse(struct soap *soap, _ns1__GetPurchaseAmountResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurchaseAmountResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurchaseAmount(struct soap *soap, _ns1__GetPurchaseAmount *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurchaseAmount))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurchaseAmount(struct soap *soap, const char *tag, int id, _ns1__GetPurchaseAmount *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurchaseAmount);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmount ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurchaseAmount(struct soap *soap, const char *tag, _ns1__GetPurchaseAmount **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurchaseAmount **)soap_malloc(soap, sizeof(_ns1__GetPurchaseAmount *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurchaseAmount *)soap_instantiate__ns1__GetPurchaseAmount(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurchaseAmount ** p = (_ns1__GetPurchaseAmount **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurchaseAmount, sizeof(_ns1__GetPurchaseAmount), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurchaseAmount(struct soap *soap, _ns1__GetPurchaseAmount *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurchaseAmount);
if (soap_out_PointerTo_ns1__GetPurchaseAmount(soap, tag?tag:"ns1:GetPurchaseAmount", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurchaseAmount ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurchaseAmount(struct soap *soap, _ns1__GetPurchaseAmount **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurchaseAmount(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancelByUsageSnResponse(struct soap *soap, _ns1__UsageCancelByUsageSnResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancelByUsageSnResponse(struct soap *soap, const char *tag, int id, _ns1__UsageCancelByUsageSnResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSnResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancelByUsageSnResponse(struct soap *soap, const char *tag, _ns1__UsageCancelByUsageSnResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancelByUsageSnResponse **)soap_malloc(soap, sizeof(_ns1__UsageCancelByUsageSnResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancelByUsageSnResponse *)soap_instantiate__ns1__UsageCancelByUsageSnResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancelByUsageSnResponse ** p = (_ns1__UsageCancelByUsageSnResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancelByUsageSnResponse, sizeof(_ns1__UsageCancelByUsageSnResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancelByUsageSnResponse(struct soap *soap, _ns1__UsageCancelByUsageSnResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSnResponse);
if (soap_out_PointerTo_ns1__UsageCancelByUsageSnResponse(soap, tag?tag:"ns1:UsageCancelByUsageSnResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSnResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancelByUsageSnResponse(struct soap *soap, _ns1__UsageCancelByUsageSnResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancelByUsageSnResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancelByUsageSn(struct soap *soap, _ns1__UsageCancelByUsageSn *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancelByUsageSn))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, int id, _ns1__UsageCancelByUsageSn *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancelByUsageSn);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSn ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancelByUsageSn(struct soap *soap, const char *tag, _ns1__UsageCancelByUsageSn **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancelByUsageSn **)soap_malloc(soap, sizeof(_ns1__UsageCancelByUsageSn *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancelByUsageSn *)soap_instantiate__ns1__UsageCancelByUsageSn(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancelByUsageSn ** p = (_ns1__UsageCancelByUsageSn **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancelByUsageSn, sizeof(_ns1__UsageCancelByUsageSn), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancelByUsageSn(struct soap *soap, _ns1__UsageCancelByUsageSn *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancelByUsageSn);
if (soap_out_PointerTo_ns1__UsageCancelByUsageSn(soap, tag?tag:"ns1:UsageCancelByUsageSn", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancelByUsageSn ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancelByUsageSn(struct soap *soap, _ns1__UsageCancelByUsageSn **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancelByUsageSn(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancelResponse(struct soap *soap, _ns1__UsageCancelResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancelResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancelResponse(struct soap *soap, const char *tag, int id, _ns1__UsageCancelResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancelResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancelResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancelResponse(struct soap *soap, const char *tag, _ns1__UsageCancelResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancelResponse **)soap_malloc(soap, sizeof(_ns1__UsageCancelResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancelResponse *)soap_instantiate__ns1__UsageCancelResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancelResponse ** p = (_ns1__UsageCancelResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancelResponse, sizeof(_ns1__UsageCancelResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancelResponse(struct soap *soap, _ns1__UsageCancelResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancelResponse);
if (soap_out_PointerTo_ns1__UsageCancelResponse(soap, tag?tag:"ns1:UsageCancelResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancelResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancelResponse(struct soap *soap, _ns1__UsageCancelResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageCancel(struct soap *soap, _ns1__UsageCancel *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageCancel))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageCancel(struct soap *soap, const char *tag, int id, _ns1__UsageCancel *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageCancel);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageCancel ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageCancel(struct soap *soap, const char *tag, _ns1__UsageCancel **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageCancel **)soap_malloc(soap, sizeof(_ns1__UsageCancel *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageCancel *)soap_instantiate__ns1__UsageCancel(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageCancel ** p = (_ns1__UsageCancel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageCancel, sizeof(_ns1__UsageCancel), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageCancel(struct soap *soap, _ns1__UsageCancel *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageCancel);
if (soap_out_PointerTo_ns1__UsageCancel(soap, tag?tag:"ns1:UsageCancel", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageCancel ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageCancel(struct soap *soap, _ns1__UsageCancel **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageCancel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ChargeForNeopleCouponResponse(struct soap *soap, _ns1__ChargeForNeopleCouponResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ChargeForNeopleCouponResponse(struct soap *soap, const char *tag, int id, _ns1__ChargeForNeopleCouponResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCouponResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ChargeForNeopleCouponResponse(struct soap *soap, const char *tag, _ns1__ChargeForNeopleCouponResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ChargeForNeopleCouponResponse **)soap_malloc(soap, sizeof(_ns1__ChargeForNeopleCouponResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ChargeForNeopleCouponResponse *)soap_instantiate__ns1__ChargeForNeopleCouponResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ChargeForNeopleCouponResponse ** p = (_ns1__ChargeForNeopleCouponResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ChargeForNeopleCouponResponse, sizeof(_ns1__ChargeForNeopleCouponResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ChargeForNeopleCouponResponse(struct soap *soap, _ns1__ChargeForNeopleCouponResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCouponResponse);
if (soap_out_PointerTo_ns1__ChargeForNeopleCouponResponse(soap, tag?tag:"ns1:ChargeForNeopleCouponResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCouponResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ChargeForNeopleCouponResponse(struct soap *soap, _ns1__ChargeForNeopleCouponResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ChargeForNeopleCouponResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ChargeForNeopleCoupon(struct soap *soap, _ns1__ChargeForNeopleCoupon *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ChargeForNeopleCoupon))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, int id, _ns1__ChargeForNeopleCoupon *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ChargeForNeopleCoupon);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCoupon ** SOAP_FMAC4 soap_in_PointerTo_ns1__ChargeForNeopleCoupon(struct soap *soap, const char *tag, _ns1__ChargeForNeopleCoupon **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ChargeForNeopleCoupon **)soap_malloc(soap, sizeof(_ns1__ChargeForNeopleCoupon *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ChargeForNeopleCoupon *)soap_instantiate__ns1__ChargeForNeopleCoupon(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ChargeForNeopleCoupon ** p = (_ns1__ChargeForNeopleCoupon **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ChargeForNeopleCoupon, sizeof(_ns1__ChargeForNeopleCoupon), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ChargeForNeopleCoupon(struct soap *soap, _ns1__ChargeForNeopleCoupon *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ChargeForNeopleCoupon);
if (soap_out_PointerTo_ns1__ChargeForNeopleCoupon(soap, tag?tag:"ns1:ChargeForNeopleCoupon", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ChargeForNeopleCoupon ** SOAP_FMAC4 soap_get_PointerTo_ns1__ChargeForNeopleCoupon(struct soap *soap, _ns1__ChargeForNeopleCoupon **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ChargeForNeopleCoupon(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetCashReceiptListResponse(struct soap *soap, _ns1__GetCashReceiptListResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetCashReceiptListResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetCashReceiptListResponse(struct soap *soap, const char *tag, int id, _ns1__GetCashReceiptListResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetCashReceiptListResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetCashReceiptListResponse(struct soap *soap, const char *tag, _ns1__GetCashReceiptListResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetCashReceiptListResponse **)soap_malloc(soap, sizeof(_ns1__GetCashReceiptListResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetCashReceiptListResponse *)soap_instantiate__ns1__GetCashReceiptListResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetCashReceiptListResponse ** p = (_ns1__GetCashReceiptListResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetCashReceiptListResponse, sizeof(_ns1__GetCashReceiptListResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetCashReceiptListResponse(struct soap *soap, _ns1__GetCashReceiptListResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse);
if (soap_out_PointerTo_ns1__GetCashReceiptListResponse(soap, tag?tag:"ns1:GetCashReceiptListResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetCashReceiptListResponse(struct soap *soap, _ns1__GetCashReceiptListResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetCashReceiptListResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetCashReceiptList(struct soap *soap, _ns1__GetCashReceiptList *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetCashReceiptList))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetCashReceiptList(struct soap *soap, const char *tag, int id, _ns1__GetCashReceiptList *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetCashReceiptList);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptList ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetCashReceiptList(struct soap *soap, const char *tag, _ns1__GetCashReceiptList **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetCashReceiptList **)soap_malloc(soap, sizeof(_ns1__GetCashReceiptList *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetCashReceiptList *)soap_instantiate__ns1__GetCashReceiptList(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetCashReceiptList ** p = (_ns1__GetCashReceiptList **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetCashReceiptList, sizeof(_ns1__GetCashReceiptList), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetCashReceiptList(struct soap *soap, _ns1__GetCashReceiptList *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetCashReceiptList);
if (soap_out_PointerTo_ns1__GetCashReceiptList(soap, tag?tag:"ns1:GetCashReceiptList", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetCashReceiptList ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetCashReceiptList(struct soap *soap, _ns1__GetCashReceiptList **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetCashReceiptList(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__CheckUsageResponse(struct soap *soap, _ns1__CheckUsageResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__CheckUsageResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__CheckUsageResponse(struct soap *soap, const char *tag, int id, _ns1__CheckUsageResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__CheckUsageResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__CheckUsageResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__CheckUsageResponse(struct soap *soap, const char *tag, _ns1__CheckUsageResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__CheckUsageResponse **)soap_malloc(soap, sizeof(_ns1__CheckUsageResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__CheckUsageResponse *)soap_instantiate__ns1__CheckUsageResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__CheckUsageResponse ** p = (_ns1__CheckUsageResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__CheckUsageResponse, sizeof(_ns1__CheckUsageResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__CheckUsageResponse(struct soap *soap, _ns1__CheckUsageResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__CheckUsageResponse);
if (soap_out_PointerTo_ns1__CheckUsageResponse(soap, tag?tag:"ns1:CheckUsageResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__CheckUsageResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__CheckUsageResponse(struct soap *soap, _ns1__CheckUsageResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__CheckUsageResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__CheckUsage(struct soap *soap, _ns1__CheckUsage *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__CheckUsage))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__CheckUsage(struct soap *soap, const char *tag, int id, _ns1__CheckUsage *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__CheckUsage);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__CheckUsage ** SOAP_FMAC4 soap_in_PointerTo_ns1__CheckUsage(struct soap *soap, const char *tag, _ns1__CheckUsage **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__CheckUsage **)soap_malloc(soap, sizeof(_ns1__CheckUsage *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__CheckUsage *)soap_instantiate__ns1__CheckUsage(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__CheckUsage ** p = (_ns1__CheckUsage **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__CheckUsage, sizeof(_ns1__CheckUsage), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__CheckUsage(struct soap *soap, _ns1__CheckUsage *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__CheckUsage);
if (soap_out_PointerTo_ns1__CheckUsage(soap, tag?tag:"ns1:CheckUsage", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__CheckUsage ** SOAP_FMAC4 soap_get_PointerTo_ns1__CheckUsage(struct soap *soap, _ns1__CheckUsage **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__CheckUsage(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PresentExtendResponse(struct soap *soap, _ns1__PresentExtendResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PresentExtendResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PresentExtendResponse(struct soap *soap, const char *tag, int id, _ns1__PresentExtendResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PresentExtendResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PresentExtendResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PresentExtendResponse(struct soap *soap, const char *tag, _ns1__PresentExtendResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PresentExtendResponse **)soap_malloc(soap, sizeof(_ns1__PresentExtendResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PresentExtendResponse *)soap_instantiate__ns1__PresentExtendResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PresentExtendResponse ** p = (_ns1__PresentExtendResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PresentExtendResponse, sizeof(_ns1__PresentExtendResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PresentExtendResponse(struct soap *soap, _ns1__PresentExtendResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PresentExtendResponse);
if (soap_out_PointerTo_ns1__PresentExtendResponse(soap, tag?tag:"ns1:PresentExtendResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PresentExtendResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PresentExtendResponse(struct soap *soap, _ns1__PresentExtendResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PresentExtendResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PresentExtend(struct soap *soap, _ns1__PresentExtend *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PresentExtend))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PresentExtend(struct soap *soap, const char *tag, int id, _ns1__PresentExtend *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PresentExtend);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PresentExtend ** SOAP_FMAC4 soap_in_PointerTo_ns1__PresentExtend(struct soap *soap, const char *tag, _ns1__PresentExtend **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PresentExtend **)soap_malloc(soap, sizeof(_ns1__PresentExtend *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PresentExtend *)soap_instantiate__ns1__PresentExtend(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PresentExtend ** p = (_ns1__PresentExtend **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PresentExtend, sizeof(_ns1__PresentExtend), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PresentExtend(struct soap *soap, _ns1__PresentExtend *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PresentExtend);
if (soap_out_PointerTo_ns1__PresentExtend(soap, tag?tag:"ns1:PresentExtend", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PresentExtend ** SOAP_FMAC4 soap_get_PointerTo_ns1__PresentExtend(struct soap *soap, _ns1__PresentExtend **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PresentExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PresentChannelResponse(struct soap *soap, _ns1__PresentChannelResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PresentChannelResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PresentChannelResponse(struct soap *soap, const char *tag, int id, _ns1__PresentChannelResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PresentChannelResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PresentChannelResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PresentChannelResponse(struct soap *soap, const char *tag, _ns1__PresentChannelResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PresentChannelResponse **)soap_malloc(soap, sizeof(_ns1__PresentChannelResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PresentChannelResponse *)soap_instantiate__ns1__PresentChannelResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PresentChannelResponse ** p = (_ns1__PresentChannelResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PresentChannelResponse, sizeof(_ns1__PresentChannelResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PresentChannelResponse(struct soap *soap, _ns1__PresentChannelResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PresentChannelResponse);
if (soap_out_PointerTo_ns1__PresentChannelResponse(soap, tag?tag:"ns1:PresentChannelResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PresentChannelResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PresentChannelResponse(struct soap *soap, _ns1__PresentChannelResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PresentChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PresentChannel(struct soap *soap, _ns1__PresentChannel *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PresentChannel))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PresentChannel(struct soap *soap, const char *tag, int id, _ns1__PresentChannel *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PresentChannel);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PresentChannel ** SOAP_FMAC4 soap_in_PointerTo_ns1__PresentChannel(struct soap *soap, const char *tag, _ns1__PresentChannel **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PresentChannel **)soap_malloc(soap, sizeof(_ns1__PresentChannel *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PresentChannel *)soap_instantiate__ns1__PresentChannel(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PresentChannel ** p = (_ns1__PresentChannel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PresentChannel, sizeof(_ns1__PresentChannel), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PresentChannel(struct soap *soap, _ns1__PresentChannel *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PresentChannel);
if (soap_out_PointerTo_ns1__PresentChannel(soap, tag?tag:"ns1:PresentChannel", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PresentChannel ** SOAP_FMAC4 soap_get_PointerTo_ns1__PresentChannel(struct soap *soap, _ns1__PresentChannel **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PresentChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PresentResponse(struct soap *soap, _ns1__PresentResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PresentResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PresentResponse(struct soap *soap, const char *tag, int id, _ns1__PresentResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PresentResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PresentResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PresentResponse(struct soap *soap, const char *tag, _ns1__PresentResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PresentResponse **)soap_malloc(soap, sizeof(_ns1__PresentResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PresentResponse *)soap_instantiate__ns1__PresentResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PresentResponse ** p = (_ns1__PresentResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PresentResponse, sizeof(_ns1__PresentResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PresentResponse(struct soap *soap, _ns1__PresentResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PresentResponse);
if (soap_out_PointerTo_ns1__PresentResponse(soap, tag?tag:"ns1:PresentResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PresentResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PresentResponse(struct soap *soap, _ns1__PresentResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PresentResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__Present(struct soap *soap, _ns1__Present *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__Present))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__Present(struct soap *soap, const char *tag, int id, _ns1__Present *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__Present);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__Present ** SOAP_FMAC4 soap_in_PointerTo_ns1__Present(struct soap *soap, const char *tag, _ns1__Present **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__Present **)soap_malloc(soap, sizeof(_ns1__Present *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__Present *)soap_instantiate__ns1__Present(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__Present ** p = (_ns1__Present **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__Present, sizeof(_ns1__Present), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__Present(struct soap *soap, _ns1__Present *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__Present);
if (soap_out_PointerTo_ns1__Present(soap, tag?tag:"ns1:Present", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__Present ** SOAP_FMAC4 soap_get_PointerTo_ns1__Present(struct soap *soap, _ns1__Present **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__Present(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, _ns1__ApprovalCashChange_USCOREChannelingResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, const char *tag, int id, _ns1__ApprovalCashChange_USCOREChannelingResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChannelingResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, const char *tag, _ns1__ApprovalCashChange_USCOREChannelingResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalCashChange_USCOREChannelingResponse **)soap_malloc(soap, sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalCashChange_USCOREChannelingResponse *)soap_instantiate__ns1__ApprovalCashChange_USCOREChannelingResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalCashChange_USCOREChannelingResponse ** p = (_ns1__ApprovalCashChange_USCOREChannelingResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChannelingResponse, sizeof(_ns1__ApprovalCashChange_USCOREChannelingResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, _ns1__ApprovalCashChange_USCOREChannelingResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse);
if (soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag?tag:"ns1:ApprovalCashChange_ChannelingResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChannelingResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(struct soap *soap, _ns1__ApprovalCashChange_USCOREChannelingResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChannelingResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, _ns1__ApprovalCashChange_USCOREChanneling *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, int id, _ns1__ApprovalCashChange_USCOREChanneling *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChanneling ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, const char *tag, _ns1__ApprovalCashChange_USCOREChanneling **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalCashChange_USCOREChanneling **)soap_malloc(soap, sizeof(_ns1__ApprovalCashChange_USCOREChanneling *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalCashChange_USCOREChanneling *)soap_instantiate__ns1__ApprovalCashChange_USCOREChanneling(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalCashChange_USCOREChanneling ** p = (_ns1__ApprovalCashChange_USCOREChanneling **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalCashChange_USCOREChanneling, sizeof(_ns1__ApprovalCashChange_USCOREChanneling), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, _ns1__ApprovalCashChange_USCOREChanneling *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalCashChange_USCOREChanneling);
if (soap_out_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, tag?tag:"ns1:ApprovalCashChange_Channeling", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalCashChange_USCOREChanneling ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(struct soap *soap, _ns1__ApprovalCashChange_USCOREChanneling **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalCashChange_USCOREChanneling(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__Purchase_USCOREExResponse(struct soap *soap, _ns1__Purchase_USCOREExResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__Purchase_USCOREExResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__Purchase_USCOREExResponse(struct soap *soap, const char *tag, int id, _ns1__Purchase_USCOREExResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__Purchase_USCOREExResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREExResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__Purchase_USCOREExResponse(struct soap *soap, const char *tag, _ns1__Purchase_USCOREExResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__Purchase_USCOREExResponse **)soap_malloc(soap, sizeof(_ns1__Purchase_USCOREExResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__Purchase_USCOREExResponse *)soap_instantiate__ns1__Purchase_USCOREExResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__Purchase_USCOREExResponse ** p = (_ns1__Purchase_USCOREExResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__Purchase_USCOREExResponse, sizeof(_ns1__Purchase_USCOREExResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__Purchase_USCOREExResponse(struct soap *soap, _ns1__Purchase_USCOREExResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__Purchase_USCOREExResponse);
if (soap_out_PointerTo_ns1__Purchase_USCOREExResponse(soap, tag?tag:"ns1:Purchase_ExResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__Purchase_USCOREExResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__Purchase_USCOREExResponse(struct soap *soap, _ns1__Purchase_USCOREExResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__Purchase_USCOREExResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__Purchase_USCOREEx(struct soap *soap, _ns1__Purchase_USCOREEx *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__Purchase_USCOREEx))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, int id, _ns1__Purchase_USCOREEx *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__Purchase_USCOREEx);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__Purchase_USCOREEx ** SOAP_FMAC4 soap_in_PointerTo_ns1__Purchase_USCOREEx(struct soap *soap, const char *tag, _ns1__Purchase_USCOREEx **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__Purchase_USCOREEx **)soap_malloc(soap, sizeof(_ns1__Purchase_USCOREEx *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__Purchase_USCOREEx *)soap_instantiate__ns1__Purchase_USCOREEx(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__Purchase_USCOREEx ** p = (_ns1__Purchase_USCOREEx **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__Purchase_USCOREEx, sizeof(_ns1__Purchase_USCOREEx), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__Purchase_USCOREEx(struct soap *soap, _ns1__Purchase_USCOREEx *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__Purchase_USCOREEx);
if (soap_out_PointerTo_ns1__Purchase_USCOREEx(soap, tag?tag:"ns1:Purchase_Ex", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__Purchase_USCOREEx ** SOAP_FMAC4 soap_get_PointerTo_ns1__Purchase_USCOREEx(struct soap *soap, _ns1__Purchase_USCOREEx **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__Purchase_USCOREEx(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PurchaseExtendResponse(struct soap *soap, _ns1__PurchaseExtendResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PurchaseExtendResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PurchaseExtendResponse(struct soap *soap, const char *tag, int id, _ns1__PurchaseExtendResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PurchaseExtendResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PurchaseExtendResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PurchaseExtendResponse(struct soap *soap, const char *tag, _ns1__PurchaseExtendResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PurchaseExtendResponse **)soap_malloc(soap, sizeof(_ns1__PurchaseExtendResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PurchaseExtendResponse *)soap_instantiate__ns1__PurchaseExtendResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PurchaseExtendResponse ** p = (_ns1__PurchaseExtendResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PurchaseExtendResponse, sizeof(_ns1__PurchaseExtendResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PurchaseExtendResponse(struct soap *soap, _ns1__PurchaseExtendResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PurchaseExtendResponse);
if (soap_out_PointerTo_ns1__PurchaseExtendResponse(soap, tag?tag:"ns1:PurchaseExtendResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PurchaseExtendResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PurchaseExtendResponse(struct soap *soap, _ns1__PurchaseExtendResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PurchaseExtendResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PurchaseExtend(struct soap *soap, _ns1__PurchaseExtend *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PurchaseExtend))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PurchaseExtend(struct soap *soap, const char *tag, int id, _ns1__PurchaseExtend *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PurchaseExtend);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PurchaseExtend ** SOAP_FMAC4 soap_in_PointerTo_ns1__PurchaseExtend(struct soap *soap, const char *tag, _ns1__PurchaseExtend **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PurchaseExtend **)soap_malloc(soap, sizeof(_ns1__PurchaseExtend *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PurchaseExtend *)soap_instantiate__ns1__PurchaseExtend(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PurchaseExtend ** p = (_ns1__PurchaseExtend **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PurchaseExtend, sizeof(_ns1__PurchaseExtend), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PurchaseExtend(struct soap *soap, _ns1__PurchaseExtend *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PurchaseExtend);
if (soap_out_PointerTo_ns1__PurchaseExtend(soap, tag?tag:"ns1:PurchaseExtend", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PurchaseExtend ** SOAP_FMAC4 soap_get_PointerTo_ns1__PurchaseExtend(struct soap *soap, _ns1__PurchaseExtend **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PurchaseExtend(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PurchaseChannelResponse(struct soap *soap, _ns1__PurchaseChannelResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PurchaseChannelResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PurchaseChannelResponse(struct soap *soap, const char *tag, int id, _ns1__PurchaseChannelResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PurchaseChannelResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PurchaseChannelResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PurchaseChannelResponse(struct soap *soap, const char *tag, _ns1__PurchaseChannelResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PurchaseChannelResponse **)soap_malloc(soap, sizeof(_ns1__PurchaseChannelResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PurchaseChannelResponse *)soap_instantiate__ns1__PurchaseChannelResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PurchaseChannelResponse ** p = (_ns1__PurchaseChannelResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PurchaseChannelResponse, sizeof(_ns1__PurchaseChannelResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PurchaseChannelResponse(struct soap *soap, _ns1__PurchaseChannelResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PurchaseChannelResponse);
if (soap_out_PointerTo_ns1__PurchaseChannelResponse(soap, tag?tag:"ns1:PurchaseChannelResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PurchaseChannelResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PurchaseChannelResponse(struct soap *soap, _ns1__PurchaseChannelResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PurchaseChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PurchaseChannel(struct soap *soap, _ns1__PurchaseChannel *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PurchaseChannel))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PurchaseChannel(struct soap *soap, const char *tag, int id, _ns1__PurchaseChannel *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PurchaseChannel);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PurchaseChannel ** SOAP_FMAC4 soap_in_PointerTo_ns1__PurchaseChannel(struct soap *soap, const char *tag, _ns1__PurchaseChannel **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PurchaseChannel **)soap_malloc(soap, sizeof(_ns1__PurchaseChannel *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PurchaseChannel *)soap_instantiate__ns1__PurchaseChannel(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PurchaseChannel ** p = (_ns1__PurchaseChannel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PurchaseChannel, sizeof(_ns1__PurchaseChannel), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PurchaseChannel(struct soap *soap, _ns1__PurchaseChannel *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PurchaseChannel);
if (soap_out_PointerTo_ns1__PurchaseChannel(soap, tag?tag:"ns1:PurchaseChannel", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PurchaseChannel ** SOAP_FMAC4 soap_get_PointerTo_ns1__PurchaseChannel(struct soap *soap, _ns1__PurchaseChannel **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PurchaseChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__PurchaseResponse(struct soap *soap, _ns1__PurchaseResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__PurchaseResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__PurchaseResponse(struct soap *soap, const char *tag, int id, _ns1__PurchaseResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__PurchaseResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__PurchaseResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__PurchaseResponse(struct soap *soap, const char *tag, _ns1__PurchaseResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__PurchaseResponse **)soap_malloc(soap, sizeof(_ns1__PurchaseResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__PurchaseResponse *)soap_instantiate__ns1__PurchaseResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__PurchaseResponse ** p = (_ns1__PurchaseResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__PurchaseResponse, sizeof(_ns1__PurchaseResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__PurchaseResponse(struct soap *soap, _ns1__PurchaseResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__PurchaseResponse);
if (soap_out_PointerTo_ns1__PurchaseResponse(soap, tag?tag:"ns1:PurchaseResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__PurchaseResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__PurchaseResponse(struct soap *soap, _ns1__PurchaseResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__PurchaseResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__Purchase(struct soap *soap, _ns1__Purchase *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__Purchase))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__Purchase(struct soap *soap, const char *tag, int id, _ns1__Purchase *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__Purchase);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__Purchase ** SOAP_FMAC4 soap_in_PointerTo_ns1__Purchase(struct soap *soap, const char *tag, _ns1__Purchase **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__Purchase **)soap_malloc(soap, sizeof(_ns1__Purchase *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__Purchase *)soap_instantiate__ns1__Purchase(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__Purchase ** p = (_ns1__Purchase **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__Purchase, sizeof(_ns1__Purchase), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__Purchase(struct soap *soap, _ns1__Purchase *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__Purchase);
if (soap_out_PointerTo_ns1__Purchase(soap, tag?tag:"ns1:Purchase", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__Purchase ** SOAP_FMAC4 soap_get_PointerTo_ns1__Purchase(struct soap *soap, _ns1__Purchase **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__Purchase(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetChannelingCashRemainResponse(struct soap *soap, _ns1__GetChannelingCashRemainResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetChannelingCashRemainResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetChannelingCashRemainResponse(struct soap *soap, const char *tag, int id, _ns1__GetChannelingCashRemainResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetChannelingCashRemainResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemainResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetChannelingCashRemainResponse(struct soap *soap, const char *tag, _ns1__GetChannelingCashRemainResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetChannelingCashRemainResponse **)soap_malloc(soap, sizeof(_ns1__GetChannelingCashRemainResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetChannelingCashRemainResponse *)soap_instantiate__ns1__GetChannelingCashRemainResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetChannelingCashRemainResponse ** p = (_ns1__GetChannelingCashRemainResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetChannelingCashRemainResponse, sizeof(_ns1__GetChannelingCashRemainResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetChannelingCashRemainResponse(struct soap *soap, _ns1__GetChannelingCashRemainResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemainResponse);
if (soap_out_PointerTo_ns1__GetChannelingCashRemainResponse(soap, tag?tag:"ns1:GetChannelingCashRemainResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemainResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetChannelingCashRemainResponse(struct soap *soap, _ns1__GetChannelingCashRemainResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetChannelingCashRemainResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetChannelingCashRemain(struct soap *soap, _ns1__GetChannelingCashRemain *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetChannelingCashRemain))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, int id, _ns1__GetChannelingCashRemain *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetChannelingCashRemain);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemain ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetChannelingCashRemain(struct soap *soap, const char *tag, _ns1__GetChannelingCashRemain **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetChannelingCashRemain **)soap_malloc(soap, sizeof(_ns1__GetChannelingCashRemain *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetChannelingCashRemain *)soap_instantiate__ns1__GetChannelingCashRemain(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetChannelingCashRemain ** p = (_ns1__GetChannelingCashRemain **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetChannelingCashRemain, sizeof(_ns1__GetChannelingCashRemain), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetChannelingCashRemain(struct soap *soap, _ns1__GetChannelingCashRemain *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetChannelingCashRemain);
if (soap_out_PointerTo_ns1__GetChannelingCashRemain(soap, tag?tag:"ns1:GetChannelingCashRemain", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetChannelingCashRemain ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetChannelingCashRemain(struct soap *soap, _ns1__GetChannelingCashRemain **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetChannelingCashRemain(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurseByChannelResponse(struct soap *soap, _ns1__GetPurseByChannelResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurseByChannelResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurseByChannelResponse(struct soap *soap, const char *tag, int id, _ns1__GetPurseByChannelResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurseByChannelResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannelResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurseByChannelResponse(struct soap *soap, const char *tag, _ns1__GetPurseByChannelResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurseByChannelResponse **)soap_malloc(soap, sizeof(_ns1__GetPurseByChannelResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurseByChannelResponse *)soap_instantiate__ns1__GetPurseByChannelResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurseByChannelResponse ** p = (_ns1__GetPurseByChannelResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurseByChannelResponse, sizeof(_ns1__GetPurseByChannelResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurseByChannelResponse(struct soap *soap, _ns1__GetPurseByChannelResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurseByChannelResponse);
if (soap_out_PointerTo_ns1__GetPurseByChannelResponse(soap, tag?tag:"ns1:GetPurseByChannelResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurseByChannelResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurseByChannelResponse(struct soap *soap, _ns1__GetPurseByChannelResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurseByChannelResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurseByChannel(struct soap *soap, _ns1__GetPurseByChannel *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurseByChannel))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurseByChannel(struct soap *soap, const char *tag, int id, _ns1__GetPurseByChannel *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurseByChannel);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurseByChannel ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurseByChannel(struct soap *soap, const char *tag, _ns1__GetPurseByChannel **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurseByChannel **)soap_malloc(soap, sizeof(_ns1__GetPurseByChannel *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurseByChannel *)soap_instantiate__ns1__GetPurseByChannel(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurseByChannel ** p = (_ns1__GetPurseByChannel **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurseByChannel, sizeof(_ns1__GetPurseByChannel), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurseByChannel(struct soap *soap, _ns1__GetPurseByChannel *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurseByChannel);
if (soap_out_PointerTo_ns1__GetPurseByChannel(soap, tag?tag:"ns1:GetPurseByChannel", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurseByChannel ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurseByChannel(struct soap *soap, _ns1__GetPurseByChannel **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurseByChannel(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurseResponse(struct soap *soap, _ns1__GetPurseResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurseResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurseResponse(struct soap *soap, const char *tag, int id, _ns1__GetPurseResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurseResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurseResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurseResponse(struct soap *soap, const char *tag, _ns1__GetPurseResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurseResponse **)soap_malloc(soap, sizeof(_ns1__GetPurseResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurseResponse *)soap_instantiate__ns1__GetPurseResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurseResponse ** p = (_ns1__GetPurseResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurseResponse, sizeof(_ns1__GetPurseResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurseResponse(struct soap *soap, _ns1__GetPurseResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurseResponse);
if (soap_out_PointerTo_ns1__GetPurseResponse(soap, tag?tag:"ns1:GetPurseResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurseResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurseResponse(struct soap *soap, _ns1__GetPurseResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurseResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurse(struct soap *soap, _ns1__GetPurse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurse(struct soap *soap, const char *tag, int id, _ns1__GetPurse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurse ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurse(struct soap *soap, const char *tag, _ns1__GetPurse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurse **)soap_malloc(soap, sizeof(_ns1__GetPurse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurse *)soap_instantiate__ns1__GetPurse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurse ** p = (_ns1__GetPurse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurse, sizeof(_ns1__GetPurse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurse(struct soap *soap, _ns1__GetPurse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurse);
if (soap_out_PointerTo_ns1__GetPurse(soap, tag?tag:"ns1:GetPurse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurse ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurse(struct soap *soap, _ns1__GetPurse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ISBillingUserResponse(struct soap *soap, _ns1__ISBillingUserResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ISBillingUserResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ISBillingUserResponse(struct soap *soap, const char *tag, int id, _ns1__ISBillingUserResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ISBillingUserResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ISBillingUserResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ISBillingUserResponse(struct soap *soap, const char *tag, _ns1__ISBillingUserResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ISBillingUserResponse **)soap_malloc(soap, sizeof(_ns1__ISBillingUserResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ISBillingUserResponse *)soap_instantiate__ns1__ISBillingUserResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ISBillingUserResponse ** p = (_ns1__ISBillingUserResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ISBillingUserResponse, sizeof(_ns1__ISBillingUserResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ISBillingUserResponse(struct soap *soap, _ns1__ISBillingUserResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ISBillingUserResponse);
if (soap_out_PointerTo_ns1__ISBillingUserResponse(soap, tag?tag:"ns1:ISBillingUserResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ISBillingUserResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ISBillingUserResponse(struct soap *soap, _ns1__ISBillingUserResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ISBillingUserResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ISBillingUser(struct soap *soap, _ns1__ISBillingUser *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ISBillingUser))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ISBillingUser(struct soap *soap, const char *tag, int id, _ns1__ISBillingUser *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ISBillingUser);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ISBillingUser ** SOAP_FMAC4 soap_in_PointerTo_ns1__ISBillingUser(struct soap *soap, const char *tag, _ns1__ISBillingUser **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ISBillingUser **)soap_malloc(soap, sizeof(_ns1__ISBillingUser *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ISBillingUser *)soap_instantiate__ns1__ISBillingUser(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ISBillingUser ** p = (_ns1__ISBillingUser **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ISBillingUser, sizeof(_ns1__ISBillingUser), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ISBillingUser(struct soap *soap, _ns1__ISBillingUser *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ISBillingUser);
if (soap_out_PointerTo_ns1__ISBillingUser(soap, tag?tag:"ns1:ISBillingUser", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ISBillingUser ** SOAP_FMAC4 soap_get_PointerTo_ns1__ISBillingUser(struct soap *soap, _ns1__ISBillingUser **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ISBillingUser(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__LastUsageInfoResponse(struct soap *soap, _ns1__LastUsageInfoResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__LastUsageInfoResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__LastUsageInfoResponse(struct soap *soap, const char *tag, int id, _ns1__LastUsageInfoResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__LastUsageInfoResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__LastUsageInfoResponse(struct soap *soap, const char *tag, _ns1__LastUsageInfoResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__LastUsageInfoResponse **)soap_malloc(soap, sizeof(_ns1__LastUsageInfoResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__LastUsageInfoResponse *)soap_instantiate__ns1__LastUsageInfoResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__LastUsageInfoResponse ** p = (_ns1__LastUsageInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__LastUsageInfoResponse, sizeof(_ns1__LastUsageInfoResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__LastUsageInfoResponse(struct soap *soap, _ns1__LastUsageInfoResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse);
if (soap_out_PointerTo_ns1__LastUsageInfoResponse(soap, tag?tag:"ns1:LastUsageInfoResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__LastUsageInfoResponse(struct soap *soap, _ns1__LastUsageInfoResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__LastUsageInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__LastUsageInfo(struct soap *soap, _ns1__LastUsageInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__LastUsageInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__LastUsageInfo(struct soap *soap, const char *tag, int id, _ns1__LastUsageInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__LastUsageInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__LastUsageInfo ** SOAP_FMAC4 soap_in_PointerTo_ns1__LastUsageInfo(struct soap *soap, const char *tag, _ns1__LastUsageInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__LastUsageInfo **)soap_malloc(soap, sizeof(_ns1__LastUsageInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__LastUsageInfo *)soap_instantiate__ns1__LastUsageInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__LastUsageInfo ** p = (_ns1__LastUsageInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__LastUsageInfo, sizeof(_ns1__LastUsageInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__LastUsageInfo(struct soap *soap, _ns1__LastUsageInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__LastUsageInfo);
if (soap_out_PointerTo_ns1__LastUsageInfo(soap, tag?tag:"ns1:LastUsageInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__LastUsageInfo ** SOAP_FMAC4 soap_get_PointerTo_ns1__LastUsageInfo(struct soap *soap, _ns1__LastUsageInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__LastUsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageInfoResponse(struct soap *soap, _ns1__UsageInfoResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageInfoResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageInfoResponse(struct soap *soap, const char *tag, int id, _ns1__UsageInfoResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageInfoResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageInfoResponse(struct soap *soap, const char *tag, _ns1__UsageInfoResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageInfoResponse **)soap_malloc(soap, sizeof(_ns1__UsageInfoResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageInfoResponse *)soap_instantiate__ns1__UsageInfoResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageInfoResponse ** p = (_ns1__UsageInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageInfoResponse, sizeof(_ns1__UsageInfoResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageInfoResponse(struct soap *soap, _ns1__UsageInfoResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageInfoResponse);
if (soap_out_PointerTo_ns1__UsageInfoResponse(soap, tag?tag:"ns1:UsageInfoResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageInfoResponse(struct soap *soap, _ns1__UsageInfoResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageInfo(struct soap *soap, _ns1__UsageInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageInfo(struct soap *soap, const char *tag, int id, _ns1__UsageInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageInfo ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageInfo(struct soap *soap, const char *tag, _ns1__UsageInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageInfo **)soap_malloc(soap, sizeof(_ns1__UsageInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageInfo *)soap_instantiate__ns1__UsageInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageInfo ** p = (_ns1__UsageInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageInfo, sizeof(_ns1__UsageInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageInfo(struct soap *soap, _ns1__UsageInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageInfo);
if (soap_out_PointerTo_ns1__UsageInfo(soap, tag?tag:"ns1:UsageInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageInfo ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageInfo(struct soap *soap, _ns1__UsageInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalPaidInfoResponse(struct soap *soap, _ns1__ApprovalPaidInfoResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalPaidInfoResponse(struct soap *soap, const char *tag, int id, _ns1__ApprovalPaidInfoResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalPaidInfoResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalPaidInfoResponse(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfoResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalPaidInfoResponse **)soap_malloc(soap, sizeof(_ns1__ApprovalPaidInfoResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalPaidInfoResponse *)soap_instantiate__ns1__ApprovalPaidInfoResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalPaidInfoResponse ** p = (_ns1__ApprovalPaidInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse, sizeof(_ns1__ApprovalPaidInfoResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalPaidInfoResponse(struct soap *soap, _ns1__ApprovalPaidInfoResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse);
if (soap_out_PointerTo_ns1__ApprovalPaidInfoResponse(soap, tag?tag:"ns1:ApprovalPaidInfoResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalPaidInfoResponse(struct soap *soap, _ns1__ApprovalPaidInfoResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalPaidInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalPaidInfo(struct soap *soap, _ns1__ApprovalPaidInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalPaidInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, int id, _ns1__ApprovalPaidInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalPaidInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfo ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalPaidInfo(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalPaidInfo **)soap_malloc(soap, sizeof(_ns1__ApprovalPaidInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalPaidInfo *)soap_instantiate__ns1__ApprovalPaidInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalPaidInfo ** p = (_ns1__ApprovalPaidInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalPaidInfo, sizeof(_ns1__ApprovalPaidInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalPaidInfo(struct soap *soap, _ns1__ApprovalPaidInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfo);
if (soap_out_PointerTo_ns1__ApprovalPaidInfo(soap, tag?tag:"ns1:ApprovalPaidInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfo ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalPaidInfo(struct soap *soap, _ns1__ApprovalPaidInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalPaidInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalInfoResponse(struct soap *soap, _ns1__ApprovalInfoResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalInfoResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalInfoResponse(struct soap *soap, const char *tag, int id, _ns1__ApprovalInfoResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalInfoResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalInfoResponse(struct soap *soap, const char *tag, _ns1__ApprovalInfoResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalInfoResponse **)soap_malloc(soap, sizeof(_ns1__ApprovalInfoResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalInfoResponse *)soap_instantiate__ns1__ApprovalInfoResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalInfoResponse ** p = (_ns1__ApprovalInfoResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalInfoResponse, sizeof(_ns1__ApprovalInfoResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalInfoResponse(struct soap *soap, _ns1__ApprovalInfoResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse);
if (soap_out_PointerTo_ns1__ApprovalInfoResponse(soap, tag?tag:"ns1:ApprovalInfoResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalInfoResponse(struct soap *soap, _ns1__ApprovalInfoResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalInfoResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalInfo(struct soap *soap, _ns1__ApprovalInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalInfo(struct soap *soap, const char *tag, int id, _ns1__ApprovalInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalInfo ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalInfo(struct soap *soap, const char *tag, _ns1__ApprovalInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalInfo **)soap_malloc(soap, sizeof(_ns1__ApprovalInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalInfo *)soap_instantiate__ns1__ApprovalInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalInfo ** p = (_ns1__ApprovalInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalInfo, sizeof(_ns1__ApprovalInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalInfo(struct soap *soap, _ns1__ApprovalInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalInfo);
if (soap_out_PointerTo_ns1__ApprovalInfo(soap, tag?tag:"ns1:ApprovalInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalInfo ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalInfo(struct soap *soap, _ns1__ApprovalInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__InitializeSoapResponse(struct soap *soap, _ns1__InitializeSoapResponse *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__InitializeSoapResponse))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__InitializeSoapResponse(struct soap *soap, const char *tag, int id, _ns1__InitializeSoapResponse *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__InitializeSoapResponse);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__InitializeSoapResponse ** SOAP_FMAC4 soap_in_PointerTo_ns1__InitializeSoapResponse(struct soap *soap, const char *tag, _ns1__InitializeSoapResponse **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__InitializeSoapResponse **)soap_malloc(soap, sizeof(_ns1__InitializeSoapResponse *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__InitializeSoapResponse *)soap_instantiate__ns1__InitializeSoapResponse(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__InitializeSoapResponse ** p = (_ns1__InitializeSoapResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__InitializeSoapResponse, sizeof(_ns1__InitializeSoapResponse), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__InitializeSoapResponse(struct soap *soap, _ns1__InitializeSoapResponse *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__InitializeSoapResponse);
if (soap_out_PointerTo_ns1__InitializeSoapResponse(soap, tag?tag:"ns1:InitializeSoapResponse", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__InitializeSoapResponse ** SOAP_FMAC4 soap_get_PointerTo_ns1__InitializeSoapResponse(struct soap *soap, _ns1__InitializeSoapResponse **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__InitializeSoapResponse(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__InitializeSoap(struct soap *soap, _ns1__InitializeSoap *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__InitializeSoap))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__InitializeSoap(struct soap *soap, const char *tag, int id, _ns1__InitializeSoap *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__InitializeSoap);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__InitializeSoap ** SOAP_FMAC4 soap_in_PointerTo_ns1__InitializeSoap(struct soap *soap, const char *tag, _ns1__InitializeSoap **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__InitializeSoap **)soap_malloc(soap, sizeof(_ns1__InitializeSoap *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__InitializeSoap *)soap_instantiate__ns1__InitializeSoap(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__InitializeSoap ** p = (_ns1__InitializeSoap **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__InitializeSoap, sizeof(_ns1__InitializeSoap), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__InitializeSoap(struct soap *soap, _ns1__InitializeSoap *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__InitializeSoap);
if (soap_out_PointerTo_ns1__InitializeSoap(soap, tag?tag:"ns1:InitializeSoap", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__InitializeSoap ** SOAP_FMAC4 soap_get_PointerTo_ns1__InitializeSoap(struct soap *soap, _ns1__InitializeSoap **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__InitializeSoap(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__SecurityHeader(struct soap *soap, ns1__SecurityHeader *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__SecurityHeader))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__SecurityHeader(struct soap *soap, const char *tag, int id, ns1__SecurityHeader *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__SecurityHeader);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__SecurityHeader ** SOAP_FMAC4 soap_in_PointerTons1__SecurityHeader(struct soap *soap, const char *tag, ns1__SecurityHeader **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__SecurityHeader **)soap_malloc(soap, sizeof(ns1__SecurityHeader *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__SecurityHeader *)soap_instantiate_ns1__SecurityHeader(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__SecurityHeader ** p = (ns1__SecurityHeader **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__SecurityHeader, sizeof(ns1__SecurityHeader), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__SecurityHeader(struct soap *soap, ns1__SecurityHeader *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__SecurityHeader);
if (soap_out_PointerTons1__SecurityHeader(soap, tag?tag:"ns1:SecurityHeader", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__SecurityHeader ** SOAP_FMAC4 soap_get_PointerTons1__SecurityHeader(struct soap *soap, ns1__SecurityHeader **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__SecurityHeader(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__Header(struct soap *soap, ns1__Header *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__Header))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__Header(struct soap *soap, const char *tag, int id, ns1__Header *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__Header);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__Header ** SOAP_FMAC4 soap_in_PointerTons1__Header(struct soap *soap, const char *tag, ns1__Header **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__Header **)soap_malloc(soap, sizeof(ns1__Header *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__Header *)soap_instantiate_ns1__Header(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__Header ** p = (ns1__Header **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__Header, sizeof(ns1__Header), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__Header(struct soap *soap, ns1__Header *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__Header);
if (soap_out_PointerTons1__Header(soap, tag?tag:"ns1:Header", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__Header ** SOAP_FMAC4 soap_get_PointerTons1__Header(struct soap *soap, ns1__Header **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__Header(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__OrderInfo(struct soap *soap, ns1__OrderInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__OrderInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__OrderInfo(struct soap *soap, const char *tag, int id, ns1__OrderInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__OrderInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__OrderInfo ** SOAP_FMAC4 soap_in_PointerTons1__OrderInfo(struct soap *soap, const char *tag, ns1__OrderInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__OrderInfo **)soap_malloc(soap, sizeof(ns1__OrderInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__OrderInfo *)soap_instantiate_ns1__OrderInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__OrderInfo ** p = (ns1__OrderInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__OrderInfo, sizeof(ns1__OrderInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__OrderInfo(struct soap *soap, ns1__OrderInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__OrderInfo);
if (soap_out_PointerTons1__OrderInfo(soap, tag?tag:"ns1:OrderInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__OrderInfo ** SOAP_FMAC4 soap_get_PointerTons1__OrderInfo(struct soap *soap, ns1__OrderInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__OrderInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__ChangeUserInfo(struct soap *soap, ns1__ChangeUserInfo *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__ChangeUserInfo))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__ChangeUserInfo(struct soap *soap, const char *tag, int id, ns1__ChangeUserInfo *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__ChangeUserInfo);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__ChangeUserInfo ** SOAP_FMAC4 soap_in_PointerTons1__ChangeUserInfo(struct soap *soap, const char *tag, ns1__ChangeUserInfo **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__ChangeUserInfo **)soap_malloc(soap, sizeof(ns1__ChangeUserInfo *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__ChangeUserInfo *)soap_instantiate_ns1__ChangeUserInfo(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__ChangeUserInfo ** p = (ns1__ChangeUserInfo **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__ChangeUserInfo, sizeof(ns1__ChangeUserInfo), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__ChangeUserInfo(struct soap *soap, ns1__ChangeUserInfo *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__ChangeUserInfo);
if (soap_out_PointerTons1__ChangeUserInfo(soap, tag?tag:"ns1:ChangeUserInfo", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__ChangeUserInfo ** SOAP_FMAC4 soap_get_PointerTons1__ChangeUserInfo(struct soap *soap, ns1__ChangeUserInfo **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__ChangeUserInfo(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__CouponArgument(struct soap *soap, ns1__CouponArgument *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__CouponArgument))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__CouponArgument(struct soap *soap, const char *tag, int id, ns1__CouponArgument *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__CouponArgument);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__CouponArgument ** SOAP_FMAC4 soap_in_PointerTons1__CouponArgument(struct soap *soap, const char *tag, ns1__CouponArgument **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__CouponArgument **)soap_malloc(soap, sizeof(ns1__CouponArgument *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__CouponArgument *)soap_instantiate_ns1__CouponArgument(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__CouponArgument ** p = (ns1__CouponArgument **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__CouponArgument, sizeof(ns1__CouponArgument), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__CouponArgument(struct soap *soap, ns1__CouponArgument *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__CouponArgument);
if (soap_out_PointerTons1__CouponArgument(soap, tag?tag:"ns1:CouponArgument", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__CouponArgument ** SOAP_FMAC4 soap_get_PointerTons1__CouponArgument(struct soap *soap, ns1__CouponArgument **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__CouponArgument(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, const char *tag, int id, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, const char *tag, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult **)soap_malloc(soap, sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *)soap_instantiate__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult ** p = (_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult, sizeof(_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult);
if (soap_out_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag?tag:"ns1:GetPurchaseAmountResponse-GetPurchaseAmountResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(struct soap *soap, _ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetPurchaseAmountResponse_GetPurchaseAmountResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, const char *tag, int id, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse_GetCashReceiptListResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, const char *tag, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult **)soap_malloc(soap, sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult *)soap_instantiate__ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__GetCashReceiptListResponse_GetCashReceiptListResult ** p = (_ns1__GetCashReceiptListResponse_GetCashReceiptListResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__GetCashReceiptListResponse_GetCashReceiptListResult, sizeof(_ns1__GetCashReceiptListResponse_GetCashReceiptListResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult);
if (soap_out_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag?tag:"ns1:GetCashReceiptListResponse-GetCashReceiptListResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__GetCashReceiptListResponse_GetCashReceiptListResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(struct soap *soap, _ns1__GetCashReceiptListResponse_GetCashReceiptListResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__GetCashReceiptListResponse_GetCashReceiptListResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__UsageT(struct soap *soap, ns1__UsageT *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__UsageT))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__UsageT(struct soap *soap, const char *tag, int id, ns1__UsageT *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__UsageT);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__UsageT ** SOAP_FMAC4 soap_in_PointerTons1__UsageT(struct soap *soap, const char *tag, ns1__UsageT **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__UsageT **)soap_malloc(soap, sizeof(ns1__UsageT *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__UsageT *)soap_instantiate_ns1__UsageT(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__UsageT ** p = (ns1__UsageT **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__UsageT, sizeof(ns1__UsageT), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__UsageT(struct soap *soap, ns1__UsageT *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__UsageT);
if (soap_out_PointerTons1__UsageT(soap, tag?tag:"ns1:UsageT", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__UsageT ** SOAP_FMAC4 soap_get_PointerTons1__UsageT(struct soap *soap, ns1__UsageT **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__UsageT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__ChargeT(struct soap *soap, ns1__ChargeT *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__ChargeT))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__ChargeT(struct soap *soap, const char *tag, int id, ns1__ChargeT *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__ChargeT);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__ChargeT ** SOAP_FMAC4 soap_in_PointerTons1__ChargeT(struct soap *soap, const char *tag, ns1__ChargeT **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__ChargeT **)soap_malloc(soap, sizeof(ns1__ChargeT *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__ChargeT *)soap_instantiate_ns1__ChargeT(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__ChargeT ** p = (ns1__ChargeT **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__ChargeT, sizeof(ns1__ChargeT), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__ChargeT(struct soap *soap, ns1__ChargeT *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__ChargeT);
if (soap_out_PointerTons1__ChargeT(soap, tag?tag:"ns1:ChargeT", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__ChargeT ** SOAP_FMAC4 soap_get_PointerTons1__ChargeT(struct soap *soap, ns1__ChargeT **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__ChargeT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__ResultT(struct soap *soap, ns1__ResultT *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__ResultT))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__ResultT(struct soap *soap, const char *tag, int id, ns1__ResultT *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__ResultT);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__ResultT ** SOAP_FMAC4 soap_in_PointerTons1__ResultT(struct soap *soap, const char *tag, ns1__ResultT **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__ResultT **)soap_malloc(soap, sizeof(ns1__ResultT *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__ResultT *)soap_instantiate_ns1__ResultT(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__ResultT ** p = (ns1__ResultT **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__ResultT, sizeof(ns1__ResultT), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__ResultT(struct soap *soap, ns1__ResultT *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__ResultT);
if (soap_out_PointerTons1__ResultT(soap, tag?tag:"ns1:ResultT", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__ResultT ** SOAP_FMAC4 soap_get_PointerTons1__ResultT(struct soap *soap, ns1__ResultT **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__ResultT(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, _ns1__LastUsageInfoResponse_LastUsageInfoResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, const char *tag, int id, _ns1__LastUsageInfoResponse_LastUsageInfoResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse_LastUsageInfoResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, const char *tag, _ns1__LastUsageInfoResponse_LastUsageInfoResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__LastUsageInfoResponse_LastUsageInfoResult **)soap_malloc(soap, sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__LastUsageInfoResponse_LastUsageInfoResult *)soap_instantiate__ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__LastUsageInfoResponse_LastUsageInfoResult ** p = (_ns1__LastUsageInfoResponse_LastUsageInfoResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__LastUsageInfoResponse_LastUsageInfoResult, sizeof(_ns1__LastUsageInfoResponse_LastUsageInfoResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, _ns1__LastUsageInfoResponse_LastUsageInfoResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult);
if (soap_out_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag?tag:"ns1:LastUsageInfoResponse-LastUsageInfoResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__LastUsageInfoResponse_LastUsageInfoResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(struct soap *soap, _ns1__LastUsageInfoResponse_LastUsageInfoResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__LastUsageInfoResponse_LastUsageInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, _ns1__UsageInfoResponse_UsageInfoResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, const char *tag, int id, _ns1__UsageInfoResponse_UsageInfoResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__UsageInfoResponse_UsageInfoResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, const char *tag, _ns1__UsageInfoResponse_UsageInfoResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__UsageInfoResponse_UsageInfoResult **)soap_malloc(soap, sizeof(_ns1__UsageInfoResponse_UsageInfoResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__UsageInfoResponse_UsageInfoResult *)soap_instantiate__ns1__UsageInfoResponse_UsageInfoResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__UsageInfoResponse_UsageInfoResult ** p = (_ns1__UsageInfoResponse_UsageInfoResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__UsageInfoResponse_UsageInfoResult, sizeof(_ns1__UsageInfoResponse_UsageInfoResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, _ns1__UsageInfoResponse_UsageInfoResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__UsageInfoResponse_UsageInfoResult);
if (soap_out_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, tag?tag:"ns1:UsageInfoResponse-UsageInfoResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__UsageInfoResponse_UsageInfoResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(struct soap *soap, _ns1__UsageInfoResponse_UsageInfoResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__UsageInfoResponse_UsageInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, const char *tag, int id, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, const char *tag, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult **)soap_malloc(soap, sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *)soap_instantiate__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult ** p = (_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult, sizeof(_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult);
if (soap_out_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag?tag:"ns1:ApprovalPaidInfoResponse-ApprovalPaidInfoResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(struct soap *soap, _ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalPaidInfoResponse_ApprovalPaidInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, _ns1__ApprovalInfoResponse_ApprovalInfoResult *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, const char *tag, int id, _ns1__ApprovalInfoResponse_ApprovalInfoResult *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse_ApprovalInfoResult ** SOAP_FMAC4 soap_in_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, const char *tag, _ns1__ApprovalInfoResponse_ApprovalInfoResult **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (_ns1__ApprovalInfoResponse_ApprovalInfoResult **)soap_malloc(soap, sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (_ns1__ApprovalInfoResponse_ApprovalInfoResult *)soap_instantiate__ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ _ns1__ApprovalInfoResponse_ApprovalInfoResult ** p = (_ns1__ApprovalInfoResponse_ApprovalInfoResult **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE__ns1__ApprovalInfoResponse_ApprovalInfoResult, sizeof(_ns1__ApprovalInfoResponse_ApprovalInfoResult), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, _ns1__ApprovalInfoResponse_ApprovalInfoResult *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult);
if (soap_out_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag?tag:"ns1:ApprovalInfoResponse-ApprovalInfoResult", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 _ns1__ApprovalInfoResponse_ApprovalInfoResult ** SOAP_FMAC4 soap_get_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(struct soap *soap, _ns1__ApprovalInfoResponse_ApprovalInfoResult **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTo_ns1__ApprovalInfoResponse_ApprovalInfoResult(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__ArrayOfAnyType(struct soap *soap, ns1__ArrayOfAnyType *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_ns1__ArrayOfAnyType))
(*a)->soap_serialize(soap);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__ArrayOfAnyType(struct soap *soap, const char *tag, int id, ns1__ArrayOfAnyType *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__ArrayOfAnyType);
if (id < 0)
return soap->error;
return (*a)->soap_out(soap, tag, id, type);
}
SOAP_FMAC3 ns1__ArrayOfAnyType ** SOAP_FMAC4 soap_in_PointerTons1__ArrayOfAnyType(struct soap *soap, const char *tag, ns1__ArrayOfAnyType **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (ns1__ArrayOfAnyType **)soap_malloc(soap, sizeof(ns1__ArrayOfAnyType *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = (ns1__ArrayOfAnyType *)soap_instantiate_ns1__ArrayOfAnyType(soap, -1, soap->type, soap->arrayType, NULL)))
return NULL;
(*a)->soap_default(soap);
if (!(*a)->soap_in(soap, tag, NULL))
return NULL;
}
else
{ ns1__ArrayOfAnyType ** p = (ns1__ArrayOfAnyType **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__ArrayOfAnyType, sizeof(ns1__ArrayOfAnyType), 0);
a = p;
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__ArrayOfAnyType(struct soap *soap, ns1__ArrayOfAnyType *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__ArrayOfAnyType);
if (soap_out_PointerTons1__ArrayOfAnyType(soap, tag?tag:"ns1:ArrayOfAnyType", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 ns1__ArrayOfAnyType ** SOAP_FMAC4 soap_get_PointerTons1__ArrayOfAnyType(struct soap *soap, ns1__ArrayOfAnyType **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTons1__ArrayOfAnyType(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__string(struct soap *soap, std::string *const*a)
{
#ifndef WITH_NOIDREF
if (!soap_reference(soap, *a, SOAP_TYPE_std__string))
soap_serialize_std__string(soap, *a);
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__string(struct soap *soap, const char *tag, int id, std::string *const*a, const char *type)
{
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_std__string);
if (id < 0)
return soap->error;
return soap_out_std__string(soap, tag, id, *a, type);
}
SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_in_PointerTostd__string(struct soap *soap, const char *tag, std::string **a, const char *type)
{
if (soap_element_begin_in(soap, tag, 1, NULL))
return NULL;
if (!a)
if (!(a = (std::string **)soap_malloc(soap, sizeof(std::string *))))
return NULL;
*a = NULL;
if (!soap->null && *soap->href != '#')
{ soap_revert(soap);
if (!(*a = soap_in_std__string(soap, tag, *a, type)))
return NULL;
}
else
{ a = (std::string **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_std__string, sizeof(std::string), 0);
if (soap->body && soap_element_end_in(soap, tag))
return NULL;
}
return a;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__string(struct soap *soap, std::string *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTostd__string);
if (soap_out_PointerTostd__string(soap, tag?tag:"string", id, a, type))
return soap->error;
return soap_putindependent(soap);
}
SOAP_FMAC3 std::string ** SOAP_FMAC4 soap_get_PointerTostd__string(struct soap *soap, std::string **p, const char *tag, const char *type)
{
if ((p = soap_in_PointerTostd__string(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)
{
#ifndef WITH_NOIDREF
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)
{ char **p;
p = soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, 0, -1);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE__QName);
if (soap_out__QName(soap, tag?tag:"byte", id, 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_default_string(struct soap *soap, char **a)
{
(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_string
*a = SOAP_DEFAULT_string;
#else
*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
{
#ifndef WITH_NOIDREF
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)
{ char **p;
p = soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, 0, -1);
return p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type)
{
register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_string);
if (soap_out_string(soap, tag?tag:"byte", id, 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;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__vectorTemplateOf_XML(struct soap *soap, std::vector<char * >*p)
{
p->clear();
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__vectorTemplateOf_XML(struct soap *soap, const std::vector<char * >*a)
{
#ifndef WITH_NOIDREF
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__vectorTemplateOf_XML(struct soap *soap, const char *tag, int id, const std::vector<char * >*a, const char *type)
{
for (std::vector<char * >::const_iterator i = a->begin(); i != a->end(); ++i)
{
if (soap_outliteral(soap, tag, &(*i), NULL))
return soap->error;
}
return SOAP_OK;
}
SOAP_FMAC3 std::vector<char * >* SOAP_FMAC4 soap_in_std__vectorTemplateOf_XML(struct soap *soap, const char *tag, std::vector<char * >*a, const char *type)
{
(void)type; /* appease -Wall -Werror */
short soap_flag;
for (soap_flag = 0;; soap_flag = 1)
{ char *n;
if (tag && *tag != '-')
{ if (soap_element_begin_in(soap, tag, 1, NULL))
break;
soap_revert(soap);
}
n = NULL;
if (tag && *tag != '-' && (*soap->id || *soap->href))
{ if (!soap_container_id_forward(soap, *soap->id?soap->id:soap->href, a, (size_t)a->size(), SOAP_TYPE__XML, SOAP_TYPE_std__vectorTemplateOf_XML, sizeof(char *), 1))
break;
if (!soap_inliteral(soap, tag, NULL))
break;
}
else if (!soap_inliteral(soap, tag, &n))
break;
if (!a && !(a = soap_new_std__vectorTemplateOf_XML(soap, -1)))
return NULL;
a->push_back(n);
if (!tag || *tag == '-')
return a;
}
if (soap_flag && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
{ soap->error = SOAP_OK;
return a;
}
return NULL;
}
SOAP_FMAC1 std::vector<char * > * SOAP_FMAC2 soap_instantiate_std__vectorTemplateOf_XML(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
{
(void)type; (void)arrayType; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_std__vectorTemplateOf_XML(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_std__vectorTemplateOf_XML, n, soap_fdelete);
if (!cp)
return NULL;
if (n < 0)
{ cp->ptr = (void*)SOAP_NEW(std::vector<char * >);
if (size)
*size = sizeof(std::vector<char * >);
}
else
{ cp->ptr = (void*)SOAP_NEW_ARRAY(std::vector<char * >, n);
if (size)
*size = n * sizeof(std::vector<char * >);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
if (!cp->ptr)
soap->error = SOAP_EOM;
return (std::vector<char * >*)cp->ptr;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__vectorTemplateOf_XML(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)
{
(void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying std::vector<char * > %p -> %p\n", q, p));
*(std::vector<char * >*)p = *(std::vector<char * >*)q;
}
#if defined(__BORLANDC__)
#pragma option pop
#pragma option pop
#endif
/* End of soapC.cpp */