Commit 40ad504c authored by Gozutok, Recep's avatar Gozutok, Recep
Browse files

Upload New File

parent fc0813fe
/* soapCentralSystemServiceSoapService.cpp
Generated by gSOAP 2.8.28 from Service.h
gSOAP XML Web services tools
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include "soapCentralSystemServiceSoapService.h"
CentralSystemServiceSoapService::CentralSystemServiceSoapService() : soap(SOAP_IO_DEFAULT)
{ CentralSystemServiceSoapService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
CentralSystemServiceSoapService::CentralSystemServiceSoapService(const CentralSystemServiceSoapService& rhs)
{ soap_copy_context(this, &rhs);
}
CentralSystemServiceSoapService::CentralSystemServiceSoapService(const struct soap &_soap) : soap(_soap)
{ }
CentralSystemServiceSoapService::CentralSystemServiceSoapService(soap_mode iomode) : soap(iomode)
{ CentralSystemServiceSoapService_init(iomode, iomode);
}
CentralSystemServiceSoapService::CentralSystemServiceSoapService(soap_mode imode, soap_mode omode) : soap(imode, omode)
{ CentralSystemServiceSoapService_init(imode, omode);
}
CentralSystemServiceSoapService::~CentralSystemServiceSoapService()
{
this->destroy();
}
void CentralSystemServiceSoapService::CentralSystemServiceSoapService_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
static const struct Namespace namespaces[] =
{
{"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
{"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
{"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
{"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
{"ns1", "urn:reserve", NULL, NULL},
{"ns2", "urn://Ocpp/Cs/2012/06/", NULL, NULL},
{"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
{"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
{NULL, NULL, NULL, NULL}
};
soap_set_namespaces(this, namespaces);
}
void CentralSystemServiceSoapService::destroy()
{ soap_destroy(this);
soap_end(this);
}
void CentralSystemServiceSoapService::reset()
{ this->destroy();
soap_done(this);
soap_initialize(this);
CentralSystemServiceSoapService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
#ifndef WITH_PURE_VIRTUAL
CentralSystemServiceSoapService *CentralSystemServiceSoapService::copy()
{ CentralSystemServiceSoapService *dup = SOAP_NEW_COPY(CentralSystemServiceSoapService(*(struct soap*)this));
return dup;
}
#endif
CentralSystemServiceSoapService& CentralSystemServiceSoapService::operator=(const CentralSystemServiceSoapService& rhs)
{ soap_copy_context(this, &rhs);
return *this;
}
int CentralSystemServiceSoapService::soap_close_socket()
{ return soap_closesock(this);
}
int CentralSystemServiceSoapService::soap_force_close_socket()
{ return soap_force_closesock(this);
}
int CentralSystemServiceSoapService::soap_senderfault(const char *string, const char *detailXML)
{ return ::soap_sender_fault(this, string, detailXML);
}
int CentralSystemServiceSoapService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
{ return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);
}
int CentralSystemServiceSoapService::soap_receiverfault(const char *string, const char *detailXML)
{ return ::soap_receiver_fault(this, string, detailXML);
}
int CentralSystemServiceSoapService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
{ return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);
}
void CentralSystemServiceSoapService::soap_print_fault(FILE *fd)
{ ::soap_print_fault(this, fd);
}
#ifndef WITH_LEAN
#ifndef WITH_COMPAT
void CentralSystemServiceSoapService::soap_stream_fault(std::ostream& os)
{ ::soap_stream_fault(this, os);
}
#endif
char *CentralSystemServiceSoapService::soap_sprint_fault(char *buf, size_t len)
{ return ::soap_sprint_fault(this, buf, len);
}
#endif
void CentralSystemServiceSoapService::soap_noheader()
{ this->header = NULL;
}
void CentralSystemServiceSoapService::soap_header(std::string *ns2__chargeBoxIdentity, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance)
{ ::soap_header(this);
this->header->ns2__chargeBoxIdentity = ns2__chargeBoxIdentity;
this->header->wsa5__MessageID = wsa5__MessageID;
this->header->wsa5__RelatesTo = wsa5__RelatesTo;
this->header->wsa5__From = wsa5__From;
this->header->wsa5__ReplyTo = wsa5__ReplyTo;
this->header->wsa5__FaultTo = wsa5__FaultTo;
this->header->wsa5__To = wsa5__To;
this->header->wsa5__Action = wsa5__Action;
this->header->chan__ChannelInstance = chan__ChannelInstance;
}
const SOAP_ENV__Header *CentralSystemServiceSoapService::soap_header()
{ return this->header;
}
int CentralSystemServiceSoapService::run(int port)
{ if (!soap_valid_socket(this->master) && !soap_valid_socket(this->bind(NULL, port, 100)))
return this->error;
for (;;)
{ if (!soap_valid_socket(this->accept()))
{ if (this->errnum == 0) // timeout?
this->error = SOAP_OK;
break;
}
if (this->serve())
break;
this->destroy();
}
return this->error;
}
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
int CentralSystemServiceSoapService::ssl_run(int port)
{ if (!soap_valid_socket(this->master) && !soap_valid_socket(this->bind(NULL, port, 100)))
return this->error;
for (;;)
{ if (!soap_valid_socket(this->accept()))
{ if (this->errnum == 0) // timeout?
this->error = SOAP_OK;
break;
}
if (this->ssl_accept() || this->serve())
break;
this->destroy();
}
return this->error;
}
#endif
SOAP_SOCKET CentralSystemServiceSoapService::bind(const char *host, int port, int backlog)
{ return soap_bind(this, host, port, backlog);
}
SOAP_SOCKET CentralSystemServiceSoapService::accept()
{ return soap_accept(this);
}
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
int CentralSystemServiceSoapService::ssl_accept()
{ return soap_ssl_accept(this);
}
#endif
int CentralSystemServiceSoapService::serve()
{
#ifndef WITH_FASTCGI
unsigned int k = this->max_keep_alive;
#endif
do
{
#ifndef WITH_FASTCGI
if (this->max_keep_alive > 0 && !--k)
this->keep_alive = 0;
#endif
if (soap_begin_serve(this))
{ if (this->error >= SOAP_STOP)
continue;
return this->error;
}
if (dispatch() || (this->fserveloop && this->fserveloop(this)))
{
#ifdef WITH_FASTCGI
soap_send_fault(this);
#else
return soap_send_fault(this);
#endif
}
#ifdef WITH_FASTCGI
soap_destroy(this);
soap_end(this);
} while (1);
#else
} while (this->keep_alive);
#endif
return SOAP_OK;
}
static int serve___ns2__Authorize(CentralSystemServiceSoapService*);
static int serve___ns2__StartTransaction(CentralSystemServiceSoapService*);
static int serve___ns2__StopTransaction(CentralSystemServiceSoapService*);
static int serve___ns2__Heartbeat(CentralSystemServiceSoapService*);
static int serve___ns2__MeterValues(CentralSystemServiceSoapService*);
static int serve___ns2__BootNotification(CentralSystemServiceSoapService*);
static int serve___ns2__StatusNotification(CentralSystemServiceSoapService*);
static int serve___ns2__FirmwareStatusNotification(CentralSystemServiceSoapService*);
static int serve___ns2__DiagnosticsStatusNotification(CentralSystemServiceSoapService*);
static int serve___ns2__DataTransfer(CentralSystemServiceSoapService*);
int CentralSystemServiceSoapService::dispatch()
{
soap_peek_element(this);
if (!soap_match_tag(this, this->tag, "ns2:authorizeRequest"))
return serve___ns2__Authorize(this);
if (!soap_match_tag(this, this->tag, "ns2:startTransactionRequest"))
return serve___ns2__StartTransaction(this);
if (!soap_match_tag(this, this->tag, "ns2:stopTransactionRequest"))
return serve___ns2__StopTransaction(this);
if (!soap_match_tag(this, this->tag, "ns2:heartbeatRequest"))
return serve___ns2__Heartbeat(this);
if (!soap_match_tag(this, this->tag, "ns2:meterValuesRequest"))
return serve___ns2__MeterValues(this);
if (!soap_match_tag(this, this->tag, "ns2:bootNotificationRequest"))
return serve___ns2__BootNotification(this);
if (!soap_match_tag(this, this->tag, "ns2:statusNotificationRequest"))
return serve___ns2__StatusNotification(this);
if (!soap_match_tag(this, this->tag, "ns2:firmwareStatusNotificationRequest"))
return serve___ns2__FirmwareStatusNotification(this);
if (!soap_match_tag(this, this->tag, "ns2:diagnosticsStatusNotificationRequest"))
return serve___ns2__DiagnosticsStatusNotification(this);
if (!soap_match_tag(this, this->tag, "ns2:dataTransferRequest"))
return serve___ns2__DataTransfer(this);
return this->error = SOAP_NO_METHOD;
}
static int serve___ns2__Authorize(CentralSystemServiceSoapService *soap)
{ struct __ns2__Authorize soap_tmp___ns2__Authorize;
ns2__AuthorizeResponse ns2__authorizeResponse;
ns2__authorizeResponse.soap_default(soap);
soap_default___ns2__Authorize(soap, &soap_tmp___ns2__Authorize);
if (!soap_get___ns2__Authorize(soap, &soap_tmp___ns2__Authorize, "-ns2:Authorize", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->Authorize(soap_tmp___ns2__Authorize.ns2__authorizeRequest, ns2__authorizeResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__authorizeResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__authorizeResponse.soap_put(soap, "ns2:authorizeResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__authorizeResponse.soap_put(soap, "ns2:authorizeResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__StartTransaction(CentralSystemServiceSoapService *soap)
{ struct __ns2__StartTransaction soap_tmp___ns2__StartTransaction;
ns2__StartTransactionResponse ns2__startTransactionResponse;
ns2__startTransactionResponse.soap_default(soap);
soap_default___ns2__StartTransaction(soap, &soap_tmp___ns2__StartTransaction);
if (!soap_get___ns2__StartTransaction(soap, &soap_tmp___ns2__StartTransaction, "-ns2:StartTransaction", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->StartTransaction(soap_tmp___ns2__StartTransaction.ns2__startTransactionRequest, ns2__startTransactionResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__startTransactionResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__startTransactionResponse.soap_put(soap, "ns2:startTransactionResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__startTransactionResponse.soap_put(soap, "ns2:startTransactionResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__StopTransaction(CentralSystemServiceSoapService *soap)
{ struct __ns2__StopTransaction soap_tmp___ns2__StopTransaction;
ns2__StopTransactionResponse ns2__stopTransactionResponse;
ns2__stopTransactionResponse.soap_default(soap);
soap_default___ns2__StopTransaction(soap, &soap_tmp___ns2__StopTransaction);
if (!soap_get___ns2__StopTransaction(soap, &soap_tmp___ns2__StopTransaction, "-ns2:StopTransaction", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->StopTransaction(soap_tmp___ns2__StopTransaction.ns2__stopTransactionRequest, ns2__stopTransactionResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__stopTransactionResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__stopTransactionResponse.soap_put(soap, "ns2:stopTransactionResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__stopTransactionResponse.soap_put(soap, "ns2:stopTransactionResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__Heartbeat(CentralSystemServiceSoapService *soap)
{ struct __ns2__Heartbeat soap_tmp___ns2__Heartbeat;
ns2__HeartbeatResponse ns2__heartbeatResponse;
ns2__heartbeatResponse.soap_default(soap);
soap_default___ns2__Heartbeat(soap, &soap_tmp___ns2__Heartbeat);
if (!soap_get___ns2__Heartbeat(soap, &soap_tmp___ns2__Heartbeat, "-ns2:Heartbeat", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->Heartbeat(soap_tmp___ns2__Heartbeat.ns2__heartbeatRequest, ns2__heartbeatResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__heartbeatResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__heartbeatResponse.soap_put(soap, "ns2:heartbeatResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__heartbeatResponse.soap_put(soap, "ns2:heartbeatResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__MeterValues(CentralSystemServiceSoapService *soap)
{ struct __ns2__MeterValues soap_tmp___ns2__MeterValues;
ns2__MeterValuesResponse ns2__meterValuesResponse;
ns2__meterValuesResponse.soap_default(soap);
soap_default___ns2__MeterValues(soap, &soap_tmp___ns2__MeterValues);
if (!soap_get___ns2__MeterValues(soap, &soap_tmp___ns2__MeterValues, "-ns2:MeterValues", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->MeterValues(soap_tmp___ns2__MeterValues.ns2__meterValuesRequest, ns2__meterValuesResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__meterValuesResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__meterValuesResponse.soap_put(soap, "ns2:meterValuesResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__meterValuesResponse.soap_put(soap, "ns2:meterValuesResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__BootNotification(CentralSystemServiceSoapService *soap)
{ struct __ns2__BootNotification soap_tmp___ns2__BootNotification;
ns2__BootNotificationResponse ns2__bootNotificationResponse;
ns2__bootNotificationResponse.soap_default(soap);
soap_default___ns2__BootNotification(soap, &soap_tmp___ns2__BootNotification);
if (!soap_get___ns2__BootNotification(soap, &soap_tmp___ns2__BootNotification, "-ns2:BootNotification", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->BootNotification(soap_tmp___ns2__BootNotification.ns2__bootNotificationRequest, ns2__bootNotificationResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__bootNotificationResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__bootNotificationResponse.soap_put(soap, "ns2:bootNotificationResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__bootNotificationResponse.soap_put(soap, "ns2:bootNotificationResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__StatusNotification(CentralSystemServiceSoapService *soap)
{ struct __ns2__StatusNotification soap_tmp___ns2__StatusNotification;
ns2__StatusNotificationResponse ns2__statusNotificationResponse;
ns2__statusNotificationResponse.soap_default(soap);
soap_default___ns2__StatusNotification(soap, &soap_tmp___ns2__StatusNotification);
if (!soap_get___ns2__StatusNotification(soap, &soap_tmp___ns2__StatusNotification, "-ns2:StatusNotification", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->StatusNotification(soap_tmp___ns2__StatusNotification.ns2__statusNotificationRequest, ns2__statusNotificationResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__statusNotificationResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__statusNotificationResponse.soap_put(soap, "ns2:statusNotificationResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__statusNotificationResponse.soap_put(soap, "ns2:statusNotificationResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_send(soap))
return soap->error;
return soap_closesock(soap);
}
static int serve___ns2__FirmwareStatusNotification(CentralSystemServiceSoapService *soap)
{ struct __ns2__FirmwareStatusNotification soap_tmp___ns2__FirmwareStatusNotification;
ns2__FirmwareStatusNotificationResponse ns2__firmwareStatusNotificationResponse;
ns2__firmwareStatusNotificationResponse.soap_default(soap);
soap_default___ns2__FirmwareStatusNotification(soap, &soap_tmp___ns2__FirmwareStatusNotification);
if (!soap_get___ns2__FirmwareStatusNotification(soap, &soap_tmp___ns2__FirmwareStatusNotification, "-ns2:FirmwareStatusNotification", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = soap->FirmwareStatusNotification(soap_tmp___ns2__FirmwareStatusNotification.ns2__firmwareStatusNotificationRequest, ns2__firmwareStatusNotificationResponse);
if (soap->error)
return soap->error;
soap->encodingStyle = NULL;
soap_serializeheader(soap);
ns2__firmwareStatusNotificationResponse.soap_serialize(soap);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| ns2__firmwareStatusNotificationResponse.soap_put(soap, "ns2:firmwareStatusNotificationResponse", "")
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_response(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)