/* paylidC.cpp
   Generated by gSOAP 2.8.16 from PaylidService.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 "paylidH.h"

namespace paylid {

SOAP_SOURCE_STAMP("@(#) paylidC.cpp ver 2.8.16 2020-02-08 22:34:48 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
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_paylid_byte:
		return soap_in_byte(soap, NULL, NULL, "xsd:byte");
	case SOAP_TYPE_paylid_int:
		return soap_in_int(soap, NULL, NULL, "xsd:int");
	case SOAP_TYPE_paylid_std__string:
		return soap_in_std__string(soap, NULL, NULL, "xsd:string");
	case SOAP_TYPE_paylid_paylid__getSupportedBanks:
		return soap_in_paylid__getSupportedBanks(soap, NULL, NULL, "paylid:getSupportedBanks");
	case SOAP_TYPE_paylid_paylid__getSupportedBanksResponse:
		return soap_in_paylid__getSupportedBanksResponse(soap, NULL, NULL, "paylid:getSupportedBanksResponse");
	case SOAP_TYPE_paylid_paylid__getTrxStatus:
		return soap_in_paylid__getTrxStatus(soap, NULL, NULL, "paylid:getTrxStatus");
	case SOAP_TYPE_paylid_paylid__getTrxStatusResponse:
		return soap_in_paylid__getTrxStatusResponse(soap, NULL, NULL, "paylid:getTrxStatusResponse");
	case SOAP_TYPE_paylid_paylid__getAccount:
		return soap_in_paylid__getAccount(soap, NULL, NULL, "paylid:getAccount");
	case SOAP_TYPE_paylid_paylid__getAccountResponse:
		return soap_in_paylid__getAccountResponse(soap, NULL, NULL, "paylid:getAccountResponse");
	case SOAP_TYPE_paylid_paylid__currentXrate:
		return soap_in_paylid__currentXrate(soap, NULL, NULL, "paylid:currentXrate");
	case SOAP_TYPE_paylid_paylid__currentXrateResponse:
		return soap_in_paylid__currentXrateResponse(soap, NULL, NULL, "paylid:currentXrateResponse");
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUp:
		return soap_in_paylid__directAirTimeTopUp(soap, NULL, NULL, "paylid:directAirTimeTopUp");
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse:
		return soap_in_paylid__directAirTimeTopUpResponse(soap, NULL, NULL, "paylid:directAirTimeTopUpResponse");
	case SOAP_TYPE_paylid_paylid__checkTransferStatus:
		return soap_in_paylid__checkTransferStatus(soap, NULL, NULL, "paylid:checkTransferStatus");
	case SOAP_TYPE_paylid_paylid__checkTransferStatusResponse:
		return soap_in_paylid__checkTransferStatusResponse(soap, NULL, NULL, "paylid:checkTransferStatusResponse");
	case SOAP_TYPE_paylid_paylid__transferFund:
		return soap_in_paylid__transferFund(soap, NULL, NULL, "paylid:transferFund");
	case SOAP_TYPE_paylid_paylid__transferFundResponse:
		return soap_in_paylid__transferFundResponse(soap, NULL, NULL, "paylid:transferFundResponse");
	case SOAP_TYPE_paylid_paylid__getAccountBalance:
		return soap_in_paylid__getAccountBalance(soap, NULL, NULL, "paylid:getAccountBalance");
	case SOAP_TYPE_paylid_paylid__getAccountBalanceResponse:
		return soap_in_paylid__getAccountBalanceResponse(soap, NULL, NULL, "paylid:getAccountBalanceResponse");
	case SOAP_TYPE_paylid__QName:
	{	char **s;
		s = soap_in__QName(soap, NULL, NULL, "xsd:QName");
		return s ? *s : NULL;
	}
	case SOAP_TYPE_paylid_string:
	{	char **s;
		s = soap_in_string(soap, NULL, NULL, "xsd:string");
		return s ? *s : NULL;
	}
	default:
#else
	*type = 0;
#endif
	{	const char *t = soap->type;
		if (!*t)
			t = soap->tag;
		if (!soap_match_tag(soap, t, "xsd:string"))
		{	*type = SOAP_TYPE_paylid_std__string;
			return soap_in_std__string(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "xsd:byte"))
		{	*type = SOAP_TYPE_paylid_byte;
			return soap_in_byte(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "xsd:int"))
		{	*type = SOAP_TYPE_paylid_int;
			return soap_in_int(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getSupportedBanks"))
		{	*type = SOAP_TYPE_paylid_paylid__getSupportedBanks;
			return soap_in_paylid__getSupportedBanks(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getSupportedBanksResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__getSupportedBanksResponse;
			return soap_in_paylid__getSupportedBanksResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getTrxStatus"))
		{	*type = SOAP_TYPE_paylid_paylid__getTrxStatus;
			return soap_in_paylid__getTrxStatus(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getTrxStatusResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__getTrxStatusResponse;
			return soap_in_paylid__getTrxStatusResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getAccount"))
		{	*type = SOAP_TYPE_paylid_paylid__getAccount;
			return soap_in_paylid__getAccount(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getAccountResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__getAccountResponse;
			return soap_in_paylid__getAccountResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:currentXrate"))
		{	*type = SOAP_TYPE_paylid_paylid__currentXrate;
			return soap_in_paylid__currentXrate(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:currentXrateResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__currentXrateResponse;
			return soap_in_paylid__currentXrateResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:directAirTimeTopUp"))
		{	*type = SOAP_TYPE_paylid_paylid__directAirTimeTopUp;
			return soap_in_paylid__directAirTimeTopUp(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:directAirTimeTopUpResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse;
			return soap_in_paylid__directAirTimeTopUpResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:checkTransferStatus"))
		{	*type = SOAP_TYPE_paylid_paylid__checkTransferStatus;
			return soap_in_paylid__checkTransferStatus(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:checkTransferStatusResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__checkTransferStatusResponse;
			return soap_in_paylid__checkTransferStatusResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:transferFund"))
		{	*type = SOAP_TYPE_paylid_paylid__transferFund;
			return soap_in_paylid__transferFund(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:transferFundResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__transferFundResponse;
			return soap_in_paylid__transferFundResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getAccountBalance"))
		{	*type = SOAP_TYPE_paylid_paylid__getAccountBalance;
			return soap_in_paylid__getAccountBalance(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "paylid:getAccountBalanceResponse"))
		{	*type = SOAP_TYPE_paylid_paylid__getAccountBalanceResponse;
			return soap_in_paylid__getAccountBalanceResponse(soap, NULL, NULL, NULL);
		}
		if (!soap_match_tag(soap, t, "xsd:QName"))
		{	char **s;
			*type = SOAP_TYPE_paylid__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_paylid_string;
			s = soap_in_string(soap, NULL, NULL, NULL);
			return s ? *s : NULL;
		}
		t = soap->tag;
#ifndef WITH_NOIDREF
	}
#endif
	}
	soap->error = SOAP_TAG_MISMATCH;
	return NULL;
}

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
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_paylid_byte:
		return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
	case SOAP_TYPE_paylid_int:
		return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
	case SOAP_TYPE_paylid_std__string:
		return soap_out_std__string(soap, tag, id, (const std::string *)ptr, "xsd:string");
	case SOAP_TYPE_paylid_paylid__getSupportedBanks:
		return soap_out_paylid__getSupportedBanks(soap, tag, id, (const struct paylid__getSupportedBanks *)ptr, "paylid:getSupportedBanks");
	case SOAP_TYPE_paylid_paylid__getSupportedBanksResponse:
		return soap_out_paylid__getSupportedBanksResponse(soap, tag, id, (const struct paylid__getSupportedBanksResponse *)ptr, "paylid:getSupportedBanksResponse");
	case SOAP_TYPE_paylid_paylid__getTrxStatus:
		return soap_out_paylid__getTrxStatus(soap, tag, id, (const struct paylid__getTrxStatus *)ptr, "paylid:getTrxStatus");
	case SOAP_TYPE_paylid_paylid__getTrxStatusResponse:
		return soap_out_paylid__getTrxStatusResponse(soap, tag, id, (const struct paylid__getTrxStatusResponse *)ptr, "paylid:getTrxStatusResponse");
	case SOAP_TYPE_paylid_paylid__getAccount:
		return soap_out_paylid__getAccount(soap, tag, id, (const struct paylid__getAccount *)ptr, "paylid:getAccount");
	case SOAP_TYPE_paylid_paylid__getAccountResponse:
		return soap_out_paylid__getAccountResponse(soap, tag, id, (const struct paylid__getAccountResponse *)ptr, "paylid:getAccountResponse");
	case SOAP_TYPE_paylid_paylid__currentXrate:
		return soap_out_paylid__currentXrate(soap, tag, id, (const struct paylid__currentXrate *)ptr, "paylid:currentXrate");
	case SOAP_TYPE_paylid_paylid__currentXrateResponse:
		return soap_out_paylid__currentXrateResponse(soap, tag, id, (const struct paylid__currentXrateResponse *)ptr, "paylid:currentXrateResponse");
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUp:
		return soap_out_paylid__directAirTimeTopUp(soap, tag, id, (const struct paylid__directAirTimeTopUp *)ptr, "paylid:directAirTimeTopUp");
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse:
		return soap_out_paylid__directAirTimeTopUpResponse(soap, tag, id, (const struct paylid__directAirTimeTopUpResponse *)ptr, "paylid:directAirTimeTopUpResponse");
	case SOAP_TYPE_paylid_paylid__checkTransferStatus:
		return soap_out_paylid__checkTransferStatus(soap, tag, id, (const struct paylid__checkTransferStatus *)ptr, "paylid:checkTransferStatus");
	case SOAP_TYPE_paylid_paylid__checkTransferStatusResponse:
		return soap_out_paylid__checkTransferStatusResponse(soap, tag, id, (const struct paylid__checkTransferStatusResponse *)ptr, "paylid:checkTransferStatusResponse");
	case SOAP_TYPE_paylid_paylid__transferFund:
		return soap_out_paylid__transferFund(soap, tag, id, (const struct paylid__transferFund *)ptr, "paylid:transferFund");
	case SOAP_TYPE_paylid_paylid__transferFundResponse:
		return soap_out_paylid__transferFundResponse(soap, tag, id, (const struct paylid__transferFundResponse *)ptr, "paylid:transferFundResponse");
	case SOAP_TYPE_paylid_paylid__getAccountBalance:
		return soap_out_paylid__getAccountBalance(soap, tag, id, (const struct paylid__getAccountBalance *)ptr, "paylid:getAccountBalance");
	case SOAP_TYPE_paylid_paylid__getAccountBalanceResponse:
		return soap_out_paylid__getAccountBalanceResponse(soap, tag, id, (const struct paylid__getAccountBalanceResponse *)ptr, "paylid:getAccountBalanceResponse");
	case SOAP_TYPE_paylid__QName:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName");
	case SOAP_TYPE_paylid_string:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string");
	}
	return SOAP_OK;
}

#ifndef WITH_NOIDREF
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_paylid_std__string:
		soap_serialize_std__string(soap, (const std::string *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getSupportedBanks:
		soap_serialize_paylid__getSupportedBanks(soap, (const struct paylid__getSupportedBanks *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getSupportedBanksResponse:
		soap_serialize_paylid__getSupportedBanksResponse(soap, (const struct paylid__getSupportedBanksResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getTrxStatus:
		soap_serialize_paylid__getTrxStatus(soap, (const struct paylid__getTrxStatus *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getTrxStatusResponse:
		soap_serialize_paylid__getTrxStatusResponse(soap, (const struct paylid__getTrxStatusResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccount:
		soap_serialize_paylid__getAccount(soap, (const struct paylid__getAccount *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountResponse:
		soap_serialize_paylid__getAccountResponse(soap, (const struct paylid__getAccountResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__currentXrate:
		soap_serialize_paylid__currentXrate(soap, (const struct paylid__currentXrate *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__currentXrateResponse:
		soap_serialize_paylid__currentXrateResponse(soap, (const struct paylid__currentXrateResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUp:
		soap_serialize_paylid__directAirTimeTopUp(soap, (const struct paylid__directAirTimeTopUp *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse:
		soap_serialize_paylid__directAirTimeTopUpResponse(soap, (const struct paylid__directAirTimeTopUpResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__checkTransferStatus:
		soap_serialize_paylid__checkTransferStatus(soap, (const struct paylid__checkTransferStatus *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__checkTransferStatusResponse:
		soap_serialize_paylid__checkTransferStatusResponse(soap, (const struct paylid__checkTransferStatusResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__transferFund:
		soap_serialize_paylid__transferFund(soap, (const struct paylid__transferFund *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__transferFundResponse:
		soap_serialize_paylid__transferFundResponse(soap, (const struct paylid__transferFundResponse *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountBalance:
		soap_serialize_paylid__getAccountBalance(soap, (const struct paylid__getAccountBalance *)ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountBalanceResponse:
		soap_serialize_paylid__getAccountBalanceResponse(soap, (const struct paylid__getAccountBalanceResponse *)ptr);
		break;
	case SOAP_TYPE_paylid__QName:
		soap_serialize_string(soap, (char*const*)&ptr);
		break;
	case SOAP_TYPE_paylid_string:
		soap_serialize_string(soap, (char*const*)&ptr);
		break;
	}
}
#endif

SOAP_FMAC3 void * SOAP_FMAC4 paylid_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n)
{	(void)type;
	switch (t)
	{
	case SOAP_TYPE_paylid_std__string:
		return (void*)soap_instantiate_std__string(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getAccountBalanceResponse:
		return (void*)soap_instantiate_paylid__getAccountBalanceResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getAccountBalance:
		return (void*)soap_instantiate_paylid__getAccountBalance(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__transferFundResponse:
		return (void*)soap_instantiate_paylid__transferFundResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__transferFund:
		return (void*)soap_instantiate_paylid__transferFund(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__checkTransferStatusResponse:
		return (void*)soap_instantiate_paylid__checkTransferStatusResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__checkTransferStatus:
		return (void*)soap_instantiate_paylid__checkTransferStatus(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse:
		return (void*)soap_instantiate_paylid__directAirTimeTopUpResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUp:
		return (void*)soap_instantiate_paylid__directAirTimeTopUp(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__currentXrateResponse:
		return (void*)soap_instantiate_paylid__currentXrateResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__currentXrate:
		return (void*)soap_instantiate_paylid__currentXrate(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getAccountResponse:
		return (void*)soap_instantiate_paylid__getAccountResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getAccount:
		return (void*)soap_instantiate_paylid__getAccount(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getTrxStatusResponse:
		return (void*)soap_instantiate_paylid__getTrxStatusResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getTrxStatus:
		return (void*)soap_instantiate_paylid__getTrxStatus(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getSupportedBanksResponse:
		return (void*)soap_instantiate_paylid__getSupportedBanksResponse(soap, -1, type, arrayType, n);
	case SOAP_TYPE_paylid_paylid__getSupportedBanks:
		return (void*)soap_instantiate_paylid__getSupportedBanks(soap, -1, type, arrayType, n);
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_SOAP_ENV__Header:
		return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n);
#endif
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_SOAP_ENV__Code:
		return (void*)soap_instantiate_SOAP_ENV__Code(soap, -1, type, arrayType, n);
#endif
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_SOAP_ENV__Detail:
		return (void*)soap_instantiate_SOAP_ENV__Detail(soap, -1, type, arrayType, n);
#endif
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_SOAP_ENV__Reason:
		return (void*)soap_instantiate_SOAP_ENV__Reason(soap, -1, type, arrayType, n);
#endif
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_SOAP_ENV__Fault:
		return (void*)soap_instantiate_SOAP_ENV__Fault(soap, -1, type, arrayType, n);
#endif
	}
	return NULL;
}

SOAP_FMAC3 int SOAP_FMAC4 paylid_fdelete(struct soap_clist *p)
{	switch (p->type)
	{
	case SOAP_TYPE_paylid_std__string:
		if (p->size < 0)
			SOAP_DELETE((std::string*)p->ptr);
		else
			SOAP_DELETE_ARRAY((std::string*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountBalanceResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getAccountBalanceResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getAccountBalanceResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountBalance:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getAccountBalance*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getAccountBalance*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__transferFundResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__transferFundResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__transferFundResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__transferFund:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__transferFund*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__transferFund*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__checkTransferStatusResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__checkTransferStatusResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__checkTransferStatusResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__checkTransferStatus:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__checkTransferStatus*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__checkTransferStatus*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__directAirTimeTopUpResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__directAirTimeTopUpResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__directAirTimeTopUp:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__directAirTimeTopUp*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__directAirTimeTopUp*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__currentXrateResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__currentXrateResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__currentXrateResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__currentXrate:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__currentXrate*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__currentXrate*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccountResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getAccountResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getAccountResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getAccount:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getAccount*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getAccount*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getTrxStatusResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getTrxStatusResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getTrxStatusResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getTrxStatus:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getTrxStatus*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getTrxStatus*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getSupportedBanksResponse:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getSupportedBanksResponse*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getSupportedBanksResponse*)p->ptr);
		break;
	case SOAP_TYPE_paylid_paylid__getSupportedBanks:
		if (p->size < 0)
			SOAP_DELETE((struct paylid__getSupportedBanks*)p->ptr);
		else
			SOAP_DELETE_ARRAY((struct paylid__getSupportedBanks*)p->ptr);
		break;
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_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
#ifndef WITH_NOGLOBAL
	case SOAP_TYPE_paylid_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_paylid_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_paylid_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_paylid_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
	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, paylid_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, paylid_container_insert);
}

SOAP_FMAC3 void SOAP_FMAC4 paylid_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)
	{
	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_paylid_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_paylid_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_paylid_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_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_paylid_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_paylid_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_paylid_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 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_paylid_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_paylid_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_paylid_std__string, sizeof(std::string), soap->type, soap->arrayType), 0, SOAP_TYPE_paylid_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_paylid_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_paylid_std__string, n, paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_SOAP_ENV__Fault, n, paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_SOAP_ENV__Reason, n, paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_SOAP_ENV__Detail, n, paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_SOAP_ENV__Code, n, paylid_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

#ifndef WITH_NOGLOBAL

SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
#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_paylid_SOAP_ENV__Header), type))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap *soap, const char *tag, struct SOAP_ENV__Header *a, const char *type)
{
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct SOAP_ENV__Header *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_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->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_paylid_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_paylid_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_paylid_SOAP_ENV__Header, n, paylid_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

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanks(struct soap *soap, struct paylid__getSupportedBanks *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->topupData);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanks(struct soap *soap, const struct paylid__getSupportedBanks *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->topupData);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanks(struct soap *soap, const char *tag, int id, const struct paylid__getSupportedBanks *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_paylid_paylid__getSupportedBanks), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "topupData", -1, &a->topupData, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_in_paylid__getSupportedBanks(struct soap *soap, const char *tag, struct paylid__getSupportedBanks *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_topupData = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getSupportedBanks *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getSupportedBanks, sizeof(struct paylid__getSupportedBanks), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getSupportedBanks(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_topupData && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "topupData", &a->topupData, "xsd:string"))
				{	soap_flag_topupData--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__getSupportedBanks *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getSupportedBanks, 0, sizeof(struct paylid__getSupportedBanks), 0, soap_copy_paylid__getSupportedBanks);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_topupData > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanks(struct soap *soap, const struct paylid__getSupportedBanks *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getSupportedBanks);
	if (soap_out_paylid__getSupportedBanks(soap, tag?tag:"paylid:getSupportedBanks", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getSupportedBanks * SOAP_FMAC4 soap_get_paylid__getSupportedBanks(struct soap *soap, struct paylid__getSupportedBanks *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getSupportedBanks(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getSupportedBanks * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanks(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_paylid__getSupportedBanks(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getSupportedBanks, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getSupportedBanks);
		if (size)
			*size = sizeof(struct paylid__getSupportedBanks);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getSupportedBanks, n);
		if (size)
			*size = n * sizeof(struct paylid__getSupportedBanks);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getSupportedBanks*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanks(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 paylid__getSupportedBanks %p -> %p\n", q, p));
	*(struct paylid__getSupportedBanks*)p = *(struct paylid__getSupportedBanks*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getSupportedBanksResponse(struct soap *soap, struct paylid__getSupportedBanksResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getSupportedBanksResponse(struct soap *soap, const struct paylid__getSupportedBanksResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getSupportedBanksResponse(struct soap *soap, const char *tag, int id, const struct paylid__getSupportedBanksResponse *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_paylid_paylid__getSupportedBanksResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_in_paylid__getSupportedBanksResponse(struct soap *soap, const char *tag, struct paylid__getSupportedBanksResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getSupportedBanksResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getSupportedBanksResponse, sizeof(struct paylid__getSupportedBanksResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getSupportedBanksResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__getSupportedBanksResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getSupportedBanksResponse, 0, sizeof(struct paylid__getSupportedBanksResponse), 0, soap_copy_paylid__getSupportedBanksResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getSupportedBanksResponse(struct soap *soap, const struct paylid__getSupportedBanksResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getSupportedBanksResponse);
	if (soap_out_paylid__getSupportedBanksResponse(soap, tag?tag:"paylid:getSupportedBanksResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getSupportedBanksResponse * SOAP_FMAC4 soap_get_paylid__getSupportedBanksResponse(struct soap *soap, struct paylid__getSupportedBanksResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getSupportedBanksResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getSupportedBanksResponse * SOAP_FMAC2 soap_instantiate_paylid__getSupportedBanksResponse(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_paylid__getSupportedBanksResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getSupportedBanksResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getSupportedBanksResponse);
		if (size)
			*size = sizeof(struct paylid__getSupportedBanksResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getSupportedBanksResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__getSupportedBanksResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getSupportedBanksResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getSupportedBanksResponse(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 paylid__getSupportedBanksResponse %p -> %p\n", q, p));
	*(struct paylid__getSupportedBanksResponse*)p = *(struct paylid__getSupportedBanksResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatus(struct soap *soap, struct paylid__getTrxStatus *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->topupData);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatus(struct soap *soap, const struct paylid__getTrxStatus *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->topupData);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatus(struct soap *soap, const char *tag, int id, const struct paylid__getTrxStatus *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_paylid_paylid__getTrxStatus), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "topupData", -1, &a->topupData, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_in_paylid__getTrxStatus(struct soap *soap, const char *tag, struct paylid__getTrxStatus *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_topupData = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getTrxStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getTrxStatus, sizeof(struct paylid__getTrxStatus), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getTrxStatus(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_topupData && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "topupData", &a->topupData, "xsd:string"))
				{	soap_flag_topupData--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__getTrxStatus *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getTrxStatus, 0, sizeof(struct paylid__getTrxStatus), 0, soap_copy_paylid__getTrxStatus);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_topupData > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatus(struct soap *soap, const struct paylid__getTrxStatus *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getTrxStatus);
	if (soap_out_paylid__getTrxStatus(soap, tag?tag:"paylid:getTrxStatus", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getTrxStatus * SOAP_FMAC4 soap_get_paylid__getTrxStatus(struct soap *soap, struct paylid__getTrxStatus *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getTrxStatus(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getTrxStatus * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatus(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_paylid__getTrxStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getTrxStatus, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getTrxStatus);
		if (size)
			*size = sizeof(struct paylid__getTrxStatus);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getTrxStatus, n);
		if (size)
			*size = n * sizeof(struct paylid__getTrxStatus);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getTrxStatus*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatus(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 paylid__getTrxStatus %p -> %p\n", q, p));
	*(struct paylid__getTrxStatus*)p = *(struct paylid__getTrxStatus*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getTrxStatusResponse(struct soap *soap, struct paylid__getTrxStatusResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getTrxStatusResponse(struct soap *soap, const struct paylid__getTrxStatusResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getTrxStatusResponse(struct soap *soap, const char *tag, int id, const struct paylid__getTrxStatusResponse *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_paylid_paylid__getTrxStatusResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_in_paylid__getTrxStatusResponse(struct soap *soap, const char *tag, struct paylid__getTrxStatusResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getTrxStatusResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getTrxStatusResponse, sizeof(struct paylid__getTrxStatusResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getTrxStatusResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__getTrxStatusResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getTrxStatusResponse, 0, sizeof(struct paylid__getTrxStatusResponse), 0, soap_copy_paylid__getTrxStatusResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getTrxStatusResponse(struct soap *soap, const struct paylid__getTrxStatusResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getTrxStatusResponse);
	if (soap_out_paylid__getTrxStatusResponse(soap, tag?tag:"paylid:getTrxStatusResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getTrxStatusResponse * SOAP_FMAC4 soap_get_paylid__getTrxStatusResponse(struct soap *soap, struct paylid__getTrxStatusResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getTrxStatusResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getTrxStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__getTrxStatusResponse(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_paylid__getTrxStatusResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getTrxStatusResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getTrxStatusResponse);
		if (size)
			*size = sizeof(struct paylid__getTrxStatusResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getTrxStatusResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__getTrxStatusResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getTrxStatusResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getTrxStatusResponse(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 paylid__getTrxStatusResponse %p -> %p\n", q, p));
	*(struct paylid__getTrxStatusResponse*)p = *(struct paylid__getTrxStatusResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccount(struct soap *soap, struct paylid__getAccount *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->topupData);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccount(struct soap *soap, const struct paylid__getAccount *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->topupData);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccount(struct soap *soap, const char *tag, int id, const struct paylid__getAccount *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_paylid_paylid__getAccount), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "topupData", -1, &a->topupData, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_in_paylid__getAccount(struct soap *soap, const char *tag, struct paylid__getAccount *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_topupData = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getAccount *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getAccount, sizeof(struct paylid__getAccount), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getAccount(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_topupData && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "topupData", &a->topupData, "xsd:string"))
				{	soap_flag_topupData--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__getAccount *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getAccount, 0, sizeof(struct paylid__getAccount), 0, soap_copy_paylid__getAccount);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_topupData > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccount(struct soap *soap, const struct paylid__getAccount *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getAccount);
	if (soap_out_paylid__getAccount(soap, tag?tag:"paylid:getAccount", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getAccount * SOAP_FMAC4 soap_get_paylid__getAccount(struct soap *soap, struct paylid__getAccount *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getAccount(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getAccount * SOAP_FMAC2 soap_instantiate_paylid__getAccount(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_paylid__getAccount(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getAccount, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getAccount);
		if (size)
			*size = sizeof(struct paylid__getAccount);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getAccount, n);
		if (size)
			*size = n * sizeof(struct paylid__getAccount);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getAccount*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccount(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 paylid__getAccount %p -> %p\n", q, p));
	*(struct paylid__getAccount*)p = *(struct paylid__getAccount*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountResponse(struct soap *soap, struct paylid__getAccountResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountResponse(struct soap *soap, const struct paylid__getAccountResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountResponse(struct soap *soap, const char *tag, int id, const struct paylid__getAccountResponse *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_paylid_paylid__getAccountResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_in_paylid__getAccountResponse(struct soap *soap, const char *tag, struct paylid__getAccountResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getAccountResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getAccountResponse, sizeof(struct paylid__getAccountResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getAccountResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__getAccountResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getAccountResponse, 0, sizeof(struct paylid__getAccountResponse), 0, soap_copy_paylid__getAccountResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountResponse(struct soap *soap, const struct paylid__getAccountResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getAccountResponse);
	if (soap_out_paylid__getAccountResponse(soap, tag?tag:"paylid:getAccountResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getAccountResponse * SOAP_FMAC4 soap_get_paylid__getAccountResponse(struct soap *soap, struct paylid__getAccountResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getAccountResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getAccountResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountResponse(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_paylid__getAccountResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getAccountResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getAccountResponse);
		if (size)
			*size = sizeof(struct paylid__getAccountResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getAccountResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__getAccountResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getAccountResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountResponse(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 paylid__getAccountResponse %p -> %p\n", q, p));
	*(struct paylid__getAccountResponse*)p = *(struct paylid__getAccountResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrate(struct soap *soap, struct paylid__currentXrate *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->topupData);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrate(struct soap *soap, const struct paylid__currentXrate *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->topupData);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrate(struct soap *soap, const char *tag, int id, const struct paylid__currentXrate *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_paylid_paylid__currentXrate), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "topupData", -1, &a->topupData, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_in_paylid__currentXrate(struct soap *soap, const char *tag, struct paylid__currentXrate *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_topupData = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__currentXrate *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__currentXrate, sizeof(struct paylid__currentXrate), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__currentXrate(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_topupData && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "topupData", &a->topupData, "xsd:string"))
				{	soap_flag_topupData--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__currentXrate *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__currentXrate, 0, sizeof(struct paylid__currentXrate), 0, soap_copy_paylid__currentXrate);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_topupData > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrate(struct soap *soap, const struct paylid__currentXrate *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__currentXrate);
	if (soap_out_paylid__currentXrate(soap, tag?tag:"paylid:currentXrate", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__currentXrate * SOAP_FMAC4 soap_get_paylid__currentXrate(struct soap *soap, struct paylid__currentXrate *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__currentXrate(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__currentXrate * SOAP_FMAC2 soap_instantiate_paylid__currentXrate(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_paylid__currentXrate(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__currentXrate, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__currentXrate);
		if (size)
			*size = sizeof(struct paylid__currentXrate);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__currentXrate, n);
		if (size)
			*size = n * sizeof(struct paylid__currentXrate);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__currentXrate*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrate(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 paylid__currentXrate %p -> %p\n", q, p));
	*(struct paylid__currentXrate*)p = *(struct paylid__currentXrate*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__currentXrateResponse(struct soap *soap, struct paylid__currentXrateResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__currentXrateResponse(struct soap *soap, const struct paylid__currentXrateResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__currentXrateResponse(struct soap *soap, const char *tag, int id, const struct paylid__currentXrateResponse *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_paylid_paylid__currentXrateResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_in_paylid__currentXrateResponse(struct soap *soap, const char *tag, struct paylid__currentXrateResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__currentXrateResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__currentXrateResponse, sizeof(struct paylid__currentXrateResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__currentXrateResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__currentXrateResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__currentXrateResponse, 0, sizeof(struct paylid__currentXrateResponse), 0, soap_copy_paylid__currentXrateResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__currentXrateResponse(struct soap *soap, const struct paylid__currentXrateResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__currentXrateResponse);
	if (soap_out_paylid__currentXrateResponse(soap, tag?tag:"paylid:currentXrateResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__currentXrateResponse * SOAP_FMAC4 soap_get_paylid__currentXrateResponse(struct soap *soap, struct paylid__currentXrateResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__currentXrateResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__currentXrateResponse * SOAP_FMAC2 soap_instantiate_paylid__currentXrateResponse(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_paylid__currentXrateResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__currentXrateResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__currentXrateResponse);
		if (size)
			*size = sizeof(struct paylid__currentXrateResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__currentXrateResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__currentXrateResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__currentXrateResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__currentXrateResponse(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 paylid__currentXrateResponse %p -> %p\n", q, p));
	*(struct paylid__currentXrateResponse*)p = *(struct paylid__currentXrateResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUp(struct soap *soap, struct paylid__directAirTimeTopUp *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->topupData);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUp(struct soap *soap, const struct paylid__directAirTimeTopUp *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->topupData);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUp(struct soap *soap, const char *tag, int id, const struct paylid__directAirTimeTopUp *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_paylid_paylid__directAirTimeTopUp), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "topupData", -1, &a->topupData, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUp(struct soap *soap, const char *tag, struct paylid__directAirTimeTopUp *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_topupData = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__directAirTimeTopUp *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__directAirTimeTopUp, sizeof(struct paylid__directAirTimeTopUp), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__directAirTimeTopUp(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_topupData && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "topupData", &a->topupData, "xsd:string"))
				{	soap_flag_topupData--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__directAirTimeTopUp *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__directAirTimeTopUp, 0, sizeof(struct paylid__directAirTimeTopUp), 0, soap_copy_paylid__directAirTimeTopUp);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_topupData > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUp(struct soap *soap, const struct paylid__directAirTimeTopUp *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__directAirTimeTopUp);
	if (soap_out_paylid__directAirTimeTopUp(soap, tag?tag:"paylid:directAirTimeTopUp", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__directAirTimeTopUp * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUp(struct soap *soap, struct paylid__directAirTimeTopUp *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__directAirTimeTopUp(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__directAirTimeTopUp * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUp(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_paylid__directAirTimeTopUp(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__directAirTimeTopUp, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__directAirTimeTopUp);
		if (size)
			*size = sizeof(struct paylid__directAirTimeTopUp);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__directAirTimeTopUp, n);
		if (size)
			*size = n * sizeof(struct paylid__directAirTimeTopUp);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__directAirTimeTopUp*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUp(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 paylid__directAirTimeTopUp %p -> %p\n", q, p));
	*(struct paylid__directAirTimeTopUp*)p = *(struct paylid__directAirTimeTopUp*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__directAirTimeTopUpResponse(struct soap *soap, struct paylid__directAirTimeTopUpResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__directAirTimeTopUpResponse(struct soap *soap, const struct paylid__directAirTimeTopUpResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__directAirTimeTopUpResponse(struct soap *soap, const char *tag, int id, const struct paylid__directAirTimeTopUpResponse *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_paylid_paylid__directAirTimeTopUpResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_in_paylid__directAirTimeTopUpResponse(struct soap *soap, const char *tag, struct paylid__directAirTimeTopUpResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__directAirTimeTopUpResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse, sizeof(struct paylid__directAirTimeTopUpResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__directAirTimeTopUpResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__directAirTimeTopUpResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse, 0, sizeof(struct paylid__directAirTimeTopUpResponse), 0, soap_copy_paylid__directAirTimeTopUpResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__directAirTimeTopUpResponse(struct soap *soap, const struct paylid__directAirTimeTopUpResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse);
	if (soap_out_paylid__directAirTimeTopUpResponse(soap, tag?tag:"paylid:directAirTimeTopUpResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC4 soap_get_paylid__directAirTimeTopUpResponse(struct soap *soap, struct paylid__directAirTimeTopUpResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__directAirTimeTopUpResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__directAirTimeTopUpResponse * SOAP_FMAC2 soap_instantiate_paylid__directAirTimeTopUpResponse(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_paylid__directAirTimeTopUpResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__directAirTimeTopUpResponse);
		if (size)
			*size = sizeof(struct paylid__directAirTimeTopUpResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__directAirTimeTopUpResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__directAirTimeTopUpResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__directAirTimeTopUpResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__directAirTimeTopUpResponse(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 paylid__directAirTimeTopUpResponse %p -> %p\n", q, p));
	*(struct paylid__directAirTimeTopUpResponse*)p = *(struct paylid__directAirTimeTopUpResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatus(struct soap *soap, struct paylid__checkTransferStatus *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->transactionRef);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatus(struct soap *soap, const struct paylid__checkTransferStatus *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->transactionRef);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatus(struct soap *soap, const char *tag, int id, const struct paylid__checkTransferStatus *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_paylid_paylid__checkTransferStatus), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "transactionRef", -1, &a->transactionRef, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_in_paylid__checkTransferStatus(struct soap *soap, const char *tag, struct paylid__checkTransferStatus *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_transactionRef = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__checkTransferStatus *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__checkTransferStatus, sizeof(struct paylid__checkTransferStatus), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__checkTransferStatus(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_transactionRef && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "transactionRef", &a->transactionRef, "xsd:string"))
				{	soap_flag_transactionRef--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__checkTransferStatus *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__checkTransferStatus, 0, sizeof(struct paylid__checkTransferStatus), 0, soap_copy_paylid__checkTransferStatus);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_transactionRef > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatus(struct soap *soap, const struct paylid__checkTransferStatus *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__checkTransferStatus);
	if (soap_out_paylid__checkTransferStatus(soap, tag?tag:"paylid:checkTransferStatus", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__checkTransferStatus * SOAP_FMAC4 soap_get_paylid__checkTransferStatus(struct soap *soap, struct paylid__checkTransferStatus *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__checkTransferStatus(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__checkTransferStatus * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatus(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_paylid__checkTransferStatus(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__checkTransferStatus, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__checkTransferStatus);
		if (size)
			*size = sizeof(struct paylid__checkTransferStatus);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__checkTransferStatus, n);
		if (size)
			*size = n * sizeof(struct paylid__checkTransferStatus);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__checkTransferStatus*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatus(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 paylid__checkTransferStatus %p -> %p\n", q, p));
	*(struct paylid__checkTransferStatus*)p = *(struct paylid__checkTransferStatus*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__checkTransferStatusResponse(struct soap *soap, struct paylid__checkTransferStatusResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__checkTransferStatusResponse(struct soap *soap, const struct paylid__checkTransferStatusResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__checkTransferStatusResponse(struct soap *soap, const char *tag, int id, const struct paylid__checkTransferStatusResponse *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_paylid_paylid__checkTransferStatusResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_in_paylid__checkTransferStatusResponse(struct soap *soap, const char *tag, struct paylid__checkTransferStatusResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__checkTransferStatusResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__checkTransferStatusResponse, sizeof(struct paylid__checkTransferStatusResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__checkTransferStatusResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__checkTransferStatusResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__checkTransferStatusResponse, 0, sizeof(struct paylid__checkTransferStatusResponse), 0, soap_copy_paylid__checkTransferStatusResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__checkTransferStatusResponse(struct soap *soap, const struct paylid__checkTransferStatusResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__checkTransferStatusResponse);
	if (soap_out_paylid__checkTransferStatusResponse(soap, tag?tag:"paylid:checkTransferStatusResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__checkTransferStatusResponse * SOAP_FMAC4 soap_get_paylid__checkTransferStatusResponse(struct soap *soap, struct paylid__checkTransferStatusResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__checkTransferStatusResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__checkTransferStatusResponse * SOAP_FMAC2 soap_instantiate_paylid__checkTransferStatusResponse(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_paylid__checkTransferStatusResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__checkTransferStatusResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__checkTransferStatusResponse);
		if (size)
			*size = sizeof(struct paylid__checkTransferStatusResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__checkTransferStatusResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__checkTransferStatusResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__checkTransferStatusResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__checkTransferStatusResponse(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 paylid__checkTransferStatusResponse %p -> %p\n", q, p));
	*(struct paylid__checkTransferStatusResponse*)p = *(struct paylid__checkTransferStatusResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFund(struct soap *soap, struct paylid__transferFund *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->toDestination);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFund(struct soap *soap, const struct paylid__transferFund *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->toDestination);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFund(struct soap *soap, const char *tag, int id, const struct paylid__transferFund *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_paylid_paylid__transferFund), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "toDestination", -1, &a->toDestination, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_in_paylid__transferFund(struct soap *soap, const char *tag, struct paylid__transferFund *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_toDestination = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__transferFund *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__transferFund, sizeof(struct paylid__transferFund), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__transferFund(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_toDestination && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "toDestination", &a->toDestination, "xsd:string"))
				{	soap_flag_toDestination--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__transferFund *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__transferFund, 0, sizeof(struct paylid__transferFund), 0, soap_copy_paylid__transferFund);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_toDestination > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFund(struct soap *soap, const struct paylid__transferFund *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__transferFund);
	if (soap_out_paylid__transferFund(soap, tag?tag:"paylid:transferFund", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__transferFund * SOAP_FMAC4 soap_get_paylid__transferFund(struct soap *soap, struct paylid__transferFund *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__transferFund(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__transferFund * SOAP_FMAC2 soap_instantiate_paylid__transferFund(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_paylid__transferFund(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__transferFund, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__transferFund);
		if (size)
			*size = sizeof(struct paylid__transferFund);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__transferFund, n);
		if (size)
			*size = n * sizeof(struct paylid__transferFund);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__transferFund*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFund(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 paylid__transferFund %p -> %p\n", q, p));
	*(struct paylid__transferFund*)p = *(struct paylid__transferFund*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__transferFundResponse(struct soap *soap, struct paylid__transferFundResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__transferFundResponse(struct soap *soap, const struct paylid__transferFundResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__transferFundResponse(struct soap *soap, const char *tag, int id, const struct paylid__transferFundResponse *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_paylid_paylid__transferFundResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_in_paylid__transferFundResponse(struct soap *soap, const char *tag, struct paylid__transferFundResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__transferFundResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__transferFundResponse, sizeof(struct paylid__transferFundResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__transferFundResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__transferFundResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__transferFundResponse, 0, sizeof(struct paylid__transferFundResponse), 0, soap_copy_paylid__transferFundResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__transferFundResponse(struct soap *soap, const struct paylid__transferFundResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__transferFundResponse);
	if (soap_out_paylid__transferFundResponse(soap, tag?tag:"paylid:transferFundResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__transferFundResponse * SOAP_FMAC4 soap_get_paylid__transferFundResponse(struct soap *soap, struct paylid__transferFundResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__transferFundResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__transferFundResponse * SOAP_FMAC2 soap_instantiate_paylid__transferFundResponse(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_paylid__transferFundResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__transferFundResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__transferFundResponse);
		if (size)
			*size = sizeof(struct paylid__transferFundResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__transferFundResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__transferFundResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__transferFundResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__transferFundResponse(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 paylid__transferFundResponse %p -> %p\n", q, p));
	*(struct paylid__transferFundResponse*)p = *(struct paylid__transferFundResponse*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalance(struct soap *soap, struct paylid__getAccountBalance *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->terminalID);
	soap_default_std__string(soap, &a->hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalance(struct soap *soap, const struct paylid__getAccountBalance *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->terminalID);
	soap_serialize_std__string(soap, &a->hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalance(struct soap *soap, const char *tag, int id, const struct paylid__getAccountBalance *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_paylid_paylid__getAccountBalance), type))
		return soap->error;
	if (soap_out_std__string(soap, "terminalID", -1, &a->terminalID, ""))
		return soap->error;
	if (soap_out_std__string(soap, "hmac", -1, &a->hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_in_paylid__getAccountBalance(struct soap *soap, const char *tag, struct paylid__getAccountBalance *a, const char *type)
{
	size_t soap_flag_terminalID = 1;
	size_t soap_flag_hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getAccountBalance *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getAccountBalance, sizeof(struct paylid__getAccountBalance), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getAccountBalance(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_terminalID && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "terminalID", &a->terminalID, "xsd:string"))
				{	soap_flag_terminalID--;
					continue;
				}
			if (soap_flag_hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "hmac", &a->hmac, "xsd:string"))
				{	soap_flag_hmac--;
					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 paylid__getAccountBalance *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getAccountBalance, 0, sizeof(struct paylid__getAccountBalance), 0, soap_copy_paylid__getAccountBalance);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_terminalID > 0 || soap_flag_hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalance(struct soap *soap, const struct paylid__getAccountBalance *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getAccountBalance);
	if (soap_out_paylid__getAccountBalance(soap, tag?tag:"paylid:getAccountBalance", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getAccountBalance * SOAP_FMAC4 soap_get_paylid__getAccountBalance(struct soap *soap, struct paylid__getAccountBalance *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getAccountBalance(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getAccountBalance * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalance(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_paylid__getAccountBalance(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getAccountBalance, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getAccountBalance);
		if (size)
			*size = sizeof(struct paylid__getAccountBalance);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getAccountBalance, n);
		if (size)
			*size = n * sizeof(struct paylid__getAccountBalance);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getAccountBalance*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalance(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 paylid__getAccountBalance %p -> %p\n", q, p));
	*(struct paylid__getAccountBalance*)p = *(struct paylid__getAccountBalance*)q;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_default_paylid__getAccountBalanceResponse(struct soap *soap, struct paylid__getAccountBalanceResponse *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_default_std__string(soap, &a->Code);
	soap_default_std__string(soap, &a->Data);
	soap_default_std__string(soap, &a->Hmac);
}

SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_paylid__getAccountBalanceResponse(struct soap *soap, const struct paylid__getAccountBalanceResponse *a)
{
#ifndef WITH_NOIDREF
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_std__string(soap, &a->Code);
	soap_serialize_std__string(soap, &a->Data);
	soap_serialize_std__string(soap, &a->Hmac);
#endif
}

SOAP_FMAC3 int SOAP_FMAC4 soap_out_paylid__getAccountBalanceResponse(struct soap *soap, const char *tag, int id, const struct paylid__getAccountBalanceResponse *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_paylid_paylid__getAccountBalanceResponse), type))
		return soap->error;
	if (soap_out_std__string(soap, "Code", -1, &a->Code, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Data", -1, &a->Data, ""))
		return soap->error;
	if (soap_out_std__string(soap, "Hmac", -1, &a->Hmac, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_in_paylid__getAccountBalanceResponse(struct soap *soap, const char *tag, struct paylid__getAccountBalanceResponse *a, const char *type)
{
	size_t soap_flag_Code = 1;
	size_t soap_flag_Data = 1;
	size_t soap_flag_Hmac = 1;
	if (soap_element_begin_in(soap, tag, 0, type))
		return NULL;
	a = (struct paylid__getAccountBalanceResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_paylid_paylid__getAccountBalanceResponse, sizeof(struct paylid__getAccountBalanceResponse), soap->type, soap->arrayType);
	if (!a)
		return NULL;
	soap_default_paylid__getAccountBalanceResponse(soap, a);
	if (soap->body && !*soap->href)
	{
		for (;;)
		{	soap->error = SOAP_TAG_MISMATCH;
			if (soap_flag_Code && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Code", &a->Code, "xsd:string"))
				{	soap_flag_Code--;
					continue;
				}
			if (soap_flag_Data && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Data", &a->Data, "xsd:string"))
				{	soap_flag_Data--;
					continue;
				}
			if (soap_flag_Hmac && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
				if (soap_in_std__string(soap, "Hmac", &a->Hmac, "xsd:string"))
				{	soap_flag_Hmac--;
					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 paylid__getAccountBalanceResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_paylid_paylid__getAccountBalanceResponse, 0, sizeof(struct paylid__getAccountBalanceResponse), 0, soap_copy_paylid__getAccountBalanceResponse);
		if (soap->body && soap_element_end_in(soap, tag))
			return NULL;
	}
	if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_Code > 0 || soap_flag_Data > 0 || soap_flag_Hmac > 0))
	{	soap->error = SOAP_OCCURS;
		return NULL;
	}
	return a;
}

SOAP_FMAC3 int SOAP_FMAC4 soap_put_paylid__getAccountBalanceResponse(struct soap *soap, const struct paylid__getAccountBalanceResponse *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_paylid_paylid__getAccountBalanceResponse);
	if (soap_out_paylid__getAccountBalanceResponse(soap, tag?tag:"paylid:getAccountBalanceResponse", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

SOAP_FMAC3 struct paylid__getAccountBalanceResponse * SOAP_FMAC4 soap_get_paylid__getAccountBalanceResponse(struct soap *soap, struct paylid__getAccountBalanceResponse *p, const char *tag, const char *type)
{
	if ((p = soap_in_paylid__getAccountBalanceResponse(soap, tag, p, type)))
		if (soap_getindependent(soap))
			return NULL;
	return p;
}

SOAP_FMAC1 struct paylid__getAccountBalanceResponse * SOAP_FMAC2 soap_instantiate_paylid__getAccountBalanceResponse(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_paylid__getAccountBalanceResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:""));
	struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_paylid_paylid__getAccountBalanceResponse, n, paylid_fdelete);
	if (!cp)
		return NULL;
	if (n < 0)
	{	cp->ptr = (void*)SOAP_NEW(struct paylid__getAccountBalanceResponse);
		if (size)
			*size = sizeof(struct paylid__getAccountBalanceResponse);
	}
	else
	{	cp->ptr = (void*)SOAP_NEW_ARRAY(struct paylid__getAccountBalanceResponse, n);
		if (size)
			*size = n * sizeof(struct paylid__getAccountBalanceResponse);
	}
	DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
	if (!cp->ptr)
		soap->error = SOAP_EOM;
	return (struct paylid__getAccountBalanceResponse*)cp->ptr;
}

SOAP_FMAC3 void SOAP_FMAC4 soap_copy_paylid__getAccountBalanceResponse(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 paylid__getAccountBalanceResponse %p -> %p\n", q, p));
	*(struct paylid__getAccountBalanceResponse*)p = *(struct paylid__getAccountBalanceResponse*)q;
}

#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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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_paylid_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__QName(struct soap *soap, char *const*a)
{
#ifndef WITH_NOIDREF
	soap_reference(soap, *a, SOAP_TYPE_paylid__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_paylid__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_paylid__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_paylid__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_paylid_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_paylid_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_paylid_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_paylid_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;
}

} // namespace paylid


#if defined(__BORLANDC__)
#pragma option pop
#pragma option pop
#endif

/* End of paylidC.cpp */
