/* ISAGMMSC.cpp Generated by gSOAP 2.8.6 from IsagMms.h Copyright(C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved. The generated code is released under one of the following licenses: 1) GPL or 2) 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 "ISAGMMSH.h" namespace ISAGMMS { SOAP_SOURCE_STAMP("@(#) ISAGMMSC.cpp ver 2.8.6 2012-01-20 12:42:55 GMT") #ifndef WITH_NOGLOBAL SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap) { if (soap->header) soap_serialize_SOAP_ENV__Header(soap, soap->header); } SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap) { if (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 int SOAP_FMAC4 soap_getheader(struct soap *soap) { soap->part = SOAP_IN_HEADER; soap->header = soap_in_SOAP_ENV__Header(soap, "SOAP-ENV:Header", NULL, NULL); soap->part = SOAP_END_HEADER; return soap->header == NULL; } SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap) { if (!soap->header) { 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) { soap->fault = soap_new_SOAP_ENV__Fault(soap, -1); if (!soap->fault) 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) { 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 == 1) { if (!soap->fault->detail) { soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail)); soap_default_SOAP_ENV__Detail(soap, soap->fault->detail); } return (const char**)&soap->fault->detail->__any; } if (!soap->fault->SOAP_ENV__Detail) { 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; } 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 #ifndef WITH_NOIDREF SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type) { (void)type; if (soap_peek_element(soap)) return NULL; if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id))) *type = soap_lookup_type(soap, soap->href); switch (*type) { case SOAP_TYPE_ISAGMMS_byte: return soap_in_byte(soap, NULL, NULL, "xsd:byte"); case SOAP_TYPE_ISAGMMS_int: return soap_in_int(soap, NULL, NULL, "xsd:int"); case SOAP_TYPE_ISAGMMS_bool: return soap_in_bool(soap, NULL, NULL, "xsd:boolean"); case SOAP_TYPE_ISAGMMS_ns4__TimeMetrics: return soap_in_ns4__TimeMetrics(soap, NULL, NULL, "ns4:TimeMetrics"); case SOAP_TYPE_ISAGMMS_ns4__EndReason: return soap_in_ns4__EndReason(soap, NULL, NULL, "ns4:EndReason"); case SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus: return soap_in_ns4__DeliveryConfirmStatus(soap, NULL, NULL, "ns4:DeliveryConfirmStatus"); case SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus: return soap_in_ns3__DeliveryStatus(soap, NULL, NULL, "ns3:DeliveryStatus"); case SOAP_TYPE_ISAGMMS_ns3__MessagePriority: return soap_in_ns3__MessagePriority(soap, NULL, NULL, "ns3:MessagePriority"); case SOAP_TYPE_ISAGMMS_ns4__PolicyException: return soap_in_ns4__PolicyException(soap, NULL, NULL, "ns4:PolicyException"); case SOAP_TYPE_ISAGMMS_ns4__ServiceException: return soap_in_ns4__ServiceException(soap, NULL, NULL, "ns4:ServiceException"); case SOAP_TYPE_ISAGMMS_ns4__ServiceError: return soap_in_ns4__ServiceError(soap, NULL, NULL, "ns4:ServiceError"); case SOAP_TYPE_ISAGMMS_ns4__SimpleReference: return soap_in_ns4__SimpleReference(soap, NULL, NULL, "ns4:SimpleReference"); case SOAP_TYPE_ISAGMMS_ns4__ChargingInformation: return soap_in_ns4__ChargingInformation(soap, NULL, NULL, "ns4:ChargingInformation"); case SOAP_TYPE_ISAGMMS_ns4__TimeMetric: return soap_in_ns4__TimeMetric(soap, NULL, NULL, "ns4:TimeMetric"); case SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader: return soap_in_ns4__NotifySOAPHeader(soap, NULL, NULL, "ns4:NotifySOAPHeader"); case SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader: return soap_in_ns4__RequestSOAPHeader(soap, NULL, NULL, "ns4:RequestSOAPHeader"); case SOAP_TYPE_ISAGMMS_ns3__MessageURI: return soap_in_ns3__MessageURI(soap, NULL, NULL, "ns3:MessageURI"); case SOAP_TYPE_ISAGMMS_ns3__MessageReference: return soap_in_ns3__MessageReference(soap, NULL, NULL, "ns3:MessageReference"); case SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation: return soap_in_ns3__DeliveryInformation(soap, NULL, NULL, "ns3:DeliveryInformation"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse: return soap_in_ns2__notifyMessageDeliveryReceiptResponse(soap, NULL, NULL, "ns2:notifyMessageDeliveryReceiptResponse"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt: return soap_in_ns2__notifyMessageDeliveryReceipt(soap, NULL, NULL, "ns2:notifyMessageDeliveryReceipt"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse: return soap_in_ns2__notifyMessageReceptionResponse(soap, NULL, NULL, "ns2:notifyMessageReceptionResponse"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception: return soap_in_ns2__notifyMessageReception(soap, NULL, NULL, "ns2:notifyMessageReception"); case SOAP_TYPE_ISAGMMS_xsd__decimal: return soap_in_xsd__decimal(soap, NULL, NULL, "xsd:decimal"); case SOAP_TYPE_ISAGMMS_xsd__anyURI: return soap_in_xsd__anyURI(soap, NULL, NULL, "xsd:anyURI"); case SOAP_TYPE_ISAGMMS_std__wstring: return soap_in_std__wstring(soap, NULL, NULL, "xsd:string"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceiptResponse: return soap_in_PointerTons2__notifyMessageDeliveryReceiptResponse(soap, NULL, NULL, "ns2:notifyMessageDeliveryReceiptResponse"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceipt: return soap_in_PointerTons2__notifyMessageDeliveryReceipt(soap, NULL, NULL, "ns2:notifyMessageDeliveryReceipt"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReceptionResponse: return soap_in_PointerTons2__notifyMessageReceptionResponse(soap, NULL, NULL, "ns2:notifyMessageReceptionResponse"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReception: return soap_in_PointerTons2__notifyMessageReception(soap, NULL, NULL, "ns2:notifyMessageReception"); case SOAP_TYPE_ISAGMMS_PointerToxsd__decimal: return soap_in_PointerToxsd__decimal(soap, NULL, NULL, "xsd:decimal"); case SOAP_TYPE_ISAGMMS_PointerTobool: return soap_in_PointerTobool(soap, NULL, NULL, "xsd:boolean"); case SOAP_TYPE_ISAGMMS_PointerTons4__EndReason: return soap_in_PointerTons4__EndReason(soap, NULL, NULL, "ns4:EndReason"); case SOAP_TYPE_ISAGMMS_PointerToxsd__anyURI: return soap_in_PointerToxsd__anyURI(soap, NULL, NULL, "xsd:anyURI"); case SOAP_TYPE_ISAGMMS_PointerTostd__wstring: return soap_in_PointerTostd__wstring(soap, NULL, NULL, "xsd:string"); case SOAP_TYPE_ISAGMMS_PointerTons3__DeliveryInformation: return soap_in_PointerTons3__DeliveryInformation(soap, NULL, NULL, "ns3:DeliveryInformation"); case SOAP_TYPE_ISAGMMS_PointerTons3__MessageReference: return soap_in_PointerTons3__MessageReference(soap, NULL, NULL, "ns3:MessageReference"); case SOAP_TYPE_ISAGMMS__QName: { char **s; s = soap_in__QName(soap, NULL, NULL, "xsd:QName"); return s ? *s : NULL; } case SOAP_TYPE_ISAGMMS_string: { char **s; s = soap_in_string(soap, NULL, NULL, "xsd:string"); return s ? *s : NULL; } default: { const char *t = soap->type; if (!*t) t = soap->tag; if (!soap_match_tag(soap, t, "ns4:PolicyException")) { *type = SOAP_TYPE_ISAGMMS_ns4__PolicyException; return soap_in_ns4__PolicyException(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:ServiceException")) { *type = SOAP_TYPE_ISAGMMS_ns4__ServiceException; return soap_in_ns4__ServiceException(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:ServiceError")) { *type = SOAP_TYPE_ISAGMMS_ns4__ServiceError; return soap_in_ns4__ServiceError(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:SimpleReference")) { *type = SOAP_TYPE_ISAGMMS_ns4__SimpleReference; return soap_in_ns4__SimpleReference(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:ChargingInformation")) { *type = SOAP_TYPE_ISAGMMS_ns4__ChargingInformation; return soap_in_ns4__ChargingInformation(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:TimeMetric")) { *type = SOAP_TYPE_ISAGMMS_ns4__TimeMetric; return soap_in_ns4__TimeMetric(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:NotifySOAPHeader")) { *type = SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader; return soap_in_ns4__NotifySOAPHeader(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:RequestSOAPHeader")) { *type = SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader; return soap_in_ns4__RequestSOAPHeader(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns3:MessageURI")) { *type = SOAP_TYPE_ISAGMMS_ns3__MessageURI; return soap_in_ns3__MessageURI(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns3:MessageReference")) { *type = SOAP_TYPE_ISAGMMS_ns3__MessageReference; return soap_in_ns3__MessageReference(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns3:DeliveryInformation")) { *type = SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation; return soap_in_ns3__DeliveryInformation(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns2:notifyMessageDeliveryReceiptResponse")) { *type = SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse; return soap_in_ns2__notifyMessageDeliveryReceiptResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns2:notifyMessageDeliveryReceipt")) { *type = SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt; return soap_in_ns2__notifyMessageDeliveryReceipt(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns2:notifyMessageReceptionResponse")) { *type = SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse; return soap_in_ns2__notifyMessageReceptionResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns2:notifyMessageReception")) { *type = SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception; return soap_in_ns2__notifyMessageReception(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:decimal")) { *type = SOAP_TYPE_ISAGMMS_xsd__decimal; return soap_in_xsd__decimal(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:anyURI")) { *type = SOAP_TYPE_ISAGMMS_xsd__anyURI; return soap_in_xsd__anyURI(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:string")) { *type = SOAP_TYPE_ISAGMMS_std__wstring; return soap_in_std__wstring(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:byte")) { *type = SOAP_TYPE_ISAGMMS_byte; return soap_in_byte(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:int")) { *type = SOAP_TYPE_ISAGMMS_int; return soap_in_int(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:boolean")) { *type = SOAP_TYPE_ISAGMMS_bool; return soap_in_bool(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:TimeMetrics")) { *type = SOAP_TYPE_ISAGMMS_ns4__TimeMetrics; return soap_in_ns4__TimeMetrics(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:EndReason")) { *type = SOAP_TYPE_ISAGMMS_ns4__EndReason; return soap_in_ns4__EndReason(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns4:DeliveryConfirmStatus")) { *type = SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus; return soap_in_ns4__DeliveryConfirmStatus(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns3:DeliveryStatus")) { *type = SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus; return soap_in_ns3__DeliveryStatus(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns3:MessagePriority")) { *type = SOAP_TYPE_ISAGMMS_ns3__MessagePriority; return soap_in_ns3__MessagePriority(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:QName")) { char **s; *type = SOAP_TYPE_ISAGMMS__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_ISAGMMS_string; s = soap_in_string(soap, NULL, NULL, NULL); return s ? *s : NULL; } t = soap->tag; } } soap->error = SOAP_TAG_MISMATCH; return NULL; } #endif SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap) { if (!soap_peek_element(soap)) { int t; DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input (level=%u, %d)\n", soap->tag, soap->level, soap->body)); if (soap->mustUnderstand && !soap->other) return soap->error = SOAP_MUSTUNDERSTAND; if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:")) { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag)); return soap->error = SOAP_TAG_MISMATCH; } if (!*soap->id || !soap_getelement(soap, &t)) { soap->peeked = 0; if (soap->fignore) soap->error = soap->fignore(soap, soap->tag); else soap->error = SOAP_OK; DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag)); if (!soap->error && soap->body) { soap->level++; while (!soap_ignore_element(soap)) ; if (soap->error == SOAP_NO_TAG) soap->error = soap_element_end_in(soap, NULL); } } } return soap->error; } #ifndef WITH_NOIDREF SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap) { int i; struct soap_plist *pp; if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH))) for (i = 0; i < SOAP_PTRHASH; i++) for (pp = soap->pht[i]; pp; pp = pp->next) if (pp->mark1 == 2 || pp->mark2 == 2) if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type)) return soap->error; return SOAP_OK; } #endif #ifndef WITH_NOIDREF 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_ISAGMMS_byte: return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte"); case SOAP_TYPE_ISAGMMS_int: return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int"); case SOAP_TYPE_ISAGMMS_bool: return soap_out_bool(soap, tag, id, (const bool *)ptr, "xsd:boolean"); case SOAP_TYPE_ISAGMMS_ns4__TimeMetrics: return soap_out_ns4__TimeMetrics(soap, tag, id, (const enum ns4__TimeMetrics *)ptr, "ns4:TimeMetrics"); case SOAP_TYPE_ISAGMMS_ns4__EndReason: return soap_out_ns4__EndReason(soap, tag, id, (const enum ns4__EndReason *)ptr, "ns4:EndReason"); case SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus: return soap_out_ns4__DeliveryConfirmStatus(soap, tag, id, (const enum ns4__DeliveryConfirmStatus *)ptr, "ns4:DeliveryConfirmStatus"); case SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus: return soap_out_ns3__DeliveryStatus(soap, tag, id, (const enum ns3__DeliveryStatus *)ptr, "ns3:DeliveryStatus"); case SOAP_TYPE_ISAGMMS_ns3__MessagePriority: return soap_out_ns3__MessagePriority(soap, tag, id, (const enum ns3__MessagePriority *)ptr, "ns3:MessagePriority"); case SOAP_TYPE_ISAGMMS_ns4__PolicyException: return ((ns4__PolicyException *)ptr)->soap_out(soap, tag, id, "ns4:PolicyException"); case SOAP_TYPE_ISAGMMS_ns4__ServiceException: return ((ns4__ServiceException *)ptr)->soap_out(soap, tag, id, "ns4:ServiceException"); case SOAP_TYPE_ISAGMMS_ns4__ServiceError: return ((ns4__ServiceError *)ptr)->soap_out(soap, tag, id, "ns4:ServiceError"); case SOAP_TYPE_ISAGMMS_ns4__SimpleReference: return ((ns4__SimpleReference *)ptr)->soap_out(soap, tag, id, "ns4:SimpleReference"); case SOAP_TYPE_ISAGMMS_ns4__ChargingInformation: return ((ns4__ChargingInformation *)ptr)->soap_out(soap, tag, id, "ns4:ChargingInformation"); case SOAP_TYPE_ISAGMMS_ns4__TimeMetric: return ((ns4__TimeMetric *)ptr)->soap_out(soap, tag, id, "ns4:TimeMetric"); case SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader: return ((ns4__NotifySOAPHeader *)ptr)->soap_out(soap, tag, id, "ns4:NotifySOAPHeader"); case SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader: return ((ns4__RequestSOAPHeader *)ptr)->soap_out(soap, tag, id, "ns4:RequestSOAPHeader"); case SOAP_TYPE_ISAGMMS_ns3__MessageURI: return ((ns3__MessageURI *)ptr)->soap_out(soap, tag, id, "ns3:MessageURI"); case SOAP_TYPE_ISAGMMS_ns3__MessageReference: return ((ns3__MessageReference *)ptr)->soap_out(soap, tag, id, "ns3:MessageReference"); case SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation: return ((ns3__DeliveryInformation *)ptr)->soap_out(soap, tag, id, "ns3:DeliveryInformation"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse: return ((ns2__notifyMessageDeliveryReceiptResponse *)ptr)->soap_out(soap, tag, id, "ns2:notifyMessageDeliveryReceiptResponse"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt: return ((ns2__notifyMessageDeliveryReceipt *)ptr)->soap_out(soap, tag, id, "ns2:notifyMessageDeliveryReceipt"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse: return ((ns2__notifyMessageReceptionResponse *)ptr)->soap_out(soap, tag, id, "ns2:notifyMessageReceptionResponse"); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception: return ((ns2__notifyMessageReception *)ptr)->soap_out(soap, tag, id, "ns2:notifyMessageReception"); case SOAP_TYPE_ISAGMMS_xsd__decimal: return soap_out_xsd__decimal(soap, tag, id, (const std::wstring *)ptr, "xsd:decimal"); case SOAP_TYPE_ISAGMMS_xsd__anyURI: return soap_out_xsd__anyURI(soap, tag, id, (const std::wstring *)ptr, "xsd:anyURI"); case SOAP_TYPE_ISAGMMS_std__wstring: return soap_out_std__wstring(soap, tag, id, (const std::wstring *)ptr, "xsd:string"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceiptResponse: return soap_out_PointerTons2__notifyMessageDeliveryReceiptResponse(soap, tag, id, (ns2__notifyMessageDeliveryReceiptResponse *const*)ptr, "ns2:notifyMessageDeliveryReceiptResponse"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceipt: return soap_out_PointerTons2__notifyMessageDeliveryReceipt(soap, tag, id, (ns2__notifyMessageDeliveryReceipt *const*)ptr, "ns2:notifyMessageDeliveryReceipt"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReceptionResponse: return soap_out_PointerTons2__notifyMessageReceptionResponse(soap, tag, id, (ns2__notifyMessageReceptionResponse *const*)ptr, "ns2:notifyMessageReceptionResponse"); case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReception: return soap_out_PointerTons2__notifyMessageReception(soap, tag, id, (ns2__notifyMessageReception *const*)ptr, "ns2:notifyMessageReception"); case SOAP_TYPE_ISAGMMS_PointerToxsd__decimal: return soap_out_PointerToxsd__decimal(soap, tag, id, (std::wstring *const*)ptr, "xsd:decimal"); case SOAP_TYPE_ISAGMMS_PointerTobool: return soap_out_PointerTobool(soap, tag, id, (bool *const*)ptr, "xsd:boolean"); case SOAP_TYPE_ISAGMMS_PointerTons4__EndReason: return soap_out_PointerTons4__EndReason(soap, tag, id, (enum ns4__EndReason *const*)ptr, "ns4:EndReason"); case SOAP_TYPE_ISAGMMS_PointerToxsd__anyURI: return soap_out_PointerToxsd__anyURI(soap, tag, id, (std::wstring *const*)ptr, "xsd:anyURI"); case SOAP_TYPE_ISAGMMS_PointerTostd__wstring: return soap_out_PointerTostd__wstring(soap, tag, id, (std::wstring *const*)ptr, "xsd:string"); case SOAP_TYPE_ISAGMMS_PointerTons3__DeliveryInformation: return soap_out_PointerTons3__DeliveryInformation(soap, tag, id, (ns3__DeliveryInformation *const*)ptr, "ns3:DeliveryInformation"); case SOAP_TYPE_ISAGMMS_PointerTons3__MessageReference: return soap_out_PointerTons3__MessageReference(soap, tag, id, (ns3__MessageReference *const*)ptr, "ns3:MessageReference"); case SOAP_TYPE_ISAGMMS__QName: return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName"); case SOAP_TYPE_ISAGMMS_string: return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string"); } return SOAP_OK; } #endif #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_ISAGMMS_ns4__PolicyException: ((ns4__PolicyException *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__ServiceException: ((ns4__ServiceException *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__ServiceError: ((ns4__ServiceError *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__SimpleReference: ((ns4__SimpleReference *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__ChargingInformation: ((ns4__ChargingInformation *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__TimeMetric: ((ns4__TimeMetric *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader: ((ns4__NotifySOAPHeader *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader: ((ns4__RequestSOAPHeader *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns3__MessageURI: ((ns3__MessageURI *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns3__MessageReference: ((ns3__MessageReference *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation: ((ns3__DeliveryInformation *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse: ((ns2__notifyMessageDeliveryReceiptResponse *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt: ((ns2__notifyMessageDeliveryReceipt *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse: ((ns2__notifyMessageReceptionResponse *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception: ((ns2__notifyMessageReception *)ptr)->soap_serialize(soap); break; case SOAP_TYPE_ISAGMMS_xsd__decimal: soap_serialize_xsd__decimal(soap, (const std::wstring *)ptr); break; case SOAP_TYPE_ISAGMMS_xsd__anyURI: soap_serialize_xsd__anyURI(soap, (const std::wstring *)ptr); break; case SOAP_TYPE_ISAGMMS_std__wstring: soap_serialize_std__wstring(soap, (const std::wstring *)ptr); break; case SOAP_TYPE_ISAGMMS___ns1__notifyMessageDeliveryReceipt: soap_serialize___ns1__notifyMessageDeliveryReceipt(soap, (const struct __ns1__notifyMessageDeliveryReceipt *)ptr); break; case SOAP_TYPE_ISAGMMS___ns1__notifyMessageReception: soap_serialize___ns1__notifyMessageReception(soap, (const struct __ns1__notifyMessageReception *)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceiptResponse: soap_serialize_PointerTons2__notifyMessageDeliveryReceiptResponse(soap, (ns2__notifyMessageDeliveryReceiptResponse *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceipt: soap_serialize_PointerTons2__notifyMessageDeliveryReceipt(soap, (ns2__notifyMessageDeliveryReceipt *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReceptionResponse: soap_serialize_PointerTons2__notifyMessageReceptionResponse(soap, (ns2__notifyMessageReceptionResponse *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReception: soap_serialize_PointerTons2__notifyMessageReception(soap, (ns2__notifyMessageReception *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerToxsd__decimal: soap_serialize_PointerToxsd__decimal(soap, (std::wstring *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTobool: soap_serialize_PointerTobool(soap, (bool *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons4__EndReason: soap_serialize_PointerTons4__EndReason(soap, (enum ns4__EndReason *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerToxsd__anyURI: soap_serialize_PointerToxsd__anyURI(soap, (std::wstring *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTostd__wstring: soap_serialize_PointerTostd__wstring(soap, (std::wstring *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons3__DeliveryInformation: soap_serialize_PointerTons3__DeliveryInformation(soap, (ns3__DeliveryInformation *const*)ptr); break; case SOAP_TYPE_ISAGMMS_PointerTons3__MessageReference: soap_serialize_PointerTons3__MessageReference(soap, (ns3__MessageReference *const*)ptr); break; case SOAP_TYPE_ISAGMMS__QName: soap_serialize_string(soap, (char*const*)&ptr); break; case SOAP_TYPE_ISAGMMS_string: soap_serialize_string(soap, (char*const*)&ptr); break; } } #endif SOAP_FMAC3 void * SOAP_FMAC4 ISAGMMS_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n) { (void)type; switch (t) { case SOAP_TYPE_ISAGMMS_std__wstring: return (void*)soap_instantiate_std__wstring(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception: return (void*)soap_instantiate_ns2__notifyMessageReception(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse: return (void*)soap_instantiate_ns2__notifyMessageReceptionResponse(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt: return (void*)soap_instantiate_ns2__notifyMessageDeliveryReceipt(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse: return (void*)soap_instantiate_ns2__notifyMessageDeliveryReceiptResponse(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation: return (void*)soap_instantiate_ns3__DeliveryInformation(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns3__MessageReference: return (void*)soap_instantiate_ns3__MessageReference(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns3__MessageURI: return (void*)soap_instantiate_ns3__MessageURI(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader: return (void*)soap_instantiate_ns4__RequestSOAPHeader(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader: return (void*)soap_instantiate_ns4__NotifySOAPHeader(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__TimeMetric: return (void*)soap_instantiate_ns4__TimeMetric(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__ChargingInformation: return (void*)soap_instantiate_ns4__ChargingInformation(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__SimpleReference: return (void*)soap_instantiate_ns4__SimpleReference(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__ServiceError: return (void*)soap_instantiate_ns4__ServiceError(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__ServiceException: return (void*)soap_instantiate_ns4__ServiceException(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_ns4__PolicyException: return (void*)soap_instantiate_ns4__PolicyException(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS___ns1__notifyMessageReception: return (void*)soap_instantiate___ns1__notifyMessageReception(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS___ns1__notifyMessageDeliveryReceipt: return (void*)soap_instantiate___ns1__notifyMessageDeliveryReceipt(soap, -1, type, arrayType, n); #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_SOAP_ENV__Header: return (void*)soap_instantiate_SOAP_ENV__Header(soap, -1, type, arrayType, n); #endif #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_SOAP_ENV__Code: return (void*)soap_instantiate_SOAP_ENV__Code(soap, -1, type, arrayType, n); #endif #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_SOAP_ENV__Detail: return (void*)soap_instantiate_SOAP_ENV__Detail(soap, -1, type, arrayType, n); #endif #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_SOAP_ENV__Reason: return (void*)soap_instantiate_SOAP_ENV__Reason(soap, -1, type, arrayType, n); #endif #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_SOAP_ENV__Fault: return (void*)soap_instantiate_SOAP_ENV__Fault(soap, -1, type, arrayType, n); #endif case SOAP_TYPE_ISAGMMS_xsd__anyURI: return (void*)soap_instantiate_xsd__anyURI(soap, -1, type, arrayType, n); case SOAP_TYPE_ISAGMMS_xsd__decimal: return (void*)soap_instantiate_xsd__decimal(soap, -1, type, arrayType, n); } return NULL; } SOAP_FMAC3 int SOAP_FMAC4 ISAGMMS_fdelete(struct soap_clist *p) { switch (p->type) { case SOAP_TYPE_ISAGMMS_std__wstring: if (p->size < 0) SOAP_DELETE((std::wstring*)p->ptr); else SOAP_DELETE_ARRAY((std::wstring*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception: if (p->size < 0) SOAP_DELETE((ns2__notifyMessageReception*)p->ptr); else SOAP_DELETE_ARRAY((ns2__notifyMessageReception*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse: if (p->size < 0) SOAP_DELETE((ns2__notifyMessageReceptionResponse*)p->ptr); else SOAP_DELETE_ARRAY((ns2__notifyMessageReceptionResponse*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt: if (p->size < 0) SOAP_DELETE((ns2__notifyMessageDeliveryReceipt*)p->ptr); else SOAP_DELETE_ARRAY((ns2__notifyMessageDeliveryReceipt*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse: if (p->size < 0) SOAP_DELETE((ns2__notifyMessageDeliveryReceiptResponse*)p->ptr); else SOAP_DELETE_ARRAY((ns2__notifyMessageDeliveryReceiptResponse*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation: if (p->size < 0) SOAP_DELETE((ns3__DeliveryInformation*)p->ptr); else SOAP_DELETE_ARRAY((ns3__DeliveryInformation*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns3__MessageReference: if (p->size < 0) SOAP_DELETE((ns3__MessageReference*)p->ptr); else SOAP_DELETE_ARRAY((ns3__MessageReference*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns3__MessageURI: if (p->size < 0) SOAP_DELETE((ns3__MessageURI*)p->ptr); else SOAP_DELETE_ARRAY((ns3__MessageURI*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader: if (p->size < 0) SOAP_DELETE((ns4__RequestSOAPHeader*)p->ptr); else SOAP_DELETE_ARRAY((ns4__RequestSOAPHeader*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader: if (p->size < 0) SOAP_DELETE((ns4__NotifySOAPHeader*)p->ptr); else SOAP_DELETE_ARRAY((ns4__NotifySOAPHeader*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__TimeMetric: if (p->size < 0) SOAP_DELETE((ns4__TimeMetric*)p->ptr); else SOAP_DELETE_ARRAY((ns4__TimeMetric*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__ChargingInformation: if (p->size < 0) SOAP_DELETE((ns4__ChargingInformation*)p->ptr); else SOAP_DELETE_ARRAY((ns4__ChargingInformation*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__SimpleReference: if (p->size < 0) SOAP_DELETE((ns4__SimpleReference*)p->ptr); else SOAP_DELETE_ARRAY((ns4__SimpleReference*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__ServiceError: if (p->size < 0) SOAP_DELETE((ns4__ServiceError*)p->ptr); else SOAP_DELETE_ARRAY((ns4__ServiceError*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__ServiceException: if (p->size < 0) SOAP_DELETE((ns4__ServiceException*)p->ptr); else SOAP_DELETE_ARRAY((ns4__ServiceException*)p->ptr); break; case SOAP_TYPE_ISAGMMS_ns4__PolicyException: if (p->size < 0) SOAP_DELETE((ns4__PolicyException*)p->ptr); else SOAP_DELETE_ARRAY((ns4__PolicyException*)p->ptr); break; case SOAP_TYPE_ISAGMMS___ns1__notifyMessageReception: if (p->size < 0) SOAP_DELETE((struct __ns1__notifyMessageReception*)p->ptr); else SOAP_DELETE_ARRAY((struct __ns1__notifyMessageReception*)p->ptr); break; case SOAP_TYPE_ISAGMMS___ns1__notifyMessageDeliveryReceipt: if (p->size < 0) SOAP_DELETE((struct __ns1__notifyMessageDeliveryReceipt*)p->ptr); else SOAP_DELETE_ARRAY((struct __ns1__notifyMessageDeliveryReceipt*)p->ptr); break; #ifndef WITH_NOGLOBAL case SOAP_TYPE_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Fault: if (p->size < 0) SOAP_DELETE((struct SOAP_ENV__Fault*)p->ptr); else SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault*)p->ptr); break; #endif case SOAP_TYPE_ISAGMMS_xsd__anyURI: if (p->size < 0) SOAP_DELETE((std::wstring*)p->ptr); else SOAP_DELETE_ARRAY((std::wstring*)p->ptr); break; case SOAP_TYPE_ISAGMMS_xsd__decimal: if (p->size < 0) SOAP_DELETE((std::wstring*)p->ptr); else SOAP_DELETE_ARRAY((std::wstring*)p->ptr); break; default: return SOAP_ERR; } return SOAP_OK; } SOAP_FMAC3 void* SOAP_FMAC4 soap_class_id_enter(struct soap *soap, const char *id, void *p, int t, size_t n, const char *type, const char *arrayType) { return soap_id_enter(soap, id, p, t, n, 0, type, arrayType, ISAGMMS_instantiate); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_bool(struct soap *soap, bool *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_bool *a = SOAP_DEFAULT_bool; #else *a = (bool)0; #endif } static const struct soap_code_map soap_codes_bool[] = { { (long)false, "false" }, { (long)true, "true" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_bool2s(struct soap *soap, bool n) { (void)soap; /* appease -Wall -Werror */ return soap_code_str(soap_codes_bool, n!=0); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_bool(struct soap *soap, const char *tag, int id, const bool *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_bool), type) || soap_send(soap, soap_bool2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2bool(struct soap *soap, const char *s, bool *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_bool, s); if (map) *a = (bool)(map->code != 0); else { long n; if (soap_s2long(soap, s, &n) || n < 0 || n > 1) return soap->error = SOAP_TYPE; *a = (bool)(n != 0); } return SOAP_OK; } SOAP_FMAC3 bool * SOAP_FMAC4 soap_in_bool(struct soap *soap, const char *tag, bool *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; if (*soap->type && soap_match_tag(soap, soap->type, type) && soap_match_tag(soap, soap->type, ":boolean")) { soap->error = SOAP_TYPE; return NULL; } a = (bool *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_bool, sizeof(bool), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2bool(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (bool *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_bool, 0, sizeof(bool), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_bool(struct soap *soap, const bool *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_bool); if (soap_out_bool(soap, tag?tag:"boolean", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 bool * SOAP_FMAC4 soap_get_bool(struct soap *soap, bool *p, const char *tag, const char *type) { if ((p = soap_in_bool(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns4__TimeMetrics(struct soap *soap, enum ns4__TimeMetrics *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_ns4__TimeMetrics *a = SOAP_DEFAULT_ns4__TimeMetrics; #else *a = (enum ns4__TimeMetrics)0; #endif } static const struct soap_code_map soap_codes_ns4__TimeMetrics[] = { { (long)ns4__TimeMetrics__Millisecond, "Millisecond" }, { (long)ns4__TimeMetrics__Second, "Second" }, { (long)ns4__TimeMetrics__Minute, "Minute" }, { (long)ns4__TimeMetrics__Hour, "Hour" }, { (long)ns4__TimeMetrics__Day, "Day" }, { (long)ns4__TimeMetrics__Week, "Week" }, { (long)ns4__TimeMetrics__Month, "Month" }, { (long)ns4__TimeMetrics__Year, "Year" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_ns4__TimeMetrics2s(struct soap *soap, enum ns4__TimeMetrics n) { const char *s = soap_code_str(soap_codes_ns4__TimeMetrics, (long)n); if (s) return s; return soap_long2s(soap, (long)n); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__TimeMetrics(struct soap *soap, const char *tag, int id, const enum ns4__TimeMetrics *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__TimeMetrics), type) || soap_send(soap, soap_ns4__TimeMetrics2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2ns4__TimeMetrics(struct soap *soap, const char *s, enum ns4__TimeMetrics *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_ns4__TimeMetrics, s); if (map) *a = (enum ns4__TimeMetrics)map->code; else { long n; if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 7))) return soap->error = SOAP_TYPE; *a = (enum ns4__TimeMetrics)n; } return SOAP_OK; } SOAP_FMAC3 enum ns4__TimeMetrics * SOAP_FMAC4 soap_in_ns4__TimeMetrics(struct soap *soap, const char *tag, enum ns4__TimeMetrics *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, type)) return NULL; a = (enum ns4__TimeMetrics *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__TimeMetrics, sizeof(enum ns4__TimeMetrics), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2ns4__TimeMetrics(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (enum ns4__TimeMetrics *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__TimeMetrics, 0, sizeof(enum ns4__TimeMetrics), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns4__TimeMetrics(struct soap *soap, const enum ns4__TimeMetrics *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__TimeMetrics); if (soap_out_ns4__TimeMetrics(soap, tag?tag:"ns4:TimeMetrics", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns4__TimeMetrics * SOAP_FMAC4 soap_get_ns4__TimeMetrics(struct soap *soap, enum ns4__TimeMetrics *p, const char *tag, const char *type) { if ((p = soap_in_ns4__TimeMetrics(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns4__EndReason(struct soap *soap, enum ns4__EndReason *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_ns4__EndReason *a = SOAP_DEFAULT_ns4__EndReason; #else *a = (enum ns4__EndReason)0; #endif } static const struct soap_code_map soap_codes_ns4__EndReason[] = { { (long)ns4__EndReason__0, "0" }, { (long)ns4__EndReason___x002d1, "-1" }, { (long)ns4__EndReason__1, "1" }, { (long)ns4__EndReason__2, "2" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_ns4__EndReason2s(struct soap *soap, enum ns4__EndReason n) { const char *s = soap_code_str(soap_codes_ns4__EndReason, (long)n); if (s) return s; return soap_long2s(soap, (long)n); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__EndReason(struct soap *soap, const char *tag, int id, const enum ns4__EndReason *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__EndReason), type) || soap_send(soap, soap_ns4__EndReason2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2ns4__EndReason(struct soap *soap, const char *s, enum ns4__EndReason *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_ns4__EndReason, s); if (map) *a = (enum ns4__EndReason)map->code; else { long n; if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < -1 || n > 2))) return soap->error = SOAP_TYPE; *a = (enum ns4__EndReason)n; } return SOAP_OK; } SOAP_FMAC3 enum ns4__EndReason * SOAP_FMAC4 soap_in_ns4__EndReason(struct soap *soap, const char *tag, enum ns4__EndReason *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, type)) return NULL; a = (enum ns4__EndReason *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__EndReason, sizeof(enum ns4__EndReason), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2ns4__EndReason(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (enum ns4__EndReason *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__EndReason, 0, sizeof(enum ns4__EndReason), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns4__EndReason(struct soap *soap, const enum ns4__EndReason *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__EndReason); if (soap_out_ns4__EndReason(soap, tag?tag:"ns4:EndReason", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns4__EndReason * SOAP_FMAC4 soap_get_ns4__EndReason(struct soap *soap, enum ns4__EndReason *p, const char *tag, const char *type) { if ((p = soap_in_ns4__EndReason(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns4__DeliveryConfirmStatus(struct soap *soap, enum ns4__DeliveryConfirmStatus *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_ns4__DeliveryConfirmStatus *a = SOAP_DEFAULT_ns4__DeliveryConfirmStatus; #else *a = (enum ns4__DeliveryConfirmStatus)0; #endif } static const struct soap_code_map soap_codes_ns4__DeliveryConfirmStatus[] = { { (long)ns4__DeliveryConfirmStatus__Success, "Success" }, { (long)ns4__DeliveryConfirmStatus__Fail, "Fail" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_ns4__DeliveryConfirmStatus2s(struct soap *soap, enum ns4__DeliveryConfirmStatus n) { const char *s = soap_code_str(soap_codes_ns4__DeliveryConfirmStatus, (long)n); if (s) return s; return soap_long2s(soap, (long)n); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__DeliveryConfirmStatus(struct soap *soap, const char *tag, int id, const enum ns4__DeliveryConfirmStatus *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus), type) || soap_send(soap, soap_ns4__DeliveryConfirmStatus2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2ns4__DeliveryConfirmStatus(struct soap *soap, const char *s, enum ns4__DeliveryConfirmStatus *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_ns4__DeliveryConfirmStatus, s); if (map) *a = (enum ns4__DeliveryConfirmStatus)map->code; else { long n; if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 1))) return soap->error = SOAP_TYPE; *a = (enum ns4__DeliveryConfirmStatus)n; } return SOAP_OK; } SOAP_FMAC3 enum ns4__DeliveryConfirmStatus * SOAP_FMAC4 soap_in_ns4__DeliveryConfirmStatus(struct soap *soap, const char *tag, enum ns4__DeliveryConfirmStatus *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, type)) return NULL; a = (enum ns4__DeliveryConfirmStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus, sizeof(enum ns4__DeliveryConfirmStatus), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2ns4__DeliveryConfirmStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (enum ns4__DeliveryConfirmStatus *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus, 0, sizeof(enum ns4__DeliveryConfirmStatus), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns4__DeliveryConfirmStatus(struct soap *soap, const enum ns4__DeliveryConfirmStatus *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__DeliveryConfirmStatus); if (soap_out_ns4__DeliveryConfirmStatus(soap, tag?tag:"ns4:DeliveryConfirmStatus", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns4__DeliveryConfirmStatus * SOAP_FMAC4 soap_get_ns4__DeliveryConfirmStatus(struct soap *soap, enum ns4__DeliveryConfirmStatus *p, const char *tag, const char *type) { if ((p = soap_in_ns4__DeliveryConfirmStatus(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns3__DeliveryStatus(struct soap *soap, enum ns3__DeliveryStatus *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_ns3__DeliveryStatus *a = SOAP_DEFAULT_ns3__DeliveryStatus; #else *a = (enum ns3__DeliveryStatus)0; #endif } static const struct soap_code_map soap_codes_ns3__DeliveryStatus[] = { { (long)ns3__DeliveryStatus__DeliveredToNetwork, "DeliveredToNetwork" }, { (long)ns3__DeliveryStatus__DeliveryUncertain, "DeliveryUncertain" }, { (long)ns3__DeliveryStatus__DeliveryImpossible, "DeliveryImpossible" }, { (long)ns3__DeliveryStatus__MessageWaiting, "MessageWaiting" }, { (long)ns3__DeliveryStatus__DeliveredToTerminal, "DeliveredToTerminal" }, { (long)ns3__DeliveryStatus__DeliveryNotificationNotSupported, "DeliveryNotificationNotSupported" }, { (long)ns3__DeliveryStatus__AuthPriceFailed, "AuthPriceFailed" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_ns3__DeliveryStatus2s(struct soap *soap, enum ns3__DeliveryStatus n) { const char *s = soap_code_str(soap_codes_ns3__DeliveryStatus, (long)n); if (s) return s; return soap_long2s(soap, (long)n); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns3__DeliveryStatus(struct soap *soap, const char *tag, int id, const enum ns3__DeliveryStatus *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus), type) || soap_send(soap, soap_ns3__DeliveryStatus2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2ns3__DeliveryStatus(struct soap *soap, const char *s, enum ns3__DeliveryStatus *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_ns3__DeliveryStatus, s); if (map) *a = (enum ns3__DeliveryStatus)map->code; else { long n; if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 6))) return soap->error = SOAP_TYPE; *a = (enum ns3__DeliveryStatus)n; } return SOAP_OK; } SOAP_FMAC3 enum ns3__DeliveryStatus * SOAP_FMAC4 soap_in_ns3__DeliveryStatus(struct soap *soap, const char *tag, enum ns3__DeliveryStatus *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, type)) return NULL; a = (enum ns3__DeliveryStatus *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus, sizeof(enum ns3__DeliveryStatus), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2ns3__DeliveryStatus(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (enum ns3__DeliveryStatus *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus, 0, sizeof(enum ns3__DeliveryStatus), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns3__DeliveryStatus(struct soap *soap, const enum ns3__DeliveryStatus *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns3__DeliveryStatus); if (soap_out_ns3__DeliveryStatus(soap, tag?tag:"ns3:DeliveryStatus", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns3__DeliveryStatus * SOAP_FMAC4 soap_get_ns3__DeliveryStatus(struct soap *soap, enum ns3__DeliveryStatus *p, const char *tag, const char *type) { if ((p = soap_in_ns3__DeliveryStatus(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns3__MessagePriority(struct soap *soap, enum ns3__MessagePriority *a) { (void)soap; /* appease -Wall -Werror */ #ifdef SOAP_DEFAULT_ns3__MessagePriority *a = SOAP_DEFAULT_ns3__MessagePriority; #else *a = (enum ns3__MessagePriority)0; #endif } static const struct soap_code_map soap_codes_ns3__MessagePriority[] = { { (long)ns3__MessagePriority__Default, "Default" }, { (long)ns3__MessagePriority__Low, "Low" }, { (long)ns3__MessagePriority__Normal, "Normal" }, { (long)ns3__MessagePriority__High, "High" }, { 0, NULL } }; SOAP_FMAC3S const char* SOAP_FMAC4S soap_ns3__MessagePriority2s(struct soap *soap, enum ns3__MessagePriority n) { const char *s = soap_code_str(soap_codes_ns3__MessagePriority, (long)n); if (s) return s; return soap_long2s(soap, (long)n); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns3__MessagePriority(struct soap *soap, const char *tag, int id, const enum ns3__MessagePriority *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns3__MessagePriority), type) || soap_send(soap, soap_ns3__MessagePriority2s(soap, *a))) return soap->error; return soap_element_end_out(soap, tag); } SOAP_FMAC3S int SOAP_FMAC4S soap_s2ns3__MessagePriority(struct soap *soap, const char *s, enum ns3__MessagePriority *a) { const struct soap_code_map *map; if (!s) return soap->error; map = soap_code(soap_codes_ns3__MessagePriority, s); if (map) *a = (enum ns3__MessagePriority)map->code; else { long n; if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 3))) return soap->error = SOAP_TYPE; *a = (enum ns3__MessagePriority)n; } return SOAP_OK; } SOAP_FMAC3 enum ns3__MessagePriority * SOAP_FMAC4 soap_in_ns3__MessagePriority(struct soap *soap, const char *tag, enum ns3__MessagePriority *a, const char *type) { if (soap_element_begin_in(soap, tag, 0, type)) return NULL; a = (enum ns3__MessagePriority *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns3__MessagePriority, sizeof(enum ns3__MessagePriority), 0, NULL, NULL, NULL); if (!a) return NULL; if (soap->body && !*soap->href) { if (!a || soap_s2ns3__MessagePriority(soap, soap_value(soap), a) || soap_element_end_in(soap, tag)) return NULL; } else { a = (enum ns3__MessagePriority *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns3__MessagePriority, 0, sizeof(enum ns3__MessagePriority), 0, NULL); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns3__MessagePriority(struct soap *soap, const enum ns3__MessagePriority *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns3__MessagePriority); if (soap_out_ns3__MessagePriority(soap, tag?tag:"ns3:MessagePriority", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns3__MessagePriority * SOAP_FMAC4 soap_get_ns3__MessagePriority(struct soap *soap, enum ns3__MessagePriority *p, const char *tag, const char *type) { if ((p = soap_in_ns3__MessagePriority(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } void ns4__PolicyException::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns4__PolicyException::messageId); soap_default_std__wstring(soap, &this->ns4__PolicyException::text); this->ns4__PolicyException::__sizevariables = 0; this->ns4__PolicyException::variables = NULL; /* transient soap skipped */ } void ns4__PolicyException::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__PolicyException::messageId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__PolicyException::messageId); soap_embedded(soap, &this->ns4__PolicyException::text, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__PolicyException::text); if (this->ns4__PolicyException::variables) { int i; for (i = 0; i < this->ns4__PolicyException::__sizevariables; i++) { soap_embedded(soap, this->ns4__PolicyException::variables + i, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, this->ns4__PolicyException::variables + i); } } /* transient soap skipped */ } int ns4__PolicyException::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__PolicyException(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__PolicyException(struct soap *soap, const char *tag, int id, const ns4__PolicyException *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__PolicyException), type)) return soap->error; if (soap_out_std__wstring(soap, "messageId", -1, &(a->ns4__PolicyException::messageId), "")) return soap->error; if (soap_out_std__wstring(soap, "text", -1, &(a->ns4__PolicyException::text), "")) return soap->error; if (a->ns4__PolicyException::variables) { int i; for (i = 0; i < a->ns4__PolicyException::__sizevariables; i++) if (soap_out_std__wstring(soap, "variables", -1, a->ns4__PolicyException::variables + i, "")) return soap->error; } /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__PolicyException::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__PolicyException(soap, tag, this, type); } SOAP_FMAC3 ns4__PolicyException * SOAP_FMAC4 soap_in_ns4__PolicyException(struct soap *soap, const char *tag, ns4__PolicyException *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__PolicyException *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__PolicyException, sizeof(ns4__PolicyException), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__PolicyException) { soap_revert(soap); *soap->id = '\0'; return (ns4__PolicyException *)a->soap_in(soap, tag, type); } } size_t soap_flag_messageId1 = 1; size_t soap_flag_text1 = 1; struct soap_blist *soap_blist_variables1 = NULL; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_messageId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "messageId", &(a->ns4__PolicyException::messageId), "xsd:string")) { soap_flag_messageId1--; continue; } if (soap_flag_text1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "text", &(a->ns4__PolicyException::text), "xsd:string")) { soap_flag_text1--; continue; } if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "variables", 1, NULL)) { if (a->ns4__PolicyException::variables == NULL) { if (soap_blist_variables1 == NULL) soap_blist_variables1 = soap_new_block(soap); a->ns4__PolicyException::variables = (std::wstring *)soap_push_block(soap, soap_blist_variables1, sizeof(std::wstring)); if (a->ns4__PolicyException::variables == NULL) return NULL; SOAP_PLACEMENT_NEW(a->ns4__PolicyException::variables, std::wstring); soap_default_std__wstring(soap, a->ns4__PolicyException::variables); } soap_revert(soap); if (soap_in_std__wstring(soap, "variables", a->ns4__PolicyException::variables, "xsd:string")) { a->ns4__PolicyException::__sizevariables++; a->ns4__PolicyException::variables = NULL; continue; } } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (a->ns4__PolicyException::variables) soap_pop_block(soap, soap_blist_variables1); if (a->ns4__PolicyException::__sizevariables) a->ns4__PolicyException::variables = (std::wstring *)soap_save_block(soap, soap_blist_variables1, NULL, 1); else { a->ns4__PolicyException::variables = NULL; if (soap_blist_variables1) soap_end_block(soap, soap_blist_variables1); } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__PolicyException *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__PolicyException, 0, sizeof(ns4__PolicyException), 0, soap_copy_ns4__PolicyException); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_messageId1 > 0 || soap_flag_text1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__PolicyException::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__PolicyException); if (this->soap_out(soap, tag?tag:"ns4:PolicyException", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__PolicyException::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__PolicyException(soap, this, tag, type); } SOAP_FMAC3 ns4__PolicyException * SOAP_FMAC4 soap_get_ns4__PolicyException(struct soap *soap, ns4__PolicyException *p, const char *tag, const char *type) { if ((p = soap_in_ns4__PolicyException(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__PolicyException * SOAP_FMAC2 soap_instantiate_ns4__PolicyException(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_ns4__PolicyException(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__PolicyException, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__PolicyException); if (size) *size = sizeof(ns4__PolicyException); ((ns4__PolicyException*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__PolicyException[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__PolicyException); for (int i = 0; i < n; i++) ((ns4__PolicyException*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__PolicyException*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__PolicyException(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 ns4__PolicyException %p -> %p\n", q, p)); *(ns4__PolicyException*)p = *(ns4__PolicyException*)q; } void ns4__ServiceException::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns4__ServiceException::messageId); soap_default_std__wstring(soap, &this->ns4__ServiceException::text); this->ns4__ServiceException::__sizevariables = 0; this->ns4__ServiceException::variables = NULL; /* transient soap skipped */ } void ns4__ServiceException::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__ServiceException::messageId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__ServiceException::messageId); soap_embedded(soap, &this->ns4__ServiceException::text, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__ServiceException::text); if (this->ns4__ServiceException::variables) { int i; for (i = 0; i < this->ns4__ServiceException::__sizevariables; i++) { soap_embedded(soap, this->ns4__ServiceException::variables + i, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, this->ns4__ServiceException::variables + i); } } /* transient soap skipped */ } int ns4__ServiceException::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__ServiceException(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__ServiceException(struct soap *soap, const char *tag, int id, const ns4__ServiceException *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__ServiceException), type)) return soap->error; if (soap_out_std__wstring(soap, "messageId", -1, &(a->ns4__ServiceException::messageId), "")) return soap->error; if (soap_out_std__wstring(soap, "text", -1, &(a->ns4__ServiceException::text), "")) return soap->error; if (a->ns4__ServiceException::variables) { int i; for (i = 0; i < a->ns4__ServiceException::__sizevariables; i++) if (soap_out_std__wstring(soap, "variables", -1, a->ns4__ServiceException::variables + i, "")) return soap->error; } /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__ServiceException::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__ServiceException(soap, tag, this, type); } SOAP_FMAC3 ns4__ServiceException * SOAP_FMAC4 soap_in_ns4__ServiceException(struct soap *soap, const char *tag, ns4__ServiceException *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__ServiceException *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__ServiceException, sizeof(ns4__ServiceException), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__ServiceException) { soap_revert(soap); *soap->id = '\0'; return (ns4__ServiceException *)a->soap_in(soap, tag, type); } } size_t soap_flag_messageId1 = 1; size_t soap_flag_text1 = 1; struct soap_blist *soap_blist_variables1 = NULL; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_messageId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "messageId", &(a->ns4__ServiceException::messageId), "xsd:string")) { soap_flag_messageId1--; continue; } if (soap_flag_text1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "text", &(a->ns4__ServiceException::text), "xsd:string")) { soap_flag_text1--; continue; } if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "variables", 1, NULL)) { if (a->ns4__ServiceException::variables == NULL) { if (soap_blist_variables1 == NULL) soap_blist_variables1 = soap_new_block(soap); a->ns4__ServiceException::variables = (std::wstring *)soap_push_block(soap, soap_blist_variables1, sizeof(std::wstring)); if (a->ns4__ServiceException::variables == NULL) return NULL; SOAP_PLACEMENT_NEW(a->ns4__ServiceException::variables, std::wstring); soap_default_std__wstring(soap, a->ns4__ServiceException::variables); } soap_revert(soap); if (soap_in_std__wstring(soap, "variables", a->ns4__ServiceException::variables, "xsd:string")) { a->ns4__ServiceException::__sizevariables++; a->ns4__ServiceException::variables = NULL; continue; } } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (a->ns4__ServiceException::variables) soap_pop_block(soap, soap_blist_variables1); if (a->ns4__ServiceException::__sizevariables) a->ns4__ServiceException::variables = (std::wstring *)soap_save_block(soap, soap_blist_variables1, NULL, 1); else { a->ns4__ServiceException::variables = NULL; if (soap_blist_variables1) soap_end_block(soap, soap_blist_variables1); } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__ServiceException *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__ServiceException, 0, sizeof(ns4__ServiceException), 0, soap_copy_ns4__ServiceException); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_messageId1 > 0 || soap_flag_text1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__ServiceException::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__ServiceException); if (this->soap_out(soap, tag?tag:"ns4:ServiceException", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__ServiceException::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__ServiceException(soap, this, tag, type); } SOAP_FMAC3 ns4__ServiceException * SOAP_FMAC4 soap_get_ns4__ServiceException(struct soap *soap, ns4__ServiceException *p, const char *tag, const char *type) { if ((p = soap_in_ns4__ServiceException(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__ServiceException * SOAP_FMAC2 soap_instantiate_ns4__ServiceException(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_ns4__ServiceException(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__ServiceException, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__ServiceException); if (size) *size = sizeof(ns4__ServiceException); ((ns4__ServiceException*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__ServiceException[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__ServiceException); for (int i = 0; i < n; i++) ((ns4__ServiceException*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__ServiceException*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__ServiceException(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 ns4__ServiceException %p -> %p\n", q, p)); *(ns4__ServiceException*)p = *(ns4__ServiceException*)q; } void ns4__ServiceError::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns4__ServiceError::messageId); soap_default_std__wstring(soap, &this->ns4__ServiceError::text); this->ns4__ServiceError::__sizevariables = 0; this->ns4__ServiceError::variables = NULL; /* transient soap skipped */ } void ns4__ServiceError::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__ServiceError::messageId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__ServiceError::messageId); soap_embedded(soap, &this->ns4__ServiceError::text, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__ServiceError::text); if (this->ns4__ServiceError::variables) { int i; for (i = 0; i < this->ns4__ServiceError::__sizevariables; i++) { soap_embedded(soap, this->ns4__ServiceError::variables + i, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, this->ns4__ServiceError::variables + i); } } /* transient soap skipped */ } int ns4__ServiceError::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__ServiceError(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__ServiceError(struct soap *soap, const char *tag, int id, const ns4__ServiceError *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__ServiceError), type)) return soap->error; if (soap_out_std__wstring(soap, "messageId", -1, &(a->ns4__ServiceError::messageId), "")) return soap->error; if (soap_out_std__wstring(soap, "text", -1, &(a->ns4__ServiceError::text), "")) return soap->error; if (a->ns4__ServiceError::variables) { int i; for (i = 0; i < a->ns4__ServiceError::__sizevariables; i++) if (soap_out_std__wstring(soap, "variables", -1, a->ns4__ServiceError::variables + i, "")) return soap->error; } /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__ServiceError::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__ServiceError(soap, tag, this, type); } SOAP_FMAC3 ns4__ServiceError * SOAP_FMAC4 soap_in_ns4__ServiceError(struct soap *soap, const char *tag, ns4__ServiceError *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__ServiceError *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__ServiceError, sizeof(ns4__ServiceError), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__ServiceError) { soap_revert(soap); *soap->id = '\0'; return (ns4__ServiceError *)a->soap_in(soap, tag, type); } } size_t soap_flag_messageId1 = 1; size_t soap_flag_text1 = 1; struct soap_blist *soap_blist_variables1 = NULL; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_messageId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "messageId", &(a->ns4__ServiceError::messageId), "xsd:string")) { soap_flag_messageId1--; continue; } if (soap_flag_text1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "text", &(a->ns4__ServiceError::text), "xsd:string")) { soap_flag_text1--; continue; } if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "variables", 1, NULL)) { if (a->ns4__ServiceError::variables == NULL) { if (soap_blist_variables1 == NULL) soap_blist_variables1 = soap_new_block(soap); a->ns4__ServiceError::variables = (std::wstring *)soap_push_block(soap, soap_blist_variables1, sizeof(std::wstring)); if (a->ns4__ServiceError::variables == NULL) return NULL; SOAP_PLACEMENT_NEW(a->ns4__ServiceError::variables, std::wstring); soap_default_std__wstring(soap, a->ns4__ServiceError::variables); } soap_revert(soap); if (soap_in_std__wstring(soap, "variables", a->ns4__ServiceError::variables, "xsd:string")) { a->ns4__ServiceError::__sizevariables++; a->ns4__ServiceError::variables = NULL; continue; } } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (a->ns4__ServiceError::variables) soap_pop_block(soap, soap_blist_variables1); if (a->ns4__ServiceError::__sizevariables) a->ns4__ServiceError::variables = (std::wstring *)soap_save_block(soap, soap_blist_variables1, NULL, 1); else { a->ns4__ServiceError::variables = NULL; if (soap_blist_variables1) soap_end_block(soap, soap_blist_variables1); } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__ServiceError *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__ServiceError, 0, sizeof(ns4__ServiceError), 0, soap_copy_ns4__ServiceError); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_messageId1 > 0 || soap_flag_text1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__ServiceError::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__ServiceError); if (this->soap_out(soap, tag?tag:"ns4:ServiceError", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__ServiceError::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__ServiceError(soap, this, tag, type); } SOAP_FMAC3 ns4__ServiceError * SOAP_FMAC4 soap_get_ns4__ServiceError(struct soap *soap, ns4__ServiceError *p, const char *tag, const char *type) { if ((p = soap_in_ns4__ServiceError(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__ServiceError * SOAP_FMAC2 soap_instantiate_ns4__ServiceError(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_ns4__ServiceError(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__ServiceError, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__ServiceError); if (size) *size = sizeof(ns4__ServiceError); ((ns4__ServiceError*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__ServiceError[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__ServiceError); for (int i = 0; i < n; i++) ((ns4__ServiceError*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__ServiceError*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__ServiceError(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 ns4__ServiceError %p -> %p\n", q, p)); *(ns4__ServiceError*)p = *(ns4__ServiceError*)q; } void ns4__SimpleReference::soap_default(struct soap *soap) { this->soap = soap; soap_default_xsd__anyURI(soap, &this->ns4__SimpleReference::endpoint); soap_default_std__wstring(soap, &this->ns4__SimpleReference::interfaceName); soap_default_std__wstring(soap, &this->ns4__SimpleReference::correlator); /* transient soap skipped */ } void ns4__SimpleReference::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__SimpleReference::endpoint, SOAP_TYPE_ISAGMMS_xsd__anyURI); soap_serialize_xsd__anyURI(soap, &this->ns4__SimpleReference::endpoint); soap_embedded(soap, &this->ns4__SimpleReference::interfaceName, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__SimpleReference::interfaceName); soap_embedded(soap, &this->ns4__SimpleReference::correlator, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__SimpleReference::correlator); /* transient soap skipped */ } int ns4__SimpleReference::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__SimpleReference(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__SimpleReference(struct soap *soap, const char *tag, int id, const ns4__SimpleReference *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__SimpleReference), type)) return soap->error; if (soap_out_xsd__anyURI(soap, "endpoint", -1, &(a->ns4__SimpleReference::endpoint), "")) return soap->error; if (soap_out_std__wstring(soap, "interfaceName", -1, &(a->ns4__SimpleReference::interfaceName), "")) return soap->error; if (soap_out_std__wstring(soap, "correlator", -1, &(a->ns4__SimpleReference::correlator), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__SimpleReference::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__SimpleReference(soap, tag, this, type); } SOAP_FMAC3 ns4__SimpleReference * SOAP_FMAC4 soap_in_ns4__SimpleReference(struct soap *soap, const char *tag, ns4__SimpleReference *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__SimpleReference *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__SimpleReference, sizeof(ns4__SimpleReference), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__SimpleReference) { soap_revert(soap); *soap->id = '\0'; return (ns4__SimpleReference *)a->soap_in(soap, tag, type); } } size_t soap_flag_endpoint1 = 1; size_t soap_flag_interfaceName1 = 1; size_t soap_flag_correlator1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_endpoint1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_xsd__anyURI(soap, "endpoint", &(a->ns4__SimpleReference::endpoint), "xsd:anyURI")) { soap_flag_endpoint1--; continue; } if (soap_flag_interfaceName1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "interfaceName", &(a->ns4__SimpleReference::interfaceName), "xsd:string")) { soap_flag_interfaceName1--; continue; } if (soap_flag_correlator1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "correlator", &(a->ns4__SimpleReference::correlator), "xsd:string")) { soap_flag_correlator1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__SimpleReference *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__SimpleReference, 0, sizeof(ns4__SimpleReference), 0, soap_copy_ns4__SimpleReference); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_endpoint1 > 0 || soap_flag_interfaceName1 > 0 || soap_flag_correlator1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__SimpleReference::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__SimpleReference); if (this->soap_out(soap, tag?tag:"ns4:SimpleReference", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__SimpleReference::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__SimpleReference(soap, this, tag, type); } SOAP_FMAC3 ns4__SimpleReference * SOAP_FMAC4 soap_get_ns4__SimpleReference(struct soap *soap, ns4__SimpleReference *p, const char *tag, const char *type) { if ((p = soap_in_ns4__SimpleReference(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__SimpleReference * SOAP_FMAC2 soap_instantiate_ns4__SimpleReference(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_ns4__SimpleReference(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__SimpleReference, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__SimpleReference); if (size) *size = sizeof(ns4__SimpleReference); ((ns4__SimpleReference*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__SimpleReference[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__SimpleReference); for (int i = 0; i < n; i++) ((ns4__SimpleReference*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__SimpleReference*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__SimpleReference(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 ns4__SimpleReference %p -> %p\n", q, p)); *(ns4__SimpleReference*)p = *(ns4__SimpleReference*)q; } void ns4__ChargingInformation::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns4__ChargingInformation::description); this->ns4__ChargingInformation::currency = NULL; this->ns4__ChargingInformation::amount = NULL; this->ns4__ChargingInformation::code = NULL; /* transient soap skipped */ } void ns4__ChargingInformation::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__ChargingInformation::description, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__ChargingInformation::description); soap_serialize_PointerTostd__wstring(soap, &this->ns4__ChargingInformation::currency); soap_serialize_PointerToxsd__decimal(soap, &this->ns4__ChargingInformation::amount); soap_serialize_PointerTostd__wstring(soap, &this->ns4__ChargingInformation::code); /* transient soap skipped */ } int ns4__ChargingInformation::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__ChargingInformation(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__ChargingInformation(struct soap *soap, const char *tag, int id, const ns4__ChargingInformation *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__ChargingInformation), type)) return soap->error; if (soap_out_std__wstring(soap, "description", -1, &(a->ns4__ChargingInformation::description), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "currency", -1, &(a->ns4__ChargingInformation::currency), "")) return soap->error; if (soap_out_PointerToxsd__decimal(soap, "amount", -1, &(a->ns4__ChargingInformation::amount), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "code", -1, &(a->ns4__ChargingInformation::code), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__ChargingInformation::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__ChargingInformation(soap, tag, this, type); } SOAP_FMAC3 ns4__ChargingInformation * SOAP_FMAC4 soap_in_ns4__ChargingInformation(struct soap *soap, const char *tag, ns4__ChargingInformation *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__ChargingInformation *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__ChargingInformation, sizeof(ns4__ChargingInformation), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__ChargingInformation) { soap_revert(soap); *soap->id = '\0'; return (ns4__ChargingInformation *)a->soap_in(soap, tag, type); } } size_t soap_flag_description1 = 1; size_t soap_flag_currency1 = 1; size_t soap_flag_amount1 = 1; size_t soap_flag_code1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_description1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "description", &(a->ns4__ChargingInformation::description), "xsd:string")) { soap_flag_description1--; continue; } if (soap_flag_currency1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "currency", &(a->ns4__ChargingInformation::currency), "xsd:string")) { soap_flag_currency1--; continue; } if (soap_flag_amount1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerToxsd__decimal(soap, "amount", &(a->ns4__ChargingInformation::amount), "xsd:decimal")) { soap_flag_amount1--; continue; } if (soap_flag_code1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "code", &(a->ns4__ChargingInformation::code), "xsd:string")) { soap_flag_code1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__ChargingInformation *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__ChargingInformation, 0, sizeof(ns4__ChargingInformation), 0, soap_copy_ns4__ChargingInformation); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_description1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__ChargingInformation::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__ChargingInformation); if (this->soap_out(soap, tag?tag:"ns4:ChargingInformation", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__ChargingInformation::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__ChargingInformation(soap, this, tag, type); } SOAP_FMAC3 ns4__ChargingInformation * SOAP_FMAC4 soap_get_ns4__ChargingInformation(struct soap *soap, ns4__ChargingInformation *p, const char *tag, const char *type) { if ((p = soap_in_ns4__ChargingInformation(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__ChargingInformation * SOAP_FMAC2 soap_instantiate_ns4__ChargingInformation(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_ns4__ChargingInformation(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__ChargingInformation, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__ChargingInformation); if (size) *size = sizeof(ns4__ChargingInformation); ((ns4__ChargingInformation*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__ChargingInformation[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__ChargingInformation); for (int i = 0; i < n; i++) ((ns4__ChargingInformation*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__ChargingInformation*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__ChargingInformation(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 ns4__ChargingInformation %p -> %p\n", q, p)); *(ns4__ChargingInformation*)p = *(ns4__ChargingInformation*)q; } void ns4__TimeMetric::soap_default(struct soap *soap) { this->soap = soap; soap_default_ns4__TimeMetrics(soap, &this->ns4__TimeMetric::metric); soap_default_int(soap, &this->ns4__TimeMetric::units); /* transient soap skipped */ } void ns4__TimeMetric::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ /* transient soap skipped */ } int ns4__TimeMetric::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__TimeMetric(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__TimeMetric(struct soap *soap, const char *tag, int id, const ns4__TimeMetric *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__TimeMetric), type)) return soap->error; if (soap_out_ns4__TimeMetrics(soap, "metric", -1, &(a->ns4__TimeMetric::metric), "")) return soap->error; if (soap_out_int(soap, "units", -1, &(a->ns4__TimeMetric::units), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__TimeMetric::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__TimeMetric(soap, tag, this, type); } SOAP_FMAC3 ns4__TimeMetric * SOAP_FMAC4 soap_in_ns4__TimeMetric(struct soap *soap, const char *tag, ns4__TimeMetric *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__TimeMetric *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__TimeMetric, sizeof(ns4__TimeMetric), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__TimeMetric) { soap_revert(soap); *soap->id = '\0'; return (ns4__TimeMetric *)a->soap_in(soap, tag, type); } } size_t soap_flag_metric1 = 1; size_t soap_flag_units1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_metric1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_ns4__TimeMetrics(soap, "metric", &(a->ns4__TimeMetric::metric), "ns4:TimeMetrics")) { soap_flag_metric1--; continue; } if (soap_flag_units1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_int(soap, "units", &(a->ns4__TimeMetric::units), "xsd:int")) { soap_flag_units1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__TimeMetric *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__TimeMetric, 0, sizeof(ns4__TimeMetric), 0, soap_copy_ns4__TimeMetric); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_metric1 > 0 || soap_flag_units1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__TimeMetric::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__TimeMetric); if (this->soap_out(soap, tag?tag:"ns4:TimeMetric", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__TimeMetric::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__TimeMetric(soap, this, tag, type); } SOAP_FMAC3 ns4__TimeMetric * SOAP_FMAC4 soap_get_ns4__TimeMetric(struct soap *soap, ns4__TimeMetric *p, const char *tag, const char *type) { if ((p = soap_in_ns4__TimeMetric(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__TimeMetric * SOAP_FMAC2 soap_instantiate_ns4__TimeMetric(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_ns4__TimeMetric(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__TimeMetric, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__TimeMetric); if (size) *size = sizeof(ns4__TimeMetric); ((ns4__TimeMetric*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__TimeMetric[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__TimeMetric); for (int i = 0; i < n; i++) ((ns4__TimeMetric*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__TimeMetric*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__TimeMetric(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 ns4__TimeMetric %p -> %p\n", q, p)); *(ns4__TimeMetric*)p = *(ns4__TimeMetric*)q; } void ns4__NotifySOAPHeader::soap_default(struct soap *soap) { this->soap = soap; this->ns4__NotifySOAPHeader::spRevId = NULL; this->ns4__NotifySOAPHeader::spRevpassword = NULL; soap_default_std__wstring(soap, &this->ns4__NotifySOAPHeader::spId); this->ns4__NotifySOAPHeader::SAN = NULL; this->ns4__NotifySOAPHeader::transactionId = NULL; this->ns4__NotifySOAPHeader::linkId = NULL; /* transient soap skipped */ } void ns4__NotifySOAPHeader::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_serialize_PointerTostd__wstring(soap, &this->ns4__NotifySOAPHeader::spRevId); soap_serialize_PointerTostd__wstring(soap, &this->ns4__NotifySOAPHeader::spRevpassword); soap_embedded(soap, &this->ns4__NotifySOAPHeader::spId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__NotifySOAPHeader::spId); soap_serialize_PointerTostd__wstring(soap, &this->ns4__NotifySOAPHeader::SAN); soap_serialize_PointerTostd__wstring(soap, &this->ns4__NotifySOAPHeader::transactionId); soap_serialize_PointerTostd__wstring(soap, &this->ns4__NotifySOAPHeader::linkId); /* transient soap skipped */ } int ns4__NotifySOAPHeader::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__NotifySOAPHeader(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__NotifySOAPHeader(struct soap *soap, const char *tag, int id, const ns4__NotifySOAPHeader *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader), type)) return soap->error; if (soap_out_PointerTostd__wstring(soap, "spRevId", -1, &(a->ns4__NotifySOAPHeader::spRevId), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "spRevpassword", -1, &(a->ns4__NotifySOAPHeader::spRevpassword), "")) return soap->error; if (soap_out_std__wstring(soap, "spId", -1, &(a->ns4__NotifySOAPHeader::spId), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "SAN", -1, &(a->ns4__NotifySOAPHeader::SAN), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "transactionId", -1, &(a->ns4__NotifySOAPHeader::transactionId), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "linkId", -1, &(a->ns4__NotifySOAPHeader::linkId), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__NotifySOAPHeader::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__NotifySOAPHeader(soap, tag, this, type); } SOAP_FMAC3 ns4__NotifySOAPHeader * SOAP_FMAC4 soap_in_ns4__NotifySOAPHeader(struct soap *soap, const char *tag, ns4__NotifySOAPHeader *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__NotifySOAPHeader *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader, sizeof(ns4__NotifySOAPHeader), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader) { soap_revert(soap); *soap->id = '\0'; return (ns4__NotifySOAPHeader *)a->soap_in(soap, tag, type); } } size_t soap_flag_spRevId1 = 1; size_t soap_flag_spRevpassword1 = 1; size_t soap_flag_spId1 = 1; size_t soap_flag_SAN1 = 1; size_t soap_flag_transactionId1 = 1; size_t soap_flag_linkId1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_spRevId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "spRevId", &(a->ns4__NotifySOAPHeader::spRevId), "xsd:string")) { soap_flag_spRevId1--; continue; } if (soap_flag_spRevpassword1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "spRevpassword", &(a->ns4__NotifySOAPHeader::spRevpassword), "xsd:string")) { soap_flag_spRevpassword1--; continue; } if (soap_flag_spId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "spId", &(a->ns4__NotifySOAPHeader::spId), "xsd:string")) { soap_flag_spId1--; continue; } if (soap_flag_SAN1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "SAN", &(a->ns4__NotifySOAPHeader::SAN), "xsd:string")) { soap_flag_SAN1--; continue; } if (soap_flag_transactionId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "transactionId", &(a->ns4__NotifySOAPHeader::transactionId), "xsd:string")) { soap_flag_transactionId1--; continue; } if (soap_flag_linkId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "linkId", &(a->ns4__NotifySOAPHeader::linkId), "xsd:string")) { soap_flag_linkId1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__NotifySOAPHeader *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader, 0, sizeof(ns4__NotifySOAPHeader), 0, soap_copy_ns4__NotifySOAPHeader); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_spId1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__NotifySOAPHeader::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader); if (this->soap_out(soap, tag?tag:"ns4:NotifySOAPHeader", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__NotifySOAPHeader::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__NotifySOAPHeader(soap, this, tag, type); } SOAP_FMAC3 ns4__NotifySOAPHeader * SOAP_FMAC4 soap_get_ns4__NotifySOAPHeader(struct soap *soap, ns4__NotifySOAPHeader *p, const char *tag, const char *type) { if ((p = soap_in_ns4__NotifySOAPHeader(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__NotifySOAPHeader * SOAP_FMAC2 soap_instantiate_ns4__NotifySOAPHeader(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_ns4__NotifySOAPHeader(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__NotifySOAPHeader, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__NotifySOAPHeader); if (size) *size = sizeof(ns4__NotifySOAPHeader); ((ns4__NotifySOAPHeader*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__NotifySOAPHeader[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__NotifySOAPHeader); for (int i = 0; i < n; i++) ((ns4__NotifySOAPHeader*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__NotifySOAPHeader*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__NotifySOAPHeader(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 ns4__NotifySOAPHeader %p -> %p\n", q, p)); *(ns4__NotifySOAPHeader*)p = *(ns4__NotifySOAPHeader*)q; } void ns4__RequestSOAPHeader::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns4__RequestSOAPHeader::spId); soap_default_std__wstring(soap, &this->ns4__RequestSOAPHeader::spPassword); soap_default_std__wstring(soap, &this->ns4__RequestSOAPHeader::timeStamp); soap_default_std__wstring(soap, &this->ns4__RequestSOAPHeader::productId); this->ns4__RequestSOAPHeader::SAN = NULL; this->ns4__RequestSOAPHeader::transactionId = NULL; this->ns4__RequestSOAPHeader::transEnd = NULL; this->ns4__RequestSOAPHeader::linkId = NULL; this->ns4__RequestSOAPHeader::OA = NULL; this->ns4__RequestSOAPHeader::FA = NULL; this->ns4__RequestSOAPHeader::multicastMessaging = NULL; /* transient soap skipped */ } void ns4__RequestSOAPHeader::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns4__RequestSOAPHeader::spId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__RequestSOAPHeader::spId); soap_embedded(soap, &this->ns4__RequestSOAPHeader::spPassword, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__RequestSOAPHeader::spPassword); soap_embedded(soap, &this->ns4__RequestSOAPHeader::timeStamp, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__RequestSOAPHeader::timeStamp); soap_embedded(soap, &this->ns4__RequestSOAPHeader::productId, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns4__RequestSOAPHeader::productId); soap_serialize_PointerTostd__wstring(soap, &this->ns4__RequestSOAPHeader::SAN); soap_serialize_PointerTostd__wstring(soap, &this->ns4__RequestSOAPHeader::transactionId); soap_serialize_PointerTons4__EndReason(soap, &this->ns4__RequestSOAPHeader::transEnd); soap_serialize_PointerTostd__wstring(soap, &this->ns4__RequestSOAPHeader::linkId); soap_serialize_PointerToxsd__anyURI(soap, &this->ns4__RequestSOAPHeader::OA); soap_serialize_PointerToxsd__anyURI(soap, &this->ns4__RequestSOAPHeader::FA); soap_serialize_PointerTobool(soap, &this->ns4__RequestSOAPHeader::multicastMessaging); /* transient soap skipped */ } int ns4__RequestSOAPHeader::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns4__RequestSOAPHeader(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns4__RequestSOAPHeader(struct soap *soap, const char *tag, int id, const ns4__RequestSOAPHeader *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader), type)) return soap->error; if (soap_out_std__wstring(soap, "spId", -1, &(a->ns4__RequestSOAPHeader::spId), "")) return soap->error; if (soap_out_std__wstring(soap, "spPassword", -1, &(a->ns4__RequestSOAPHeader::spPassword), "")) return soap->error; if (soap_out_std__wstring(soap, "timeStamp", -1, &(a->ns4__RequestSOAPHeader::timeStamp), "")) return soap->error; if (soap_out_std__wstring(soap, "productId", -1, &(a->ns4__RequestSOAPHeader::productId), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "SAN", -1, &(a->ns4__RequestSOAPHeader::SAN), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "transactionId", -1, &(a->ns4__RequestSOAPHeader::transactionId), "")) return soap->error; if (soap_out_PointerTons4__EndReason(soap, "transEnd", -1, &(a->ns4__RequestSOAPHeader::transEnd), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "linkId", -1, &(a->ns4__RequestSOAPHeader::linkId), "")) return soap->error; if (soap_out_PointerToxsd__anyURI(soap, "OA", -1, &(a->ns4__RequestSOAPHeader::OA), "")) return soap->error; if (soap_out_PointerToxsd__anyURI(soap, "FA", -1, &(a->ns4__RequestSOAPHeader::FA), "")) return soap->error; if (soap_out_PointerTobool(soap, "multicastMessaging", -1, &(a->ns4__RequestSOAPHeader::multicastMessaging), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns4__RequestSOAPHeader::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns4__RequestSOAPHeader(soap, tag, this, type); } SOAP_FMAC3 ns4__RequestSOAPHeader * SOAP_FMAC4 soap_in_ns4__RequestSOAPHeader(struct soap *soap, const char *tag, ns4__RequestSOAPHeader *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns4__RequestSOAPHeader *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader, sizeof(ns4__RequestSOAPHeader), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader) { soap_revert(soap); *soap->id = '\0'; return (ns4__RequestSOAPHeader *)a->soap_in(soap, tag, type); } } size_t soap_flag_spId1 = 1; size_t soap_flag_spPassword1 = 1; size_t soap_flag_timeStamp1 = 1; size_t soap_flag_productId1 = 1; size_t soap_flag_SAN1 = 1; size_t soap_flag_transactionId1 = 1; size_t soap_flag_transEnd1 = 1; size_t soap_flag_linkId1 = 1; size_t soap_flag_OA1 = 1; size_t soap_flag_FA1 = 1; size_t soap_flag_multicastMessaging1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_spId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "spId", &(a->ns4__RequestSOAPHeader::spId), "xsd:string")) { soap_flag_spId1--; continue; } if (soap_flag_spPassword1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "spPassword", &(a->ns4__RequestSOAPHeader::spPassword), "xsd:string")) { soap_flag_spPassword1--; continue; } if (soap_flag_timeStamp1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "timeStamp", &(a->ns4__RequestSOAPHeader::timeStamp), "xsd:string")) { soap_flag_timeStamp1--; continue; } if (soap_flag_productId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "productId", &(a->ns4__RequestSOAPHeader::productId), "xsd:string")) { soap_flag_productId1--; continue; } if (soap_flag_SAN1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "SAN", &(a->ns4__RequestSOAPHeader::SAN), "xsd:string")) { soap_flag_SAN1--; continue; } if (soap_flag_transactionId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "transactionId", &(a->ns4__RequestSOAPHeader::transactionId), "xsd:string")) { soap_flag_transactionId1--; continue; } if (soap_flag_transEnd1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTons4__EndReason(soap, "transEnd", &(a->ns4__RequestSOAPHeader::transEnd), "ns4:EndReason")) { soap_flag_transEnd1--; continue; } if (soap_flag_linkId1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "linkId", &(a->ns4__RequestSOAPHeader::linkId), "xsd:string")) { soap_flag_linkId1--; continue; } if (soap_flag_OA1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerToxsd__anyURI(soap, "OA", &(a->ns4__RequestSOAPHeader::OA), "xsd:anyURI")) { soap_flag_OA1--; continue; } if (soap_flag_FA1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerToxsd__anyURI(soap, "FA", &(a->ns4__RequestSOAPHeader::FA), "xsd:anyURI")) { soap_flag_FA1--; continue; } if (soap_flag_multicastMessaging1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTobool(soap, "multicastMessaging", &(a->ns4__RequestSOAPHeader::multicastMessaging), "xsd:boolean")) { soap_flag_multicastMessaging1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns4__RequestSOAPHeader *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader, 0, sizeof(ns4__RequestSOAPHeader), 0, soap_copy_ns4__RequestSOAPHeader); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_spId1 > 0 || soap_flag_spPassword1 > 0 || soap_flag_timeStamp1 > 0 || soap_flag_productId1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns4__RequestSOAPHeader::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader); if (this->soap_out(soap, tag?tag:"ns4:RequestSOAPHeader", id, type)) return soap->error; return soap_putindependent(soap); } void *ns4__RequestSOAPHeader::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns4__RequestSOAPHeader(soap, this, tag, type); } SOAP_FMAC3 ns4__RequestSOAPHeader * SOAP_FMAC4 soap_get_ns4__RequestSOAPHeader(struct soap *soap, ns4__RequestSOAPHeader *p, const char *tag, const char *type) { if ((p = soap_in_ns4__RequestSOAPHeader(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns4__RequestSOAPHeader * SOAP_FMAC2 soap_instantiate_ns4__RequestSOAPHeader(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_ns4__RequestSOAPHeader(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns4__RequestSOAPHeader, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns4__RequestSOAPHeader); if (size) *size = sizeof(ns4__RequestSOAPHeader); ((ns4__RequestSOAPHeader*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns4__RequestSOAPHeader[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns4__RequestSOAPHeader); for (int i = 0; i < n; i++) ((ns4__RequestSOAPHeader*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns4__RequestSOAPHeader*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns4__RequestSOAPHeader(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 ns4__RequestSOAPHeader %p -> %p\n", q, p)); *(ns4__RequestSOAPHeader*)p = *(ns4__RequestSOAPHeader*)q; } void ns3__MessageURI::soap_default(struct soap *soap) { this->soap = soap; this->ns3__MessageURI::bodyText = NULL; this->ns3__MessageURI::__sizefileReferences = 0; this->ns3__MessageURI::fileReferences = NULL; /* transient soap skipped */ } void ns3__MessageURI::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_serialize_PointerTostd__wstring(soap, &this->ns3__MessageURI::bodyText); if (this->ns3__MessageURI::fileReferences) { int i; for (i = 0; i < this->ns3__MessageURI::__sizefileReferences; i++) { soap_embedded(soap, this->ns3__MessageURI::fileReferences + i, SOAP_TYPE_ISAGMMS_xsd__anyURI); soap_serialize_xsd__anyURI(soap, this->ns3__MessageURI::fileReferences + i); } } /* transient soap skipped */ } int ns3__MessageURI::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns3__MessageURI(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns3__MessageURI(struct soap *soap, const char *tag, int id, const ns3__MessageURI *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns3__MessageURI), type)) return soap->error; if (soap_out_PointerTostd__wstring(soap, "bodyText", -1, &(a->ns3__MessageURI::bodyText), "")) return soap->error; if (a->ns3__MessageURI::fileReferences) { int i; for (i = 0; i < a->ns3__MessageURI::__sizefileReferences; i++) if (soap_out_xsd__anyURI(soap, "fileReferences", -1, a->ns3__MessageURI::fileReferences + i, "")) return soap->error; } /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns3__MessageURI::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns3__MessageURI(soap, tag, this, type); } SOAP_FMAC3 ns3__MessageURI * SOAP_FMAC4 soap_in_ns3__MessageURI(struct soap *soap, const char *tag, ns3__MessageURI *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns3__MessageURI *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns3__MessageURI, sizeof(ns3__MessageURI), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns3__MessageURI) { soap_revert(soap); *soap->id = '\0'; return (ns3__MessageURI *)a->soap_in(soap, tag, type); } } size_t soap_flag_bodyText1 = 1; struct soap_blist *soap_blist_fileReferences1 = NULL; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_bodyText1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "bodyText", &(a->ns3__MessageURI::bodyText), "xsd:string")) { soap_flag_bodyText1--; continue; } if (soap->error == SOAP_TAG_MISMATCH && !soap_element_begin_in(soap, "fileReferences", 1, NULL)) { if (a->ns3__MessageURI::fileReferences == NULL) { if (soap_blist_fileReferences1 == NULL) soap_blist_fileReferences1 = soap_new_block(soap); a->ns3__MessageURI::fileReferences = (std::wstring *)soap_push_block(soap, soap_blist_fileReferences1, sizeof(std::wstring)); if (a->ns3__MessageURI::fileReferences == NULL) return NULL; SOAP_PLACEMENT_NEW(a->ns3__MessageURI::fileReferences, std::wstring); soap_default_xsd__anyURI(soap, a->ns3__MessageURI::fileReferences); } soap_revert(soap); if (soap_in_xsd__anyURI(soap, "fileReferences", a->ns3__MessageURI::fileReferences, "xsd:anyURI")) { a->ns3__MessageURI::__sizefileReferences++; a->ns3__MessageURI::fileReferences = NULL; continue; } } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (a->ns3__MessageURI::fileReferences) soap_pop_block(soap, soap_blist_fileReferences1); if (a->ns3__MessageURI::__sizefileReferences) a->ns3__MessageURI::fileReferences = (std::wstring *)soap_save_block(soap, soap_blist_fileReferences1, NULL, 1); else { a->ns3__MessageURI::fileReferences = NULL; if (soap_blist_fileReferences1) soap_end_block(soap, soap_blist_fileReferences1); } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns3__MessageURI *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns3__MessageURI, 0, sizeof(ns3__MessageURI), 0, soap_copy_ns3__MessageURI); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } int ns3__MessageURI::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns3__MessageURI); if (this->soap_out(soap, tag?tag:"ns3:MessageURI", id, type)) return soap->error; return soap_putindependent(soap); } void *ns3__MessageURI::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns3__MessageURI(soap, this, tag, type); } SOAP_FMAC3 ns3__MessageURI * SOAP_FMAC4 soap_get_ns3__MessageURI(struct soap *soap, ns3__MessageURI *p, const char *tag, const char *type) { if ((p = soap_in_ns3__MessageURI(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns3__MessageURI * SOAP_FMAC2 soap_instantiate_ns3__MessageURI(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_ns3__MessageURI(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns3__MessageURI, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns3__MessageURI); if (size) *size = sizeof(ns3__MessageURI); ((ns3__MessageURI*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns3__MessageURI[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns3__MessageURI); for (int i = 0; i < n; i++) ((ns3__MessageURI*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns3__MessageURI*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns3__MessageURI(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 ns3__MessageURI %p -> %p\n", q, p)); *(ns3__MessageURI*)p = *(ns3__MessageURI*)q; } void ns3__MessageReference::soap_default(struct soap *soap) { this->soap = soap; this->ns3__MessageReference::messageIdentifier = NULL; soap_default_std__wstring(soap, &this->ns3__MessageReference::messageServiceActivationNumber); soap_default_xsd__anyURI(soap, &this->ns3__MessageReference::senderAddress); this->ns3__MessageReference::subject = NULL; soap_default_ns3__MessagePriority(soap, &this->ns3__MessageReference::priority); this->ns3__MessageReference::message = NULL; /* transient soap skipped */ } void ns3__MessageReference::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_serialize_PointerTostd__wstring(soap, &this->ns3__MessageReference::messageIdentifier); soap_embedded(soap, &this->ns3__MessageReference::messageServiceActivationNumber, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns3__MessageReference::messageServiceActivationNumber); soap_embedded(soap, &this->ns3__MessageReference::senderAddress, SOAP_TYPE_ISAGMMS_xsd__anyURI); soap_serialize_xsd__anyURI(soap, &this->ns3__MessageReference::senderAddress); soap_serialize_PointerTostd__wstring(soap, &this->ns3__MessageReference::subject); soap_serialize_PointerTostd__wstring(soap, &this->ns3__MessageReference::message); /* transient soap skipped */ } int ns3__MessageReference::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns3__MessageReference(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns3__MessageReference(struct soap *soap, const char *tag, int id, const ns3__MessageReference *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns3__MessageReference), type)) return soap->error; if (soap_out_PointerTostd__wstring(soap, "messageIdentifier", -1, &(a->ns3__MessageReference::messageIdentifier), "")) return soap->error; if (soap_out_std__wstring(soap, "messageServiceActivationNumber", -1, &(a->ns3__MessageReference::messageServiceActivationNumber), "")) return soap->error; if (soap_out_xsd__anyURI(soap, "senderAddress", -1, &(a->ns3__MessageReference::senderAddress), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "subject", -1, &(a->ns3__MessageReference::subject), "")) return soap->error; if (soap_out_ns3__MessagePriority(soap, "priority", -1, &(a->ns3__MessageReference::priority), "")) return soap->error; if (soap_out_PointerTostd__wstring(soap, "message", -1, &(a->ns3__MessageReference::message), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns3__MessageReference::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns3__MessageReference(soap, tag, this, type); } SOAP_FMAC3 ns3__MessageReference * SOAP_FMAC4 soap_in_ns3__MessageReference(struct soap *soap, const char *tag, ns3__MessageReference *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns3__MessageReference *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns3__MessageReference, sizeof(ns3__MessageReference), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns3__MessageReference) { soap_revert(soap); *soap->id = '\0'; return (ns3__MessageReference *)a->soap_in(soap, tag, type); } } size_t soap_flag_messageIdentifier1 = 1; size_t soap_flag_messageServiceActivationNumber1 = 1; size_t soap_flag_senderAddress1 = 1; size_t soap_flag_subject1 = 1; size_t soap_flag_priority1 = 1; size_t soap_flag_message1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_messageIdentifier1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "messageIdentifier", &(a->ns3__MessageReference::messageIdentifier), "xsd:string")) { soap_flag_messageIdentifier1--; continue; } if (soap_flag_messageServiceActivationNumber1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "messageServiceActivationNumber", &(a->ns3__MessageReference::messageServiceActivationNumber), "xsd:string")) { soap_flag_messageServiceActivationNumber1--; continue; } if (soap_flag_senderAddress1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_xsd__anyURI(soap, "senderAddress", &(a->ns3__MessageReference::senderAddress), "xsd:anyURI")) { soap_flag_senderAddress1--; continue; } if (soap_flag_subject1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "subject", &(a->ns3__MessageReference::subject), "xsd:string")) { soap_flag_subject1--; continue; } if (soap_flag_priority1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_ns3__MessagePriority(soap, "priority", &(a->ns3__MessageReference::priority), "ns3:MessagePriority")) { soap_flag_priority1--; continue; } if (soap_flag_message1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_PointerTostd__wstring(soap, "message", &(a->ns3__MessageReference::message), "xsd:string")) { soap_flag_message1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns3__MessageReference *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns3__MessageReference, 0, sizeof(ns3__MessageReference), 0, soap_copy_ns3__MessageReference); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_messageServiceActivationNumber1 > 0 || soap_flag_senderAddress1 > 0 || soap_flag_priority1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns3__MessageReference::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns3__MessageReference); if (this->soap_out(soap, tag?tag:"ns3:MessageReference", id, type)) return soap->error; return soap_putindependent(soap); } void *ns3__MessageReference::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns3__MessageReference(soap, this, tag, type); } SOAP_FMAC3 ns3__MessageReference * SOAP_FMAC4 soap_get_ns3__MessageReference(struct soap *soap, ns3__MessageReference *p, const char *tag, const char *type) { if ((p = soap_in_ns3__MessageReference(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns3__MessageReference * SOAP_FMAC2 soap_instantiate_ns3__MessageReference(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_ns3__MessageReference(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns3__MessageReference, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns3__MessageReference); if (size) *size = sizeof(ns3__MessageReference); ((ns3__MessageReference*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns3__MessageReference[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns3__MessageReference); for (int i = 0; i < n; i++) ((ns3__MessageReference*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns3__MessageReference*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns3__MessageReference(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 ns3__MessageReference %p -> %p\n", q, p)); *(ns3__MessageReference*)p = *(ns3__MessageReference*)q; } void ns3__DeliveryInformation::soap_default(struct soap *soap) { this->soap = soap; soap_default_xsd__anyURI(soap, &this->ns3__DeliveryInformation::address); soap_default_ns3__DeliveryStatus(soap, &this->ns3__DeliveryInformation::deliveryStatus); /* transient soap skipped */ } void ns3__DeliveryInformation::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns3__DeliveryInformation::address, SOAP_TYPE_ISAGMMS_xsd__anyURI); soap_serialize_xsd__anyURI(soap, &this->ns3__DeliveryInformation::address); /* transient soap skipped */ } int ns3__DeliveryInformation::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns3__DeliveryInformation(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns3__DeliveryInformation(struct soap *soap, const char *tag, int id, const ns3__DeliveryInformation *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation), type)) return soap->error; if (soap_out_xsd__anyURI(soap, "address", -1, &(a->ns3__DeliveryInformation::address), "")) return soap->error; if (soap_out_ns3__DeliveryStatus(soap, "deliveryStatus", -1, &(a->ns3__DeliveryInformation::deliveryStatus), "")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns3__DeliveryInformation::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns3__DeliveryInformation(soap, tag, this, type); } SOAP_FMAC3 ns3__DeliveryInformation * SOAP_FMAC4 soap_in_ns3__DeliveryInformation(struct soap *soap, const char *tag, ns3__DeliveryInformation *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns3__DeliveryInformation *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation, sizeof(ns3__DeliveryInformation), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation) { soap_revert(soap); *soap->id = '\0'; return (ns3__DeliveryInformation *)a->soap_in(soap, tag, type); } } size_t soap_flag_address1 = 1; size_t soap_flag_deliveryStatus1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_address1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_xsd__anyURI(soap, "address", &(a->ns3__DeliveryInformation::address), "xsd:anyURI")) { soap_flag_address1--; continue; } if (soap_flag_deliveryStatus1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_ns3__DeliveryStatus(soap, "deliveryStatus", &(a->ns3__DeliveryInformation::deliveryStatus), "ns3:DeliveryStatus")) { soap_flag_deliveryStatus1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns3__DeliveryInformation *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation, 0, sizeof(ns3__DeliveryInformation), 0, soap_copy_ns3__DeliveryInformation); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_address1 > 0 || soap_flag_deliveryStatus1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns3__DeliveryInformation::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation); if (this->soap_out(soap, tag?tag:"ns3:DeliveryInformation", id, type)) return soap->error; return soap_putindependent(soap); } void *ns3__DeliveryInformation::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns3__DeliveryInformation(soap, this, tag, type); } SOAP_FMAC3 ns3__DeliveryInformation * SOAP_FMAC4 soap_get_ns3__DeliveryInformation(struct soap *soap, ns3__DeliveryInformation *p, const char *tag, const char *type) { if ((p = soap_in_ns3__DeliveryInformation(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns3__DeliveryInformation * SOAP_FMAC2 soap_instantiate_ns3__DeliveryInformation(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_ns3__DeliveryInformation(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns3__DeliveryInformation); if (size) *size = sizeof(ns3__DeliveryInformation); ((ns3__DeliveryInformation*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns3__DeliveryInformation[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns3__DeliveryInformation); for (int i = 0; i < n; i++) ((ns3__DeliveryInformation*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns3__DeliveryInformation*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns3__DeliveryInformation(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 ns3__DeliveryInformation %p -> %p\n", q, p)); *(ns3__DeliveryInformation*)p = *(ns3__DeliveryInformation*)q; } void ns2__notifyMessageDeliveryReceiptResponse::soap_default(struct soap *soap) { this->soap = soap; /* transient soap skipped */ } void ns2__notifyMessageDeliveryReceiptResponse::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ /* transient soap skipped */ } int ns2__notifyMessageDeliveryReceiptResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns2__notifyMessageDeliveryReceiptResponse(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns2__notifyMessageDeliveryReceiptResponse(struct soap *soap, const char *tag, int id, const ns2__notifyMessageDeliveryReceiptResponse *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse), type)) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns2__notifyMessageDeliveryReceiptResponse::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns2__notifyMessageDeliveryReceiptResponse(soap, tag, this, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceiptResponse * SOAP_FMAC4 soap_in_ns2__notifyMessageDeliveryReceiptResponse(struct soap *soap, const char *tag, ns2__notifyMessageDeliveryReceiptResponse *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns2__notifyMessageDeliveryReceiptResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse, sizeof(ns2__notifyMessageDeliveryReceiptResponse), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse) { soap_revert(soap); *soap->id = '\0'; return (ns2__notifyMessageDeliveryReceiptResponse *)a->soap_in(soap, tag, type); } } if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns2__notifyMessageDeliveryReceiptResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse, 0, sizeof(ns2__notifyMessageDeliveryReceiptResponse), 0, soap_copy_ns2__notifyMessageDeliveryReceiptResponse); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } int ns2__notifyMessageDeliveryReceiptResponse::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse); if (this->soap_out(soap, tag?tag:"ns2:notifyMessageDeliveryReceiptResponse", id, type)) return soap->error; return soap_putindependent(soap); } void *ns2__notifyMessageDeliveryReceiptResponse::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns2__notifyMessageDeliveryReceiptResponse(soap, this, tag, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceiptResponse * SOAP_FMAC4 soap_get_ns2__notifyMessageDeliveryReceiptResponse(struct soap *soap, ns2__notifyMessageDeliveryReceiptResponse *p, const char *tag, const char *type) { if ((p = soap_in_ns2__notifyMessageDeliveryReceiptResponse(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns2__notifyMessageDeliveryReceiptResponse * SOAP_FMAC2 soap_instantiate_ns2__notifyMessageDeliveryReceiptResponse(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_ns2__notifyMessageDeliveryReceiptResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageDeliveryReceiptResponse); if (size) *size = sizeof(ns2__notifyMessageDeliveryReceiptResponse); ((ns2__notifyMessageDeliveryReceiptResponse*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageDeliveryReceiptResponse[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns2__notifyMessageDeliveryReceiptResponse); for (int i = 0; i < n; i++) ((ns2__notifyMessageDeliveryReceiptResponse*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns2__notifyMessageDeliveryReceiptResponse*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns2__notifyMessageDeliveryReceiptResponse(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 ns2__notifyMessageDeliveryReceiptResponse %p -> %p\n", q, p)); *(ns2__notifyMessageDeliveryReceiptResponse*)p = *(ns2__notifyMessageDeliveryReceiptResponse*)q; } void ns2__notifyMessageDeliveryReceipt::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns2__notifyMessageDeliveryReceipt::correlator); this->ns2__notifyMessageDeliveryReceipt::deliveryStatus = NULL; /* transient soap skipped */ } void ns2__notifyMessageDeliveryReceipt::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns2__notifyMessageDeliveryReceipt::correlator, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns2__notifyMessageDeliveryReceipt::correlator); soap_serialize_PointerTons3__DeliveryInformation(soap, &this->ns2__notifyMessageDeliveryReceipt::deliveryStatus); /* transient soap skipped */ } int ns2__notifyMessageDeliveryReceipt::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns2__notifyMessageDeliveryReceipt(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns2__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, int id, const ns2__notifyMessageDeliveryReceipt *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt), type)) return soap->error; if (soap_out_std__wstring(soap, "ns2:correlator", -1, &(a->ns2__notifyMessageDeliveryReceipt::correlator), "")) return soap->error; if (a->ns2__notifyMessageDeliveryReceipt::deliveryStatus) { if (soap_out_PointerTons3__DeliveryInformation(soap, "ns2:deliveryStatus", -1, &a->ns2__notifyMessageDeliveryReceipt::deliveryStatus, "")) return soap->error; } else if (soap_element_nil(soap, "ns2:deliveryStatus")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns2__notifyMessageDeliveryReceipt::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns2__notifyMessageDeliveryReceipt(soap, tag, this, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceipt * SOAP_FMAC4 soap_in_ns2__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, ns2__notifyMessageDeliveryReceipt *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns2__notifyMessageDeliveryReceipt *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt, sizeof(ns2__notifyMessageDeliveryReceipt), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt) { soap_revert(soap); *soap->id = '\0'; return (ns2__notifyMessageDeliveryReceipt *)a->soap_in(soap, tag, type); } } size_t soap_flag_correlator1 = 1; size_t soap_flag_deliveryStatus1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_correlator1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "ns2:correlator", &(a->ns2__notifyMessageDeliveryReceipt::correlator), "xsd:string")) { soap_flag_correlator1--; continue; } if (soap_flag_deliveryStatus1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTons3__DeliveryInformation(soap, "ns2:deliveryStatus", &(a->ns2__notifyMessageDeliveryReceipt::deliveryStatus), "ns3:DeliveryInformation")) { soap_flag_deliveryStatus1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns2__notifyMessageDeliveryReceipt *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt, 0, sizeof(ns2__notifyMessageDeliveryReceipt), 0, soap_copy_ns2__notifyMessageDeliveryReceipt); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_correlator1 > 0 || soap_flag_deliveryStatus1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns2__notifyMessageDeliveryReceipt::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt); if (this->soap_out(soap, tag?tag:"ns2:notifyMessageDeliveryReceipt", id, type)) return soap->error; return soap_putindependent(soap); } void *ns2__notifyMessageDeliveryReceipt::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns2__notifyMessageDeliveryReceipt(soap, this, tag, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceipt * SOAP_FMAC4 soap_get_ns2__notifyMessageDeliveryReceipt(struct soap *soap, ns2__notifyMessageDeliveryReceipt *p, const char *tag, const char *type) { if ((p = soap_in_ns2__notifyMessageDeliveryReceipt(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns2__notifyMessageDeliveryReceipt * SOAP_FMAC2 soap_instantiate_ns2__notifyMessageDeliveryReceipt(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_ns2__notifyMessageDeliveryReceipt(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageDeliveryReceipt); if (size) *size = sizeof(ns2__notifyMessageDeliveryReceipt); ((ns2__notifyMessageDeliveryReceipt*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageDeliveryReceipt[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns2__notifyMessageDeliveryReceipt); for (int i = 0; i < n; i++) ((ns2__notifyMessageDeliveryReceipt*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns2__notifyMessageDeliveryReceipt*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns2__notifyMessageDeliveryReceipt(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 ns2__notifyMessageDeliveryReceipt %p -> %p\n", q, p)); *(ns2__notifyMessageDeliveryReceipt*)p = *(ns2__notifyMessageDeliveryReceipt*)q; } void ns2__notifyMessageReceptionResponse::soap_default(struct soap *soap) { this->soap = soap; /* transient soap skipped */ } void ns2__notifyMessageReceptionResponse::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ /* transient soap skipped */ } int ns2__notifyMessageReceptionResponse::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns2__notifyMessageReceptionResponse(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns2__notifyMessageReceptionResponse(struct soap *soap, const char *tag, int id, const ns2__notifyMessageReceptionResponse *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse), type)) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns2__notifyMessageReceptionResponse::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns2__notifyMessageReceptionResponse(soap, tag, this, type); } SOAP_FMAC3 ns2__notifyMessageReceptionResponse * SOAP_FMAC4 soap_in_ns2__notifyMessageReceptionResponse(struct soap *soap, const char *tag, ns2__notifyMessageReceptionResponse *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns2__notifyMessageReceptionResponse *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse, sizeof(ns2__notifyMessageReceptionResponse), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse) { soap_revert(soap); *soap->id = '\0'; return (ns2__notifyMessageReceptionResponse *)a->soap_in(soap, tag, type); } } if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns2__notifyMessageReceptionResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse, 0, sizeof(ns2__notifyMessageReceptionResponse), 0, soap_copy_ns2__notifyMessageReceptionResponse); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } int ns2__notifyMessageReceptionResponse::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse); if (this->soap_out(soap, tag?tag:"ns2:notifyMessageReceptionResponse", id, type)) return soap->error; return soap_putindependent(soap); } void *ns2__notifyMessageReceptionResponse::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns2__notifyMessageReceptionResponse(soap, this, tag, type); } SOAP_FMAC3 ns2__notifyMessageReceptionResponse * SOAP_FMAC4 soap_get_ns2__notifyMessageReceptionResponse(struct soap *soap, ns2__notifyMessageReceptionResponse *p, const char *tag, const char *type) { if ((p = soap_in_ns2__notifyMessageReceptionResponse(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns2__notifyMessageReceptionResponse * SOAP_FMAC2 soap_instantiate_ns2__notifyMessageReceptionResponse(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_ns2__notifyMessageReceptionResponse(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageReceptionResponse); if (size) *size = sizeof(ns2__notifyMessageReceptionResponse); ((ns2__notifyMessageReceptionResponse*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageReceptionResponse[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns2__notifyMessageReceptionResponse); for (int i = 0; i < n; i++) ((ns2__notifyMessageReceptionResponse*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns2__notifyMessageReceptionResponse*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns2__notifyMessageReceptionResponse(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 ns2__notifyMessageReceptionResponse %p -> %p\n", q, p)); *(ns2__notifyMessageReceptionResponse*)p = *(ns2__notifyMessageReceptionResponse*)q; } void ns2__notifyMessageReception::soap_default(struct soap *soap) { this->soap = soap; soap_default_std__wstring(soap, &this->ns2__notifyMessageReception::registrationIdentifier); this->ns2__notifyMessageReception::message = NULL; /* transient soap skipped */ } void ns2__notifyMessageReception::soap_serialize(struct soap *soap) const { (void)soap; /* appease -Wall -Werror */ soap_embedded(soap, &this->ns2__notifyMessageReception::registrationIdentifier, SOAP_TYPE_ISAGMMS_std__wstring); soap_serialize_std__wstring(soap, &this->ns2__notifyMessageReception::registrationIdentifier); soap_serialize_PointerTons3__MessageReference(soap, &this->ns2__notifyMessageReception::message); /* transient soap skipped */ } int ns2__notifyMessageReception::soap_out(struct soap *soap, const char *tag, int id, const char *type) const { return soap_out_ns2__notifyMessageReception(soap, tag, id, this, type); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns2__notifyMessageReception(struct soap *soap, const char *tag, int id, const ns2__notifyMessageReception *a, const char *type) { if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception), type)) return soap->error; if (soap_out_std__wstring(soap, "ns2:registrationIdentifier", -1, &(a->ns2__notifyMessageReception::registrationIdentifier), "")) return soap->error; if (a->ns2__notifyMessageReception::message) { if (soap_out_PointerTons3__MessageReference(soap, "ns2:message", -1, &a->ns2__notifyMessageReception::message, "")) return soap->error; } else if (soap_element_nil(soap, "ns2:message")) return soap->error; /* transient soap skipped */ return soap_element_end_out(soap, tag); } void *ns2__notifyMessageReception::soap_in(struct soap *soap, const char *tag, const char *type) { return soap_in_ns2__notifyMessageReception(soap, tag, this, type); } SOAP_FMAC3 ns2__notifyMessageReception * SOAP_FMAC4 soap_in_ns2__notifyMessageReception(struct soap *soap, const char *tag, ns2__notifyMessageReception *a, const char *type) { (void)type; /* appease -Wall -Werror */ if (soap_element_begin_in(soap, tag, 0, NULL)) return NULL; a = (ns2__notifyMessageReception *)soap_class_id_enter(soap, soap->id, a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception, sizeof(ns2__notifyMessageReception), soap->type, soap->arrayType); if (!a) return NULL; if (soap->alloced) { a->soap_default(soap); if (soap->clist->type != SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception) { soap_revert(soap); *soap->id = '\0'; return (ns2__notifyMessageReception *)a->soap_in(soap, tag, type); } } size_t soap_flag_registrationIdentifier1 = 1; size_t soap_flag_message1 = 1; if (soap->body && !*soap->href) { for (;;) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_registrationIdentifier1 && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) if (soap_in_std__wstring(soap, "ns2:registrationIdentifier", &(a->ns2__notifyMessageReception::registrationIdentifier), "xsd:string")) { soap_flag_registrationIdentifier1--; continue; } if (soap_flag_message1 && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTons3__MessageReference(soap, "ns2:message", &(a->ns2__notifyMessageReception::message), "ns3:MessageReference")) { soap_flag_message1--; continue; } /* transient soap skipped */ if (soap->error == SOAP_TAG_MISMATCH) soap->error = soap_ignore_element(soap); if (soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } if (soap_element_end_in(soap, tag)) return NULL; } else { a = (ns2__notifyMessageReception *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception, 0, sizeof(ns2__notifyMessageReception), 0, soap_copy_ns2__notifyMessageReception); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_registrationIdentifier1 > 0 || soap_flag_message1 > 0)) { soap->error = SOAP_OCCURS; return NULL; } return a; } int ns2__notifyMessageReception::soap_put(struct soap *soap, const char *tag, const char *type) const { register int id = soap_embed(soap, (void*)this, NULL, 0, tag, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception); if (this->soap_out(soap, tag?tag:"ns2:notifyMessageReception", id, type)) return soap->error; return soap_putindependent(soap); } void *ns2__notifyMessageReception::soap_get(struct soap *soap, const char *tag, const char *type) { return soap_get_ns2__notifyMessageReception(soap, this, tag, type); } SOAP_FMAC3 ns2__notifyMessageReception * SOAP_FMAC4 soap_get_ns2__notifyMessageReception(struct soap *soap, ns2__notifyMessageReception *p, const char *tag, const char *type) { if ((p = soap_in_ns2__notifyMessageReception(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 ns2__notifyMessageReception * SOAP_FMAC2 soap_instantiate_ns2__notifyMessageReception(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_ns2__notifyMessageReception(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageReception); if (size) *size = sizeof(ns2__notifyMessageReception); ((ns2__notifyMessageReception*)cp->ptr)->soap = soap; } else { cp->ptr = (void*)SOAP_NEW(ns2__notifyMessageReception[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(ns2__notifyMessageReception); for (int i = 0; i < n; i++) ((ns2__notifyMessageReception*)cp->ptr)[i].soap = soap; } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (ns2__notifyMessageReception*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns2__notifyMessageReception(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 ns2__notifyMessageReception %p -> %p\n", q, p)); *(ns2__notifyMessageReception*)p = *(ns2__notifyMessageReception*)q; } SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__decimal(struct soap *soap, const char *tag, int id, const std::wstring *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_ISAGMMS_xsd__decimal), type) || soap_wstring_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) return soap->error; return SOAP_OK; } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_in_xsd__decimal(struct soap *soap, const char *tag, std::wstring *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__wstring(soap, -1); if (soap->null) if (s) s->erase(); if (soap->body && !*soap->href) { wchar_t *t; s = (std::wstring*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_xsd__decimal, sizeof(std::wstring), soap->type, soap->arrayType); if (s) { if (!(t = soap_wstring_in(soap, 1, 0, -1))) return NULL; s->assign(t); } } else s = (std::wstring*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_xsd__decimal, sizeof(std::wstring), soap->type, soap->arrayType), 0, SOAP_TYPE_ISAGMMS_xsd__decimal, 0, sizeof(std::wstring), 0, soap_copy_xsd__decimal); if (soap->body && soap_element_end_in(soap, tag)) return NULL; return s; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__decimal(struct soap *soap, const std::wstring *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_xsd__decimal); if (soap_out_xsd__decimal(soap, tag?tag:"xsd:decimal", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_get_xsd__decimal(struct soap *soap, std::wstring *p, const char *tag, const char *type) { if ((p = soap_in_xsd__decimal(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__anyURI(struct soap *soap, const char *tag, int id, const std::wstring *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_ISAGMMS_xsd__anyURI), type) || soap_wstring_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) return soap->error; return SOAP_OK; } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_in_xsd__anyURI(struct soap *soap, const char *tag, std::wstring *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__wstring(soap, -1); if (soap->null) if (s) s->erase(); if (soap->body && !*soap->href) { wchar_t *t; s = (std::wstring*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_xsd__anyURI, sizeof(std::wstring), soap->type, soap->arrayType); if (s) { if (!(t = soap_wstring_in(soap, 1, 0, -1))) return NULL; s->assign(t); } } else s = (std::wstring*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_xsd__anyURI, sizeof(std::wstring), soap->type, soap->arrayType), 0, SOAP_TYPE_ISAGMMS_xsd__anyURI, 0, sizeof(std::wstring), 0, soap_copy_xsd__anyURI); if (soap->body && soap_element_end_in(soap, tag)) return NULL; return s; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__anyURI(struct soap *soap, const std::wstring *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_xsd__anyURI); if (soap_out_xsd__anyURI(soap, tag?tag:"xsd:anyURI", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_get_xsd__anyURI(struct soap *soap, std::wstring *p, const char *tag, const char *type) { if ((p = soap_in_xsd__anyURI(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_default_std__wstring(struct soap *soap, std::wstring *p) { (void)soap; /* appease -Wall -Werror */ p->erase(); } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_std__wstring(struct soap *soap, const std::wstring *a) { (void)soap; (void)a; /* appease -Wall -Werror */ } SOAP_FMAC3 int SOAP_FMAC4 soap_out_std__wstring(struct soap *soap, const char *tag, int id, const std::wstring *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_ISAGMMS_std__wstring), type) || soap_wstring_out(soap, s->c_str(), 0) || soap_element_end_out(soap, tag)) return soap->error; return SOAP_OK; } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_in_std__wstring(struct soap *soap, const char *tag, std::wstring *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__wstring(soap, -1); if (soap->null) if (s) s->erase(); if (soap->body && !*soap->href) { wchar_t *t; s = (std::wstring*)soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_std__wstring, sizeof(std::wstring), soap->type, soap->arrayType); if (s) { if (!(t = soap_wstring_in(soap, 1, 0, -1))) return NULL; s->assign(t); } } else s = (std::wstring*)soap_id_forward(soap, soap->href, soap_class_id_enter(soap, soap->id, s, SOAP_TYPE_ISAGMMS_std__wstring, sizeof(std::wstring), soap->type, soap->arrayType), 0, SOAP_TYPE_ISAGMMS_std__wstring, 0, sizeof(std::wstring), 0, soap_copy_std__wstring); if (soap->body && soap_element_end_in(soap, tag)) return NULL; return s; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_std__wstring(struct soap *soap, const std::wstring *a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_std__wstring); if (soap_out_std__wstring(soap, tag?tag:"string", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring * SOAP_FMAC4 soap_get_std__wstring(struct soap *soap, std::wstring *p, const char *tag, const char *type) { if ((p = soap_in_std__wstring(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 std::wstring * SOAP_FMAC2 soap_instantiate_std__wstring(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__wstring(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS_std__wstring, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(std::wstring); if (size) *size = sizeof(std::wstring); } else { cp->ptr = (void*)SOAP_NEW(std::wstring[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(std::wstring); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (std::wstring*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy_std__wstring(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::wstring %p -> %p\n", q, p)); *(std::wstring*)p = *(std::wstring*)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) { (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); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Fault, n, ISAGMMS_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(struct SOAP_ENV__Fault[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct SOAP_ENV__Fault); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 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) { (void)soap; (void)a; /* appease -Wall -Werror */ soap_serialize_string(soap, &a->SOAP_ENV__Text); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Reason, n, ISAGMMS_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(struct SOAP_ENV__Reason[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct SOAP_ENV__Reason); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 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) { (void)soap; (void)a; /* appease -Wall -Werror */ soap_markelement(soap, a->fault, a->__type); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Detail, n, ISAGMMS_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(struct SOAP_ENV__Detail[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct SOAP_ENV__Detail); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 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) { (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); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Code, n, ISAGMMS_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(struct SOAP_ENV__Code[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct SOAP_ENV__Code); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 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) { (void)soap; (void)a; /* appease -Wall -Werror */ } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_SOAP_ENV__Header, n, ISAGMMS_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(struct SOAP_ENV__Header[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct SOAP_ENV__Header); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); 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___ns1__notifyMessageDeliveryReceipt(struct soap *soap, struct __ns1__notifyMessageDeliveryReceipt *a) { (void)soap; (void)a; /* appease -Wall -Werror */ a->ns2__notifyMessageDeliveryReceipt_ = NULL; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__notifyMessageDeliveryReceipt(struct soap *soap, const struct __ns1__notifyMessageDeliveryReceipt *a) { (void)soap; (void)a; /* appease -Wall -Werror */ soap_serialize_PointerTons2__notifyMessageDeliveryReceipt(soap, &a->ns2__notifyMessageDeliveryReceipt_); } SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, int id, const struct __ns1__notifyMessageDeliveryReceipt *a, const char *type) { (void)soap; (void)tag; (void)id; (void)type; if (soap_out_PointerTons2__notifyMessageDeliveryReceipt(soap, "ns2:notifyMessageDeliveryReceipt", -1, &a->ns2__notifyMessageDeliveryReceipt_, "")) return soap->error; return SOAP_OK; } SOAP_FMAC3 struct __ns1__notifyMessageDeliveryReceipt * SOAP_FMAC4 soap_in___ns1__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, struct __ns1__notifyMessageDeliveryReceipt *a, const char *type) { size_t soap_flag_ns2__notifyMessageDeliveryReceipt_ = 1; short soap_flag; a = (struct __ns1__notifyMessageDeliveryReceipt *)soap_id_enter(soap, "", a, SOAP_TYPE_ISAGMMS___ns1__notifyMessageDeliveryReceipt, sizeof(struct __ns1__notifyMessageDeliveryReceipt), 0, NULL, NULL, NULL); if (!a) return NULL; soap_default___ns1__notifyMessageDeliveryReceipt(soap, a); for (soap_flag = 0;; soap_flag = 1) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_ns2__notifyMessageDeliveryReceipt_ && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTons2__notifyMessageDeliveryReceipt(soap, "ns2:notifyMessageDeliveryReceipt", &a->ns2__notifyMessageDeliveryReceipt_, "ns2:notifyMessageDeliveryReceipt")) { soap_flag_ns2__notifyMessageDeliveryReceipt_--; continue; } if (soap->error == SOAP_TAG_MISMATCH) if (soap_flag) { soap->error = SOAP_OK; break; } if (soap_flag && soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__notifyMessageDeliveryReceipt(struct soap *soap, const struct __ns1__notifyMessageDeliveryReceipt *a, const char *tag, const char *type) { register int id = 0; if (soap_out___ns1__notifyMessageDeliveryReceipt(soap, tag?tag:"-ns1:notifyMessageDeliveryReceipt", id, a, type)) return soap->error; return SOAP_OK; } SOAP_FMAC3 struct __ns1__notifyMessageDeliveryReceipt * SOAP_FMAC4 soap_get___ns1__notifyMessageDeliveryReceipt(struct soap *soap, struct __ns1__notifyMessageDeliveryReceipt *p, const char *tag, const char *type) { if ((p = soap_in___ns1__notifyMessageDeliveryReceipt(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 struct __ns1__notifyMessageDeliveryReceipt * SOAP_FMAC2 soap_instantiate___ns1__notifyMessageDeliveryReceipt(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) { (void)type; (void)arrayType; /* appease -Wall -Werror */ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__notifyMessageDeliveryReceipt(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS___ns1__notifyMessageDeliveryReceipt, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(struct __ns1__notifyMessageDeliveryReceipt); if (size) *size = sizeof(struct __ns1__notifyMessageDeliveryReceipt); } else { cp->ptr = (void*)SOAP_NEW(struct __ns1__notifyMessageDeliveryReceipt[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct __ns1__notifyMessageDeliveryReceipt); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (struct __ns1__notifyMessageDeliveryReceipt*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__notifyMessageDeliveryReceipt(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) { (void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__notifyMessageDeliveryReceipt %p -> %p\n", q, p)); *(struct __ns1__notifyMessageDeliveryReceipt*)p = *(struct __ns1__notifyMessageDeliveryReceipt*)q; } SOAP_FMAC3 void SOAP_FMAC4 soap_default___ns1__notifyMessageReception(struct soap *soap, struct __ns1__notifyMessageReception *a) { (void)soap; (void)a; /* appease -Wall -Werror */ a->ns2__notifyMessageReception_ = NULL; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___ns1__notifyMessageReception(struct soap *soap, const struct __ns1__notifyMessageReception *a) { (void)soap; (void)a; /* appease -Wall -Werror */ soap_serialize_PointerTons2__notifyMessageReception(soap, &a->ns2__notifyMessageReception_); } SOAP_FMAC3 int SOAP_FMAC4 soap_out___ns1__notifyMessageReception(struct soap *soap, const char *tag, int id, const struct __ns1__notifyMessageReception *a, const char *type) { (void)soap; (void)tag; (void)id; (void)type; if (soap_out_PointerTons2__notifyMessageReception(soap, "ns2:notifyMessageReception", -1, &a->ns2__notifyMessageReception_, "")) return soap->error; return SOAP_OK; } SOAP_FMAC3 struct __ns1__notifyMessageReception * SOAP_FMAC4 soap_in___ns1__notifyMessageReception(struct soap *soap, const char *tag, struct __ns1__notifyMessageReception *a, const char *type) { size_t soap_flag_ns2__notifyMessageReception_ = 1; short soap_flag; a = (struct __ns1__notifyMessageReception *)soap_id_enter(soap, "", a, SOAP_TYPE_ISAGMMS___ns1__notifyMessageReception, sizeof(struct __ns1__notifyMessageReception), 0, NULL, NULL, NULL); if (!a) return NULL; soap_default___ns1__notifyMessageReception(soap, a); for (soap_flag = 0;; soap_flag = 1) { soap->error = SOAP_TAG_MISMATCH; if (soap_flag_ns2__notifyMessageReception_ && soap->error == SOAP_TAG_MISMATCH) if (soap_in_PointerTons2__notifyMessageReception(soap, "ns2:notifyMessageReception", &a->ns2__notifyMessageReception_, "ns2:notifyMessageReception")) { soap_flag_ns2__notifyMessageReception_--; continue; } if (soap->error == SOAP_TAG_MISMATCH) if (soap_flag) { soap->error = SOAP_OK; break; } if (soap_flag && soap->error == SOAP_NO_TAG) break; if (soap->error) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put___ns1__notifyMessageReception(struct soap *soap, const struct __ns1__notifyMessageReception *a, const char *tag, const char *type) { register int id = 0; if (soap_out___ns1__notifyMessageReception(soap, tag?tag:"-ns1:notifyMessageReception", id, a, type)) return soap->error; return SOAP_OK; } SOAP_FMAC3 struct __ns1__notifyMessageReception * SOAP_FMAC4 soap_get___ns1__notifyMessageReception(struct soap *soap, struct __ns1__notifyMessageReception *p, const char *tag, const char *type) { if ((p = soap_in___ns1__notifyMessageReception(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC1 struct __ns1__notifyMessageReception * SOAP_FMAC2 soap_instantiate___ns1__notifyMessageReception(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size) { (void)type; (void)arrayType; /* appease -Wall -Werror */ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate___ns1__notifyMessageReception(%d, %s, %s)\n", n, type?type:"", arrayType?arrayType:"")); struct soap_clist *cp = soap_link(soap, NULL, SOAP_TYPE_ISAGMMS___ns1__notifyMessageReception, n, ISAGMMS_fdelete); if (!cp) return NULL; if (n < 0) { cp->ptr = (void*)SOAP_NEW(struct __ns1__notifyMessageReception); if (size) *size = sizeof(struct __ns1__notifyMessageReception); } else { cp->ptr = (void*)SOAP_NEW(struct __ns1__notifyMessageReception[n]); if (!cp->ptr) { soap->error = SOAP_EOM; return NULL; } if (size) *size = n * sizeof(struct __ns1__notifyMessageReception); } DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr)); return (struct __ns1__notifyMessageReception*)cp->ptr; } SOAP_FMAC3 void SOAP_FMAC4 soap_copy___ns1__notifyMessageReception(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n) { (void)soap; (void)tt; (void)st; (void)len; (void)n; /* appease -Wall -Werror */ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Copying struct __ns1__notifyMessageReception %p -> %p\n", q, p)); *(struct __ns1__notifyMessageReception*)p = *(struct __ns1__notifyMessageReception*)q; } #ifndef WITH_NOGLOBAL SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_SOAP_ENV__Reason)) soap_serialize_SOAP_ENV__Reason(soap, *a); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_SOAP_ENV__Detail)) soap_serialize_SOAP_ENV__Detail(soap, *a); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_SOAP_ENV__Code)) soap_serialize_SOAP_ENV__Code(soap, *a); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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_PointerTons2__notifyMessageDeliveryReceiptResponse(struct soap *soap, ns2__notifyMessageDeliveryReceiptResponse *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons2__notifyMessageDeliveryReceiptResponse(struct soap *soap, const char *tag, int id, ns2__notifyMessageDeliveryReceiptResponse *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceiptResponse ** SOAP_FMAC4 soap_in_PointerTons2__notifyMessageDeliveryReceiptResponse(struct soap *soap, const char *tag, ns2__notifyMessageDeliveryReceiptResponse **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns2__notifyMessageDeliveryReceiptResponse **)soap_malloc(soap, sizeof(ns2__notifyMessageDeliveryReceiptResponse *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns2__notifyMessageDeliveryReceiptResponse *)soap_instantiate_ns2__notifyMessageDeliveryReceiptResponse(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns2__notifyMessageDeliveryReceiptResponse ** p = (ns2__notifyMessageDeliveryReceiptResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceiptResponse, sizeof(ns2__notifyMessageDeliveryReceiptResponse), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons2__notifyMessageDeliveryReceiptResponse(struct soap *soap, ns2__notifyMessageDeliveryReceiptResponse *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceiptResponse); if (soap_out_PointerTons2__notifyMessageDeliveryReceiptResponse(soap, tag?tag:"ns2:notifyMessageDeliveryReceiptResponse", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceiptResponse ** SOAP_FMAC4 soap_get_PointerTons2__notifyMessageDeliveryReceiptResponse(struct soap *soap, ns2__notifyMessageDeliveryReceiptResponse **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons2__notifyMessageDeliveryReceiptResponse(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons2__notifyMessageDeliveryReceipt(struct soap *soap, ns2__notifyMessageDeliveryReceipt *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons2__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, int id, ns2__notifyMessageDeliveryReceipt *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceipt ** SOAP_FMAC4 soap_in_PointerTons2__notifyMessageDeliveryReceipt(struct soap *soap, const char *tag, ns2__notifyMessageDeliveryReceipt **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns2__notifyMessageDeliveryReceipt **)soap_malloc(soap, sizeof(ns2__notifyMessageDeliveryReceipt *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns2__notifyMessageDeliveryReceipt *)soap_instantiate_ns2__notifyMessageDeliveryReceipt(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns2__notifyMessageDeliveryReceipt ** p = (ns2__notifyMessageDeliveryReceipt **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageDeliveryReceipt, sizeof(ns2__notifyMessageDeliveryReceipt), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons2__notifyMessageDeliveryReceipt(struct soap *soap, ns2__notifyMessageDeliveryReceipt *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageDeliveryReceipt); if (soap_out_PointerTons2__notifyMessageDeliveryReceipt(soap, tag?tag:"ns2:notifyMessageDeliveryReceipt", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns2__notifyMessageDeliveryReceipt ** SOAP_FMAC4 soap_get_PointerTons2__notifyMessageDeliveryReceipt(struct soap *soap, ns2__notifyMessageDeliveryReceipt **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons2__notifyMessageDeliveryReceipt(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons2__notifyMessageReceptionResponse(struct soap *soap, ns2__notifyMessageReceptionResponse *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons2__notifyMessageReceptionResponse(struct soap *soap, const char *tag, int id, ns2__notifyMessageReceptionResponse *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns2__notifyMessageReceptionResponse ** SOAP_FMAC4 soap_in_PointerTons2__notifyMessageReceptionResponse(struct soap *soap, const char *tag, ns2__notifyMessageReceptionResponse **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns2__notifyMessageReceptionResponse **)soap_malloc(soap, sizeof(ns2__notifyMessageReceptionResponse *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns2__notifyMessageReceptionResponse *)soap_instantiate_ns2__notifyMessageReceptionResponse(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns2__notifyMessageReceptionResponse ** p = (ns2__notifyMessageReceptionResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReceptionResponse, sizeof(ns2__notifyMessageReceptionResponse), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons2__notifyMessageReceptionResponse(struct soap *soap, ns2__notifyMessageReceptionResponse *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReceptionResponse); if (soap_out_PointerTons2__notifyMessageReceptionResponse(soap, tag?tag:"ns2:notifyMessageReceptionResponse", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns2__notifyMessageReceptionResponse ** SOAP_FMAC4 soap_get_PointerTons2__notifyMessageReceptionResponse(struct soap *soap, ns2__notifyMessageReceptionResponse **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons2__notifyMessageReceptionResponse(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons2__notifyMessageReception(struct soap *soap, ns2__notifyMessageReception *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons2__notifyMessageReception(struct soap *soap, const char *tag, int id, ns2__notifyMessageReception *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns2__notifyMessageReception ** SOAP_FMAC4 soap_in_PointerTons2__notifyMessageReception(struct soap *soap, const char *tag, ns2__notifyMessageReception **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns2__notifyMessageReception **)soap_malloc(soap, sizeof(ns2__notifyMessageReception *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns2__notifyMessageReception *)soap_instantiate_ns2__notifyMessageReception(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns2__notifyMessageReception ** p = (ns2__notifyMessageReception **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns2__notifyMessageReception, sizeof(ns2__notifyMessageReception), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons2__notifyMessageReception(struct soap *soap, ns2__notifyMessageReception *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons2__notifyMessageReception); if (soap_out_PointerTons2__notifyMessageReception(soap, tag?tag:"ns2:notifyMessageReception", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns2__notifyMessageReception ** SOAP_FMAC4 soap_get_PointerTons2__notifyMessageReception(struct soap *soap, ns2__notifyMessageReception **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons2__notifyMessageReception(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__decimal(struct soap *soap, std::wstring *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_xsd__decimal)) soap_serialize_xsd__decimal(soap, *a); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__decimal(struct soap *soap, const char *tag, int id, std::wstring *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_xsd__decimal); if (id < 0) return soap->error; return soap_out_xsd__decimal(soap, tag, id, *a, type); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_in_PointerToxsd__decimal(struct soap *soap, const char *tag, std::wstring **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (std::wstring **)soap_malloc(soap, sizeof(std::wstring *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = soap_in_xsd__decimal(soap, tag, *a, type))) return NULL; } else { a = (std::wstring **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_xsd__decimal, sizeof(std::wstring), 0); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__decimal(struct soap *soap, std::wstring *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerToxsd__decimal); if (soap_out_PointerToxsd__decimal(soap, tag?tag:"xsd:decimal", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_get_PointerToxsd__decimal(struct soap *soap, std::wstring **p, const char *tag, const char *type) { if ((p = soap_in_PointerToxsd__decimal(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTobool(struct soap *soap, bool *const*a) { soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_bool); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTobool(struct soap *soap, const char *tag, int id, bool *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_bool); if (id < 0) return soap->error; return soap_out_bool(soap, tag, id, *a, type); } SOAP_FMAC3 bool ** SOAP_FMAC4 soap_in_PointerTobool(struct soap *soap, const char *tag, bool **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (bool **)soap_malloc(soap, sizeof(bool *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = soap_in_bool(soap, tag, *a, type))) return NULL; } else { a = (bool **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_bool, sizeof(bool), 0); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTobool(struct soap *soap, bool *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTobool); if (soap_out_PointerTobool(soap, tag?tag:"boolean", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 bool ** SOAP_FMAC4 soap_get_PointerTobool(struct soap *soap, bool **p, const char *tag, const char *type) { if ((p = soap_in_PointerTobool(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons4__EndReason(struct soap *soap, enum ns4__EndReason *const*a) { soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns4__EndReason); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons4__EndReason(struct soap *soap, const char *tag, int id, enum ns4__EndReason *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns4__EndReason); if (id < 0) return soap->error; return soap_out_ns4__EndReason(soap, tag, id, *a, type); } SOAP_FMAC3 enum ns4__EndReason ** SOAP_FMAC4 soap_in_PointerTons4__EndReason(struct soap *soap, const char *tag, enum ns4__EndReason **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (enum ns4__EndReason **)soap_malloc(soap, sizeof(enum ns4__EndReason *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = soap_in_ns4__EndReason(soap, tag, *a, type))) return NULL; } else { a = (enum ns4__EndReason **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns4__EndReason, sizeof(enum ns4__EndReason), 0); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons4__EndReason(struct soap *soap, enum ns4__EndReason *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons4__EndReason); if (soap_out_PointerTons4__EndReason(soap, tag?tag:"ns4:EndReason", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 enum ns4__EndReason ** SOAP_FMAC4 soap_get_PointerTons4__EndReason(struct soap *soap, enum ns4__EndReason **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons4__EndReason(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__anyURI(struct soap *soap, std::wstring *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_xsd__anyURI)) soap_serialize_xsd__anyURI(soap, *a); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__anyURI(struct soap *soap, const char *tag, int id, std::wstring *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_xsd__anyURI); if (id < 0) return soap->error; return soap_out_xsd__anyURI(soap, tag, id, *a, type); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_in_PointerToxsd__anyURI(struct soap *soap, const char *tag, std::wstring **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (std::wstring **)soap_malloc(soap, sizeof(std::wstring *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = soap_in_xsd__anyURI(soap, tag, *a, type))) return NULL; } else { a = (std::wstring **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_xsd__anyURI, sizeof(std::wstring), 0); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__anyURI(struct soap *soap, std::wstring *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerToxsd__anyURI); if (soap_out_PointerToxsd__anyURI(soap, tag?tag:"xsd:anyURI", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_get_PointerToxsd__anyURI(struct soap *soap, std::wstring **p, const char *tag, const char *type) { if ((p = soap_in_PointerToxsd__anyURI(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostd__wstring(struct soap *soap, std::wstring *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_std__wstring)) soap_serialize_std__wstring(soap, *a); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostd__wstring(struct soap *soap, const char *tag, int id, std::wstring *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_std__wstring); if (id < 0) return soap->error; return soap_out_std__wstring(soap, tag, id, *a, type); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_in_PointerTostd__wstring(struct soap *soap, const char *tag, std::wstring **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (std::wstring **)soap_malloc(soap, sizeof(std::wstring *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = soap_in_std__wstring(soap, tag, *a, type))) return NULL; } else { a = (std::wstring **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_std__wstring, sizeof(std::wstring), 0); if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostd__wstring(struct soap *soap, std::wstring *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTostd__wstring); if (soap_out_PointerTostd__wstring(soap, tag?tag:"string", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 std::wstring ** SOAP_FMAC4 soap_get_PointerTostd__wstring(struct soap *soap, std::wstring **p, const char *tag, const char *type) { if ((p = soap_in_PointerTostd__wstring(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons3__DeliveryInformation(struct soap *soap, ns3__DeliveryInformation *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons3__DeliveryInformation(struct soap *soap, const char *tag, int id, ns3__DeliveryInformation *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns3__DeliveryInformation ** SOAP_FMAC4 soap_in_PointerTons3__DeliveryInformation(struct soap *soap, const char *tag, ns3__DeliveryInformation **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns3__DeliveryInformation **)soap_malloc(soap, sizeof(ns3__DeliveryInformation *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns3__DeliveryInformation *)soap_instantiate_ns3__DeliveryInformation(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns3__DeliveryInformation ** p = (ns3__DeliveryInformation **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns3__DeliveryInformation, sizeof(ns3__DeliveryInformation), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons3__DeliveryInformation(struct soap *soap, ns3__DeliveryInformation *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons3__DeliveryInformation); if (soap_out_PointerTons3__DeliveryInformation(soap, tag?tag:"ns3:DeliveryInformation", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns3__DeliveryInformation ** SOAP_FMAC4 soap_get_PointerTons3__DeliveryInformation(struct soap *soap, ns3__DeliveryInformation **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons3__DeliveryInformation(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons3__MessageReference(struct soap *soap, ns3__MessageReference *const*a) { if (!soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_ns3__MessageReference)) (*a)->soap_serialize(soap); } SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons3__MessageReference(struct soap *soap, const char *tag, int id, ns3__MessageReference *const*a, const char *type) { id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ISAGMMS_ns3__MessageReference); if (id < 0) return soap->error; return (*a)->soap_out(soap, tag, id, type); } SOAP_FMAC3 ns3__MessageReference ** SOAP_FMAC4 soap_in_PointerTons3__MessageReference(struct soap *soap, const char *tag, ns3__MessageReference **a, const char *type) { if (soap_element_begin_in(soap, tag, 1, NULL)) return NULL; if (!a) if (!(a = (ns3__MessageReference **)soap_malloc(soap, sizeof(ns3__MessageReference *)))) return NULL; *a = NULL; if (!soap->null && *soap->href != '#') { soap_revert(soap); if (!(*a = (ns3__MessageReference *)soap_instantiate_ns3__MessageReference(soap, -1, soap->type, soap->arrayType, NULL))) return NULL; (*a)->soap_default(soap); if (!(*a)->soap_in(soap, tag, NULL)) return NULL; } else { ns3__MessageReference ** p = (ns3__MessageReference **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ISAGMMS_ns3__MessageReference, sizeof(ns3__MessageReference), 0); a = p; if (soap->body && soap_element_end_in(soap, tag)) return NULL; } return a; } SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons3__MessageReference(struct soap *soap, ns3__MessageReference *const*a, const char *tag, const char *type) { register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ISAGMMS_PointerTons3__MessageReference); if (soap_out_PointerTons3__MessageReference(soap, tag?tag:"ns3:MessageReference", id, a, type)) return soap->error; return soap_putindependent(soap); } SOAP_FMAC3 ns3__MessageReference ** SOAP_FMAC4 soap_get_PointerTons3__MessageReference(struct soap *soap, ns3__MessageReference **p, const char *tag, const char *type) { if ((p = soap_in_PointerTons3__MessageReference(soap, tag, p, type))) if (soap_getindependent(soap)) return NULL; return p; } 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_ISAGMMS__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_ISAGMMS__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_ISAGMMS__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) { soap_reference(soap, *a, SOAP_TYPE_ISAGMMS_string); } 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_ISAGMMS_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_ISAGMMS_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_ISAGMMS_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 ISAGMMS #if defined(__BORLANDC__) #pragma option pop #pragma option pop #endif /* End of ISAGMMSC.cpp */