mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-11-09 17:04:38 -06:00
4235 lines
174 KiB
C++
4235 lines
174 KiB
C++
/* soapDeviceBindingService.cpp
|
|
Generated by gSOAP 2.8.92 for /home/sipeed/onvif_srvd/generated/onvif.h
|
|
|
|
gSOAP XML Web services tools
|
|
Copyright (C) 2000-2018, 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 "soapDeviceBindingService.h"
|
|
|
|
DeviceBindingService::DeviceBindingService()
|
|
{ this->soap = soap_new();
|
|
this->soap_own = true;
|
|
DeviceBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
|
}
|
|
|
|
DeviceBindingService::DeviceBindingService(const DeviceBindingService& rhs)
|
|
{ this->soap = rhs.soap;
|
|
this->soap_own = false;
|
|
}
|
|
|
|
DeviceBindingService::DeviceBindingService(struct soap *_soap)
|
|
{ this->soap = _soap;
|
|
this->soap_own = false;
|
|
DeviceBindingService_init(_soap->imode, _soap->omode);
|
|
}
|
|
|
|
DeviceBindingService::DeviceBindingService(soap_mode iomode)
|
|
{ this->soap = soap_new();
|
|
this->soap_own = true;
|
|
DeviceBindingService_init(iomode, iomode);
|
|
}
|
|
|
|
DeviceBindingService::DeviceBindingService(soap_mode imode, soap_mode omode)
|
|
{ this->soap = soap_new();
|
|
this->soap_own = true;
|
|
DeviceBindingService_init(imode, omode);
|
|
}
|
|
|
|
DeviceBindingService::~DeviceBindingService()
|
|
{ if (this->soap_own)
|
|
{ this->destroy();
|
|
soap_free(this->soap);
|
|
}
|
|
}
|
|
|
|
void DeviceBindingService::DeviceBindingService_init(soap_mode imode, soap_mode omode)
|
|
{ soap_imode(this->soap, imode);
|
|
soap_omode(this->soap, 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 },
|
|
{ "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 },
|
|
{ "wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL },
|
|
{ "wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL },
|
|
{ "xmime", "http://tempuri.org/xmime.xsd", NULL, NULL },
|
|
{ "xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL },
|
|
{ "tt", "http://www.onvif.org/ver10/schema", NULL, NULL },
|
|
{ "wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL },
|
|
{ "tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL },
|
|
{ "tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL },
|
|
{ "trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL },
|
|
{ "c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", NULL, NULL },
|
|
{ "ds", "http://www.w3.org/2000/09/xmldsig#", NULL, NULL },
|
|
{ "saml1", "urn:oasis:names:tc:SAML:1.0:assertion", NULL, NULL },
|
|
{ "saml2", "urn:oasis:names:tc:SAML:2.0:assertion", NULL, NULL },
|
|
{ "wsu", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", NULL, NULL },
|
|
{ "xenc", "http://www.w3.org/2001/04/xmlenc#", NULL, NULL },
|
|
{ "wsc", "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512", "http://schemas.xmlsoap.org/ws/2005/02/sc", NULL },
|
|
{ "wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL },
|
|
{ NULL, NULL, NULL, NULL}
|
|
};
|
|
soap_set_namespaces(this->soap, namespaces);
|
|
}
|
|
|
|
void DeviceBindingService::destroy()
|
|
{ soap_destroy(this->soap);
|
|
soap_end(this->soap);
|
|
}
|
|
|
|
void DeviceBindingService::reset()
|
|
{ this->destroy();
|
|
soap_done(this->soap);
|
|
soap_initialize(this->soap);
|
|
DeviceBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
|
|
}
|
|
|
|
#ifndef WITH_PURE_VIRTUAL
|
|
DeviceBindingService *DeviceBindingService::copy()
|
|
{ DeviceBindingService *dup = SOAP_NEW_UNMANAGED(DeviceBindingService);
|
|
if (dup)
|
|
{ soap_done(dup->soap);
|
|
soap_copy_context(dup->soap, this->soap);
|
|
}
|
|
return dup;
|
|
}
|
|
#endif
|
|
|
|
DeviceBindingService& DeviceBindingService::operator=(const DeviceBindingService& rhs)
|
|
{ if (this->soap != rhs.soap)
|
|
{ if (this->soap_own)
|
|
soap_free(this->soap);
|
|
this->soap = rhs.soap;
|
|
this->soap_own = false;
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
int DeviceBindingService::soap_close_socket()
|
|
{ return soap_closesock(this->soap);
|
|
}
|
|
|
|
int DeviceBindingService::soap_force_close_socket()
|
|
{ return soap_force_closesock(this->soap);
|
|
}
|
|
|
|
int DeviceBindingService::soap_senderfault(const char *string, const char *detailXML)
|
|
{ return ::soap_sender_fault(this->soap, string, detailXML);
|
|
}
|
|
|
|
int DeviceBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
|
|
{ return ::soap_sender_fault_subcode(this->soap, subcodeQName, string, detailXML);
|
|
}
|
|
|
|
int DeviceBindingService::soap_receiverfault(const char *string, const char *detailXML)
|
|
{ return ::soap_receiver_fault(this->soap, string, detailXML);
|
|
}
|
|
|
|
int DeviceBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
|
|
{ return ::soap_receiver_fault_subcode(this->soap, subcodeQName, string, detailXML);
|
|
}
|
|
|
|
void DeviceBindingService::soap_print_fault(FILE *fd)
|
|
{ ::soap_print_fault(this->soap, fd);
|
|
}
|
|
|
|
#ifndef WITH_LEAN
|
|
#ifndef WITH_COMPAT
|
|
void DeviceBindingService::soap_stream_fault(std::ostream& os)
|
|
{ ::soap_stream_fault(this->soap, os);
|
|
}
|
|
#endif
|
|
|
|
char *DeviceBindingService::soap_sprint_fault(char *buf, size_t len)
|
|
{ return ::soap_sprint_fault(this->soap, buf, len);
|
|
}
|
|
#endif
|
|
|
|
void DeviceBindingService::soap_noheader()
|
|
{ this->soap->header = NULL;
|
|
}
|
|
|
|
void DeviceBindingService::soap_header(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, struct _wsse__Security *wsse__Security)
|
|
{
|
|
::soap_header(this->soap);
|
|
this->soap->header->wsa5__MessageID = wsa5__MessageID;
|
|
this->soap->header->wsa5__RelatesTo = wsa5__RelatesTo;
|
|
this->soap->header->wsa5__From = wsa5__From;
|
|
this->soap->header->wsa5__ReplyTo = wsa5__ReplyTo;
|
|
this->soap->header->wsa5__FaultTo = wsa5__FaultTo;
|
|
this->soap->header->wsa5__To = wsa5__To;
|
|
this->soap->header->wsa5__Action = wsa5__Action;
|
|
this->soap->header->chan__ChannelInstance = chan__ChannelInstance;
|
|
this->soap->header->wsse__Security = wsse__Security;
|
|
}
|
|
|
|
::SOAP_ENV__Header *DeviceBindingService::soap_header()
|
|
{ return this->soap->header;
|
|
}
|
|
|
|
#ifndef WITH_NOIO
|
|
int DeviceBindingService::run(int port, int backlog)
|
|
{ if (!soap_valid_socket(this->soap->master) && !soap_valid_socket(this->bind(NULL, port, backlog)))
|
|
return this->soap->error;
|
|
for (;;)
|
|
{ if (!soap_valid_socket(this->accept()))
|
|
{ if (this->soap->errnum == 0) // timeout?
|
|
this->soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (this->serve())
|
|
break;
|
|
this->destroy();
|
|
}
|
|
return this->soap->error;
|
|
}
|
|
|
|
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
|
|
int DeviceBindingService::ssl_run(int port, int backlog)
|
|
{ if (!soap_valid_socket(this->soap->master) && !soap_valid_socket(this->bind(NULL, port, backlog)))
|
|
return this->soap->error;
|
|
for (;;)
|
|
{ if (!soap_valid_socket(this->accept()))
|
|
{ if (this->soap->errnum == 0) // timeout?
|
|
this->soap->error = SOAP_OK;
|
|
break;
|
|
}
|
|
if (this->ssl_accept() || this->serve())
|
|
break;
|
|
this->destroy();
|
|
}
|
|
return this->soap->error;
|
|
}
|
|
#endif
|
|
|
|
SOAP_SOCKET DeviceBindingService::bind(const char *host, int port, int backlog)
|
|
{ return soap_bind(this->soap, host, port, backlog);
|
|
}
|
|
|
|
SOAP_SOCKET DeviceBindingService::accept()
|
|
{ return soap_accept(this->soap);
|
|
}
|
|
|
|
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
|
|
int DeviceBindingService::ssl_accept()
|
|
{ return soap_ssl_accept(this->soap);
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
int DeviceBindingService::serve()
|
|
{
|
|
#ifndef WITH_FASTCGI
|
|
this->soap->keep_alive = this->soap->max_keep_alive + 1;
|
|
#endif
|
|
do
|
|
{
|
|
#ifndef WITH_FASTCGI
|
|
if (this->soap->keep_alive > 0 && this->soap->max_keep_alive > 0)
|
|
this->soap->keep_alive--;
|
|
#endif
|
|
if (soap_begin_serve(this->soap))
|
|
{ if (this->soap->error >= SOAP_STOP)
|
|
continue;
|
|
return this->soap->error;
|
|
}
|
|
if ((dispatch() || (this->soap->fserveloop && this->soap->fserveloop(this->soap))) && this->soap->error && this->soap->error < SOAP_STOP)
|
|
{
|
|
#ifdef WITH_FASTCGI
|
|
soap_send_fault(this->soap);
|
|
#else
|
|
return soap_send_fault(this->soap);
|
|
#endif
|
|
}
|
|
#ifdef WITH_FASTCGI
|
|
soap_destroy(this->soap);
|
|
soap_end(this->soap);
|
|
} while (1);
|
|
#else
|
|
} while (this->soap->keep_alive);
|
|
#endif
|
|
return SOAP_OK;
|
|
}
|
|
|
|
static int serve___tds__GetServices(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetServiceCapabilities(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDeviceInformation(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetSystemDateAndTime(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetSystemDateAndTime(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetSystemFactoryDefault(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__UpgradeSystemFirmware(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SystemReboot(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__RestoreSystem(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetSystemBackup(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetSystemLog(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetSystemSupportInformation(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetScopes(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetScopes(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__AddScopes(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__RemoveScopes(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDiscoveryMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetDiscoveryMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetRemoteDiscoveryMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetRemoteDiscoveryMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDPAddresses(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetEndpointReference(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetRemoteUser(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetRemoteUser(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetUsers(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__CreateUsers(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__DeleteUsers(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetUser(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetWsdlUrl(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetCapabilities(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetDPAddresses(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetHostname(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetHostname(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetHostnameFromDHCP(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDNS(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetDNS(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetNTP(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetNTP(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDynamicDNS(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetDynamicDNS(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetNetworkInterfaces(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetNetworkInterfaces(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetNetworkProtocols(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetNetworkProtocols(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetNetworkDefaultGateway(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetNetworkDefaultGateway(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetZeroConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetZeroConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetIPAddressFilter(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetIPAddressFilter(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__AddIPAddressFilter(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__RemoveIPAddressFilter(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetAccessPolicy(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetAccessPolicy(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__CreateCertificate(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetCertificates(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetCertificatesStatus(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetCertificatesStatus(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__DeleteCertificates(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetPkcs10Request(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__LoadCertificates(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetClientCertificateMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetClientCertificateMode(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetRelayOutputs(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetRelayOutputSettings(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetRelayOutputState(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SendAuxiliaryCommand(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetCACertificates(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__LoadCertificateWithPrivateKey(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetCertificateInformation(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__LoadCACertificates(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__CreateDot1XConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetDot1XConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDot1XConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDot1XConfigurations(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__DeleteDot1XConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDot11Capabilities(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetDot11Status(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__ScanAvailableDot11Networks(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetSystemUris(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__StartFirmwareUpgrade(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__StartSystemRestore(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetStorageConfigurations(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__CreateStorageConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetStorageConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetStorageConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__DeleteStorageConfiguration(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__GetGeoLocation(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__SetGeoLocation(struct soap*, DeviceBindingService*);
|
|
static int serve___tds__DeleteGeoLocation(struct soap*, DeviceBindingService*);
|
|
|
|
int DeviceBindingService::dispatch()
|
|
{ return dispatch(this->soap);
|
|
}
|
|
|
|
int DeviceBindingService::dispatch(struct soap* soap)
|
|
{
|
|
DeviceBindingService_init(soap->imode, soap->omode);
|
|
soap_peek_element(soap);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetServices"))
|
|
return serve___tds__GetServices(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetServiceCapabilities"))
|
|
return serve___tds__GetServiceCapabilities(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDeviceInformation"))
|
|
return serve___tds__GetDeviceInformation(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetSystemDateAndTime"))
|
|
return serve___tds__SetSystemDateAndTime(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetSystemDateAndTime"))
|
|
return serve___tds__GetSystemDateAndTime(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetSystemFactoryDefault"))
|
|
return serve___tds__SetSystemFactoryDefault(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:UpgradeSystemFirmware"))
|
|
return serve___tds__UpgradeSystemFirmware(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SystemReboot"))
|
|
return serve___tds__SystemReboot(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:RestoreSystem"))
|
|
return serve___tds__RestoreSystem(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetSystemBackup"))
|
|
return serve___tds__GetSystemBackup(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetSystemLog"))
|
|
return serve___tds__GetSystemLog(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetSystemSupportInformation"))
|
|
return serve___tds__GetSystemSupportInformation(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetScopes"))
|
|
return serve___tds__GetScopes(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetScopes"))
|
|
return serve___tds__SetScopes(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:AddScopes"))
|
|
return serve___tds__AddScopes(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:RemoveScopes"))
|
|
return serve___tds__RemoveScopes(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDiscoveryMode"))
|
|
return serve___tds__GetDiscoveryMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetDiscoveryMode"))
|
|
return serve___tds__SetDiscoveryMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetRemoteDiscoveryMode"))
|
|
return serve___tds__GetRemoteDiscoveryMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetRemoteDiscoveryMode"))
|
|
return serve___tds__SetRemoteDiscoveryMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDPAddresses"))
|
|
return serve___tds__GetDPAddresses(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetEndpointReference"))
|
|
return serve___tds__GetEndpointReference(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetRemoteUser"))
|
|
return serve___tds__GetRemoteUser(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetRemoteUser"))
|
|
return serve___tds__SetRemoteUser(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetUsers"))
|
|
return serve___tds__GetUsers(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:CreateUsers"))
|
|
return serve___tds__CreateUsers(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:DeleteUsers"))
|
|
return serve___tds__DeleteUsers(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetUser"))
|
|
return serve___tds__SetUser(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetWsdlUrl"))
|
|
return serve___tds__GetWsdlUrl(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetCapabilities"))
|
|
return serve___tds__GetCapabilities(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetDPAddresses"))
|
|
return serve___tds__SetDPAddresses(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetHostname"))
|
|
return serve___tds__GetHostname(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetHostname"))
|
|
return serve___tds__SetHostname(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetHostnameFromDHCP"))
|
|
return serve___tds__SetHostnameFromDHCP(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDNS"))
|
|
return serve___tds__GetDNS(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetDNS"))
|
|
return serve___tds__SetDNS(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetNTP"))
|
|
return serve___tds__GetNTP(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetNTP"))
|
|
return serve___tds__SetNTP(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDynamicDNS"))
|
|
return serve___tds__GetDynamicDNS(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetDynamicDNS"))
|
|
return serve___tds__SetDynamicDNS(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetNetworkInterfaces"))
|
|
return serve___tds__GetNetworkInterfaces(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetNetworkInterfaces"))
|
|
return serve___tds__SetNetworkInterfaces(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetNetworkProtocols"))
|
|
return serve___tds__GetNetworkProtocols(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetNetworkProtocols"))
|
|
return serve___tds__SetNetworkProtocols(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetNetworkDefaultGateway"))
|
|
return serve___tds__GetNetworkDefaultGateway(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetNetworkDefaultGateway"))
|
|
return serve___tds__SetNetworkDefaultGateway(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetZeroConfiguration"))
|
|
return serve___tds__GetZeroConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetZeroConfiguration"))
|
|
return serve___tds__SetZeroConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetIPAddressFilter"))
|
|
return serve___tds__GetIPAddressFilter(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetIPAddressFilter"))
|
|
return serve___tds__SetIPAddressFilter(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:AddIPAddressFilter"))
|
|
return serve___tds__AddIPAddressFilter(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:RemoveIPAddressFilter"))
|
|
return serve___tds__RemoveIPAddressFilter(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetAccessPolicy"))
|
|
return serve___tds__GetAccessPolicy(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetAccessPolicy"))
|
|
return serve___tds__SetAccessPolicy(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:CreateCertificate"))
|
|
return serve___tds__CreateCertificate(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetCertificates"))
|
|
return serve___tds__GetCertificates(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetCertificatesStatus"))
|
|
return serve___tds__GetCertificatesStatus(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetCertificatesStatus"))
|
|
return serve___tds__SetCertificatesStatus(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:DeleteCertificates"))
|
|
return serve___tds__DeleteCertificates(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetPkcs10Request"))
|
|
return serve___tds__GetPkcs10Request(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:LoadCertificates"))
|
|
return serve___tds__LoadCertificates(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetClientCertificateMode"))
|
|
return serve___tds__GetClientCertificateMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetClientCertificateMode"))
|
|
return serve___tds__SetClientCertificateMode(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetRelayOutputs"))
|
|
return serve___tds__GetRelayOutputs(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetRelayOutputSettings"))
|
|
return serve___tds__SetRelayOutputSettings(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetRelayOutputState"))
|
|
return serve___tds__SetRelayOutputState(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SendAuxiliaryCommand"))
|
|
return serve___tds__SendAuxiliaryCommand(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetCACertificates"))
|
|
return serve___tds__GetCACertificates(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:LoadCertificateWithPrivateKey"))
|
|
return serve___tds__LoadCertificateWithPrivateKey(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetCertificateInformation"))
|
|
return serve___tds__GetCertificateInformation(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:LoadCACertificates"))
|
|
return serve___tds__LoadCACertificates(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:CreateDot1XConfiguration"))
|
|
return serve___tds__CreateDot1XConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetDot1XConfiguration"))
|
|
return serve___tds__SetDot1XConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDot1XConfiguration"))
|
|
return serve___tds__GetDot1XConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDot1XConfigurations"))
|
|
return serve___tds__GetDot1XConfigurations(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:DeleteDot1XConfiguration"))
|
|
return serve___tds__DeleteDot1XConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDot11Capabilities"))
|
|
return serve___tds__GetDot11Capabilities(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetDot11Status"))
|
|
return serve___tds__GetDot11Status(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:ScanAvailableDot11Networks"))
|
|
return serve___tds__ScanAvailableDot11Networks(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetSystemUris"))
|
|
return serve___tds__GetSystemUris(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:StartFirmwareUpgrade"))
|
|
return serve___tds__StartFirmwareUpgrade(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:StartSystemRestore"))
|
|
return serve___tds__StartSystemRestore(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetStorageConfigurations"))
|
|
return serve___tds__GetStorageConfigurations(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:CreateStorageConfiguration"))
|
|
return serve___tds__CreateStorageConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetStorageConfiguration"))
|
|
return serve___tds__GetStorageConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetStorageConfiguration"))
|
|
return serve___tds__SetStorageConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:DeleteStorageConfiguration"))
|
|
return serve___tds__DeleteStorageConfiguration(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:GetGeoLocation"))
|
|
return serve___tds__GetGeoLocation(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:SetGeoLocation"))
|
|
return serve___tds__SetGeoLocation(soap, this);
|
|
if (!soap_match_tag(soap, soap->tag, "tds:DeleteGeoLocation"))
|
|
return serve___tds__DeleteGeoLocation(soap, this);
|
|
return soap->error = SOAP_NO_METHOD;
|
|
}
|
|
|
|
static int serve___tds__GetServices(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetServices soap_tmp___tds__GetServices;
|
|
_tds__GetServicesResponse tds__GetServicesResponse;
|
|
tds__GetServicesResponse.soap_default(soap);
|
|
soap_default___tds__GetServices(soap, &soap_tmp___tds__GetServices);
|
|
if (!soap_get___tds__GetServices(soap, &soap_tmp___tds__GetServices, "-tds:GetServices", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetServices(soap_tmp___tds__GetServices.tds__GetServices, tds__GetServicesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetServicesResponse.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)
|
|
|| tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
|
|
|| 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)
|
|
|| tds__GetServicesResponse.soap_put(soap, "tds:GetServicesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetServiceCapabilities(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetServiceCapabilities soap_tmp___tds__GetServiceCapabilities;
|
|
_tds__GetServiceCapabilitiesResponse tds__GetServiceCapabilitiesResponse;
|
|
tds__GetServiceCapabilitiesResponse.soap_default(soap);
|
|
soap_default___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities);
|
|
if (!soap_get___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities, "-tds:GetServiceCapabilities", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetServiceCapabilities(soap_tmp___tds__GetServiceCapabilities.tds__GetServiceCapabilities, tds__GetServiceCapabilitiesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetServiceCapabilitiesResponse.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)
|
|
|| tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
|
|
|| 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)
|
|
|| tds__GetServiceCapabilitiesResponse.soap_put(soap, "tds:GetServiceCapabilitiesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDeviceInformation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDeviceInformation soap_tmp___tds__GetDeviceInformation;
|
|
_tds__GetDeviceInformationResponse tds__GetDeviceInformationResponse;
|
|
tds__GetDeviceInformationResponse.soap_default(soap);
|
|
soap_default___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation);
|
|
if (!soap_get___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation, "-tds:GetDeviceInformation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDeviceInformation(soap_tmp___tds__GetDeviceInformation.tds__GetDeviceInformation, tds__GetDeviceInformationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDeviceInformationResponse.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)
|
|
|| tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
|
|
|| 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)
|
|
|| tds__GetDeviceInformationResponse.soap_put(soap, "tds:GetDeviceInformationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetSystemDateAndTime(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetSystemDateAndTime soap_tmp___tds__SetSystemDateAndTime;
|
|
_tds__SetSystemDateAndTimeResponse tds__SetSystemDateAndTimeResponse;
|
|
tds__SetSystemDateAndTimeResponse.soap_default(soap);
|
|
soap_default___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime);
|
|
if (!soap_get___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime, "-tds:SetSystemDateAndTime", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetSystemDateAndTime(soap_tmp___tds__SetSystemDateAndTime.tds__SetSystemDateAndTime, tds__SetSystemDateAndTimeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetSystemDateAndTimeResponse.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)
|
|
|| tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
|
|
|| 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)
|
|
|| tds__SetSystemDateAndTimeResponse.soap_put(soap, "tds:SetSystemDateAndTimeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetSystemDateAndTime(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetSystemDateAndTime soap_tmp___tds__GetSystemDateAndTime;
|
|
_tds__GetSystemDateAndTimeResponse tds__GetSystemDateAndTimeResponse;
|
|
tds__GetSystemDateAndTimeResponse.soap_default(soap);
|
|
soap_default___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime);
|
|
if (!soap_get___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime, "-tds:GetSystemDateAndTime", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetSystemDateAndTime(soap_tmp___tds__GetSystemDateAndTime.tds__GetSystemDateAndTime, tds__GetSystemDateAndTimeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetSystemDateAndTimeResponse.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)
|
|
|| tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
|
|
|| 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)
|
|
|| tds__GetSystemDateAndTimeResponse.soap_put(soap, "tds:GetSystemDateAndTimeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetSystemFactoryDefault(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetSystemFactoryDefault soap_tmp___tds__SetSystemFactoryDefault;
|
|
_tds__SetSystemFactoryDefaultResponse tds__SetSystemFactoryDefaultResponse;
|
|
tds__SetSystemFactoryDefaultResponse.soap_default(soap);
|
|
soap_default___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault);
|
|
if (!soap_get___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault, "-tds:SetSystemFactoryDefault", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetSystemFactoryDefault(soap_tmp___tds__SetSystemFactoryDefault.tds__SetSystemFactoryDefault, tds__SetSystemFactoryDefaultResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetSystemFactoryDefaultResponse.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)
|
|
|| tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
|
|
|| 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)
|
|
|| tds__SetSystemFactoryDefaultResponse.soap_put(soap, "tds:SetSystemFactoryDefaultResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__UpgradeSystemFirmware(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__UpgradeSystemFirmware soap_tmp___tds__UpgradeSystemFirmware;
|
|
_tds__UpgradeSystemFirmwareResponse tds__UpgradeSystemFirmwareResponse;
|
|
tds__UpgradeSystemFirmwareResponse.soap_default(soap);
|
|
soap_default___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware);
|
|
if (!soap_get___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware, "-tds:UpgradeSystemFirmware", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->UpgradeSystemFirmware(soap_tmp___tds__UpgradeSystemFirmware.tds__UpgradeSystemFirmware, tds__UpgradeSystemFirmwareResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__UpgradeSystemFirmwareResponse.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)
|
|
|| tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
|
|
|| 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)
|
|
|| tds__UpgradeSystemFirmwareResponse.soap_put(soap, "tds:UpgradeSystemFirmwareResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SystemReboot(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SystemReboot soap_tmp___tds__SystemReboot;
|
|
_tds__SystemRebootResponse tds__SystemRebootResponse;
|
|
tds__SystemRebootResponse.soap_default(soap);
|
|
soap_default___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot);
|
|
if (!soap_get___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot, "-tds:SystemReboot", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SystemReboot(soap_tmp___tds__SystemReboot.tds__SystemReboot, tds__SystemRebootResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SystemRebootResponse.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)
|
|
|| tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
|
|
|| 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)
|
|
|| tds__SystemRebootResponse.soap_put(soap, "tds:SystemRebootResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__RestoreSystem(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__RestoreSystem soap_tmp___tds__RestoreSystem;
|
|
_tds__RestoreSystemResponse tds__RestoreSystemResponse;
|
|
tds__RestoreSystemResponse.soap_default(soap);
|
|
soap_default___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem);
|
|
if (!soap_get___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem, "-tds:RestoreSystem", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->RestoreSystem(soap_tmp___tds__RestoreSystem.tds__RestoreSystem, tds__RestoreSystemResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__RestoreSystemResponse.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)
|
|
|| tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
|
|
|| 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)
|
|
|| tds__RestoreSystemResponse.soap_put(soap, "tds:RestoreSystemResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetSystemBackup(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetSystemBackup soap_tmp___tds__GetSystemBackup;
|
|
_tds__GetSystemBackupResponse tds__GetSystemBackupResponse;
|
|
tds__GetSystemBackupResponse.soap_default(soap);
|
|
soap_default___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup);
|
|
if (!soap_get___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup, "-tds:GetSystemBackup", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetSystemBackup(soap_tmp___tds__GetSystemBackup.tds__GetSystemBackup, tds__GetSystemBackupResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetSystemBackupResponse.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)
|
|
|| tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
|
|
|| 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)
|
|
|| tds__GetSystemBackupResponse.soap_put(soap, "tds:GetSystemBackupResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetSystemLog(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetSystemLog soap_tmp___tds__GetSystemLog;
|
|
_tds__GetSystemLogResponse tds__GetSystemLogResponse;
|
|
tds__GetSystemLogResponse.soap_default(soap);
|
|
soap_default___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog);
|
|
if (!soap_get___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog, "-tds:GetSystemLog", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetSystemLog(soap_tmp___tds__GetSystemLog.tds__GetSystemLog, tds__GetSystemLogResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetSystemLogResponse.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)
|
|
|| tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
|
|
|| 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)
|
|
|| tds__GetSystemLogResponse.soap_put(soap, "tds:GetSystemLogResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetSystemSupportInformation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetSystemSupportInformation soap_tmp___tds__GetSystemSupportInformation;
|
|
_tds__GetSystemSupportInformationResponse tds__GetSystemSupportInformationResponse;
|
|
tds__GetSystemSupportInformationResponse.soap_default(soap);
|
|
soap_default___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation);
|
|
if (!soap_get___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation, "-tds:GetSystemSupportInformation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetSystemSupportInformation(soap_tmp___tds__GetSystemSupportInformation.tds__GetSystemSupportInformation, tds__GetSystemSupportInformationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetSystemSupportInformationResponse.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)
|
|
|| tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
|
|
|| 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)
|
|
|| tds__GetSystemSupportInformationResponse.soap_put(soap, "tds:GetSystemSupportInformationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetScopes(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetScopes soap_tmp___tds__GetScopes;
|
|
_tds__GetScopesResponse tds__GetScopesResponse;
|
|
tds__GetScopesResponse.soap_default(soap);
|
|
soap_default___tds__GetScopes(soap, &soap_tmp___tds__GetScopes);
|
|
if (!soap_get___tds__GetScopes(soap, &soap_tmp___tds__GetScopes, "-tds:GetScopes", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetScopes(soap_tmp___tds__GetScopes.tds__GetScopes, tds__GetScopesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetScopesResponse.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)
|
|
|| tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
|
|
|| 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)
|
|
|| tds__GetScopesResponse.soap_put(soap, "tds:GetScopesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetScopes(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetScopes soap_tmp___tds__SetScopes;
|
|
_tds__SetScopesResponse tds__SetScopesResponse;
|
|
tds__SetScopesResponse.soap_default(soap);
|
|
soap_default___tds__SetScopes(soap, &soap_tmp___tds__SetScopes);
|
|
if (!soap_get___tds__SetScopes(soap, &soap_tmp___tds__SetScopes, "-tds:SetScopes", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetScopes(soap_tmp___tds__SetScopes.tds__SetScopes, tds__SetScopesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetScopesResponse.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)
|
|
|| tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
|
|
|| 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)
|
|
|| tds__SetScopesResponse.soap_put(soap, "tds:SetScopesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__AddScopes(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__AddScopes soap_tmp___tds__AddScopes;
|
|
_tds__AddScopesResponse tds__AddScopesResponse;
|
|
tds__AddScopesResponse.soap_default(soap);
|
|
soap_default___tds__AddScopes(soap, &soap_tmp___tds__AddScopes);
|
|
if (!soap_get___tds__AddScopes(soap, &soap_tmp___tds__AddScopes, "-tds:AddScopes", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->AddScopes(soap_tmp___tds__AddScopes.tds__AddScopes, tds__AddScopesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__AddScopesResponse.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)
|
|
|| tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
|
|
|| 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)
|
|
|| tds__AddScopesResponse.soap_put(soap, "tds:AddScopesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__RemoveScopes(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__RemoveScopes soap_tmp___tds__RemoveScopes;
|
|
_tds__RemoveScopesResponse tds__RemoveScopesResponse;
|
|
tds__RemoveScopesResponse.soap_default(soap);
|
|
soap_default___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes);
|
|
if (!soap_get___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes, "-tds:RemoveScopes", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->RemoveScopes(soap_tmp___tds__RemoveScopes.tds__RemoveScopes, tds__RemoveScopesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__RemoveScopesResponse.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)
|
|
|| tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
|
|
|| 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)
|
|
|| tds__RemoveScopesResponse.soap_put(soap, "tds:RemoveScopesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDiscoveryMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDiscoveryMode soap_tmp___tds__GetDiscoveryMode;
|
|
_tds__GetDiscoveryModeResponse tds__GetDiscoveryModeResponse;
|
|
tds__GetDiscoveryModeResponse.soap_default(soap);
|
|
soap_default___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode);
|
|
if (!soap_get___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode, "-tds:GetDiscoveryMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDiscoveryMode(soap_tmp___tds__GetDiscoveryMode.tds__GetDiscoveryMode, tds__GetDiscoveryModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDiscoveryModeResponse.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)
|
|
|| tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
|
|
|| 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)
|
|
|| tds__GetDiscoveryModeResponse.soap_put(soap, "tds:GetDiscoveryModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetDiscoveryMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetDiscoveryMode soap_tmp___tds__SetDiscoveryMode;
|
|
_tds__SetDiscoveryModeResponse tds__SetDiscoveryModeResponse;
|
|
tds__SetDiscoveryModeResponse.soap_default(soap);
|
|
soap_default___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode);
|
|
if (!soap_get___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode, "-tds:SetDiscoveryMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetDiscoveryMode(soap_tmp___tds__SetDiscoveryMode.tds__SetDiscoveryMode, tds__SetDiscoveryModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetDiscoveryModeResponse.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)
|
|
|| tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
|
|
|| 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)
|
|
|| tds__SetDiscoveryModeResponse.soap_put(soap, "tds:SetDiscoveryModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetRemoteDiscoveryMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetRemoteDiscoveryMode soap_tmp___tds__GetRemoteDiscoveryMode;
|
|
_tds__GetRemoteDiscoveryModeResponse tds__GetRemoteDiscoveryModeResponse;
|
|
tds__GetRemoteDiscoveryModeResponse.soap_default(soap);
|
|
soap_default___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode);
|
|
if (!soap_get___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode, "-tds:GetRemoteDiscoveryMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetRemoteDiscoveryMode(soap_tmp___tds__GetRemoteDiscoveryMode.tds__GetRemoteDiscoveryMode, tds__GetRemoteDiscoveryModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetRemoteDiscoveryModeResponse.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)
|
|
|| tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
|
|
|| 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)
|
|
|| tds__GetRemoteDiscoveryModeResponse.soap_put(soap, "tds:GetRemoteDiscoveryModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetRemoteDiscoveryMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetRemoteDiscoveryMode soap_tmp___tds__SetRemoteDiscoveryMode;
|
|
_tds__SetRemoteDiscoveryModeResponse tds__SetRemoteDiscoveryModeResponse;
|
|
tds__SetRemoteDiscoveryModeResponse.soap_default(soap);
|
|
soap_default___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode);
|
|
if (!soap_get___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode, "-tds:SetRemoteDiscoveryMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetRemoteDiscoveryMode(soap_tmp___tds__SetRemoteDiscoveryMode.tds__SetRemoteDiscoveryMode, tds__SetRemoteDiscoveryModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetRemoteDiscoveryModeResponse.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)
|
|
|| tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
|
|
|| 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)
|
|
|| tds__SetRemoteDiscoveryModeResponse.soap_put(soap, "tds:SetRemoteDiscoveryModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDPAddresses(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDPAddresses soap_tmp___tds__GetDPAddresses;
|
|
_tds__GetDPAddressesResponse tds__GetDPAddressesResponse;
|
|
tds__GetDPAddressesResponse.soap_default(soap);
|
|
soap_default___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses);
|
|
if (!soap_get___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses, "-tds:GetDPAddresses", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDPAddresses(soap_tmp___tds__GetDPAddresses.tds__GetDPAddresses, tds__GetDPAddressesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDPAddressesResponse.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)
|
|
|| tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
|
|
|| 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)
|
|
|| tds__GetDPAddressesResponse.soap_put(soap, "tds:GetDPAddressesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetEndpointReference(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetEndpointReference soap_tmp___tds__GetEndpointReference;
|
|
_tds__GetEndpointReferenceResponse tds__GetEndpointReferenceResponse;
|
|
tds__GetEndpointReferenceResponse.soap_default(soap);
|
|
soap_default___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference);
|
|
if (!soap_get___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference, "-tds:GetEndpointReference", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetEndpointReference(soap_tmp___tds__GetEndpointReference.tds__GetEndpointReference, tds__GetEndpointReferenceResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetEndpointReferenceResponse.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)
|
|
|| tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
|
|
|| 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)
|
|
|| tds__GetEndpointReferenceResponse.soap_put(soap, "tds:GetEndpointReferenceResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetRemoteUser(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetRemoteUser soap_tmp___tds__GetRemoteUser;
|
|
_tds__GetRemoteUserResponse tds__GetRemoteUserResponse;
|
|
tds__GetRemoteUserResponse.soap_default(soap);
|
|
soap_default___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser);
|
|
if (!soap_get___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser, "-tds:GetRemoteUser", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetRemoteUser(soap_tmp___tds__GetRemoteUser.tds__GetRemoteUser, tds__GetRemoteUserResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetRemoteUserResponse.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)
|
|
|| tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
|
|
|| 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)
|
|
|| tds__GetRemoteUserResponse.soap_put(soap, "tds:GetRemoteUserResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetRemoteUser(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetRemoteUser soap_tmp___tds__SetRemoteUser;
|
|
_tds__SetRemoteUserResponse tds__SetRemoteUserResponse;
|
|
tds__SetRemoteUserResponse.soap_default(soap);
|
|
soap_default___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser);
|
|
if (!soap_get___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser, "-tds:SetRemoteUser", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetRemoteUser(soap_tmp___tds__SetRemoteUser.tds__SetRemoteUser, tds__SetRemoteUserResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetRemoteUserResponse.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)
|
|
|| tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
|
|
|| 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)
|
|
|| tds__SetRemoteUserResponse.soap_put(soap, "tds:SetRemoteUserResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetUsers(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetUsers soap_tmp___tds__GetUsers;
|
|
_tds__GetUsersResponse tds__GetUsersResponse;
|
|
tds__GetUsersResponse.soap_default(soap);
|
|
soap_default___tds__GetUsers(soap, &soap_tmp___tds__GetUsers);
|
|
if (!soap_get___tds__GetUsers(soap, &soap_tmp___tds__GetUsers, "-tds:GetUsers", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetUsers(soap_tmp___tds__GetUsers.tds__GetUsers, tds__GetUsersResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetUsersResponse.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)
|
|
|| tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
|
|
|| 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)
|
|
|| tds__GetUsersResponse.soap_put(soap, "tds:GetUsersResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__CreateUsers(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__CreateUsers soap_tmp___tds__CreateUsers;
|
|
_tds__CreateUsersResponse tds__CreateUsersResponse;
|
|
tds__CreateUsersResponse.soap_default(soap);
|
|
soap_default___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers);
|
|
if (!soap_get___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers, "-tds:CreateUsers", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->CreateUsers(soap_tmp___tds__CreateUsers.tds__CreateUsers, tds__CreateUsersResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__CreateUsersResponse.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)
|
|
|| tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
|
|
|| 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)
|
|
|| tds__CreateUsersResponse.soap_put(soap, "tds:CreateUsersResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__DeleteUsers(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__DeleteUsers soap_tmp___tds__DeleteUsers;
|
|
_tds__DeleteUsersResponse tds__DeleteUsersResponse;
|
|
tds__DeleteUsersResponse.soap_default(soap);
|
|
soap_default___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers);
|
|
if (!soap_get___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers, "-tds:DeleteUsers", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->DeleteUsers(soap_tmp___tds__DeleteUsers.tds__DeleteUsers, tds__DeleteUsersResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__DeleteUsersResponse.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)
|
|
|| tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
|
|
|| 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)
|
|
|| tds__DeleteUsersResponse.soap_put(soap, "tds:DeleteUsersResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetUser(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetUser soap_tmp___tds__SetUser;
|
|
_tds__SetUserResponse tds__SetUserResponse;
|
|
tds__SetUserResponse.soap_default(soap);
|
|
soap_default___tds__SetUser(soap, &soap_tmp___tds__SetUser);
|
|
if (!soap_get___tds__SetUser(soap, &soap_tmp___tds__SetUser, "-tds:SetUser", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetUser(soap_tmp___tds__SetUser.tds__SetUser, tds__SetUserResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetUserResponse.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)
|
|
|| tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
|
|
|| 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)
|
|
|| tds__SetUserResponse.soap_put(soap, "tds:SetUserResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetWsdlUrl(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetWsdlUrl soap_tmp___tds__GetWsdlUrl;
|
|
_tds__GetWsdlUrlResponse tds__GetWsdlUrlResponse;
|
|
tds__GetWsdlUrlResponse.soap_default(soap);
|
|
soap_default___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl);
|
|
if (!soap_get___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl, "-tds:GetWsdlUrl", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetWsdlUrl(soap_tmp___tds__GetWsdlUrl.tds__GetWsdlUrl, tds__GetWsdlUrlResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetWsdlUrlResponse.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)
|
|
|| tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
|
|
|| 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)
|
|
|| tds__GetWsdlUrlResponse.soap_put(soap, "tds:GetWsdlUrlResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetCapabilities(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetCapabilities soap_tmp___tds__GetCapabilities;
|
|
_tds__GetCapabilitiesResponse tds__GetCapabilitiesResponse;
|
|
tds__GetCapabilitiesResponse.soap_default(soap);
|
|
soap_default___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities);
|
|
if (!soap_get___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities, "-tds:GetCapabilities", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetCapabilities(soap_tmp___tds__GetCapabilities.tds__GetCapabilities, tds__GetCapabilitiesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetCapabilitiesResponse.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)
|
|
|| tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
|
|
|| 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)
|
|
|| tds__GetCapabilitiesResponse.soap_put(soap, "tds:GetCapabilitiesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetDPAddresses(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetDPAddresses soap_tmp___tds__SetDPAddresses;
|
|
_tds__SetDPAddressesResponse tds__SetDPAddressesResponse;
|
|
tds__SetDPAddressesResponse.soap_default(soap);
|
|
soap_default___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses);
|
|
if (!soap_get___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses, "-tds:SetDPAddresses", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetDPAddresses(soap_tmp___tds__SetDPAddresses.tds__SetDPAddresses, tds__SetDPAddressesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetDPAddressesResponse.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)
|
|
|| tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
|
|
|| 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)
|
|
|| tds__SetDPAddressesResponse.soap_put(soap, "tds:SetDPAddressesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetHostname(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetHostname soap_tmp___tds__GetHostname;
|
|
_tds__GetHostnameResponse tds__GetHostnameResponse;
|
|
tds__GetHostnameResponse.soap_default(soap);
|
|
soap_default___tds__GetHostname(soap, &soap_tmp___tds__GetHostname);
|
|
if (!soap_get___tds__GetHostname(soap, &soap_tmp___tds__GetHostname, "-tds:GetHostname", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetHostname(soap_tmp___tds__GetHostname.tds__GetHostname, tds__GetHostnameResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetHostnameResponse.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)
|
|
|| tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
|
|
|| 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)
|
|
|| tds__GetHostnameResponse.soap_put(soap, "tds:GetHostnameResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetHostname(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetHostname soap_tmp___tds__SetHostname;
|
|
_tds__SetHostnameResponse tds__SetHostnameResponse;
|
|
tds__SetHostnameResponse.soap_default(soap);
|
|
soap_default___tds__SetHostname(soap, &soap_tmp___tds__SetHostname);
|
|
if (!soap_get___tds__SetHostname(soap, &soap_tmp___tds__SetHostname, "-tds:SetHostname", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetHostname(soap_tmp___tds__SetHostname.tds__SetHostname, tds__SetHostnameResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetHostnameResponse.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)
|
|
|| tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
|
|
|| 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)
|
|
|| tds__SetHostnameResponse.soap_put(soap, "tds:SetHostnameResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetHostnameFromDHCP(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetHostnameFromDHCP soap_tmp___tds__SetHostnameFromDHCP;
|
|
_tds__SetHostnameFromDHCPResponse tds__SetHostnameFromDHCPResponse;
|
|
tds__SetHostnameFromDHCPResponse.soap_default(soap);
|
|
soap_default___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP);
|
|
if (!soap_get___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP, "-tds:SetHostnameFromDHCP", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetHostnameFromDHCP(soap_tmp___tds__SetHostnameFromDHCP.tds__SetHostnameFromDHCP, tds__SetHostnameFromDHCPResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetHostnameFromDHCPResponse.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)
|
|
|| tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
|
|
|| 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)
|
|
|| tds__SetHostnameFromDHCPResponse.soap_put(soap, "tds:SetHostnameFromDHCPResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDNS(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDNS soap_tmp___tds__GetDNS;
|
|
_tds__GetDNSResponse tds__GetDNSResponse;
|
|
tds__GetDNSResponse.soap_default(soap);
|
|
soap_default___tds__GetDNS(soap, &soap_tmp___tds__GetDNS);
|
|
if (!soap_get___tds__GetDNS(soap, &soap_tmp___tds__GetDNS, "-tds:GetDNS", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDNS(soap_tmp___tds__GetDNS.tds__GetDNS, tds__GetDNSResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDNSResponse.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)
|
|
|| tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
|
|
|| 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)
|
|
|| tds__GetDNSResponse.soap_put(soap, "tds:GetDNSResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetDNS(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetDNS soap_tmp___tds__SetDNS;
|
|
_tds__SetDNSResponse tds__SetDNSResponse;
|
|
tds__SetDNSResponse.soap_default(soap);
|
|
soap_default___tds__SetDNS(soap, &soap_tmp___tds__SetDNS);
|
|
if (!soap_get___tds__SetDNS(soap, &soap_tmp___tds__SetDNS, "-tds:SetDNS", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetDNS(soap_tmp___tds__SetDNS.tds__SetDNS, tds__SetDNSResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetDNSResponse.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)
|
|
|| tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
|
|
|| 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)
|
|
|| tds__SetDNSResponse.soap_put(soap, "tds:SetDNSResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetNTP(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetNTP soap_tmp___tds__GetNTP;
|
|
_tds__GetNTPResponse tds__GetNTPResponse;
|
|
tds__GetNTPResponse.soap_default(soap);
|
|
soap_default___tds__GetNTP(soap, &soap_tmp___tds__GetNTP);
|
|
if (!soap_get___tds__GetNTP(soap, &soap_tmp___tds__GetNTP, "-tds:GetNTP", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetNTP(soap_tmp___tds__GetNTP.tds__GetNTP, tds__GetNTPResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetNTPResponse.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)
|
|
|| tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
|
|
|| 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)
|
|
|| tds__GetNTPResponse.soap_put(soap, "tds:GetNTPResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetNTP(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetNTP soap_tmp___tds__SetNTP;
|
|
_tds__SetNTPResponse tds__SetNTPResponse;
|
|
tds__SetNTPResponse.soap_default(soap);
|
|
soap_default___tds__SetNTP(soap, &soap_tmp___tds__SetNTP);
|
|
if (!soap_get___tds__SetNTP(soap, &soap_tmp___tds__SetNTP, "-tds:SetNTP", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetNTP(soap_tmp___tds__SetNTP.tds__SetNTP, tds__SetNTPResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetNTPResponse.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)
|
|
|| tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
|
|
|| 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)
|
|
|| tds__SetNTPResponse.soap_put(soap, "tds:SetNTPResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDynamicDNS(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDynamicDNS soap_tmp___tds__GetDynamicDNS;
|
|
_tds__GetDynamicDNSResponse tds__GetDynamicDNSResponse;
|
|
tds__GetDynamicDNSResponse.soap_default(soap);
|
|
soap_default___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS);
|
|
if (!soap_get___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS, "-tds:GetDynamicDNS", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDynamicDNS(soap_tmp___tds__GetDynamicDNS.tds__GetDynamicDNS, tds__GetDynamicDNSResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDynamicDNSResponse.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)
|
|
|| tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
|
|
|| 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)
|
|
|| tds__GetDynamicDNSResponse.soap_put(soap, "tds:GetDynamicDNSResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetDynamicDNS(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetDynamicDNS soap_tmp___tds__SetDynamicDNS;
|
|
_tds__SetDynamicDNSResponse tds__SetDynamicDNSResponse;
|
|
tds__SetDynamicDNSResponse.soap_default(soap);
|
|
soap_default___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS);
|
|
if (!soap_get___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS, "-tds:SetDynamicDNS", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetDynamicDNS(soap_tmp___tds__SetDynamicDNS.tds__SetDynamicDNS, tds__SetDynamicDNSResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetDynamicDNSResponse.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)
|
|
|| tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
|
|
|| 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)
|
|
|| tds__SetDynamicDNSResponse.soap_put(soap, "tds:SetDynamicDNSResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetNetworkInterfaces(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetNetworkInterfaces soap_tmp___tds__GetNetworkInterfaces;
|
|
_tds__GetNetworkInterfacesResponse tds__GetNetworkInterfacesResponse;
|
|
tds__GetNetworkInterfacesResponse.soap_default(soap);
|
|
soap_default___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces);
|
|
if (!soap_get___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces, "-tds:GetNetworkInterfaces", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetNetworkInterfaces(soap_tmp___tds__GetNetworkInterfaces.tds__GetNetworkInterfaces, tds__GetNetworkInterfacesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetNetworkInterfacesResponse.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)
|
|
|| tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
|
|
|| 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)
|
|
|| tds__GetNetworkInterfacesResponse.soap_put(soap, "tds:GetNetworkInterfacesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetNetworkInterfaces(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetNetworkInterfaces soap_tmp___tds__SetNetworkInterfaces;
|
|
_tds__SetNetworkInterfacesResponse tds__SetNetworkInterfacesResponse;
|
|
tds__SetNetworkInterfacesResponse.soap_default(soap);
|
|
soap_default___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces);
|
|
if (!soap_get___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces, "-tds:SetNetworkInterfaces", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetNetworkInterfaces(soap_tmp___tds__SetNetworkInterfaces.tds__SetNetworkInterfaces, tds__SetNetworkInterfacesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetNetworkInterfacesResponse.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)
|
|
|| tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
|
|
|| 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)
|
|
|| tds__SetNetworkInterfacesResponse.soap_put(soap, "tds:SetNetworkInterfacesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetNetworkProtocols(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetNetworkProtocols soap_tmp___tds__GetNetworkProtocols;
|
|
_tds__GetNetworkProtocolsResponse tds__GetNetworkProtocolsResponse;
|
|
tds__GetNetworkProtocolsResponse.soap_default(soap);
|
|
soap_default___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols);
|
|
if (!soap_get___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols, "-tds:GetNetworkProtocols", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetNetworkProtocols(soap_tmp___tds__GetNetworkProtocols.tds__GetNetworkProtocols, tds__GetNetworkProtocolsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetNetworkProtocolsResponse.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)
|
|
|| tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
|
|
|| 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)
|
|
|| tds__GetNetworkProtocolsResponse.soap_put(soap, "tds:GetNetworkProtocolsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetNetworkProtocols(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetNetworkProtocols soap_tmp___tds__SetNetworkProtocols;
|
|
_tds__SetNetworkProtocolsResponse tds__SetNetworkProtocolsResponse;
|
|
tds__SetNetworkProtocolsResponse.soap_default(soap);
|
|
soap_default___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols);
|
|
if (!soap_get___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols, "-tds:SetNetworkProtocols", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetNetworkProtocols(soap_tmp___tds__SetNetworkProtocols.tds__SetNetworkProtocols, tds__SetNetworkProtocolsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetNetworkProtocolsResponse.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)
|
|
|| tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
|
|
|| 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)
|
|
|| tds__SetNetworkProtocolsResponse.soap_put(soap, "tds:SetNetworkProtocolsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetNetworkDefaultGateway(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetNetworkDefaultGateway soap_tmp___tds__GetNetworkDefaultGateway;
|
|
_tds__GetNetworkDefaultGatewayResponse tds__GetNetworkDefaultGatewayResponse;
|
|
tds__GetNetworkDefaultGatewayResponse.soap_default(soap);
|
|
soap_default___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway);
|
|
if (!soap_get___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway, "-tds:GetNetworkDefaultGateway", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetNetworkDefaultGateway(soap_tmp___tds__GetNetworkDefaultGateway.tds__GetNetworkDefaultGateway, tds__GetNetworkDefaultGatewayResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetNetworkDefaultGatewayResponse.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)
|
|
|| tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
|
|
|| 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)
|
|
|| tds__GetNetworkDefaultGatewayResponse.soap_put(soap, "tds:GetNetworkDefaultGatewayResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetNetworkDefaultGateway(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetNetworkDefaultGateway soap_tmp___tds__SetNetworkDefaultGateway;
|
|
_tds__SetNetworkDefaultGatewayResponse tds__SetNetworkDefaultGatewayResponse;
|
|
tds__SetNetworkDefaultGatewayResponse.soap_default(soap);
|
|
soap_default___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway);
|
|
if (!soap_get___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway, "-tds:SetNetworkDefaultGateway", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetNetworkDefaultGateway(soap_tmp___tds__SetNetworkDefaultGateway.tds__SetNetworkDefaultGateway, tds__SetNetworkDefaultGatewayResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetNetworkDefaultGatewayResponse.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)
|
|
|| tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
|
|
|| 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)
|
|
|| tds__SetNetworkDefaultGatewayResponse.soap_put(soap, "tds:SetNetworkDefaultGatewayResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetZeroConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetZeroConfiguration soap_tmp___tds__GetZeroConfiguration;
|
|
_tds__GetZeroConfigurationResponse tds__GetZeroConfigurationResponse;
|
|
tds__GetZeroConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration);
|
|
if (!soap_get___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration, "-tds:GetZeroConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetZeroConfiguration(soap_tmp___tds__GetZeroConfiguration.tds__GetZeroConfiguration, tds__GetZeroConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetZeroConfigurationResponse.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)
|
|
|| tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__GetZeroConfigurationResponse.soap_put(soap, "tds:GetZeroConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetZeroConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetZeroConfiguration soap_tmp___tds__SetZeroConfiguration;
|
|
_tds__SetZeroConfigurationResponse tds__SetZeroConfigurationResponse;
|
|
tds__SetZeroConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration);
|
|
if (!soap_get___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration, "-tds:SetZeroConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetZeroConfiguration(soap_tmp___tds__SetZeroConfiguration.tds__SetZeroConfiguration, tds__SetZeroConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetZeroConfigurationResponse.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)
|
|
|| tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__SetZeroConfigurationResponse.soap_put(soap, "tds:SetZeroConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetIPAddressFilter(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetIPAddressFilter soap_tmp___tds__GetIPAddressFilter;
|
|
_tds__GetIPAddressFilterResponse tds__GetIPAddressFilterResponse;
|
|
tds__GetIPAddressFilterResponse.soap_default(soap);
|
|
soap_default___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter);
|
|
if (!soap_get___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter, "-tds:GetIPAddressFilter", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetIPAddressFilter(soap_tmp___tds__GetIPAddressFilter.tds__GetIPAddressFilter, tds__GetIPAddressFilterResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetIPAddressFilterResponse.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)
|
|
|| tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
|
|
|| 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)
|
|
|| tds__GetIPAddressFilterResponse.soap_put(soap, "tds:GetIPAddressFilterResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetIPAddressFilter(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetIPAddressFilter soap_tmp___tds__SetIPAddressFilter;
|
|
_tds__SetIPAddressFilterResponse tds__SetIPAddressFilterResponse;
|
|
tds__SetIPAddressFilterResponse.soap_default(soap);
|
|
soap_default___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter);
|
|
if (!soap_get___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter, "-tds:SetIPAddressFilter", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetIPAddressFilter(soap_tmp___tds__SetIPAddressFilter.tds__SetIPAddressFilter, tds__SetIPAddressFilterResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetIPAddressFilterResponse.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)
|
|
|| tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
|
|
|| 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)
|
|
|| tds__SetIPAddressFilterResponse.soap_put(soap, "tds:SetIPAddressFilterResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__AddIPAddressFilter(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__AddIPAddressFilter soap_tmp___tds__AddIPAddressFilter;
|
|
_tds__AddIPAddressFilterResponse tds__AddIPAddressFilterResponse;
|
|
tds__AddIPAddressFilterResponse.soap_default(soap);
|
|
soap_default___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter);
|
|
if (!soap_get___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter, "-tds:AddIPAddressFilter", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->AddIPAddressFilter(soap_tmp___tds__AddIPAddressFilter.tds__AddIPAddressFilter, tds__AddIPAddressFilterResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__AddIPAddressFilterResponse.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)
|
|
|| tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
|
|
|| 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)
|
|
|| tds__AddIPAddressFilterResponse.soap_put(soap, "tds:AddIPAddressFilterResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__RemoveIPAddressFilter(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__RemoveIPAddressFilter soap_tmp___tds__RemoveIPAddressFilter;
|
|
_tds__RemoveIPAddressFilterResponse tds__RemoveIPAddressFilterResponse;
|
|
tds__RemoveIPAddressFilterResponse.soap_default(soap);
|
|
soap_default___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter);
|
|
if (!soap_get___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter, "-tds:RemoveIPAddressFilter", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->RemoveIPAddressFilter(soap_tmp___tds__RemoveIPAddressFilter.tds__RemoveIPAddressFilter, tds__RemoveIPAddressFilterResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__RemoveIPAddressFilterResponse.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)
|
|
|| tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
|
|
|| 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)
|
|
|| tds__RemoveIPAddressFilterResponse.soap_put(soap, "tds:RemoveIPAddressFilterResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetAccessPolicy(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetAccessPolicy soap_tmp___tds__GetAccessPolicy;
|
|
_tds__GetAccessPolicyResponse tds__GetAccessPolicyResponse;
|
|
tds__GetAccessPolicyResponse.soap_default(soap);
|
|
soap_default___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy);
|
|
if (!soap_get___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy, "-tds:GetAccessPolicy", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetAccessPolicy(soap_tmp___tds__GetAccessPolicy.tds__GetAccessPolicy, tds__GetAccessPolicyResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetAccessPolicyResponse.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)
|
|
|| tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
|
|
|| 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)
|
|
|| tds__GetAccessPolicyResponse.soap_put(soap, "tds:GetAccessPolicyResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetAccessPolicy(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetAccessPolicy soap_tmp___tds__SetAccessPolicy;
|
|
_tds__SetAccessPolicyResponse tds__SetAccessPolicyResponse;
|
|
tds__SetAccessPolicyResponse.soap_default(soap);
|
|
soap_default___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy);
|
|
if (!soap_get___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy, "-tds:SetAccessPolicy", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetAccessPolicy(soap_tmp___tds__SetAccessPolicy.tds__SetAccessPolicy, tds__SetAccessPolicyResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetAccessPolicyResponse.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)
|
|
|| tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
|
|
|| 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)
|
|
|| tds__SetAccessPolicyResponse.soap_put(soap, "tds:SetAccessPolicyResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__CreateCertificate(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__CreateCertificate soap_tmp___tds__CreateCertificate;
|
|
_tds__CreateCertificateResponse tds__CreateCertificateResponse;
|
|
tds__CreateCertificateResponse.soap_default(soap);
|
|
soap_default___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate);
|
|
if (!soap_get___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate, "-tds:CreateCertificate", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->CreateCertificate(soap_tmp___tds__CreateCertificate.tds__CreateCertificate, tds__CreateCertificateResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__CreateCertificateResponse.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)
|
|
|| tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
|
|
|| 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)
|
|
|| tds__CreateCertificateResponse.soap_put(soap, "tds:CreateCertificateResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetCertificates(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetCertificates soap_tmp___tds__GetCertificates;
|
|
_tds__GetCertificatesResponse tds__GetCertificatesResponse;
|
|
tds__GetCertificatesResponse.soap_default(soap);
|
|
soap_default___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates);
|
|
if (!soap_get___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates, "-tds:GetCertificates", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetCertificates(soap_tmp___tds__GetCertificates.tds__GetCertificates, tds__GetCertificatesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetCertificatesResponse.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)
|
|
|| tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
|
|
|| 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)
|
|
|| tds__GetCertificatesResponse.soap_put(soap, "tds:GetCertificatesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetCertificatesStatus(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetCertificatesStatus soap_tmp___tds__GetCertificatesStatus;
|
|
_tds__GetCertificatesStatusResponse tds__GetCertificatesStatusResponse;
|
|
tds__GetCertificatesStatusResponse.soap_default(soap);
|
|
soap_default___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus);
|
|
if (!soap_get___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus, "-tds:GetCertificatesStatus", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetCertificatesStatus(soap_tmp___tds__GetCertificatesStatus.tds__GetCertificatesStatus, tds__GetCertificatesStatusResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetCertificatesStatusResponse.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)
|
|
|| tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
|
|
|| 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)
|
|
|| tds__GetCertificatesStatusResponse.soap_put(soap, "tds:GetCertificatesStatusResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetCertificatesStatus(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetCertificatesStatus soap_tmp___tds__SetCertificatesStatus;
|
|
_tds__SetCertificatesStatusResponse tds__SetCertificatesStatusResponse;
|
|
tds__SetCertificatesStatusResponse.soap_default(soap);
|
|
soap_default___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus);
|
|
if (!soap_get___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus, "-tds:SetCertificatesStatus", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetCertificatesStatus(soap_tmp___tds__SetCertificatesStatus.tds__SetCertificatesStatus, tds__SetCertificatesStatusResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetCertificatesStatusResponse.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)
|
|
|| tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
|
|
|| 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)
|
|
|| tds__SetCertificatesStatusResponse.soap_put(soap, "tds:SetCertificatesStatusResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__DeleteCertificates(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__DeleteCertificates soap_tmp___tds__DeleteCertificates;
|
|
_tds__DeleteCertificatesResponse tds__DeleteCertificatesResponse;
|
|
tds__DeleteCertificatesResponse.soap_default(soap);
|
|
soap_default___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates);
|
|
if (!soap_get___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates, "-tds:DeleteCertificates", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->DeleteCertificates(soap_tmp___tds__DeleteCertificates.tds__DeleteCertificates, tds__DeleteCertificatesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__DeleteCertificatesResponse.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)
|
|
|| tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
|
|
|| 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)
|
|
|| tds__DeleteCertificatesResponse.soap_put(soap, "tds:DeleteCertificatesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetPkcs10Request(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetPkcs10Request soap_tmp___tds__GetPkcs10Request;
|
|
_tds__GetPkcs10RequestResponse tds__GetPkcs10RequestResponse;
|
|
tds__GetPkcs10RequestResponse.soap_default(soap);
|
|
soap_default___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request);
|
|
if (!soap_get___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request, "-tds:GetPkcs10Request", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetPkcs10Request(soap_tmp___tds__GetPkcs10Request.tds__GetPkcs10Request, tds__GetPkcs10RequestResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetPkcs10RequestResponse.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)
|
|
|| tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
|
|
|| 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)
|
|
|| tds__GetPkcs10RequestResponse.soap_put(soap, "tds:GetPkcs10RequestResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__LoadCertificates(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__LoadCertificates soap_tmp___tds__LoadCertificates;
|
|
_tds__LoadCertificatesResponse tds__LoadCertificatesResponse;
|
|
tds__LoadCertificatesResponse.soap_default(soap);
|
|
soap_default___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates);
|
|
if (!soap_get___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates, "-tds:LoadCertificates", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->LoadCertificates(soap_tmp___tds__LoadCertificates.tds__LoadCertificates, tds__LoadCertificatesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__LoadCertificatesResponse.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)
|
|
|| tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
|
|
|| 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)
|
|
|| tds__LoadCertificatesResponse.soap_put(soap, "tds:LoadCertificatesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetClientCertificateMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetClientCertificateMode soap_tmp___tds__GetClientCertificateMode;
|
|
_tds__GetClientCertificateModeResponse tds__GetClientCertificateModeResponse;
|
|
tds__GetClientCertificateModeResponse.soap_default(soap);
|
|
soap_default___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode);
|
|
if (!soap_get___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode, "-tds:GetClientCertificateMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetClientCertificateMode(soap_tmp___tds__GetClientCertificateMode.tds__GetClientCertificateMode, tds__GetClientCertificateModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetClientCertificateModeResponse.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)
|
|
|| tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
|
|
|| 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)
|
|
|| tds__GetClientCertificateModeResponse.soap_put(soap, "tds:GetClientCertificateModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetClientCertificateMode(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetClientCertificateMode soap_tmp___tds__SetClientCertificateMode;
|
|
_tds__SetClientCertificateModeResponse tds__SetClientCertificateModeResponse;
|
|
tds__SetClientCertificateModeResponse.soap_default(soap);
|
|
soap_default___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode);
|
|
if (!soap_get___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode, "-tds:SetClientCertificateMode", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetClientCertificateMode(soap_tmp___tds__SetClientCertificateMode.tds__SetClientCertificateMode, tds__SetClientCertificateModeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetClientCertificateModeResponse.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)
|
|
|| tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
|
|
|| 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)
|
|
|| tds__SetClientCertificateModeResponse.soap_put(soap, "tds:SetClientCertificateModeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetRelayOutputs(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetRelayOutputs soap_tmp___tds__GetRelayOutputs;
|
|
_tds__GetRelayOutputsResponse tds__GetRelayOutputsResponse;
|
|
tds__GetRelayOutputsResponse.soap_default(soap);
|
|
soap_default___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs);
|
|
if (!soap_get___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs, "-tds:GetRelayOutputs", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetRelayOutputs(soap_tmp___tds__GetRelayOutputs.tds__GetRelayOutputs, tds__GetRelayOutputsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetRelayOutputsResponse.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)
|
|
|| tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
|
|
|| 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)
|
|
|| tds__GetRelayOutputsResponse.soap_put(soap, "tds:GetRelayOutputsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetRelayOutputSettings(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetRelayOutputSettings soap_tmp___tds__SetRelayOutputSettings;
|
|
_tds__SetRelayOutputSettingsResponse tds__SetRelayOutputSettingsResponse;
|
|
tds__SetRelayOutputSettingsResponse.soap_default(soap);
|
|
soap_default___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings);
|
|
if (!soap_get___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings, "-tds:SetRelayOutputSettings", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetRelayOutputSettings(soap_tmp___tds__SetRelayOutputSettings.tds__SetRelayOutputSettings, tds__SetRelayOutputSettingsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetRelayOutputSettingsResponse.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)
|
|
|| tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
|
|
|| 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)
|
|
|| tds__SetRelayOutputSettingsResponse.soap_put(soap, "tds:SetRelayOutputSettingsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetRelayOutputState(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetRelayOutputState soap_tmp___tds__SetRelayOutputState;
|
|
_tds__SetRelayOutputStateResponse tds__SetRelayOutputStateResponse;
|
|
tds__SetRelayOutputStateResponse.soap_default(soap);
|
|
soap_default___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState);
|
|
if (!soap_get___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState, "-tds:SetRelayOutputState", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetRelayOutputState(soap_tmp___tds__SetRelayOutputState.tds__SetRelayOutputState, tds__SetRelayOutputStateResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetRelayOutputStateResponse.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)
|
|
|| tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
|
|
|| 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)
|
|
|| tds__SetRelayOutputStateResponse.soap_put(soap, "tds:SetRelayOutputStateResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SendAuxiliaryCommand(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SendAuxiliaryCommand soap_tmp___tds__SendAuxiliaryCommand;
|
|
_tds__SendAuxiliaryCommandResponse tds__SendAuxiliaryCommandResponse;
|
|
tds__SendAuxiliaryCommandResponse.soap_default(soap);
|
|
soap_default___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand);
|
|
if (!soap_get___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand, "-tds:SendAuxiliaryCommand", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SendAuxiliaryCommand(soap_tmp___tds__SendAuxiliaryCommand.tds__SendAuxiliaryCommand, tds__SendAuxiliaryCommandResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SendAuxiliaryCommandResponse.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)
|
|
|| tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
|
|
|| 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)
|
|
|| tds__SendAuxiliaryCommandResponse.soap_put(soap, "tds:SendAuxiliaryCommandResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetCACertificates(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetCACertificates soap_tmp___tds__GetCACertificates;
|
|
_tds__GetCACertificatesResponse tds__GetCACertificatesResponse;
|
|
tds__GetCACertificatesResponse.soap_default(soap);
|
|
soap_default___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates);
|
|
if (!soap_get___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates, "-tds:GetCACertificates", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetCACertificates(soap_tmp___tds__GetCACertificates.tds__GetCACertificates, tds__GetCACertificatesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetCACertificatesResponse.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)
|
|
|| tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
|
|
|| 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)
|
|
|| tds__GetCACertificatesResponse.soap_put(soap, "tds:GetCACertificatesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__LoadCertificateWithPrivateKey(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__LoadCertificateWithPrivateKey soap_tmp___tds__LoadCertificateWithPrivateKey;
|
|
_tds__LoadCertificateWithPrivateKeyResponse tds__LoadCertificateWithPrivateKeyResponse;
|
|
tds__LoadCertificateWithPrivateKeyResponse.soap_default(soap);
|
|
soap_default___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey);
|
|
if (!soap_get___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey, "-tds:LoadCertificateWithPrivateKey", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->LoadCertificateWithPrivateKey(soap_tmp___tds__LoadCertificateWithPrivateKey.tds__LoadCertificateWithPrivateKey, tds__LoadCertificateWithPrivateKeyResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__LoadCertificateWithPrivateKeyResponse.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)
|
|
|| tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
|
|
|| 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)
|
|
|| tds__LoadCertificateWithPrivateKeyResponse.soap_put(soap, "tds:LoadCertificateWithPrivateKeyResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetCertificateInformation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetCertificateInformation soap_tmp___tds__GetCertificateInformation;
|
|
_tds__GetCertificateInformationResponse tds__GetCertificateInformationResponse;
|
|
tds__GetCertificateInformationResponse.soap_default(soap);
|
|
soap_default___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation);
|
|
if (!soap_get___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation, "-tds:GetCertificateInformation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetCertificateInformation(soap_tmp___tds__GetCertificateInformation.tds__GetCertificateInformation, tds__GetCertificateInformationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetCertificateInformationResponse.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)
|
|
|| tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
|
|
|| 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)
|
|
|| tds__GetCertificateInformationResponse.soap_put(soap, "tds:GetCertificateInformationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__LoadCACertificates(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__LoadCACertificates soap_tmp___tds__LoadCACertificates;
|
|
_tds__LoadCACertificatesResponse tds__LoadCACertificatesResponse;
|
|
tds__LoadCACertificatesResponse.soap_default(soap);
|
|
soap_default___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates);
|
|
if (!soap_get___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates, "-tds:LoadCACertificates", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->LoadCACertificates(soap_tmp___tds__LoadCACertificates.tds__LoadCACertificates, tds__LoadCACertificatesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__LoadCACertificatesResponse.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)
|
|
|| tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
|
|
|| 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)
|
|
|| tds__LoadCACertificatesResponse.soap_put(soap, "tds:LoadCACertificatesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__CreateDot1XConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__CreateDot1XConfiguration soap_tmp___tds__CreateDot1XConfiguration;
|
|
_tds__CreateDot1XConfigurationResponse tds__CreateDot1XConfigurationResponse;
|
|
tds__CreateDot1XConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration);
|
|
if (!soap_get___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration, "-tds:CreateDot1XConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->CreateDot1XConfiguration(soap_tmp___tds__CreateDot1XConfiguration.tds__CreateDot1XConfiguration, tds__CreateDot1XConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__CreateDot1XConfigurationResponse.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)
|
|
|| tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__CreateDot1XConfigurationResponse.soap_put(soap, "tds:CreateDot1XConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetDot1XConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetDot1XConfiguration soap_tmp___tds__SetDot1XConfiguration;
|
|
_tds__SetDot1XConfigurationResponse tds__SetDot1XConfigurationResponse;
|
|
tds__SetDot1XConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration);
|
|
if (!soap_get___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration, "-tds:SetDot1XConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetDot1XConfiguration(soap_tmp___tds__SetDot1XConfiguration.tds__SetDot1XConfiguration, tds__SetDot1XConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetDot1XConfigurationResponse.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)
|
|
|| tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__SetDot1XConfigurationResponse.soap_put(soap, "tds:SetDot1XConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDot1XConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDot1XConfiguration soap_tmp___tds__GetDot1XConfiguration;
|
|
_tds__GetDot1XConfigurationResponse tds__GetDot1XConfigurationResponse;
|
|
tds__GetDot1XConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration);
|
|
if (!soap_get___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration, "-tds:GetDot1XConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDot1XConfiguration(soap_tmp___tds__GetDot1XConfiguration.tds__GetDot1XConfiguration, tds__GetDot1XConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDot1XConfigurationResponse.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)
|
|
|| tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__GetDot1XConfigurationResponse.soap_put(soap, "tds:GetDot1XConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDot1XConfigurations(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDot1XConfigurations soap_tmp___tds__GetDot1XConfigurations;
|
|
_tds__GetDot1XConfigurationsResponse tds__GetDot1XConfigurationsResponse;
|
|
tds__GetDot1XConfigurationsResponse.soap_default(soap);
|
|
soap_default___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations);
|
|
if (!soap_get___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations, "-tds:GetDot1XConfigurations", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDot1XConfigurations(soap_tmp___tds__GetDot1XConfigurations.tds__GetDot1XConfigurations, tds__GetDot1XConfigurationsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDot1XConfigurationsResponse.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)
|
|
|| tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
|
|
|| 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)
|
|
|| tds__GetDot1XConfigurationsResponse.soap_put(soap, "tds:GetDot1XConfigurationsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__DeleteDot1XConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__DeleteDot1XConfiguration soap_tmp___tds__DeleteDot1XConfiguration;
|
|
_tds__DeleteDot1XConfigurationResponse tds__DeleteDot1XConfigurationResponse;
|
|
tds__DeleteDot1XConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration);
|
|
if (!soap_get___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration, "-tds:DeleteDot1XConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->DeleteDot1XConfiguration(soap_tmp___tds__DeleteDot1XConfiguration.tds__DeleteDot1XConfiguration, tds__DeleteDot1XConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__DeleteDot1XConfigurationResponse.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)
|
|
|| tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__DeleteDot1XConfigurationResponse.soap_put(soap, "tds:DeleteDot1XConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDot11Capabilities(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDot11Capabilities soap_tmp___tds__GetDot11Capabilities;
|
|
_tds__GetDot11CapabilitiesResponse tds__GetDot11CapabilitiesResponse;
|
|
tds__GetDot11CapabilitiesResponse.soap_default(soap);
|
|
soap_default___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities);
|
|
if (!soap_get___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities, "-tds:GetDot11Capabilities", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDot11Capabilities(soap_tmp___tds__GetDot11Capabilities.tds__GetDot11Capabilities, tds__GetDot11CapabilitiesResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDot11CapabilitiesResponse.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)
|
|
|| tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
|
|
|| 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)
|
|
|| tds__GetDot11CapabilitiesResponse.soap_put(soap, "tds:GetDot11CapabilitiesResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetDot11Status(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetDot11Status soap_tmp___tds__GetDot11Status;
|
|
_tds__GetDot11StatusResponse tds__GetDot11StatusResponse;
|
|
tds__GetDot11StatusResponse.soap_default(soap);
|
|
soap_default___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status);
|
|
if (!soap_get___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status, "-tds:GetDot11Status", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetDot11Status(soap_tmp___tds__GetDot11Status.tds__GetDot11Status, tds__GetDot11StatusResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetDot11StatusResponse.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)
|
|
|| tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
|
|
|| 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)
|
|
|| tds__GetDot11StatusResponse.soap_put(soap, "tds:GetDot11StatusResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__ScanAvailableDot11Networks(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__ScanAvailableDot11Networks soap_tmp___tds__ScanAvailableDot11Networks;
|
|
_tds__ScanAvailableDot11NetworksResponse tds__ScanAvailableDot11NetworksResponse;
|
|
tds__ScanAvailableDot11NetworksResponse.soap_default(soap);
|
|
soap_default___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks);
|
|
if (!soap_get___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks, "-tds:ScanAvailableDot11Networks", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->ScanAvailableDot11Networks(soap_tmp___tds__ScanAvailableDot11Networks.tds__ScanAvailableDot11Networks, tds__ScanAvailableDot11NetworksResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__ScanAvailableDot11NetworksResponse.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)
|
|
|| tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
|
|
|| 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)
|
|
|| tds__ScanAvailableDot11NetworksResponse.soap_put(soap, "tds:ScanAvailableDot11NetworksResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetSystemUris(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetSystemUris soap_tmp___tds__GetSystemUris;
|
|
_tds__GetSystemUrisResponse tds__GetSystemUrisResponse;
|
|
tds__GetSystemUrisResponse.soap_default(soap);
|
|
soap_default___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris);
|
|
if (!soap_get___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris, "-tds:GetSystemUris", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetSystemUris(soap_tmp___tds__GetSystemUris.tds__GetSystemUris, tds__GetSystemUrisResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetSystemUrisResponse.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)
|
|
|| tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
|
|
|| 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)
|
|
|| tds__GetSystemUrisResponse.soap_put(soap, "tds:GetSystemUrisResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__StartFirmwareUpgrade(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__StartFirmwareUpgrade soap_tmp___tds__StartFirmwareUpgrade;
|
|
_tds__StartFirmwareUpgradeResponse tds__StartFirmwareUpgradeResponse;
|
|
tds__StartFirmwareUpgradeResponse.soap_default(soap);
|
|
soap_default___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade);
|
|
if (!soap_get___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade, "-tds:StartFirmwareUpgrade", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->StartFirmwareUpgrade(soap_tmp___tds__StartFirmwareUpgrade.tds__StartFirmwareUpgrade, tds__StartFirmwareUpgradeResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__StartFirmwareUpgradeResponse.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)
|
|
|| tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
|
|
|| 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)
|
|
|| tds__StartFirmwareUpgradeResponse.soap_put(soap, "tds:StartFirmwareUpgradeResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__StartSystemRestore(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__StartSystemRestore soap_tmp___tds__StartSystemRestore;
|
|
_tds__StartSystemRestoreResponse tds__StartSystemRestoreResponse;
|
|
tds__StartSystemRestoreResponse.soap_default(soap);
|
|
soap_default___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore);
|
|
if (!soap_get___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore, "-tds:StartSystemRestore", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->StartSystemRestore(soap_tmp___tds__StartSystemRestore.tds__StartSystemRestore, tds__StartSystemRestoreResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__StartSystemRestoreResponse.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)
|
|
|| tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
|
|
|| 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)
|
|
|| tds__StartSystemRestoreResponse.soap_put(soap, "tds:StartSystemRestoreResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetStorageConfigurations(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetStorageConfigurations soap_tmp___tds__GetStorageConfigurations;
|
|
_tds__GetStorageConfigurationsResponse tds__GetStorageConfigurationsResponse;
|
|
tds__GetStorageConfigurationsResponse.soap_default(soap);
|
|
soap_default___tds__GetStorageConfigurations(soap, &soap_tmp___tds__GetStorageConfigurations);
|
|
if (!soap_get___tds__GetStorageConfigurations(soap, &soap_tmp___tds__GetStorageConfigurations, "-tds:GetStorageConfigurations", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetStorageConfigurations(soap_tmp___tds__GetStorageConfigurations.tds__GetStorageConfigurations, tds__GetStorageConfigurationsResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetStorageConfigurationsResponse.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)
|
|
|| tds__GetStorageConfigurationsResponse.soap_put(soap, "tds:GetStorageConfigurationsResponse", "")
|
|
|| 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)
|
|
|| tds__GetStorageConfigurationsResponse.soap_put(soap, "tds:GetStorageConfigurationsResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__CreateStorageConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__CreateStorageConfiguration soap_tmp___tds__CreateStorageConfiguration;
|
|
_tds__CreateStorageConfigurationResponse tds__CreateStorageConfigurationResponse;
|
|
tds__CreateStorageConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__CreateStorageConfiguration(soap, &soap_tmp___tds__CreateStorageConfiguration);
|
|
if (!soap_get___tds__CreateStorageConfiguration(soap, &soap_tmp___tds__CreateStorageConfiguration, "-tds:CreateStorageConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->CreateStorageConfiguration(soap_tmp___tds__CreateStorageConfiguration.tds__CreateStorageConfiguration, tds__CreateStorageConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__CreateStorageConfigurationResponse.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)
|
|
|| tds__CreateStorageConfigurationResponse.soap_put(soap, "tds:CreateStorageConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__CreateStorageConfigurationResponse.soap_put(soap, "tds:CreateStorageConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetStorageConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetStorageConfiguration soap_tmp___tds__GetStorageConfiguration;
|
|
_tds__GetStorageConfigurationResponse tds__GetStorageConfigurationResponse;
|
|
tds__GetStorageConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__GetStorageConfiguration(soap, &soap_tmp___tds__GetStorageConfiguration);
|
|
if (!soap_get___tds__GetStorageConfiguration(soap, &soap_tmp___tds__GetStorageConfiguration, "-tds:GetStorageConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetStorageConfiguration(soap_tmp___tds__GetStorageConfiguration.tds__GetStorageConfiguration, tds__GetStorageConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetStorageConfigurationResponse.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)
|
|
|| tds__GetStorageConfigurationResponse.soap_put(soap, "tds:GetStorageConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__GetStorageConfigurationResponse.soap_put(soap, "tds:GetStorageConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetStorageConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetStorageConfiguration soap_tmp___tds__SetStorageConfiguration;
|
|
_tds__SetStorageConfigurationResponse tds__SetStorageConfigurationResponse;
|
|
tds__SetStorageConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__SetStorageConfiguration(soap, &soap_tmp___tds__SetStorageConfiguration);
|
|
if (!soap_get___tds__SetStorageConfiguration(soap, &soap_tmp___tds__SetStorageConfiguration, "-tds:SetStorageConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetStorageConfiguration(soap_tmp___tds__SetStorageConfiguration.tds__SetStorageConfiguration, tds__SetStorageConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetStorageConfigurationResponse.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)
|
|
|| tds__SetStorageConfigurationResponse.soap_put(soap, "tds:SetStorageConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__SetStorageConfigurationResponse.soap_put(soap, "tds:SetStorageConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__DeleteStorageConfiguration(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__DeleteStorageConfiguration soap_tmp___tds__DeleteStorageConfiguration;
|
|
_tds__DeleteStorageConfigurationResponse tds__DeleteStorageConfigurationResponse;
|
|
tds__DeleteStorageConfigurationResponse.soap_default(soap);
|
|
soap_default___tds__DeleteStorageConfiguration(soap, &soap_tmp___tds__DeleteStorageConfiguration);
|
|
if (!soap_get___tds__DeleteStorageConfiguration(soap, &soap_tmp___tds__DeleteStorageConfiguration, "-tds:DeleteStorageConfiguration", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->DeleteStorageConfiguration(soap_tmp___tds__DeleteStorageConfiguration.tds__DeleteStorageConfiguration, tds__DeleteStorageConfigurationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__DeleteStorageConfigurationResponse.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)
|
|
|| tds__DeleteStorageConfigurationResponse.soap_put(soap, "tds:DeleteStorageConfigurationResponse", "")
|
|
|| 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)
|
|
|| tds__DeleteStorageConfigurationResponse.soap_put(soap, "tds:DeleteStorageConfigurationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__GetGeoLocation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__GetGeoLocation soap_tmp___tds__GetGeoLocation;
|
|
_tds__GetGeoLocationResponse tds__GetGeoLocationResponse;
|
|
tds__GetGeoLocationResponse.soap_default(soap);
|
|
soap_default___tds__GetGeoLocation(soap, &soap_tmp___tds__GetGeoLocation);
|
|
if (!soap_get___tds__GetGeoLocation(soap, &soap_tmp___tds__GetGeoLocation, "-tds:GetGeoLocation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->GetGeoLocation(soap_tmp___tds__GetGeoLocation.tds__GetGeoLocation, tds__GetGeoLocationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__GetGeoLocationResponse.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)
|
|
|| tds__GetGeoLocationResponse.soap_put(soap, "tds:GetGeoLocationResponse", "")
|
|
|| 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)
|
|
|| tds__GetGeoLocationResponse.soap_put(soap, "tds:GetGeoLocationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__SetGeoLocation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__SetGeoLocation soap_tmp___tds__SetGeoLocation;
|
|
_tds__SetGeoLocationResponse tds__SetGeoLocationResponse;
|
|
tds__SetGeoLocationResponse.soap_default(soap);
|
|
soap_default___tds__SetGeoLocation(soap, &soap_tmp___tds__SetGeoLocation);
|
|
if (!soap_get___tds__SetGeoLocation(soap, &soap_tmp___tds__SetGeoLocation, "-tds:SetGeoLocation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->SetGeoLocation(soap_tmp___tds__SetGeoLocation.tds__SetGeoLocation, tds__SetGeoLocationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__SetGeoLocationResponse.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)
|
|
|| tds__SetGeoLocationResponse.soap_put(soap, "tds:SetGeoLocationResponse", "")
|
|
|| 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)
|
|
|| tds__SetGeoLocationResponse.soap_put(soap, "tds:SetGeoLocationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
|
|
static int serve___tds__DeleteGeoLocation(struct soap *soap, DeviceBindingService *service)
|
|
{ struct __tds__DeleteGeoLocation soap_tmp___tds__DeleteGeoLocation;
|
|
_tds__DeleteGeoLocationResponse tds__DeleteGeoLocationResponse;
|
|
tds__DeleteGeoLocationResponse.soap_default(soap);
|
|
soap_default___tds__DeleteGeoLocation(soap, &soap_tmp___tds__DeleteGeoLocation);
|
|
if (!soap_get___tds__DeleteGeoLocation(soap, &soap_tmp___tds__DeleteGeoLocation, "-tds:DeleteGeoLocation", NULL))
|
|
return soap->error;
|
|
if (soap_body_end_in(soap)
|
|
|| soap_envelope_end_in(soap)
|
|
|| soap_end_recv(soap))
|
|
return soap->error;
|
|
soap->error = service->DeleteGeoLocation(soap_tmp___tds__DeleteGeoLocation.tds__DeleteGeoLocation, tds__DeleteGeoLocationResponse);
|
|
if (soap->error)
|
|
return soap->error;
|
|
soap->encodingStyle = NULL; /* use SOAP literal style */
|
|
soap_serializeheader(soap);
|
|
tds__DeleteGeoLocationResponse.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)
|
|
|| tds__DeleteGeoLocationResponse.soap_put(soap, "tds:DeleteGeoLocationResponse", "")
|
|
|| 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)
|
|
|| tds__DeleteGeoLocationResponse.soap_put(soap, "tds:DeleteGeoLocationResponse", "")
|
|
|| soap_body_end_out(soap)
|
|
|| soap_envelope_end_out(soap)
|
|
|| soap_end_send(soap))
|
|
return soap->error;
|
|
return soap_closesock(soap);
|
|
}
|
|
/* End of server object code */
|