|
|
/* soapDeviceBindingProxy.cpp
Generated by gSOAP 2.8.17r from onvif.h
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.The generated code is released under one of the following licenses:GPL or Genivia's license for commercial use.This program is released under the GPL with the additional exemption thatcompiling, linking, and/or using OpenSSL is allowed.*/
#include "soapDeviceBindingProxy.h"
DeviceBindingProxy::DeviceBindingProxy(){ DeviceBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);}
DeviceBindingProxy::DeviceBindingProxy(const struct soap &_soap) : soap(_soap){ }
DeviceBindingProxy::DeviceBindingProxy(const char *url){ DeviceBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); soap_endpoint = url;}
DeviceBindingProxy::DeviceBindingProxy(soap_mode iomode){ DeviceBindingProxy_init(iomode, iomode);}
DeviceBindingProxy::DeviceBindingProxy(const char *url, soap_mode iomode){ DeviceBindingProxy_init(iomode, iomode); soap_endpoint = url;}
DeviceBindingProxy::DeviceBindingProxy(soap_mode imode, soap_mode omode){ DeviceBindingProxy_init(imode, omode);}
DeviceBindingProxy::~DeviceBindingProxy(){ }
void DeviceBindingProxy::DeviceBindingProxy_init(soap_mode imode, soap_mode omode){ soap_imode(this, imode); soap_omode(this, omode); soap_endpoint = NULL; 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}, {"c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", 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://schemas.xmlsoap.org/ws/2005/02/sc", NULL, NULL}, {"ds", "http://www.w3.org/2000/09/xmldsig#", NULL, 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}, {"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL}, {"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL}, {"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL}, {"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL}, {"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}, {"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL}, {"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL}, {"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL}, {"tdn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL}, {"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL}, {"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL}, {"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL}, {"timg", "http://www.onvif.org/ver20/imaging/wsdl", NULL, NULL}, {"tls", "http://www.onvif.org/ver10/display/wsdl", NULL, NULL}, {"tmd", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL}, {"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL}, {"trc", "http://www.onvif.org/ver10/recording/wsdl", NULL, NULL}, {"trp", "http://www.onvif.org/ver10/replay/wsdl", NULL, NULL}, {"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL}, {"trv", "http://www.onvif.org/ver10/receiver/wsdl", NULL, NULL}, {"tse", "http://www.onvif.org/ver10/search/wsdl", NULL, NULL}, {NULL, NULL, NULL, NULL}}; soap_set_namespaces(this, namespaces);}
void DeviceBindingProxy::destroy(){ soap_destroy(this); soap_end(this);}
void DeviceBindingProxy::reset(){ destroy(); soap_done(this); soap_initialize(this); DeviceBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);}
void DeviceBindingProxy::soap_noheader(){ this->header = NULL;}
void DeviceBindingProxy::soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance){ ::soap_header(this); this->header->wsse__Security = wsse__Security; this->header->wsa__MessageID = wsa__MessageID; this->header->wsa__RelatesTo = wsa__RelatesTo; this->header->wsa__From = wsa__From; this->header->wsa__ReplyTo = wsa__ReplyTo; this->header->wsa__FaultTo = wsa__FaultTo; this->header->wsa__To = wsa__To; this->header->wsa__Action = wsa__Action; this->header->wsdd__AppSequence = wsdd__AppSequence; this->header->wsa5__MessageID = wsa5__MessageID; this->header->wsa5__RelatesTo = wsa5__RelatesTo; this->header->wsa5__From = wsa5__From; this->header->wsa5__ReplyTo = wsa5__ReplyTo; this->header->wsa5__FaultTo = wsa5__FaultTo; this->header->wsa5__To = wsa5__To; this->header->wsa5__Action = wsa5__Action; this->header->chan__ChannelInstance = chan__ChannelInstance;}
const SOAP_ENV__Header *DeviceBindingProxy::soap_header(){ return this->header;}
const SOAP_ENV__Fault *DeviceBindingProxy::soap_fault(){ return this->fault;}
const char *DeviceBindingProxy::soap_fault_string(){ return *soap_faultstring(this);}
const char *DeviceBindingProxy::soap_fault_detail(){ return *soap_faultdetail(this);}
int DeviceBindingProxy::soap_close_socket(){ return soap_closesock(this);}
int DeviceBindingProxy::soap_force_close_socket(){ return soap_force_closesock(this);}
void DeviceBindingProxy::soap_print_fault(FILE *fd){ ::soap_print_fault(this, fd);}
#ifndef WITH_LEAN
#ifndef WITH_COMPAT
void DeviceBindingProxy::soap_stream_fault(std::ostream& os){ ::soap_stream_fault(this, os);}#endif
char *DeviceBindingProxy::soap_sprint_fault(char *buf, size_t len){ return ::soap_sprint_fault(this, buf, len);}#endif
int DeviceBindingProxy::GetServices(const char *endpoint, const char *soap_action, _tds__GetServices *tds__GetServices, _tds__GetServicesResponse *tds__GetServicesResponse){ struct soap *soap = this; struct __tds__GetServices soap_tmp___tds__GetServices; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetServices"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetServices.tds__GetServices = tds__GetServices; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetServices(soap, &soap_tmp___tds__GetServices); 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) || soap_put___tds__GetServices(soap, &soap_tmp___tds__GetServices, "-tds:GetServices", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetServices(soap, &soap_tmp___tds__GetServices, "-tds:GetServices", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetServicesResponse) return soap_closesock(soap); tds__GetServicesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetServicesResponse->soap_get(soap, "tds:GetServicesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetServiceCapabilities(const char *endpoint, const char *soap_action, _tds__GetServiceCapabilities *tds__GetServiceCapabilities, _tds__GetServiceCapabilitiesResponse *tds__GetServiceCapabilitiesResponse){ struct soap *soap = this; struct __tds__GetServiceCapabilities soap_tmp___tds__GetServiceCapabilities; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetServiceCapabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetServiceCapabilities.tds__GetServiceCapabilities = tds__GetServiceCapabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities); 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) || soap_put___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities, "-tds:GetServiceCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetServiceCapabilities(soap, &soap_tmp___tds__GetServiceCapabilities, "-tds:GetServiceCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetServiceCapabilitiesResponse) return soap_closesock(soap); tds__GetServiceCapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetServiceCapabilitiesResponse->soap_get(soap, "tds:GetServiceCapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDeviceInformation(const char *endpoint, const char *soap_action, _tds__GetDeviceInformation *tds__GetDeviceInformation, _tds__GetDeviceInformationResponse *tds__GetDeviceInformationResponse){ struct soap *soap = this; struct __tds__GetDeviceInformation soap_tmp___tds__GetDeviceInformation; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDeviceInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDeviceInformation.tds__GetDeviceInformation = tds__GetDeviceInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation); 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) || soap_put___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation, "-tds:GetDeviceInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDeviceInformation(soap, &soap_tmp___tds__GetDeviceInformation, "-tds:GetDeviceInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDeviceInformationResponse) return soap_closesock(soap); tds__GetDeviceInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDeviceInformationResponse->soap_get(soap, "tds:GetDeviceInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetSystemDateAndTime(const char *endpoint, const char *soap_action, _tds__SetSystemDateAndTime *tds__SetSystemDateAndTime, _tds__SetSystemDateAndTimeResponse *tds__SetSystemDateAndTimeResponse){ struct soap *soap = this; struct __tds__SetSystemDateAndTime soap_tmp___tds__SetSystemDateAndTime; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetSystemDateAndTime"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetSystemDateAndTime.tds__SetSystemDateAndTime = tds__SetSystemDateAndTime; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime); 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) || soap_put___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime, "-tds:SetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetSystemDateAndTime(soap, &soap_tmp___tds__SetSystemDateAndTime, "-tds:SetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetSystemDateAndTimeResponse) return soap_closesock(soap); tds__SetSystemDateAndTimeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetSystemDateAndTimeResponse->soap_get(soap, "tds:SetSystemDateAndTimeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemDateAndTime(const char *endpoint, const char *soap_action, _tds__GetSystemDateAndTime *tds__GetSystemDateAndTime, _tds__GetSystemDateAndTimeResponse *tds__GetSystemDateAndTimeResponse){ struct soap *soap = this; struct __tds__GetSystemDateAndTime soap_tmp___tds__GetSystemDateAndTime; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemDateAndTime.tds__GetSystemDateAndTime = tds__GetSystemDateAndTime; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime); 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) || soap_put___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime, "-tds:GetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemDateAndTime(soap, &soap_tmp___tds__GetSystemDateAndTime, "-tds:GetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemDateAndTimeResponse) return soap_closesock(soap); tds__GetSystemDateAndTimeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemDateAndTimeResponse->soap_get(soap, "tds:GetSystemDateAndTimeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetSystemFactoryDefault(const char *endpoint, const char *soap_action, _tds__SetSystemFactoryDefault *tds__SetSystemFactoryDefault, _tds__SetSystemFactoryDefaultResponse *tds__SetSystemFactoryDefaultResponse){ struct soap *soap = this; struct __tds__SetSystemFactoryDefault soap_tmp___tds__SetSystemFactoryDefault; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetSystemFactoryDefault"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetSystemFactoryDefault.tds__SetSystemFactoryDefault = tds__SetSystemFactoryDefault; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault); 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) || soap_put___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault, "-tds:SetSystemFactoryDefault", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetSystemFactoryDefault(soap, &soap_tmp___tds__SetSystemFactoryDefault, "-tds:SetSystemFactoryDefault", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetSystemFactoryDefaultResponse) return soap_closesock(soap); tds__SetSystemFactoryDefaultResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetSystemFactoryDefaultResponse->soap_get(soap, "tds:SetSystemFactoryDefaultResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::UpgradeSystemFirmware(const char *endpoint, const char *soap_action, _tds__UpgradeSystemFirmware *tds__UpgradeSystemFirmware, _tds__UpgradeSystemFirmwareResponse *tds__UpgradeSystemFirmwareResponse){ struct soap *soap = this; struct __tds__UpgradeSystemFirmware soap_tmp___tds__UpgradeSystemFirmware; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/UpgradeSystemFirmware"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__UpgradeSystemFirmware.tds__UpgradeSystemFirmware = tds__UpgradeSystemFirmware; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware); 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) || soap_put___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware, "-tds:UpgradeSystemFirmware", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__UpgradeSystemFirmware(soap, &soap_tmp___tds__UpgradeSystemFirmware, "-tds:UpgradeSystemFirmware", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__UpgradeSystemFirmwareResponse) return soap_closesock(soap); tds__UpgradeSystemFirmwareResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__UpgradeSystemFirmwareResponse->soap_get(soap, "tds:UpgradeSystemFirmwareResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SystemReboot(const char *endpoint, const char *soap_action, _tds__SystemReboot *tds__SystemReboot, _tds__SystemRebootResponse *tds__SystemRebootResponse){ struct soap *soap = this; struct __tds__SystemReboot soap_tmp___tds__SystemReboot; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SystemReboot"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SystemReboot.tds__SystemReboot = tds__SystemReboot; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot); 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) || soap_put___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot, "-tds:SystemReboot", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SystemReboot(soap, &soap_tmp___tds__SystemReboot, "-tds:SystemReboot", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SystemRebootResponse) return soap_closesock(soap); tds__SystemRebootResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SystemRebootResponse->soap_get(soap, "tds:SystemRebootResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RestoreSystem(const char *endpoint, const char *soap_action, _tds__RestoreSystem *tds__RestoreSystem, _tds__RestoreSystemResponse *tds__RestoreSystemResponse){ struct soap *soap = this; struct __tds__RestoreSystem soap_tmp___tds__RestoreSystem; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RestoreSystem"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RestoreSystem.tds__RestoreSystem = tds__RestoreSystem; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem); 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) || soap_put___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem, "-tds:RestoreSystem", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RestoreSystem(soap, &soap_tmp___tds__RestoreSystem, "-tds:RestoreSystem", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RestoreSystemResponse) return soap_closesock(soap); tds__RestoreSystemResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RestoreSystemResponse->soap_get(soap, "tds:RestoreSystemResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemBackup(const char *endpoint, const char *soap_action, _tds__GetSystemBackup *tds__GetSystemBackup, _tds__GetSystemBackupResponse *tds__GetSystemBackupResponse){ struct soap *soap = this; struct __tds__GetSystemBackup soap_tmp___tds__GetSystemBackup; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemBackup"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemBackup.tds__GetSystemBackup = tds__GetSystemBackup; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup); 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) || soap_put___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup, "-tds:GetSystemBackup", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemBackup(soap, &soap_tmp___tds__GetSystemBackup, "-tds:GetSystemBackup", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemBackupResponse) return soap_closesock(soap); tds__GetSystemBackupResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemBackupResponse->soap_get(soap, "tds:GetSystemBackupResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemLog(const char *endpoint, const char *soap_action, _tds__GetSystemLog *tds__GetSystemLog, _tds__GetSystemLogResponse *tds__GetSystemLogResponse){ struct soap *soap = this; struct __tds__GetSystemLog soap_tmp___tds__GetSystemLog; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemLog"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemLog.tds__GetSystemLog = tds__GetSystemLog; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog); 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) || soap_put___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog, "-tds:GetSystemLog", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemLog(soap, &soap_tmp___tds__GetSystemLog, "-tds:GetSystemLog", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemLogResponse) return soap_closesock(soap); tds__GetSystemLogResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemLogResponse->soap_get(soap, "tds:GetSystemLogResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemSupportInformation(const char *endpoint, const char *soap_action, _tds__GetSystemSupportInformation *tds__GetSystemSupportInformation, _tds__GetSystemSupportInformationResponse *tds__GetSystemSupportInformationResponse){ struct soap *soap = this; struct __tds__GetSystemSupportInformation soap_tmp___tds__GetSystemSupportInformation; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemSupportInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemSupportInformation.tds__GetSystemSupportInformation = tds__GetSystemSupportInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation); 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) || soap_put___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation, "-tds:GetSystemSupportInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemSupportInformation(soap, &soap_tmp___tds__GetSystemSupportInformation, "-tds:GetSystemSupportInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemSupportInformationResponse) return soap_closesock(soap); tds__GetSystemSupportInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemSupportInformationResponse->soap_get(soap, "tds:GetSystemSupportInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetScopes(const char *endpoint, const char *soap_action, _tds__GetScopes *tds__GetScopes, _tds__GetScopesResponse *tds__GetScopesResponse){ struct soap *soap = this; struct __tds__GetScopes soap_tmp___tds__GetScopes; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetScopes.tds__GetScopes = tds__GetScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetScopes(soap, &soap_tmp___tds__GetScopes); 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) || soap_put___tds__GetScopes(soap, &soap_tmp___tds__GetScopes, "-tds:GetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetScopes(soap, &soap_tmp___tds__GetScopes, "-tds:GetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetScopesResponse) return soap_closesock(soap); tds__GetScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetScopesResponse->soap_get(soap, "tds:GetScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetScopes(const char *endpoint, const char *soap_action, _tds__SetScopes *tds__SetScopes, _tds__SetScopesResponse *tds__SetScopesResponse){ struct soap *soap = this; struct __tds__SetScopes soap_tmp___tds__SetScopes; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetScopes.tds__SetScopes = tds__SetScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetScopes(soap, &soap_tmp___tds__SetScopes); 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) || soap_put___tds__SetScopes(soap, &soap_tmp___tds__SetScopes, "-tds:SetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetScopes(soap, &soap_tmp___tds__SetScopes, "-tds:SetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetScopesResponse) return soap_closesock(soap); tds__SetScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetScopesResponse->soap_get(soap, "tds:SetScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::AddScopes(const char *endpoint, const char *soap_action, _tds__AddScopes *tds__AddScopes, _tds__AddScopesResponse *tds__AddScopesResponse){ struct soap *soap = this; struct __tds__AddScopes soap_tmp___tds__AddScopes; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/AddScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__AddScopes.tds__AddScopes = tds__AddScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__AddScopes(soap, &soap_tmp___tds__AddScopes); 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) || soap_put___tds__AddScopes(soap, &soap_tmp___tds__AddScopes, "-tds:AddScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__AddScopes(soap, &soap_tmp___tds__AddScopes, "-tds:AddScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__AddScopesResponse) return soap_closesock(soap); tds__AddScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__AddScopesResponse->soap_get(soap, "tds:AddScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RemoveScopes(const char *endpoint, const char *soap_action, _tds__RemoveScopes *tds__RemoveScopes, _tds__RemoveScopesResponse *tds__RemoveScopesResponse){ struct soap *soap = this; struct __tds__RemoveScopes soap_tmp___tds__RemoveScopes; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RemoveScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RemoveScopes.tds__RemoveScopes = tds__RemoveScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes); 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) || soap_put___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes, "-tds:RemoveScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RemoveScopes(soap, &soap_tmp___tds__RemoveScopes, "-tds:RemoveScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RemoveScopesResponse) return soap_closesock(soap); tds__RemoveScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RemoveScopesResponse->soap_get(soap, "tds:RemoveScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDiscoveryMode(const char *endpoint, const char *soap_action, _tds__GetDiscoveryMode *tds__GetDiscoveryMode, _tds__GetDiscoveryModeResponse *tds__GetDiscoveryModeResponse){ struct soap *soap = this; struct __tds__GetDiscoveryMode soap_tmp___tds__GetDiscoveryMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDiscoveryMode.tds__GetDiscoveryMode = tds__GetDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode); 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) || soap_put___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode, "-tds:GetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDiscoveryMode(soap, &soap_tmp___tds__GetDiscoveryMode, "-tds:GetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDiscoveryModeResponse) return soap_closesock(soap); tds__GetDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDiscoveryModeResponse->soap_get(soap, "tds:GetDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDiscoveryMode(const char *endpoint, const char *soap_action, _tds__SetDiscoveryMode *tds__SetDiscoveryMode, _tds__SetDiscoveryModeResponse *tds__SetDiscoveryModeResponse){ struct soap *soap = this; struct __tds__SetDiscoveryMode soap_tmp___tds__SetDiscoveryMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDiscoveryMode.tds__SetDiscoveryMode = tds__SetDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode); 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) || soap_put___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode, "-tds:SetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDiscoveryMode(soap, &soap_tmp___tds__SetDiscoveryMode, "-tds:SetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDiscoveryModeResponse) return soap_closesock(soap); tds__SetDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDiscoveryModeResponse->soap_get(soap, "tds:SetDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRemoteDiscoveryMode(const char *endpoint, const char *soap_action, _tds__GetRemoteDiscoveryMode *tds__GetRemoteDiscoveryMode, _tds__GetRemoteDiscoveryModeResponse *tds__GetRemoteDiscoveryModeResponse){ struct soap *soap = this; struct __tds__GetRemoteDiscoveryMode soap_tmp___tds__GetRemoteDiscoveryMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRemoteDiscoveryMode.tds__GetRemoteDiscoveryMode = tds__GetRemoteDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode); 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) || soap_put___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode, "-tds:GetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRemoteDiscoveryMode(soap, &soap_tmp___tds__GetRemoteDiscoveryMode, "-tds:GetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRemoteDiscoveryModeResponse) return soap_closesock(soap); tds__GetRemoteDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRemoteDiscoveryModeResponse->soap_get(soap, "tds:GetRemoteDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRemoteDiscoveryMode(const char *endpoint, const char *soap_action, _tds__SetRemoteDiscoveryMode *tds__SetRemoteDiscoveryMode, _tds__SetRemoteDiscoveryModeResponse *tds__SetRemoteDiscoveryModeResponse){ struct soap *soap = this; struct __tds__SetRemoteDiscoveryMode soap_tmp___tds__SetRemoteDiscoveryMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRemoteDiscoveryMode.tds__SetRemoteDiscoveryMode = tds__SetRemoteDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode); 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) || soap_put___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode, "-tds:SetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRemoteDiscoveryMode(soap, &soap_tmp___tds__SetRemoteDiscoveryMode, "-tds:SetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRemoteDiscoveryModeResponse) return soap_closesock(soap); tds__SetRemoteDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRemoteDiscoveryModeResponse->soap_get(soap, "tds:SetRemoteDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDPAddresses(const char *endpoint, const char *soap_action, _tds__GetDPAddresses *tds__GetDPAddresses, _tds__GetDPAddressesResponse *tds__GetDPAddressesResponse){ struct soap *soap = this; struct __tds__GetDPAddresses soap_tmp___tds__GetDPAddresses; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDPAddresses"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDPAddresses.tds__GetDPAddresses = tds__GetDPAddresses; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses); 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) || soap_put___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses, "-tds:GetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDPAddresses(soap, &soap_tmp___tds__GetDPAddresses, "-tds:GetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDPAddressesResponse) return soap_closesock(soap); tds__GetDPAddressesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDPAddressesResponse->soap_get(soap, "tds:GetDPAddressesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetEndpointReference(const char *endpoint, const char *soap_action, _tds__GetEndpointReference *tds__GetEndpointReference, _tds__GetEndpointReferenceResponse *tds__GetEndpointReferenceResponse){ struct soap *soap = this; struct __tds__GetEndpointReference soap_tmp___tds__GetEndpointReference; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetEndpointReference"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetEndpointReference.tds__GetEndpointReference = tds__GetEndpointReference; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference); 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) || soap_put___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference, "-tds:GetEndpointReference", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetEndpointReference(soap, &soap_tmp___tds__GetEndpointReference, "-tds:GetEndpointReference", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetEndpointReferenceResponse) return soap_closesock(soap); tds__GetEndpointReferenceResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetEndpointReferenceResponse->soap_get(soap, "tds:GetEndpointReferenceResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRemoteUser(const char *endpoint, const char *soap_action, _tds__GetRemoteUser *tds__GetRemoteUser, _tds__GetRemoteUserResponse *tds__GetRemoteUserResponse){ struct soap *soap = this; struct __tds__GetRemoteUser soap_tmp___tds__GetRemoteUser; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRemoteUser.tds__GetRemoteUser = tds__GetRemoteUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser); 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) || soap_put___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser, "-tds:GetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRemoteUser(soap, &soap_tmp___tds__GetRemoteUser, "-tds:GetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRemoteUserResponse) return soap_closesock(soap); tds__GetRemoteUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRemoteUserResponse->soap_get(soap, "tds:GetRemoteUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRemoteUser(const char *endpoint, const char *soap_action, _tds__SetRemoteUser *tds__SetRemoteUser, _tds__SetRemoteUserResponse *tds__SetRemoteUserResponse){ struct soap *soap = this; struct __tds__SetRemoteUser soap_tmp___tds__SetRemoteUser; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRemoteUser.tds__SetRemoteUser = tds__SetRemoteUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser); 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) || soap_put___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser, "-tds:SetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRemoteUser(soap, &soap_tmp___tds__SetRemoteUser, "-tds:SetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRemoteUserResponse) return soap_closesock(soap); tds__SetRemoteUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRemoteUserResponse->soap_get(soap, "tds:SetRemoteUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetUsers(const char *endpoint, const char *soap_action, _tds__GetUsers *tds__GetUsers, _tds__GetUsersResponse *tds__GetUsersResponse){ struct soap *soap = this; struct __tds__GetUsers soap_tmp___tds__GetUsers; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetUsers.tds__GetUsers = tds__GetUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetUsers(soap, &soap_tmp___tds__GetUsers); 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) || soap_put___tds__GetUsers(soap, &soap_tmp___tds__GetUsers, "-tds:GetUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetUsers(soap, &soap_tmp___tds__GetUsers, "-tds:GetUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetUsersResponse) return soap_closesock(soap); tds__GetUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetUsersResponse->soap_get(soap, "tds:GetUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateUsers(const char *endpoint, const char *soap_action, _tds__CreateUsers *tds__CreateUsers, _tds__CreateUsersResponse *tds__CreateUsersResponse){ struct soap *soap = this; struct __tds__CreateUsers soap_tmp___tds__CreateUsers; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateUsers.tds__CreateUsers = tds__CreateUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers); 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) || soap_put___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers, "-tds:CreateUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateUsers(soap, &soap_tmp___tds__CreateUsers, "-tds:CreateUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateUsersResponse) return soap_closesock(soap); tds__CreateUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateUsersResponse->soap_get(soap, "tds:CreateUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteUsers(const char *endpoint, const char *soap_action, _tds__DeleteUsers *tds__DeleteUsers, _tds__DeleteUsersResponse *tds__DeleteUsersResponse){ struct soap *soap = this; struct __tds__DeleteUsers soap_tmp___tds__DeleteUsers; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteUsers.tds__DeleteUsers = tds__DeleteUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers); 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) || soap_put___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers, "-tds:DeleteUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteUsers(soap, &soap_tmp___tds__DeleteUsers, "-tds:DeleteUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteUsersResponse) return soap_closesock(soap); tds__DeleteUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteUsersResponse->soap_get(soap, "tds:DeleteUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetUser(const char *endpoint, const char *soap_action, _tds__SetUser *tds__SetUser, _tds__SetUserResponse *tds__SetUserResponse){ struct soap *soap = this; struct __tds__SetUser soap_tmp___tds__SetUser; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetUser.tds__SetUser = tds__SetUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetUser(soap, &soap_tmp___tds__SetUser); 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) || soap_put___tds__SetUser(soap, &soap_tmp___tds__SetUser, "-tds:SetUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetUser(soap, &soap_tmp___tds__SetUser, "-tds:SetUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetUserResponse) return soap_closesock(soap); tds__SetUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetUserResponse->soap_get(soap, "tds:SetUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetWsdlUrl(const char *endpoint, const char *soap_action, _tds__GetWsdlUrl *tds__GetWsdlUrl, _tds__GetWsdlUrlResponse *tds__GetWsdlUrlResponse){ struct soap *soap = this; struct __tds__GetWsdlUrl soap_tmp___tds__GetWsdlUrl; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetWsdlUrl"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetWsdlUrl.tds__GetWsdlUrl = tds__GetWsdlUrl; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl); 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) || soap_put___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl, "-tds:GetWsdlUrl", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetWsdlUrl(soap, &soap_tmp___tds__GetWsdlUrl, "-tds:GetWsdlUrl", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetWsdlUrlResponse) return soap_closesock(soap); tds__GetWsdlUrlResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetWsdlUrlResponse->soap_get(soap, "tds:GetWsdlUrlResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCapabilities(const char *endpoint, const char *soap_action, _tds__GetCapabilities *tds__GetCapabilities, _tds__GetCapabilitiesResponse *tds__GetCapabilitiesResponse){ struct soap *soap = this; struct __tds__GetCapabilities soap_tmp___tds__GetCapabilities; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCapabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCapabilities.tds__GetCapabilities = tds__GetCapabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities); 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) || soap_put___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities, "-tds:GetCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCapabilities(soap, &soap_tmp___tds__GetCapabilities, "-tds:GetCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCapabilitiesResponse) return soap_closesock(soap); tds__GetCapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCapabilitiesResponse->soap_get(soap, "tds:GetCapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDPAddresses(const char *endpoint, const char *soap_action, _tds__SetDPAddresses *tds__SetDPAddresses, _tds__SetDPAddressesResponse *tds__SetDPAddressesResponse){ struct soap *soap = this; struct __tds__SetDPAddresses soap_tmp___tds__SetDPAddresses; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDPAddresses"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDPAddresses.tds__SetDPAddresses = tds__SetDPAddresses; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses); 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) || soap_put___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses, "-tds:SetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDPAddresses(soap, &soap_tmp___tds__SetDPAddresses, "-tds:SetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDPAddressesResponse) return soap_closesock(soap); tds__SetDPAddressesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDPAddressesResponse->soap_get(soap, "tds:SetDPAddressesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetHostname(const char *endpoint, const char *soap_action, _tds__GetHostname *tds__GetHostname, _tds__GetHostnameResponse *tds__GetHostnameResponse){ struct soap *soap = this; struct __tds__GetHostname soap_tmp___tds__GetHostname; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetHostname"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetHostname.tds__GetHostname = tds__GetHostname; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetHostname(soap, &soap_tmp___tds__GetHostname); 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) || soap_put___tds__GetHostname(soap, &soap_tmp___tds__GetHostname, "-tds:GetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetHostname(soap, &soap_tmp___tds__GetHostname, "-tds:GetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetHostnameResponse) return soap_closesock(soap); tds__GetHostnameResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetHostnameResponse->soap_get(soap, "tds:GetHostnameResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetHostname(const char *endpoint, const char *soap_action, _tds__SetHostname *tds__SetHostname, _tds__SetHostnameResponse *tds__SetHostnameResponse){ struct soap *soap = this; struct __tds__SetHostname soap_tmp___tds__SetHostname; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetHostname"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetHostname.tds__SetHostname = tds__SetHostname; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetHostname(soap, &soap_tmp___tds__SetHostname); 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) || soap_put___tds__SetHostname(soap, &soap_tmp___tds__SetHostname, "-tds:SetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetHostname(soap, &soap_tmp___tds__SetHostname, "-tds:SetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetHostnameResponse) return soap_closesock(soap); tds__SetHostnameResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetHostnameResponse->soap_get(soap, "tds:SetHostnameResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetHostnameFromDHCP(const char *endpoint, const char *soap_action, _tds__SetHostnameFromDHCP *tds__SetHostnameFromDHCP, _tds__SetHostnameFromDHCPResponse *tds__SetHostnameFromDHCPResponse){ struct soap *soap = this; struct __tds__SetHostnameFromDHCP soap_tmp___tds__SetHostnameFromDHCP; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetHostnameFromDHCP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetHostnameFromDHCP.tds__SetHostnameFromDHCP = tds__SetHostnameFromDHCP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP); 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) || soap_put___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP, "-tds:SetHostnameFromDHCP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetHostnameFromDHCP(soap, &soap_tmp___tds__SetHostnameFromDHCP, "-tds:SetHostnameFromDHCP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetHostnameFromDHCPResponse) return soap_closesock(soap); tds__SetHostnameFromDHCPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetHostnameFromDHCPResponse->soap_get(soap, "tds:SetHostnameFromDHCPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDNS(const char *endpoint, const char *soap_action, _tds__GetDNS *tds__GetDNS, _tds__GetDNSResponse *tds__GetDNSResponse){ struct soap *soap = this; struct __tds__GetDNS soap_tmp___tds__GetDNS; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDNS.tds__GetDNS = tds__GetDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDNS(soap, &soap_tmp___tds__GetDNS); 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) || soap_put___tds__GetDNS(soap, &soap_tmp___tds__GetDNS, "-tds:GetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDNS(soap, &soap_tmp___tds__GetDNS, "-tds:GetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDNSResponse) return soap_closesock(soap); tds__GetDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDNSResponse->soap_get(soap, "tds:GetDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDNS(const char *endpoint, const char *soap_action, _tds__SetDNS *tds__SetDNS, _tds__SetDNSResponse *tds__SetDNSResponse){ struct soap *soap = this; struct __tds__SetDNS soap_tmp___tds__SetDNS; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDNS.tds__SetDNS = tds__SetDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDNS(soap, &soap_tmp___tds__SetDNS); 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) || soap_put___tds__SetDNS(soap, &soap_tmp___tds__SetDNS, "-tds:SetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDNS(soap, &soap_tmp___tds__SetDNS, "-tds:SetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDNSResponse) return soap_closesock(soap); tds__SetDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDNSResponse->soap_get(soap, "tds:SetDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNTP(const char *endpoint, const char *soap_action, _tds__GetNTP *tds__GetNTP, _tds__GetNTPResponse *tds__GetNTPResponse){ struct soap *soap = this; struct __tds__GetNTP soap_tmp___tds__GetNTP; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNTP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNTP.tds__GetNTP = tds__GetNTP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNTP(soap, &soap_tmp___tds__GetNTP); 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) || soap_put___tds__GetNTP(soap, &soap_tmp___tds__GetNTP, "-tds:GetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNTP(soap, &soap_tmp___tds__GetNTP, "-tds:GetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNTPResponse) return soap_closesock(soap); tds__GetNTPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNTPResponse->soap_get(soap, "tds:GetNTPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNTP(const char *endpoint, const char *soap_action, _tds__SetNTP *tds__SetNTP, _tds__SetNTPResponse *tds__SetNTPResponse){ struct soap *soap = this; struct __tds__SetNTP soap_tmp___tds__SetNTP; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNTP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNTP.tds__SetNTP = tds__SetNTP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNTP(soap, &soap_tmp___tds__SetNTP); 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) || soap_put___tds__SetNTP(soap, &soap_tmp___tds__SetNTP, "-tds:SetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNTP(soap, &soap_tmp___tds__SetNTP, "-tds:SetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNTPResponse) return soap_closesock(soap); tds__SetNTPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNTPResponse->soap_get(soap, "tds:SetNTPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDynamicDNS(const char *endpoint, const char *soap_action, _tds__GetDynamicDNS *tds__GetDynamicDNS, _tds__GetDynamicDNSResponse *tds__GetDynamicDNSResponse){ struct soap *soap = this; struct __tds__GetDynamicDNS soap_tmp___tds__GetDynamicDNS; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDynamicDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDynamicDNS.tds__GetDynamicDNS = tds__GetDynamicDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS); 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) || soap_put___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS, "-tds:GetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDynamicDNS(soap, &soap_tmp___tds__GetDynamicDNS, "-tds:GetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDynamicDNSResponse) return soap_closesock(soap); tds__GetDynamicDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDynamicDNSResponse->soap_get(soap, "tds:GetDynamicDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDynamicDNS(const char *endpoint, const char *soap_action, _tds__SetDynamicDNS *tds__SetDynamicDNS, _tds__SetDynamicDNSResponse *tds__SetDynamicDNSResponse){ struct soap *soap = this; struct __tds__SetDynamicDNS soap_tmp___tds__SetDynamicDNS; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDynamicDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDynamicDNS.tds__SetDynamicDNS = tds__SetDynamicDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS); 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) || soap_put___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS, "-tds:SetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDynamicDNS(soap, &soap_tmp___tds__SetDynamicDNS, "-tds:SetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDynamicDNSResponse) return soap_closesock(soap); tds__SetDynamicDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDynamicDNSResponse->soap_get(soap, "tds:SetDynamicDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkInterfaces(const char *endpoint, const char *soap_action, _tds__GetNetworkInterfaces *tds__GetNetworkInterfaces, _tds__GetNetworkInterfacesResponse *tds__GetNetworkInterfacesResponse){ struct soap *soap = this; struct __tds__GetNetworkInterfaces soap_tmp___tds__GetNetworkInterfaces; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkInterfaces"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkInterfaces.tds__GetNetworkInterfaces = tds__GetNetworkInterfaces; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces); 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) || soap_put___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces, "-tds:GetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkInterfaces(soap, &soap_tmp___tds__GetNetworkInterfaces, "-tds:GetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkInterfacesResponse) return soap_closesock(soap); tds__GetNetworkInterfacesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkInterfacesResponse->soap_get(soap, "tds:GetNetworkInterfacesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkInterfaces(const char *endpoint, const char *soap_action, _tds__SetNetworkInterfaces *tds__SetNetworkInterfaces, _tds__SetNetworkInterfacesResponse *tds__SetNetworkInterfacesResponse){ struct soap *soap = this; struct __tds__SetNetworkInterfaces soap_tmp___tds__SetNetworkInterfaces; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkInterfaces"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkInterfaces.tds__SetNetworkInterfaces = tds__SetNetworkInterfaces; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces); 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) || soap_put___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces, "-tds:SetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkInterfaces(soap, &soap_tmp___tds__SetNetworkInterfaces, "-tds:SetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkInterfacesResponse) return soap_closesock(soap); tds__SetNetworkInterfacesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkInterfacesResponse->soap_get(soap, "tds:SetNetworkInterfacesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkProtocols(const char *endpoint, const char *soap_action, _tds__GetNetworkProtocols *tds__GetNetworkProtocols, _tds__GetNetworkProtocolsResponse *tds__GetNetworkProtocolsResponse){ struct soap *soap = this; struct __tds__GetNetworkProtocols soap_tmp___tds__GetNetworkProtocols; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkProtocols"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkProtocols.tds__GetNetworkProtocols = tds__GetNetworkProtocols; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols); 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) || soap_put___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols, "-tds:GetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkProtocols(soap, &soap_tmp___tds__GetNetworkProtocols, "-tds:GetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkProtocolsResponse) return soap_closesock(soap); tds__GetNetworkProtocolsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkProtocolsResponse->soap_get(soap, "tds:GetNetworkProtocolsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkProtocols(const char *endpoint, const char *soap_action, _tds__SetNetworkProtocols *tds__SetNetworkProtocols, _tds__SetNetworkProtocolsResponse *tds__SetNetworkProtocolsResponse){ struct soap *soap = this; struct __tds__SetNetworkProtocols soap_tmp___tds__SetNetworkProtocols; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkProtocols"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkProtocols.tds__SetNetworkProtocols = tds__SetNetworkProtocols; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols); 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) || soap_put___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols, "-tds:SetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkProtocols(soap, &soap_tmp___tds__SetNetworkProtocols, "-tds:SetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkProtocolsResponse) return soap_closesock(soap); tds__SetNetworkProtocolsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkProtocolsResponse->soap_get(soap, "tds:SetNetworkProtocolsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkDefaultGateway(const char *endpoint, const char *soap_action, _tds__GetNetworkDefaultGateway *tds__GetNetworkDefaultGateway, _tds__GetNetworkDefaultGatewayResponse *tds__GetNetworkDefaultGatewayResponse){ struct soap *soap = this; struct __tds__GetNetworkDefaultGateway soap_tmp___tds__GetNetworkDefaultGateway; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkDefaultGateway"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkDefaultGateway.tds__GetNetworkDefaultGateway = tds__GetNetworkDefaultGateway; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway); 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) || soap_put___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway, "-tds:GetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkDefaultGateway(soap, &soap_tmp___tds__GetNetworkDefaultGateway, "-tds:GetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkDefaultGatewayResponse) return soap_closesock(soap); tds__GetNetworkDefaultGatewayResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkDefaultGatewayResponse->soap_get(soap, "tds:GetNetworkDefaultGatewayResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkDefaultGateway(const char *endpoint, const char *soap_action, _tds__SetNetworkDefaultGateway *tds__SetNetworkDefaultGateway, _tds__SetNetworkDefaultGatewayResponse *tds__SetNetworkDefaultGatewayResponse){ struct soap *soap = this; struct __tds__SetNetworkDefaultGateway soap_tmp___tds__SetNetworkDefaultGateway; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkDefaultGateway"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkDefaultGateway.tds__SetNetworkDefaultGateway = tds__SetNetworkDefaultGateway; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway); 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) || soap_put___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway, "-tds:SetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkDefaultGateway(soap, &soap_tmp___tds__SetNetworkDefaultGateway, "-tds:SetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkDefaultGatewayResponse) return soap_closesock(soap); tds__SetNetworkDefaultGatewayResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkDefaultGatewayResponse->soap_get(soap, "tds:SetNetworkDefaultGatewayResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetZeroConfiguration(const char *endpoint, const char *soap_action, _tds__GetZeroConfiguration *tds__GetZeroConfiguration, _tds__GetZeroConfigurationResponse *tds__GetZeroConfigurationResponse){ struct soap *soap = this; struct __tds__GetZeroConfiguration soap_tmp___tds__GetZeroConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetZeroConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetZeroConfiguration.tds__GetZeroConfiguration = tds__GetZeroConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration); 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) || soap_put___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration, "-tds:GetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetZeroConfiguration(soap, &soap_tmp___tds__GetZeroConfiguration, "-tds:GetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetZeroConfigurationResponse) return soap_closesock(soap); tds__GetZeroConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetZeroConfigurationResponse->soap_get(soap, "tds:GetZeroConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetZeroConfiguration(const char *endpoint, const char *soap_action, _tds__SetZeroConfiguration *tds__SetZeroConfiguration, _tds__SetZeroConfigurationResponse *tds__SetZeroConfigurationResponse){ struct soap *soap = this; struct __tds__SetZeroConfiguration soap_tmp___tds__SetZeroConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetZeroConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetZeroConfiguration.tds__SetZeroConfiguration = tds__SetZeroConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration); 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) || soap_put___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration, "-tds:SetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetZeroConfiguration(soap, &soap_tmp___tds__SetZeroConfiguration, "-tds:SetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetZeroConfigurationResponse) return soap_closesock(soap); tds__SetZeroConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetZeroConfigurationResponse->soap_get(soap, "tds:SetZeroConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetIPAddressFilter(const char *endpoint, const char *soap_action, _tds__GetIPAddressFilter *tds__GetIPAddressFilter, _tds__GetIPAddressFilterResponse *tds__GetIPAddressFilterResponse){ struct soap *soap = this; struct __tds__GetIPAddressFilter soap_tmp___tds__GetIPAddressFilter; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetIPAddressFilter.tds__GetIPAddressFilter = tds__GetIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter); 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) || soap_put___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter, "-tds:GetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetIPAddressFilter(soap, &soap_tmp___tds__GetIPAddressFilter, "-tds:GetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetIPAddressFilterResponse) return soap_closesock(soap); tds__GetIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetIPAddressFilterResponse->soap_get(soap, "tds:GetIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetIPAddressFilter(const char *endpoint, const char *soap_action, _tds__SetIPAddressFilter *tds__SetIPAddressFilter, _tds__SetIPAddressFilterResponse *tds__SetIPAddressFilterResponse){ struct soap *soap = this; struct __tds__SetIPAddressFilter soap_tmp___tds__SetIPAddressFilter; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetIPAddressFilter.tds__SetIPAddressFilter = tds__SetIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter); 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) || soap_put___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter, "-tds:SetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetIPAddressFilter(soap, &soap_tmp___tds__SetIPAddressFilter, "-tds:SetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetIPAddressFilterResponse) return soap_closesock(soap); tds__SetIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetIPAddressFilterResponse->soap_get(soap, "tds:SetIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::AddIPAddressFilter(const char *endpoint, const char *soap_action, _tds__AddIPAddressFilter *tds__AddIPAddressFilter, _tds__AddIPAddressFilterResponse *tds__AddIPAddressFilterResponse){ struct soap *soap = this; struct __tds__AddIPAddressFilter soap_tmp___tds__AddIPAddressFilter; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/AddIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__AddIPAddressFilter.tds__AddIPAddressFilter = tds__AddIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter); 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) || soap_put___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter, "-tds:AddIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__AddIPAddressFilter(soap, &soap_tmp___tds__AddIPAddressFilter, "-tds:AddIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__AddIPAddressFilterResponse) return soap_closesock(soap); tds__AddIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__AddIPAddressFilterResponse->soap_get(soap, "tds:AddIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RemoveIPAddressFilter(const char *endpoint, const char *soap_action, _tds__RemoveIPAddressFilter *tds__RemoveIPAddressFilter, _tds__RemoveIPAddressFilterResponse *tds__RemoveIPAddressFilterResponse){ struct soap *soap = this; struct __tds__RemoveIPAddressFilter soap_tmp___tds__RemoveIPAddressFilter; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RemoveIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RemoveIPAddressFilter.tds__RemoveIPAddressFilter = tds__RemoveIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter); 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) || soap_put___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter, "-tds:RemoveIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RemoveIPAddressFilter(soap, &soap_tmp___tds__RemoveIPAddressFilter, "-tds:RemoveIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RemoveIPAddressFilterResponse) return soap_closesock(soap); tds__RemoveIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RemoveIPAddressFilterResponse->soap_get(soap, "tds:RemoveIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetAccessPolicy(const char *endpoint, const char *soap_action, _tds__GetAccessPolicy *tds__GetAccessPolicy, _tds__GetAccessPolicyResponse *tds__GetAccessPolicyResponse){ struct soap *soap = this; struct __tds__GetAccessPolicy soap_tmp___tds__GetAccessPolicy; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetAccessPolicy"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetAccessPolicy.tds__GetAccessPolicy = tds__GetAccessPolicy; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy); 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) || soap_put___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy, "-tds:GetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetAccessPolicy(soap, &soap_tmp___tds__GetAccessPolicy, "-tds:GetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetAccessPolicyResponse) return soap_closesock(soap); tds__GetAccessPolicyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetAccessPolicyResponse->soap_get(soap, "tds:GetAccessPolicyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetAccessPolicy(const char *endpoint, const char *soap_action, _tds__SetAccessPolicy *tds__SetAccessPolicy, _tds__SetAccessPolicyResponse *tds__SetAccessPolicyResponse){ struct soap *soap = this; struct __tds__SetAccessPolicy soap_tmp___tds__SetAccessPolicy; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetAccessPolicy"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetAccessPolicy.tds__SetAccessPolicy = tds__SetAccessPolicy; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy); 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) || soap_put___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy, "-tds:SetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetAccessPolicy(soap, &soap_tmp___tds__SetAccessPolicy, "-tds:SetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetAccessPolicyResponse) return soap_closesock(soap); tds__SetAccessPolicyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetAccessPolicyResponse->soap_get(soap, "tds:SetAccessPolicyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateCertificate(const char *endpoint, const char *soap_action, _tds__CreateCertificate *tds__CreateCertificate, _tds__CreateCertificateResponse *tds__CreateCertificateResponse){ struct soap *soap = this; struct __tds__CreateCertificate soap_tmp___tds__CreateCertificate; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateCertificate"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateCertificate.tds__CreateCertificate = tds__CreateCertificate; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate); 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) || soap_put___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate, "-tds:CreateCertificate", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateCertificate(soap, &soap_tmp___tds__CreateCertificate, "-tds:CreateCertificate", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateCertificateResponse) return soap_closesock(soap); tds__CreateCertificateResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateCertificateResponse->soap_get(soap, "tds:CreateCertificateResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificates(const char *endpoint, const char *soap_action, _tds__GetCertificates *tds__GetCertificates, _tds__GetCertificatesResponse *tds__GetCertificatesResponse){ struct soap *soap = this; struct __tds__GetCertificates soap_tmp___tds__GetCertificates; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificates.tds__GetCertificates = tds__GetCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates); 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) || soap_put___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates, "-tds:GetCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificates(soap, &soap_tmp___tds__GetCertificates, "-tds:GetCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificatesResponse) return soap_closesock(soap); tds__GetCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificatesResponse->soap_get(soap, "tds:GetCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificatesStatus(const char *endpoint, const char *soap_action, _tds__GetCertificatesStatus *tds__GetCertificatesStatus, _tds__GetCertificatesStatusResponse *tds__GetCertificatesStatusResponse){ struct soap *soap = this; struct __tds__GetCertificatesStatus soap_tmp___tds__GetCertificatesStatus; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificatesStatus"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificatesStatus.tds__GetCertificatesStatus = tds__GetCertificatesStatus; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus); 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) || soap_put___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus, "-tds:GetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificatesStatus(soap, &soap_tmp___tds__GetCertificatesStatus, "-tds:GetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificatesStatusResponse) return soap_closesock(soap); tds__GetCertificatesStatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificatesStatusResponse->soap_get(soap, "tds:GetCertificatesStatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetCertificatesStatus(const char *endpoint, const char *soap_action, _tds__SetCertificatesStatus *tds__SetCertificatesStatus, _tds__SetCertificatesStatusResponse *tds__SetCertificatesStatusResponse){ struct soap *soap = this; struct __tds__SetCertificatesStatus soap_tmp___tds__SetCertificatesStatus; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetCertificatesStatus"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetCertificatesStatus.tds__SetCertificatesStatus = tds__SetCertificatesStatus; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus); 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) || soap_put___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus, "-tds:SetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetCertificatesStatus(soap, &soap_tmp___tds__SetCertificatesStatus, "-tds:SetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetCertificatesStatusResponse) return soap_closesock(soap); tds__SetCertificatesStatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetCertificatesStatusResponse->soap_get(soap, "tds:SetCertificatesStatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteCertificates(const char *endpoint, const char *soap_action, _tds__DeleteCertificates *tds__DeleteCertificates, _tds__DeleteCertificatesResponse *tds__DeleteCertificatesResponse){ struct soap *soap = this; struct __tds__DeleteCertificates soap_tmp___tds__DeleteCertificates; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteCertificates.tds__DeleteCertificates = tds__DeleteCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates); 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) || soap_put___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates, "-tds:DeleteCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteCertificates(soap, &soap_tmp___tds__DeleteCertificates, "-tds:DeleteCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteCertificatesResponse) return soap_closesock(soap); tds__DeleteCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteCertificatesResponse->soap_get(soap, "tds:DeleteCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetPkcs10Request(const char *endpoint, const char *soap_action, _tds__GetPkcs10Request *tds__GetPkcs10Request, _tds__GetPkcs10RequestResponse *tds__GetPkcs10RequestResponse){ struct soap *soap = this; struct __tds__GetPkcs10Request soap_tmp___tds__GetPkcs10Request; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetPkcs10Request"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetPkcs10Request.tds__GetPkcs10Request = tds__GetPkcs10Request; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request); 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) || soap_put___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request, "-tds:GetPkcs10Request", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetPkcs10Request(soap, &soap_tmp___tds__GetPkcs10Request, "-tds:GetPkcs10Request", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetPkcs10RequestResponse) return soap_closesock(soap); tds__GetPkcs10RequestResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetPkcs10RequestResponse->soap_get(soap, "tds:GetPkcs10RequestResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCertificates(const char *endpoint, const char *soap_action, _tds__LoadCertificates *tds__LoadCertificates, _tds__LoadCertificatesResponse *tds__LoadCertificatesResponse){ struct soap *soap = this; struct __tds__LoadCertificates soap_tmp___tds__LoadCertificates; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCertificates.tds__LoadCertificates = tds__LoadCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates); 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) || soap_put___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates, "-tds:LoadCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCertificates(soap, &soap_tmp___tds__LoadCertificates, "-tds:LoadCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCertificatesResponse) return soap_closesock(soap); tds__LoadCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCertificatesResponse->soap_get(soap, "tds:LoadCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetClientCertificateMode(const char *endpoint, const char *soap_action, _tds__GetClientCertificateMode *tds__GetClientCertificateMode, _tds__GetClientCertificateModeResponse *tds__GetClientCertificateModeResponse){ struct soap *soap = this; struct __tds__GetClientCertificateMode soap_tmp___tds__GetClientCertificateMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetClientCertificateMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetClientCertificateMode.tds__GetClientCertificateMode = tds__GetClientCertificateMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode); 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) || soap_put___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode, "-tds:GetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetClientCertificateMode(soap, &soap_tmp___tds__GetClientCertificateMode, "-tds:GetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetClientCertificateModeResponse) return soap_closesock(soap); tds__GetClientCertificateModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetClientCertificateModeResponse->soap_get(soap, "tds:GetClientCertificateModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetClientCertificateMode(const char *endpoint, const char *soap_action, _tds__SetClientCertificateMode *tds__SetClientCertificateMode, _tds__SetClientCertificateModeResponse *tds__SetClientCertificateModeResponse){ struct soap *soap = this; struct __tds__SetClientCertificateMode soap_tmp___tds__SetClientCertificateMode; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetClientCertificateMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetClientCertificateMode.tds__SetClientCertificateMode = tds__SetClientCertificateMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode); 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) || soap_put___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode, "-tds:SetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetClientCertificateMode(soap, &soap_tmp___tds__SetClientCertificateMode, "-tds:SetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetClientCertificateModeResponse) return soap_closesock(soap); tds__SetClientCertificateModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetClientCertificateModeResponse->soap_get(soap, "tds:SetClientCertificateModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRelayOutputs(const char *endpoint, const char *soap_action, _tds__GetRelayOutputs *tds__GetRelayOutputs, _tds__GetRelayOutputsResponse *tds__GetRelayOutputsResponse){ struct soap *soap = this; struct __tds__GetRelayOutputs soap_tmp___tds__GetRelayOutputs; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRelayOutputs"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRelayOutputs.tds__GetRelayOutputs = tds__GetRelayOutputs; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs); 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) || soap_put___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs, "-tds:GetRelayOutputs", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRelayOutputs(soap, &soap_tmp___tds__GetRelayOutputs, "-tds:GetRelayOutputs", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRelayOutputsResponse) return soap_closesock(soap); tds__GetRelayOutputsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRelayOutputsResponse->soap_get(soap, "tds:GetRelayOutputsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRelayOutputSettings(const char *endpoint, const char *soap_action, _tds__SetRelayOutputSettings *tds__SetRelayOutputSettings, _tds__SetRelayOutputSettingsResponse *tds__SetRelayOutputSettingsResponse){ struct soap *soap = this; struct __tds__SetRelayOutputSettings soap_tmp___tds__SetRelayOutputSettings; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputSettings"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRelayOutputSettings.tds__SetRelayOutputSettings = tds__SetRelayOutputSettings; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings); 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) || soap_put___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings, "-tds:SetRelayOutputSettings", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRelayOutputSettings(soap, &soap_tmp___tds__SetRelayOutputSettings, "-tds:SetRelayOutputSettings", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRelayOutputSettingsResponse) return soap_closesock(soap); tds__SetRelayOutputSettingsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRelayOutputSettingsResponse->soap_get(soap, "tds:SetRelayOutputSettingsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRelayOutputState(const char *endpoint, const char *soap_action, _tds__SetRelayOutputState *tds__SetRelayOutputState, _tds__SetRelayOutputStateResponse *tds__SetRelayOutputStateResponse){ struct soap *soap = this; struct __tds__SetRelayOutputState soap_tmp___tds__SetRelayOutputState; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputState"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRelayOutputState.tds__SetRelayOutputState = tds__SetRelayOutputState; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState); 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) || soap_put___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState, "-tds:SetRelayOutputState", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRelayOutputState(soap, &soap_tmp___tds__SetRelayOutputState, "-tds:SetRelayOutputState", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRelayOutputStateResponse) return soap_closesock(soap); tds__SetRelayOutputStateResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRelayOutputStateResponse->soap_get(soap, "tds:SetRelayOutputStateResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SendAuxiliaryCommand(const char *endpoint, const char *soap_action, _tds__SendAuxiliaryCommand *tds__SendAuxiliaryCommand, _tds__SendAuxiliaryCommandResponse *tds__SendAuxiliaryCommandResponse){ struct soap *soap = this; struct __tds__SendAuxiliaryCommand soap_tmp___tds__SendAuxiliaryCommand; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SendAuxiliaryCommand"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SendAuxiliaryCommand.tds__SendAuxiliaryCommand = tds__SendAuxiliaryCommand; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand); 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) || soap_put___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand, "-tds:SendAuxiliaryCommand", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SendAuxiliaryCommand(soap, &soap_tmp___tds__SendAuxiliaryCommand, "-tds:SendAuxiliaryCommand", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SendAuxiliaryCommandResponse) return soap_closesock(soap); tds__SendAuxiliaryCommandResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SendAuxiliaryCommandResponse->soap_get(soap, "tds:SendAuxiliaryCommandResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCACertificates(const char *endpoint, const char *soap_action, _tds__GetCACertificates *tds__GetCACertificates, _tds__GetCACertificatesResponse *tds__GetCACertificatesResponse){ struct soap *soap = this; struct __tds__GetCACertificates soap_tmp___tds__GetCACertificates; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCACertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCACertificates.tds__GetCACertificates = tds__GetCACertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates); 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) || soap_put___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates, "-tds:GetCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCACertificates(soap, &soap_tmp___tds__GetCACertificates, "-tds:GetCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCACertificatesResponse) return soap_closesock(soap); tds__GetCACertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCACertificatesResponse->soap_get(soap, "tds:GetCACertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCertificateWithPrivateKey(const char *endpoint, const char *soap_action, _tds__LoadCertificateWithPrivateKey *tds__LoadCertificateWithPrivateKey, _tds__LoadCertificateWithPrivateKeyResponse *tds__LoadCertificateWithPrivateKeyResponse){ struct soap *soap = this; struct __tds__LoadCertificateWithPrivateKey soap_tmp___tds__LoadCertificateWithPrivateKey; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificateWithPrivateKey"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCertificateWithPrivateKey.tds__LoadCertificateWithPrivateKey = tds__LoadCertificateWithPrivateKey; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey); 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) || soap_put___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey, "-tds:LoadCertificateWithPrivateKey", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCertificateWithPrivateKey(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey, "-tds:LoadCertificateWithPrivateKey", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCertificateWithPrivateKeyResponse) return soap_closesock(soap); tds__LoadCertificateWithPrivateKeyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCertificateWithPrivateKeyResponse->soap_get(soap, "tds:LoadCertificateWithPrivateKeyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificateInformation(const char *endpoint, const char *soap_action, _tds__GetCertificateInformation *tds__GetCertificateInformation, _tds__GetCertificateInformationResponse *tds__GetCertificateInformationResponse){ struct soap *soap = this; struct __tds__GetCertificateInformation soap_tmp___tds__GetCertificateInformation; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificateInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificateInformation.tds__GetCertificateInformation = tds__GetCertificateInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation); 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) || soap_put___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation, "-tds:GetCertificateInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificateInformation(soap, &soap_tmp___tds__GetCertificateInformation, "-tds:GetCertificateInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificateInformationResponse) return soap_closesock(soap); tds__GetCertificateInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificateInformationResponse->soap_get(soap, "tds:GetCertificateInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCACertificates(const char *endpoint, const char *soap_action, _tds__LoadCACertificates *tds__LoadCACertificates, _tds__LoadCACertificatesResponse *tds__LoadCACertificatesResponse){ struct soap *soap = this; struct __tds__LoadCACertificates soap_tmp___tds__LoadCACertificates; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCACertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCACertificates.tds__LoadCACertificates = tds__LoadCACertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates); 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) || soap_put___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates, "-tds:LoadCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCACertificates(soap, &soap_tmp___tds__LoadCACertificates, "-tds:LoadCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCACertificatesResponse) return soap_closesock(soap); tds__LoadCACertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCACertificatesResponse->soap_get(soap, "tds:LoadCACertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateDot1XConfiguration(const char *endpoint, const char *soap_action, _tds__CreateDot1XConfiguration *tds__CreateDot1XConfiguration, _tds__CreateDot1XConfigurationResponse *tds__CreateDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__CreateDot1XConfiguration soap_tmp___tds__CreateDot1XConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateDot1XConfiguration.tds__CreateDot1XConfiguration = tds__CreateDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration); 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) || soap_put___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration, "-tds:CreateDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateDot1XConfiguration(soap, &soap_tmp___tds__CreateDot1XConfiguration, "-tds:CreateDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateDot1XConfigurationResponse) return soap_closesock(soap); tds__CreateDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateDot1XConfigurationResponse->soap_get(soap, "tds:CreateDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDot1XConfiguration(const char *endpoint, const char *soap_action, _tds__SetDot1XConfiguration *tds__SetDot1XConfiguration, _tds__SetDot1XConfigurationResponse *tds__SetDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__SetDot1XConfiguration soap_tmp___tds__SetDot1XConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDot1XConfiguration.tds__SetDot1XConfiguration = tds__SetDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration); 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) || soap_put___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration, "-tds:SetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDot1XConfiguration(soap, &soap_tmp___tds__SetDot1XConfiguration, "-tds:SetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDot1XConfigurationResponse) return soap_closesock(soap); tds__SetDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDot1XConfigurationResponse->soap_get(soap, "tds:SetDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot1XConfiguration(const char *endpoint, const char *soap_action, _tds__GetDot1XConfiguration *tds__GetDot1XConfiguration, _tds__GetDot1XConfigurationResponse *tds__GetDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__GetDot1XConfiguration soap_tmp___tds__GetDot1XConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot1XConfiguration.tds__GetDot1XConfiguration = tds__GetDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration); 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) || soap_put___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration, "-tds:GetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot1XConfiguration(soap, &soap_tmp___tds__GetDot1XConfiguration, "-tds:GetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot1XConfigurationResponse) return soap_closesock(soap); tds__GetDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot1XConfigurationResponse->soap_get(soap, "tds:GetDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot1XConfigurations(const char *endpoint, const char *soap_action, _tds__GetDot1XConfigurations *tds__GetDot1XConfigurations, _tds__GetDot1XConfigurationsResponse *tds__GetDot1XConfigurationsResponse){ struct soap *soap = this; struct __tds__GetDot1XConfigurations soap_tmp___tds__GetDot1XConfigurations; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfigurations"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot1XConfigurations.tds__GetDot1XConfigurations = tds__GetDot1XConfigurations; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations); 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) || soap_put___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations, "-tds:GetDot1XConfigurations", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot1XConfigurations(soap, &soap_tmp___tds__GetDot1XConfigurations, "-tds:GetDot1XConfigurations", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot1XConfigurationsResponse) return soap_closesock(soap); tds__GetDot1XConfigurationsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot1XConfigurationsResponse->soap_get(soap, "tds:GetDot1XConfigurationsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteDot1XConfiguration(const char *endpoint, const char *soap_action, _tds__DeleteDot1XConfiguration *tds__DeleteDot1XConfiguration, _tds__DeleteDot1XConfigurationResponse *tds__DeleteDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__DeleteDot1XConfiguration soap_tmp___tds__DeleteDot1XConfiguration; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteDot1XConfiguration.tds__DeleteDot1XConfiguration = tds__DeleteDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration); 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) || soap_put___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration, "-tds:DeleteDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteDot1XConfiguration(soap, &soap_tmp___tds__DeleteDot1XConfiguration, "-tds:DeleteDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteDot1XConfigurationResponse) return soap_closesock(soap); tds__DeleteDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteDot1XConfigurationResponse->soap_get(soap, "tds:DeleteDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot11Capabilities(const char *endpoint, const char *soap_action, _tds__GetDot11Capabilities *tds__GetDot11Capabilities, _tds__GetDot11CapabilitiesResponse *tds__GetDot11CapabilitiesResponse){ struct soap *soap = this; struct __tds__GetDot11Capabilities soap_tmp___tds__GetDot11Capabilities; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Capabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot11Capabilities.tds__GetDot11Capabilities = tds__GetDot11Capabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities); 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) || soap_put___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities, "-tds:GetDot11Capabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot11Capabilities(soap, &soap_tmp___tds__GetDot11Capabilities, "-tds:GetDot11Capabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot11CapabilitiesResponse) return soap_closesock(soap); tds__GetDot11CapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot11CapabilitiesResponse->soap_get(soap, "tds:GetDot11CapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot11Status(const char *endpoint, const char *soap_action, _tds__GetDot11Status *tds__GetDot11Status, _tds__GetDot11StatusResponse *tds__GetDot11StatusResponse){ struct soap *soap = this; struct __tds__GetDot11Status soap_tmp___tds__GetDot11Status; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Status"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot11Status.tds__GetDot11Status = tds__GetDot11Status; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status); 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) || soap_put___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status, "-tds:GetDot11Status", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot11Status(soap, &soap_tmp___tds__GetDot11Status, "-tds:GetDot11Status", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot11StatusResponse) return soap_closesock(soap); tds__GetDot11StatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot11StatusResponse->soap_get(soap, "tds:GetDot11StatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::ScanAvailableDot11Networks(const char *endpoint, const char *soap_action, _tds__ScanAvailableDot11Networks *tds__ScanAvailableDot11Networks, _tds__ScanAvailableDot11NetworksResponse *tds__ScanAvailableDot11NetworksResponse){ struct soap *soap = this; struct __tds__ScanAvailableDot11Networks soap_tmp___tds__ScanAvailableDot11Networks; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/ScanAvailableDot11Networks"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__ScanAvailableDot11Networks.tds__ScanAvailableDot11Networks = tds__ScanAvailableDot11Networks; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks); 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) || soap_put___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks, "-tds:ScanAvailableDot11Networks", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__ScanAvailableDot11Networks(soap, &soap_tmp___tds__ScanAvailableDot11Networks, "-tds:ScanAvailableDot11Networks", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__ScanAvailableDot11NetworksResponse) return soap_closesock(soap); tds__ScanAvailableDot11NetworksResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__ScanAvailableDot11NetworksResponse->soap_get(soap, "tds:ScanAvailableDot11NetworksResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemUris(const char *endpoint, const char *soap_action, _tds__GetSystemUris *tds__GetSystemUris, _tds__GetSystemUrisResponse *tds__GetSystemUrisResponse){ struct soap *soap = this; struct __tds__GetSystemUris soap_tmp___tds__GetSystemUris; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemUris"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemUris.tds__GetSystemUris = tds__GetSystemUris; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris); 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) || soap_put___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris, "-tds:GetSystemUris", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemUris(soap, &soap_tmp___tds__GetSystemUris, "-tds:GetSystemUris", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemUrisResponse) return soap_closesock(soap); tds__GetSystemUrisResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemUrisResponse->soap_get(soap, "tds:GetSystemUrisResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::StartFirmwareUpgrade(const char *endpoint, const char *soap_action, _tds__StartFirmwareUpgrade *tds__StartFirmwareUpgrade, _tds__StartFirmwareUpgradeResponse *tds__StartFirmwareUpgradeResponse){ struct soap *soap = this; struct __tds__StartFirmwareUpgrade soap_tmp___tds__StartFirmwareUpgrade; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/StartFirmwareUpgrade"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__StartFirmwareUpgrade.tds__StartFirmwareUpgrade = tds__StartFirmwareUpgrade; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade); 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) || soap_put___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade, "-tds:StartFirmwareUpgrade", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__StartFirmwareUpgrade(soap, &soap_tmp___tds__StartFirmwareUpgrade, "-tds:StartFirmwareUpgrade", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__StartFirmwareUpgradeResponse) return soap_closesock(soap); tds__StartFirmwareUpgradeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__StartFirmwareUpgradeResponse->soap_get(soap, "tds:StartFirmwareUpgradeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::StartSystemRestore(const char *endpoint, const char *soap_action, _tds__StartSystemRestore *tds__StartSystemRestore, _tds__StartSystemRestoreResponse *tds__StartSystemRestoreResponse){ struct soap *soap = this; struct __tds__StartSystemRestore soap_tmp___tds__StartSystemRestore; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/StartSystemRestore"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__StartSystemRestore.tds__StartSystemRestore = tds__StartSystemRestore; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore); 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) || soap_put___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore, "-tds:StartSystemRestore", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__StartSystemRestore(soap, &soap_tmp___tds__StartSystemRestore, "-tds:StartSystemRestore", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__StartSystemRestoreResponse) return soap_closesock(soap); tds__StartSystemRestoreResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__StartSystemRestoreResponse->soap_get(soap, "tds:StartSystemRestoreResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetServices_(const char *endpoint, const char *soap_action, _tds__GetServices *tds__GetServices, _tds__GetServicesResponse *tds__GetServicesResponse){ struct soap *soap = this; struct __tds__GetServices_ soap_tmp___tds__GetServices_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetServices"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetServices_.tds__GetServices = tds__GetServices; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetServices_(soap, &soap_tmp___tds__GetServices_); 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) || soap_put___tds__GetServices_(soap, &soap_tmp___tds__GetServices_, "-tds:GetServices", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetServices_(soap, &soap_tmp___tds__GetServices_, "-tds:GetServices", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetServicesResponse) return soap_closesock(soap); tds__GetServicesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetServicesResponse->soap_get(soap, "tds:GetServicesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetServiceCapabilities_(const char *endpoint, const char *soap_action, _tds__GetServiceCapabilities *tds__GetServiceCapabilities, _tds__GetServiceCapabilitiesResponse *tds__GetServiceCapabilitiesResponse){ struct soap *soap = this; struct __tds__GetServiceCapabilities_ soap_tmp___tds__GetServiceCapabilities_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetServiceCapabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetServiceCapabilities_.tds__GetServiceCapabilities = tds__GetServiceCapabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetServiceCapabilities_(soap, &soap_tmp___tds__GetServiceCapabilities_); 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) || soap_put___tds__GetServiceCapabilities_(soap, &soap_tmp___tds__GetServiceCapabilities_, "-tds:GetServiceCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetServiceCapabilities_(soap, &soap_tmp___tds__GetServiceCapabilities_, "-tds:GetServiceCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetServiceCapabilitiesResponse) return soap_closesock(soap); tds__GetServiceCapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetServiceCapabilitiesResponse->soap_get(soap, "tds:GetServiceCapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDeviceInformation_(const char *endpoint, const char *soap_action, _tds__GetDeviceInformation *tds__GetDeviceInformation, _tds__GetDeviceInformationResponse *tds__GetDeviceInformationResponse){ struct soap *soap = this; struct __tds__GetDeviceInformation_ soap_tmp___tds__GetDeviceInformation_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDeviceInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDeviceInformation_.tds__GetDeviceInformation = tds__GetDeviceInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDeviceInformation_(soap, &soap_tmp___tds__GetDeviceInformation_); 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) || soap_put___tds__GetDeviceInformation_(soap, &soap_tmp___tds__GetDeviceInformation_, "-tds:GetDeviceInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDeviceInformation_(soap, &soap_tmp___tds__GetDeviceInformation_, "-tds:GetDeviceInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDeviceInformationResponse) return soap_closesock(soap); tds__GetDeviceInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDeviceInformationResponse->soap_get(soap, "tds:GetDeviceInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetSystemDateAndTime_(const char *endpoint, const char *soap_action, _tds__SetSystemDateAndTime *tds__SetSystemDateAndTime, _tds__SetSystemDateAndTimeResponse *tds__SetSystemDateAndTimeResponse){ struct soap *soap = this; struct __tds__SetSystemDateAndTime_ soap_tmp___tds__SetSystemDateAndTime_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetSystemDateAndTime"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetSystemDateAndTime_.tds__SetSystemDateAndTime = tds__SetSystemDateAndTime; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetSystemDateAndTime_(soap, &soap_tmp___tds__SetSystemDateAndTime_); 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) || soap_put___tds__SetSystemDateAndTime_(soap, &soap_tmp___tds__SetSystemDateAndTime_, "-tds:SetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetSystemDateAndTime_(soap, &soap_tmp___tds__SetSystemDateAndTime_, "-tds:SetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetSystemDateAndTimeResponse) return soap_closesock(soap); tds__SetSystemDateAndTimeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetSystemDateAndTimeResponse->soap_get(soap, "tds:SetSystemDateAndTimeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemDateAndTime_(const char *endpoint, const char *soap_action, _tds__GetSystemDateAndTime *tds__GetSystemDateAndTime, _tds__GetSystemDateAndTimeResponse *tds__GetSystemDateAndTimeResponse){ struct soap *soap = this; struct __tds__GetSystemDateAndTime_ soap_tmp___tds__GetSystemDateAndTime_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemDateAndTime_.tds__GetSystemDateAndTime = tds__GetSystemDateAndTime; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemDateAndTime_(soap, &soap_tmp___tds__GetSystemDateAndTime_); 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) || soap_put___tds__GetSystemDateAndTime_(soap, &soap_tmp___tds__GetSystemDateAndTime_, "-tds:GetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemDateAndTime_(soap, &soap_tmp___tds__GetSystemDateAndTime_, "-tds:GetSystemDateAndTime", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemDateAndTimeResponse) return soap_closesock(soap); tds__GetSystemDateAndTimeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemDateAndTimeResponse->soap_get(soap, "tds:GetSystemDateAndTimeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetSystemFactoryDefault_(const char *endpoint, const char *soap_action, _tds__SetSystemFactoryDefault *tds__SetSystemFactoryDefault, _tds__SetSystemFactoryDefaultResponse *tds__SetSystemFactoryDefaultResponse){ struct soap *soap = this; struct __tds__SetSystemFactoryDefault_ soap_tmp___tds__SetSystemFactoryDefault_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetSystemFactoryDefault"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetSystemFactoryDefault_.tds__SetSystemFactoryDefault = tds__SetSystemFactoryDefault; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetSystemFactoryDefault_(soap, &soap_tmp___tds__SetSystemFactoryDefault_); 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) || soap_put___tds__SetSystemFactoryDefault_(soap, &soap_tmp___tds__SetSystemFactoryDefault_, "-tds:SetSystemFactoryDefault", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetSystemFactoryDefault_(soap, &soap_tmp___tds__SetSystemFactoryDefault_, "-tds:SetSystemFactoryDefault", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetSystemFactoryDefaultResponse) return soap_closesock(soap); tds__SetSystemFactoryDefaultResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetSystemFactoryDefaultResponse->soap_get(soap, "tds:SetSystemFactoryDefaultResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::UpgradeSystemFirmware_(const char *endpoint, const char *soap_action, _tds__UpgradeSystemFirmware *tds__UpgradeSystemFirmware, _tds__UpgradeSystemFirmwareResponse *tds__UpgradeSystemFirmwareResponse){ struct soap *soap = this; struct __tds__UpgradeSystemFirmware_ soap_tmp___tds__UpgradeSystemFirmware_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/UpgradeSystemFirmware"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__UpgradeSystemFirmware_.tds__UpgradeSystemFirmware = tds__UpgradeSystemFirmware; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__UpgradeSystemFirmware_(soap, &soap_tmp___tds__UpgradeSystemFirmware_); 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) || soap_put___tds__UpgradeSystemFirmware_(soap, &soap_tmp___tds__UpgradeSystemFirmware_, "-tds:UpgradeSystemFirmware", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__UpgradeSystemFirmware_(soap, &soap_tmp___tds__UpgradeSystemFirmware_, "-tds:UpgradeSystemFirmware", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__UpgradeSystemFirmwareResponse) return soap_closesock(soap); tds__UpgradeSystemFirmwareResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__UpgradeSystemFirmwareResponse->soap_get(soap, "tds:UpgradeSystemFirmwareResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SystemReboot_(const char *endpoint, const char *soap_action, _tds__SystemReboot *tds__SystemReboot, _tds__SystemRebootResponse *tds__SystemRebootResponse){ struct soap *soap = this; struct __tds__SystemReboot_ soap_tmp___tds__SystemReboot_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SystemReboot"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SystemReboot_.tds__SystemReboot = tds__SystemReboot; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SystemReboot_(soap, &soap_tmp___tds__SystemReboot_); 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) || soap_put___tds__SystemReboot_(soap, &soap_tmp___tds__SystemReboot_, "-tds:SystemReboot", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SystemReboot_(soap, &soap_tmp___tds__SystemReboot_, "-tds:SystemReboot", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SystemRebootResponse) return soap_closesock(soap); tds__SystemRebootResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SystemRebootResponse->soap_get(soap, "tds:SystemRebootResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RestoreSystem_(const char *endpoint, const char *soap_action, _tds__RestoreSystem *tds__RestoreSystem, _tds__RestoreSystemResponse *tds__RestoreSystemResponse){ struct soap *soap = this; struct __tds__RestoreSystem_ soap_tmp___tds__RestoreSystem_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RestoreSystem"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RestoreSystem_.tds__RestoreSystem = tds__RestoreSystem; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RestoreSystem_(soap, &soap_tmp___tds__RestoreSystem_); 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) || soap_put___tds__RestoreSystem_(soap, &soap_tmp___tds__RestoreSystem_, "-tds:RestoreSystem", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RestoreSystem_(soap, &soap_tmp___tds__RestoreSystem_, "-tds:RestoreSystem", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RestoreSystemResponse) return soap_closesock(soap); tds__RestoreSystemResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RestoreSystemResponse->soap_get(soap, "tds:RestoreSystemResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemBackup_(const char *endpoint, const char *soap_action, _tds__GetSystemBackup *tds__GetSystemBackup, _tds__GetSystemBackupResponse *tds__GetSystemBackupResponse){ struct soap *soap = this; struct __tds__GetSystemBackup_ soap_tmp___tds__GetSystemBackup_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemBackup"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemBackup_.tds__GetSystemBackup = tds__GetSystemBackup; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemBackup_(soap, &soap_tmp___tds__GetSystemBackup_); 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) || soap_put___tds__GetSystemBackup_(soap, &soap_tmp___tds__GetSystemBackup_, "-tds:GetSystemBackup", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemBackup_(soap, &soap_tmp___tds__GetSystemBackup_, "-tds:GetSystemBackup", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemBackupResponse) return soap_closesock(soap); tds__GetSystemBackupResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemBackupResponse->soap_get(soap, "tds:GetSystemBackupResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemLog_(const char *endpoint, const char *soap_action, _tds__GetSystemLog *tds__GetSystemLog, _tds__GetSystemLogResponse *tds__GetSystemLogResponse){ struct soap *soap = this; struct __tds__GetSystemLog_ soap_tmp___tds__GetSystemLog_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemLog"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemLog_.tds__GetSystemLog = tds__GetSystemLog; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemLog_(soap, &soap_tmp___tds__GetSystemLog_); 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) || soap_put___tds__GetSystemLog_(soap, &soap_tmp___tds__GetSystemLog_, "-tds:GetSystemLog", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemLog_(soap, &soap_tmp___tds__GetSystemLog_, "-tds:GetSystemLog", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemLogResponse) return soap_closesock(soap); tds__GetSystemLogResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemLogResponse->soap_get(soap, "tds:GetSystemLogResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemSupportInformation_(const char *endpoint, const char *soap_action, _tds__GetSystemSupportInformation *tds__GetSystemSupportInformation, _tds__GetSystemSupportInformationResponse *tds__GetSystemSupportInformationResponse){ struct soap *soap = this; struct __tds__GetSystemSupportInformation_ soap_tmp___tds__GetSystemSupportInformation_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemSupportInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemSupportInformation_.tds__GetSystemSupportInformation = tds__GetSystemSupportInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemSupportInformation_(soap, &soap_tmp___tds__GetSystemSupportInformation_); 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) || soap_put___tds__GetSystemSupportInformation_(soap, &soap_tmp___tds__GetSystemSupportInformation_, "-tds:GetSystemSupportInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemSupportInformation_(soap, &soap_tmp___tds__GetSystemSupportInformation_, "-tds:GetSystemSupportInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemSupportInformationResponse) return soap_closesock(soap); tds__GetSystemSupportInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemSupportInformationResponse->soap_get(soap, "tds:GetSystemSupportInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetScopes_(const char *endpoint, const char *soap_action, _tds__GetScopes *tds__GetScopes, _tds__GetScopesResponse *tds__GetScopesResponse){ struct soap *soap = this; struct __tds__GetScopes_ soap_tmp___tds__GetScopes_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetScopes_.tds__GetScopes = tds__GetScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetScopes_(soap, &soap_tmp___tds__GetScopes_); 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) || soap_put___tds__GetScopes_(soap, &soap_tmp___tds__GetScopes_, "-tds:GetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetScopes_(soap, &soap_tmp___tds__GetScopes_, "-tds:GetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetScopesResponse) return soap_closesock(soap); tds__GetScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetScopesResponse->soap_get(soap, "tds:GetScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetScopes_(const char *endpoint, const char *soap_action, _tds__SetScopes *tds__SetScopes, _tds__SetScopesResponse *tds__SetScopesResponse){ struct soap *soap = this; struct __tds__SetScopes_ soap_tmp___tds__SetScopes_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetScopes_.tds__SetScopes = tds__SetScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetScopes_(soap, &soap_tmp___tds__SetScopes_); 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) || soap_put___tds__SetScopes_(soap, &soap_tmp___tds__SetScopes_, "-tds:SetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetScopes_(soap, &soap_tmp___tds__SetScopes_, "-tds:SetScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetScopesResponse) return soap_closesock(soap); tds__SetScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetScopesResponse->soap_get(soap, "tds:SetScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::AddScopes_(const char *endpoint, const char *soap_action, _tds__AddScopes *tds__AddScopes, _tds__AddScopesResponse *tds__AddScopesResponse){ struct soap *soap = this; struct __tds__AddScopes_ soap_tmp___tds__AddScopes_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/AddScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__AddScopes_.tds__AddScopes = tds__AddScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__AddScopes_(soap, &soap_tmp___tds__AddScopes_); 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) || soap_put___tds__AddScopes_(soap, &soap_tmp___tds__AddScopes_, "-tds:AddScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__AddScopes_(soap, &soap_tmp___tds__AddScopes_, "-tds:AddScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__AddScopesResponse) return soap_closesock(soap); tds__AddScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__AddScopesResponse->soap_get(soap, "tds:AddScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RemoveScopes_(const char *endpoint, const char *soap_action, _tds__RemoveScopes *tds__RemoveScopes, _tds__RemoveScopesResponse *tds__RemoveScopesResponse){ struct soap *soap = this; struct __tds__RemoveScopes_ soap_tmp___tds__RemoveScopes_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RemoveScopes"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RemoveScopes_.tds__RemoveScopes = tds__RemoveScopes; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RemoveScopes_(soap, &soap_tmp___tds__RemoveScopes_); 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) || soap_put___tds__RemoveScopes_(soap, &soap_tmp___tds__RemoveScopes_, "-tds:RemoveScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RemoveScopes_(soap, &soap_tmp___tds__RemoveScopes_, "-tds:RemoveScopes", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RemoveScopesResponse) return soap_closesock(soap); tds__RemoveScopesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RemoveScopesResponse->soap_get(soap, "tds:RemoveScopesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDiscoveryMode_(const char *endpoint, const char *soap_action, _tds__GetDiscoveryMode *tds__GetDiscoveryMode, _tds__GetDiscoveryModeResponse *tds__GetDiscoveryModeResponse){ struct soap *soap = this; struct __tds__GetDiscoveryMode_ soap_tmp___tds__GetDiscoveryMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDiscoveryMode_.tds__GetDiscoveryMode = tds__GetDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDiscoveryMode_(soap, &soap_tmp___tds__GetDiscoveryMode_); 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) || soap_put___tds__GetDiscoveryMode_(soap, &soap_tmp___tds__GetDiscoveryMode_, "-tds:GetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDiscoveryMode_(soap, &soap_tmp___tds__GetDiscoveryMode_, "-tds:GetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDiscoveryModeResponse) return soap_closesock(soap); tds__GetDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDiscoveryModeResponse->soap_get(soap, "tds:GetDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDiscoveryMode_(const char *endpoint, const char *soap_action, _tds__SetDiscoveryMode *tds__SetDiscoveryMode, _tds__SetDiscoveryModeResponse *tds__SetDiscoveryModeResponse){ struct soap *soap = this; struct __tds__SetDiscoveryMode_ soap_tmp___tds__SetDiscoveryMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDiscoveryMode_.tds__SetDiscoveryMode = tds__SetDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDiscoveryMode_(soap, &soap_tmp___tds__SetDiscoveryMode_); 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) || soap_put___tds__SetDiscoveryMode_(soap, &soap_tmp___tds__SetDiscoveryMode_, "-tds:SetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDiscoveryMode_(soap, &soap_tmp___tds__SetDiscoveryMode_, "-tds:SetDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDiscoveryModeResponse) return soap_closesock(soap); tds__SetDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDiscoveryModeResponse->soap_get(soap, "tds:SetDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRemoteDiscoveryMode_(const char *endpoint, const char *soap_action, _tds__GetRemoteDiscoveryMode *tds__GetRemoteDiscoveryMode, _tds__GetRemoteDiscoveryModeResponse *tds__GetRemoteDiscoveryModeResponse){ struct soap *soap = this; struct __tds__GetRemoteDiscoveryMode_ soap_tmp___tds__GetRemoteDiscoveryMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRemoteDiscoveryMode_.tds__GetRemoteDiscoveryMode = tds__GetRemoteDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRemoteDiscoveryMode_(soap, &soap_tmp___tds__GetRemoteDiscoveryMode_); 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) || soap_put___tds__GetRemoteDiscoveryMode_(soap, &soap_tmp___tds__GetRemoteDiscoveryMode_, "-tds:GetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRemoteDiscoveryMode_(soap, &soap_tmp___tds__GetRemoteDiscoveryMode_, "-tds:GetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRemoteDiscoveryModeResponse) return soap_closesock(soap); tds__GetRemoteDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRemoteDiscoveryModeResponse->soap_get(soap, "tds:GetRemoteDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRemoteDiscoveryMode_(const char *endpoint, const char *soap_action, _tds__SetRemoteDiscoveryMode *tds__SetRemoteDiscoveryMode, _tds__SetRemoteDiscoveryModeResponse *tds__SetRemoteDiscoveryModeResponse){ struct soap *soap = this; struct __tds__SetRemoteDiscoveryMode_ soap_tmp___tds__SetRemoteDiscoveryMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteDiscoveryMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRemoteDiscoveryMode_.tds__SetRemoteDiscoveryMode = tds__SetRemoteDiscoveryMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRemoteDiscoveryMode_(soap, &soap_tmp___tds__SetRemoteDiscoveryMode_); 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) || soap_put___tds__SetRemoteDiscoveryMode_(soap, &soap_tmp___tds__SetRemoteDiscoveryMode_, "-tds:SetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRemoteDiscoveryMode_(soap, &soap_tmp___tds__SetRemoteDiscoveryMode_, "-tds:SetRemoteDiscoveryMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRemoteDiscoveryModeResponse) return soap_closesock(soap); tds__SetRemoteDiscoveryModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRemoteDiscoveryModeResponse->soap_get(soap, "tds:SetRemoteDiscoveryModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDPAddresses_(const char *endpoint, const char *soap_action, _tds__GetDPAddresses *tds__GetDPAddresses, _tds__GetDPAddressesResponse *tds__GetDPAddressesResponse){ struct soap *soap = this; struct __tds__GetDPAddresses_ soap_tmp___tds__GetDPAddresses_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDPAddresses"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDPAddresses_.tds__GetDPAddresses = tds__GetDPAddresses; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDPAddresses_(soap, &soap_tmp___tds__GetDPAddresses_); 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) || soap_put___tds__GetDPAddresses_(soap, &soap_tmp___tds__GetDPAddresses_, "-tds:GetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDPAddresses_(soap, &soap_tmp___tds__GetDPAddresses_, "-tds:GetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDPAddressesResponse) return soap_closesock(soap); tds__GetDPAddressesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDPAddressesResponse->soap_get(soap, "tds:GetDPAddressesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetEndpointReference_(const char *endpoint, const char *soap_action, _tds__GetEndpointReference *tds__GetEndpointReference, _tds__GetEndpointReferenceResponse *tds__GetEndpointReferenceResponse){ struct soap *soap = this; struct __tds__GetEndpointReference_ soap_tmp___tds__GetEndpointReference_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetEndpointReference"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetEndpointReference_.tds__GetEndpointReference = tds__GetEndpointReference; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetEndpointReference_(soap, &soap_tmp___tds__GetEndpointReference_); 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) || soap_put___tds__GetEndpointReference_(soap, &soap_tmp___tds__GetEndpointReference_, "-tds:GetEndpointReference", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetEndpointReference_(soap, &soap_tmp___tds__GetEndpointReference_, "-tds:GetEndpointReference", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetEndpointReferenceResponse) return soap_closesock(soap); tds__GetEndpointReferenceResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetEndpointReferenceResponse->soap_get(soap, "tds:GetEndpointReferenceResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRemoteUser_(const char *endpoint, const char *soap_action, _tds__GetRemoteUser *tds__GetRemoteUser, _tds__GetRemoteUserResponse *tds__GetRemoteUserResponse){ struct soap *soap = this; struct __tds__GetRemoteUser_ soap_tmp___tds__GetRemoteUser_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRemoteUser_.tds__GetRemoteUser = tds__GetRemoteUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRemoteUser_(soap, &soap_tmp___tds__GetRemoteUser_); 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) || soap_put___tds__GetRemoteUser_(soap, &soap_tmp___tds__GetRemoteUser_, "-tds:GetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRemoteUser_(soap, &soap_tmp___tds__GetRemoteUser_, "-tds:GetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRemoteUserResponse) return soap_closesock(soap); tds__GetRemoteUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRemoteUserResponse->soap_get(soap, "tds:GetRemoteUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRemoteUser_(const char *endpoint, const char *soap_action, _tds__SetRemoteUser *tds__SetRemoteUser, _tds__SetRemoteUserResponse *tds__SetRemoteUserResponse){ struct soap *soap = this; struct __tds__SetRemoteUser_ soap_tmp___tds__SetRemoteUser_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRemoteUser_.tds__SetRemoteUser = tds__SetRemoteUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRemoteUser_(soap, &soap_tmp___tds__SetRemoteUser_); 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) || soap_put___tds__SetRemoteUser_(soap, &soap_tmp___tds__SetRemoteUser_, "-tds:SetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRemoteUser_(soap, &soap_tmp___tds__SetRemoteUser_, "-tds:SetRemoteUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRemoteUserResponse) return soap_closesock(soap); tds__SetRemoteUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRemoteUserResponse->soap_get(soap, "tds:SetRemoteUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetUsers_(const char *endpoint, const char *soap_action, _tds__GetUsers *tds__GetUsers, _tds__GetUsersResponse *tds__GetUsersResponse){ struct soap *soap = this; struct __tds__GetUsers_ soap_tmp___tds__GetUsers_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetUsers_.tds__GetUsers = tds__GetUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetUsers_(soap, &soap_tmp___tds__GetUsers_); 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) || soap_put___tds__GetUsers_(soap, &soap_tmp___tds__GetUsers_, "-tds:GetUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetUsers_(soap, &soap_tmp___tds__GetUsers_, "-tds:GetUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetUsersResponse) return soap_closesock(soap); tds__GetUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetUsersResponse->soap_get(soap, "tds:GetUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateUsers_(const char *endpoint, const char *soap_action, _tds__CreateUsers *tds__CreateUsers, _tds__CreateUsersResponse *tds__CreateUsersResponse){ struct soap *soap = this; struct __tds__CreateUsers_ soap_tmp___tds__CreateUsers_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateUsers_.tds__CreateUsers = tds__CreateUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateUsers_(soap, &soap_tmp___tds__CreateUsers_); 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) || soap_put___tds__CreateUsers_(soap, &soap_tmp___tds__CreateUsers_, "-tds:CreateUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateUsers_(soap, &soap_tmp___tds__CreateUsers_, "-tds:CreateUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateUsersResponse) return soap_closesock(soap); tds__CreateUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateUsersResponse->soap_get(soap, "tds:CreateUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteUsers_(const char *endpoint, const char *soap_action, _tds__DeleteUsers *tds__DeleteUsers, _tds__DeleteUsersResponse *tds__DeleteUsersResponse){ struct soap *soap = this; struct __tds__DeleteUsers_ soap_tmp___tds__DeleteUsers_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteUsers"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteUsers_.tds__DeleteUsers = tds__DeleteUsers; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteUsers_(soap, &soap_tmp___tds__DeleteUsers_); 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) || soap_put___tds__DeleteUsers_(soap, &soap_tmp___tds__DeleteUsers_, "-tds:DeleteUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteUsers_(soap, &soap_tmp___tds__DeleteUsers_, "-tds:DeleteUsers", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteUsersResponse) return soap_closesock(soap); tds__DeleteUsersResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteUsersResponse->soap_get(soap, "tds:DeleteUsersResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetUser_(const char *endpoint, const char *soap_action, _tds__SetUser *tds__SetUser, _tds__SetUserResponse *tds__SetUserResponse){ struct soap *soap = this; struct __tds__SetUser_ soap_tmp___tds__SetUser_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetUser"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetUser_.tds__SetUser = tds__SetUser; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetUser_(soap, &soap_tmp___tds__SetUser_); 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) || soap_put___tds__SetUser_(soap, &soap_tmp___tds__SetUser_, "-tds:SetUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetUser_(soap, &soap_tmp___tds__SetUser_, "-tds:SetUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetUserResponse) return soap_closesock(soap); tds__SetUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetUserResponse->soap_get(soap, "tds:SetUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetWsdlUrl_(const char *endpoint, const char *soap_action, _tds__GetWsdlUrl *tds__GetWsdlUrl, _tds__GetWsdlUrlResponse *tds__GetWsdlUrlResponse){ struct soap *soap = this; struct __tds__GetWsdlUrl_ soap_tmp___tds__GetWsdlUrl_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetWsdlUrl"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetWsdlUrl_.tds__GetWsdlUrl = tds__GetWsdlUrl; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetWsdlUrl_(soap, &soap_tmp___tds__GetWsdlUrl_); 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) || soap_put___tds__GetWsdlUrl_(soap, &soap_tmp___tds__GetWsdlUrl_, "-tds:GetWsdlUrl", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetWsdlUrl_(soap, &soap_tmp___tds__GetWsdlUrl_, "-tds:GetWsdlUrl", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetWsdlUrlResponse) return soap_closesock(soap); tds__GetWsdlUrlResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetWsdlUrlResponse->soap_get(soap, "tds:GetWsdlUrlResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCapabilities_(const char *endpoint, const char *soap_action, _tds__GetCapabilities *tds__GetCapabilities, _tds__GetCapabilitiesResponse *tds__GetCapabilitiesResponse){ struct soap *soap = this; struct __tds__GetCapabilities_ soap_tmp___tds__GetCapabilities_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCapabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCapabilities_.tds__GetCapabilities = tds__GetCapabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCapabilities_(soap, &soap_tmp___tds__GetCapabilities_); 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) || soap_put___tds__GetCapabilities_(soap, &soap_tmp___tds__GetCapabilities_, "-tds:GetCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCapabilities_(soap, &soap_tmp___tds__GetCapabilities_, "-tds:GetCapabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCapabilitiesResponse) return soap_closesock(soap); tds__GetCapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCapabilitiesResponse->soap_get(soap, "tds:GetCapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDPAddresses_(const char *endpoint, const char *soap_action, _tds__SetDPAddresses *tds__SetDPAddresses, _tds__SetDPAddressesResponse *tds__SetDPAddressesResponse){ struct soap *soap = this; struct __tds__SetDPAddresses_ soap_tmp___tds__SetDPAddresses_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDPAddresses"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDPAddresses_.tds__SetDPAddresses = tds__SetDPAddresses; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDPAddresses_(soap, &soap_tmp___tds__SetDPAddresses_); 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) || soap_put___tds__SetDPAddresses_(soap, &soap_tmp___tds__SetDPAddresses_, "-tds:SetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDPAddresses_(soap, &soap_tmp___tds__SetDPAddresses_, "-tds:SetDPAddresses", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDPAddressesResponse) return soap_closesock(soap); tds__SetDPAddressesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDPAddressesResponse->soap_get(soap, "tds:SetDPAddressesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetHostname_(const char *endpoint, const char *soap_action, _tds__GetHostname *tds__GetHostname, _tds__GetHostnameResponse *tds__GetHostnameResponse){ struct soap *soap = this; struct __tds__GetHostname_ soap_tmp___tds__GetHostname_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetHostname"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetHostname_.tds__GetHostname = tds__GetHostname; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetHostname_(soap, &soap_tmp___tds__GetHostname_); 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) || soap_put___tds__GetHostname_(soap, &soap_tmp___tds__GetHostname_, "-tds:GetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetHostname_(soap, &soap_tmp___tds__GetHostname_, "-tds:GetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetHostnameResponse) return soap_closesock(soap); tds__GetHostnameResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetHostnameResponse->soap_get(soap, "tds:GetHostnameResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetHostname_(const char *endpoint, const char *soap_action, _tds__SetHostname *tds__SetHostname, _tds__SetHostnameResponse *tds__SetHostnameResponse){ struct soap *soap = this; struct __tds__SetHostname_ soap_tmp___tds__SetHostname_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetHostname"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetHostname_.tds__SetHostname = tds__SetHostname; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetHostname_(soap, &soap_tmp___tds__SetHostname_); 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) || soap_put___tds__SetHostname_(soap, &soap_tmp___tds__SetHostname_, "-tds:SetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetHostname_(soap, &soap_tmp___tds__SetHostname_, "-tds:SetHostname", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetHostnameResponse) return soap_closesock(soap); tds__SetHostnameResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetHostnameResponse->soap_get(soap, "tds:SetHostnameResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetHostnameFromDHCP_(const char *endpoint, const char *soap_action, _tds__SetHostnameFromDHCP *tds__SetHostnameFromDHCP, _tds__SetHostnameFromDHCPResponse *tds__SetHostnameFromDHCPResponse){ struct soap *soap = this; struct __tds__SetHostnameFromDHCP_ soap_tmp___tds__SetHostnameFromDHCP_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetHostnameFromDHCP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetHostnameFromDHCP_.tds__SetHostnameFromDHCP = tds__SetHostnameFromDHCP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetHostnameFromDHCP_(soap, &soap_tmp___tds__SetHostnameFromDHCP_); 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) || soap_put___tds__SetHostnameFromDHCP_(soap, &soap_tmp___tds__SetHostnameFromDHCP_, "-tds:SetHostnameFromDHCP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetHostnameFromDHCP_(soap, &soap_tmp___tds__SetHostnameFromDHCP_, "-tds:SetHostnameFromDHCP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetHostnameFromDHCPResponse) return soap_closesock(soap); tds__SetHostnameFromDHCPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetHostnameFromDHCPResponse->soap_get(soap, "tds:SetHostnameFromDHCPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDNS_(const char *endpoint, const char *soap_action, _tds__GetDNS *tds__GetDNS, _tds__GetDNSResponse *tds__GetDNSResponse){ struct soap *soap = this; struct __tds__GetDNS_ soap_tmp___tds__GetDNS_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDNS_.tds__GetDNS = tds__GetDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDNS_(soap, &soap_tmp___tds__GetDNS_); 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) || soap_put___tds__GetDNS_(soap, &soap_tmp___tds__GetDNS_, "-tds:GetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDNS_(soap, &soap_tmp___tds__GetDNS_, "-tds:GetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDNSResponse) return soap_closesock(soap); tds__GetDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDNSResponse->soap_get(soap, "tds:GetDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDNS_(const char *endpoint, const char *soap_action, _tds__SetDNS *tds__SetDNS, _tds__SetDNSResponse *tds__SetDNSResponse){ struct soap *soap = this; struct __tds__SetDNS_ soap_tmp___tds__SetDNS_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDNS_.tds__SetDNS = tds__SetDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDNS_(soap, &soap_tmp___tds__SetDNS_); 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) || soap_put___tds__SetDNS_(soap, &soap_tmp___tds__SetDNS_, "-tds:SetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDNS_(soap, &soap_tmp___tds__SetDNS_, "-tds:SetDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDNSResponse) return soap_closesock(soap); tds__SetDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDNSResponse->soap_get(soap, "tds:SetDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNTP_(const char *endpoint, const char *soap_action, _tds__GetNTP *tds__GetNTP, _tds__GetNTPResponse *tds__GetNTPResponse){ struct soap *soap = this; struct __tds__GetNTP_ soap_tmp___tds__GetNTP_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNTP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNTP_.tds__GetNTP = tds__GetNTP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNTP_(soap, &soap_tmp___tds__GetNTP_); 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) || soap_put___tds__GetNTP_(soap, &soap_tmp___tds__GetNTP_, "-tds:GetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNTP_(soap, &soap_tmp___tds__GetNTP_, "-tds:GetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNTPResponse) return soap_closesock(soap); tds__GetNTPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNTPResponse->soap_get(soap, "tds:GetNTPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNTP_(const char *endpoint, const char *soap_action, _tds__SetNTP *tds__SetNTP, _tds__SetNTPResponse *tds__SetNTPResponse){ struct soap *soap = this; struct __tds__SetNTP_ soap_tmp___tds__SetNTP_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNTP"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNTP_.tds__SetNTP = tds__SetNTP; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNTP_(soap, &soap_tmp___tds__SetNTP_); 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) || soap_put___tds__SetNTP_(soap, &soap_tmp___tds__SetNTP_, "-tds:SetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNTP_(soap, &soap_tmp___tds__SetNTP_, "-tds:SetNTP", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNTPResponse) return soap_closesock(soap); tds__SetNTPResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNTPResponse->soap_get(soap, "tds:SetNTPResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDynamicDNS_(const char *endpoint, const char *soap_action, _tds__GetDynamicDNS *tds__GetDynamicDNS, _tds__GetDynamicDNSResponse *tds__GetDynamicDNSResponse){ struct soap *soap = this; struct __tds__GetDynamicDNS_ soap_tmp___tds__GetDynamicDNS_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDynamicDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDynamicDNS_.tds__GetDynamicDNS = tds__GetDynamicDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDynamicDNS_(soap, &soap_tmp___tds__GetDynamicDNS_); 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) || soap_put___tds__GetDynamicDNS_(soap, &soap_tmp___tds__GetDynamicDNS_, "-tds:GetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDynamicDNS_(soap, &soap_tmp___tds__GetDynamicDNS_, "-tds:GetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDynamicDNSResponse) return soap_closesock(soap); tds__GetDynamicDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDynamicDNSResponse->soap_get(soap, "tds:GetDynamicDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDynamicDNS_(const char *endpoint, const char *soap_action, _tds__SetDynamicDNS *tds__SetDynamicDNS, _tds__SetDynamicDNSResponse *tds__SetDynamicDNSResponse){ struct soap *soap = this; struct __tds__SetDynamicDNS_ soap_tmp___tds__SetDynamicDNS_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDynamicDNS"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDynamicDNS_.tds__SetDynamicDNS = tds__SetDynamicDNS; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDynamicDNS_(soap, &soap_tmp___tds__SetDynamicDNS_); 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) || soap_put___tds__SetDynamicDNS_(soap, &soap_tmp___tds__SetDynamicDNS_, "-tds:SetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDynamicDNS_(soap, &soap_tmp___tds__SetDynamicDNS_, "-tds:SetDynamicDNS", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDynamicDNSResponse) return soap_closesock(soap); tds__SetDynamicDNSResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDynamicDNSResponse->soap_get(soap, "tds:SetDynamicDNSResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkInterfaces_(const char *endpoint, const char *soap_action, _tds__GetNetworkInterfaces *tds__GetNetworkInterfaces, _tds__GetNetworkInterfacesResponse *tds__GetNetworkInterfacesResponse){ struct soap *soap = this; struct __tds__GetNetworkInterfaces_ soap_tmp___tds__GetNetworkInterfaces_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkInterfaces"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkInterfaces_.tds__GetNetworkInterfaces = tds__GetNetworkInterfaces; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkInterfaces_(soap, &soap_tmp___tds__GetNetworkInterfaces_); 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) || soap_put___tds__GetNetworkInterfaces_(soap, &soap_tmp___tds__GetNetworkInterfaces_, "-tds:GetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkInterfaces_(soap, &soap_tmp___tds__GetNetworkInterfaces_, "-tds:GetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkInterfacesResponse) return soap_closesock(soap); tds__GetNetworkInterfacesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkInterfacesResponse->soap_get(soap, "tds:GetNetworkInterfacesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkInterfaces_(const char *endpoint, const char *soap_action, _tds__SetNetworkInterfaces *tds__SetNetworkInterfaces, _tds__SetNetworkInterfacesResponse *tds__SetNetworkInterfacesResponse){ struct soap *soap = this; struct __tds__SetNetworkInterfaces_ soap_tmp___tds__SetNetworkInterfaces_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkInterfaces"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkInterfaces_.tds__SetNetworkInterfaces = tds__SetNetworkInterfaces; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkInterfaces_(soap, &soap_tmp___tds__SetNetworkInterfaces_); 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) || soap_put___tds__SetNetworkInterfaces_(soap, &soap_tmp___tds__SetNetworkInterfaces_, "-tds:SetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkInterfaces_(soap, &soap_tmp___tds__SetNetworkInterfaces_, "-tds:SetNetworkInterfaces", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkInterfacesResponse) return soap_closesock(soap); tds__SetNetworkInterfacesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkInterfacesResponse->soap_get(soap, "tds:SetNetworkInterfacesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkProtocols_(const char *endpoint, const char *soap_action, _tds__GetNetworkProtocols *tds__GetNetworkProtocols, _tds__GetNetworkProtocolsResponse *tds__GetNetworkProtocolsResponse){ struct soap *soap = this; struct __tds__GetNetworkProtocols_ soap_tmp___tds__GetNetworkProtocols_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkProtocols"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkProtocols_.tds__GetNetworkProtocols = tds__GetNetworkProtocols; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkProtocols_(soap, &soap_tmp___tds__GetNetworkProtocols_); 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) || soap_put___tds__GetNetworkProtocols_(soap, &soap_tmp___tds__GetNetworkProtocols_, "-tds:GetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkProtocols_(soap, &soap_tmp___tds__GetNetworkProtocols_, "-tds:GetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkProtocolsResponse) return soap_closesock(soap); tds__GetNetworkProtocolsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkProtocolsResponse->soap_get(soap, "tds:GetNetworkProtocolsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkProtocols_(const char *endpoint, const char *soap_action, _tds__SetNetworkProtocols *tds__SetNetworkProtocols, _tds__SetNetworkProtocolsResponse *tds__SetNetworkProtocolsResponse){ struct soap *soap = this; struct __tds__SetNetworkProtocols_ soap_tmp___tds__SetNetworkProtocols_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkProtocols"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkProtocols_.tds__SetNetworkProtocols = tds__SetNetworkProtocols; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkProtocols_(soap, &soap_tmp___tds__SetNetworkProtocols_); 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) || soap_put___tds__SetNetworkProtocols_(soap, &soap_tmp___tds__SetNetworkProtocols_, "-tds:SetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkProtocols_(soap, &soap_tmp___tds__SetNetworkProtocols_, "-tds:SetNetworkProtocols", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkProtocolsResponse) return soap_closesock(soap); tds__SetNetworkProtocolsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkProtocolsResponse->soap_get(soap, "tds:SetNetworkProtocolsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetNetworkDefaultGateway_(const char *endpoint, const char *soap_action, _tds__GetNetworkDefaultGateway *tds__GetNetworkDefaultGateway, _tds__GetNetworkDefaultGatewayResponse *tds__GetNetworkDefaultGatewayResponse){ struct soap *soap = this; struct __tds__GetNetworkDefaultGateway_ soap_tmp___tds__GetNetworkDefaultGateway_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkDefaultGateway"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetNetworkDefaultGateway_.tds__GetNetworkDefaultGateway = tds__GetNetworkDefaultGateway; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetNetworkDefaultGateway_(soap, &soap_tmp___tds__GetNetworkDefaultGateway_); 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) || soap_put___tds__GetNetworkDefaultGateway_(soap, &soap_tmp___tds__GetNetworkDefaultGateway_, "-tds:GetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetNetworkDefaultGateway_(soap, &soap_tmp___tds__GetNetworkDefaultGateway_, "-tds:GetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetNetworkDefaultGatewayResponse) return soap_closesock(soap); tds__GetNetworkDefaultGatewayResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetNetworkDefaultGatewayResponse->soap_get(soap, "tds:GetNetworkDefaultGatewayResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetNetworkDefaultGateway_(const char *endpoint, const char *soap_action, _tds__SetNetworkDefaultGateway *tds__SetNetworkDefaultGateway, _tds__SetNetworkDefaultGatewayResponse *tds__SetNetworkDefaultGatewayResponse){ struct soap *soap = this; struct __tds__SetNetworkDefaultGateway_ soap_tmp___tds__SetNetworkDefaultGateway_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkDefaultGateway"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetNetworkDefaultGateway_.tds__SetNetworkDefaultGateway = tds__SetNetworkDefaultGateway; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetNetworkDefaultGateway_(soap, &soap_tmp___tds__SetNetworkDefaultGateway_); 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) || soap_put___tds__SetNetworkDefaultGateway_(soap, &soap_tmp___tds__SetNetworkDefaultGateway_, "-tds:SetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetNetworkDefaultGateway_(soap, &soap_tmp___tds__SetNetworkDefaultGateway_, "-tds:SetNetworkDefaultGateway", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetNetworkDefaultGatewayResponse) return soap_closesock(soap); tds__SetNetworkDefaultGatewayResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetNetworkDefaultGatewayResponse->soap_get(soap, "tds:SetNetworkDefaultGatewayResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetZeroConfiguration_(const char *endpoint, const char *soap_action, _tds__GetZeroConfiguration *tds__GetZeroConfiguration, _tds__GetZeroConfigurationResponse *tds__GetZeroConfigurationResponse){ struct soap *soap = this; struct __tds__GetZeroConfiguration_ soap_tmp___tds__GetZeroConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetZeroConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetZeroConfiguration_.tds__GetZeroConfiguration = tds__GetZeroConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetZeroConfiguration_(soap, &soap_tmp___tds__GetZeroConfiguration_); 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) || soap_put___tds__GetZeroConfiguration_(soap, &soap_tmp___tds__GetZeroConfiguration_, "-tds:GetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetZeroConfiguration_(soap, &soap_tmp___tds__GetZeroConfiguration_, "-tds:GetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetZeroConfigurationResponse) return soap_closesock(soap); tds__GetZeroConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetZeroConfigurationResponse->soap_get(soap, "tds:GetZeroConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetZeroConfiguration_(const char *endpoint, const char *soap_action, _tds__SetZeroConfiguration *tds__SetZeroConfiguration, _tds__SetZeroConfigurationResponse *tds__SetZeroConfigurationResponse){ struct soap *soap = this; struct __tds__SetZeroConfiguration_ soap_tmp___tds__SetZeroConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetZeroConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetZeroConfiguration_.tds__SetZeroConfiguration = tds__SetZeroConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetZeroConfiguration_(soap, &soap_tmp___tds__SetZeroConfiguration_); 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) || soap_put___tds__SetZeroConfiguration_(soap, &soap_tmp___tds__SetZeroConfiguration_, "-tds:SetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetZeroConfiguration_(soap, &soap_tmp___tds__SetZeroConfiguration_, "-tds:SetZeroConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetZeroConfigurationResponse) return soap_closesock(soap); tds__SetZeroConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetZeroConfigurationResponse->soap_get(soap, "tds:SetZeroConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetIPAddressFilter_(const char *endpoint, const char *soap_action, _tds__GetIPAddressFilter *tds__GetIPAddressFilter, _tds__GetIPAddressFilterResponse *tds__GetIPAddressFilterResponse){ struct soap *soap = this; struct __tds__GetIPAddressFilter_ soap_tmp___tds__GetIPAddressFilter_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetIPAddressFilter_.tds__GetIPAddressFilter = tds__GetIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetIPAddressFilter_(soap, &soap_tmp___tds__GetIPAddressFilter_); 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) || soap_put___tds__GetIPAddressFilter_(soap, &soap_tmp___tds__GetIPAddressFilter_, "-tds:GetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetIPAddressFilter_(soap, &soap_tmp___tds__GetIPAddressFilter_, "-tds:GetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetIPAddressFilterResponse) return soap_closesock(soap); tds__GetIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetIPAddressFilterResponse->soap_get(soap, "tds:GetIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetIPAddressFilter_(const char *endpoint, const char *soap_action, _tds__SetIPAddressFilter *tds__SetIPAddressFilter, _tds__SetIPAddressFilterResponse *tds__SetIPAddressFilterResponse){ struct soap *soap = this; struct __tds__SetIPAddressFilter_ soap_tmp___tds__SetIPAddressFilter_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetIPAddressFilter_.tds__SetIPAddressFilter = tds__SetIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetIPAddressFilter_(soap, &soap_tmp___tds__SetIPAddressFilter_); 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) || soap_put___tds__SetIPAddressFilter_(soap, &soap_tmp___tds__SetIPAddressFilter_, "-tds:SetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetIPAddressFilter_(soap, &soap_tmp___tds__SetIPAddressFilter_, "-tds:SetIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetIPAddressFilterResponse) return soap_closesock(soap); tds__SetIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetIPAddressFilterResponse->soap_get(soap, "tds:SetIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::AddIPAddressFilter_(const char *endpoint, const char *soap_action, _tds__AddIPAddressFilter *tds__AddIPAddressFilter, _tds__AddIPAddressFilterResponse *tds__AddIPAddressFilterResponse){ struct soap *soap = this; struct __tds__AddIPAddressFilter_ soap_tmp___tds__AddIPAddressFilter_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/AddIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__AddIPAddressFilter_.tds__AddIPAddressFilter = tds__AddIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__AddIPAddressFilter_(soap, &soap_tmp___tds__AddIPAddressFilter_); 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) || soap_put___tds__AddIPAddressFilter_(soap, &soap_tmp___tds__AddIPAddressFilter_, "-tds:AddIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__AddIPAddressFilter_(soap, &soap_tmp___tds__AddIPAddressFilter_, "-tds:AddIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__AddIPAddressFilterResponse) return soap_closesock(soap); tds__AddIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__AddIPAddressFilterResponse->soap_get(soap, "tds:AddIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::RemoveIPAddressFilter_(const char *endpoint, const char *soap_action, _tds__RemoveIPAddressFilter *tds__RemoveIPAddressFilter, _tds__RemoveIPAddressFilterResponse *tds__RemoveIPAddressFilterResponse){ struct soap *soap = this; struct __tds__RemoveIPAddressFilter_ soap_tmp___tds__RemoveIPAddressFilter_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/RemoveIPAddressFilter"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__RemoveIPAddressFilter_.tds__RemoveIPAddressFilter = tds__RemoveIPAddressFilter; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__RemoveIPAddressFilter_(soap, &soap_tmp___tds__RemoveIPAddressFilter_); 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) || soap_put___tds__RemoveIPAddressFilter_(soap, &soap_tmp___tds__RemoveIPAddressFilter_, "-tds:RemoveIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__RemoveIPAddressFilter_(soap, &soap_tmp___tds__RemoveIPAddressFilter_, "-tds:RemoveIPAddressFilter", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__RemoveIPAddressFilterResponse) return soap_closesock(soap); tds__RemoveIPAddressFilterResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__RemoveIPAddressFilterResponse->soap_get(soap, "tds:RemoveIPAddressFilterResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetAccessPolicy_(const char *endpoint, const char *soap_action, _tds__GetAccessPolicy *tds__GetAccessPolicy, _tds__GetAccessPolicyResponse *tds__GetAccessPolicyResponse){ struct soap *soap = this; struct __tds__GetAccessPolicy_ soap_tmp___tds__GetAccessPolicy_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetAccessPolicy"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetAccessPolicy_.tds__GetAccessPolicy = tds__GetAccessPolicy; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetAccessPolicy_(soap, &soap_tmp___tds__GetAccessPolicy_); 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) || soap_put___tds__GetAccessPolicy_(soap, &soap_tmp___tds__GetAccessPolicy_, "-tds:GetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetAccessPolicy_(soap, &soap_tmp___tds__GetAccessPolicy_, "-tds:GetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetAccessPolicyResponse) return soap_closesock(soap); tds__GetAccessPolicyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetAccessPolicyResponse->soap_get(soap, "tds:GetAccessPolicyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetAccessPolicy_(const char *endpoint, const char *soap_action, _tds__SetAccessPolicy *tds__SetAccessPolicy, _tds__SetAccessPolicyResponse *tds__SetAccessPolicyResponse){ struct soap *soap = this; struct __tds__SetAccessPolicy_ soap_tmp___tds__SetAccessPolicy_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetAccessPolicy"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetAccessPolicy_.tds__SetAccessPolicy = tds__SetAccessPolicy; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetAccessPolicy_(soap, &soap_tmp___tds__SetAccessPolicy_); 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) || soap_put___tds__SetAccessPolicy_(soap, &soap_tmp___tds__SetAccessPolicy_, "-tds:SetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetAccessPolicy_(soap, &soap_tmp___tds__SetAccessPolicy_, "-tds:SetAccessPolicy", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetAccessPolicyResponse) return soap_closesock(soap); tds__SetAccessPolicyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetAccessPolicyResponse->soap_get(soap, "tds:SetAccessPolicyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateCertificate_(const char *endpoint, const char *soap_action, _tds__CreateCertificate *tds__CreateCertificate, _tds__CreateCertificateResponse *tds__CreateCertificateResponse){ struct soap *soap = this; struct __tds__CreateCertificate_ soap_tmp___tds__CreateCertificate_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateCertificate"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateCertificate_.tds__CreateCertificate = tds__CreateCertificate; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateCertificate_(soap, &soap_tmp___tds__CreateCertificate_); 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) || soap_put___tds__CreateCertificate_(soap, &soap_tmp___tds__CreateCertificate_, "-tds:CreateCertificate", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateCertificate_(soap, &soap_tmp___tds__CreateCertificate_, "-tds:CreateCertificate", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateCertificateResponse) return soap_closesock(soap); tds__CreateCertificateResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateCertificateResponse->soap_get(soap, "tds:CreateCertificateResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificates_(const char *endpoint, const char *soap_action, _tds__GetCertificates *tds__GetCertificates, _tds__GetCertificatesResponse *tds__GetCertificatesResponse){ struct soap *soap = this; struct __tds__GetCertificates_ soap_tmp___tds__GetCertificates_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificates_.tds__GetCertificates = tds__GetCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificates_(soap, &soap_tmp___tds__GetCertificates_); 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) || soap_put___tds__GetCertificates_(soap, &soap_tmp___tds__GetCertificates_, "-tds:GetCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificates_(soap, &soap_tmp___tds__GetCertificates_, "-tds:GetCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificatesResponse) return soap_closesock(soap); tds__GetCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificatesResponse->soap_get(soap, "tds:GetCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificatesStatus_(const char *endpoint, const char *soap_action, _tds__GetCertificatesStatus *tds__GetCertificatesStatus, _tds__GetCertificatesStatusResponse *tds__GetCertificatesStatusResponse){ struct soap *soap = this; struct __tds__GetCertificatesStatus_ soap_tmp___tds__GetCertificatesStatus_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificatesStatus"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificatesStatus_.tds__GetCertificatesStatus = tds__GetCertificatesStatus; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificatesStatus_(soap, &soap_tmp___tds__GetCertificatesStatus_); 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) || soap_put___tds__GetCertificatesStatus_(soap, &soap_tmp___tds__GetCertificatesStatus_, "-tds:GetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificatesStatus_(soap, &soap_tmp___tds__GetCertificatesStatus_, "-tds:GetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificatesStatusResponse) return soap_closesock(soap); tds__GetCertificatesStatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificatesStatusResponse->soap_get(soap, "tds:GetCertificatesStatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetCertificatesStatus_(const char *endpoint, const char *soap_action, _tds__SetCertificatesStatus *tds__SetCertificatesStatus, _tds__SetCertificatesStatusResponse *tds__SetCertificatesStatusResponse){ struct soap *soap = this; struct __tds__SetCertificatesStatus_ soap_tmp___tds__SetCertificatesStatus_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetCertificatesStatus"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetCertificatesStatus_.tds__SetCertificatesStatus = tds__SetCertificatesStatus; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetCertificatesStatus_(soap, &soap_tmp___tds__SetCertificatesStatus_); 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) || soap_put___tds__SetCertificatesStatus_(soap, &soap_tmp___tds__SetCertificatesStatus_, "-tds:SetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetCertificatesStatus_(soap, &soap_tmp___tds__SetCertificatesStatus_, "-tds:SetCertificatesStatus", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetCertificatesStatusResponse) return soap_closesock(soap); tds__SetCertificatesStatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetCertificatesStatusResponse->soap_get(soap, "tds:SetCertificatesStatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteCertificates_(const char *endpoint, const char *soap_action, _tds__DeleteCertificates *tds__DeleteCertificates, _tds__DeleteCertificatesResponse *tds__DeleteCertificatesResponse){ struct soap *soap = this; struct __tds__DeleteCertificates_ soap_tmp___tds__DeleteCertificates_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteCertificates_.tds__DeleteCertificates = tds__DeleteCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteCertificates_(soap, &soap_tmp___tds__DeleteCertificates_); 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) || soap_put___tds__DeleteCertificates_(soap, &soap_tmp___tds__DeleteCertificates_, "-tds:DeleteCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteCertificates_(soap, &soap_tmp___tds__DeleteCertificates_, "-tds:DeleteCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteCertificatesResponse) return soap_closesock(soap); tds__DeleteCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteCertificatesResponse->soap_get(soap, "tds:DeleteCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetPkcs10Request_(const char *endpoint, const char *soap_action, _tds__GetPkcs10Request *tds__GetPkcs10Request, _tds__GetPkcs10RequestResponse *tds__GetPkcs10RequestResponse){ struct soap *soap = this; struct __tds__GetPkcs10Request_ soap_tmp___tds__GetPkcs10Request_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetPkcs10Request"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetPkcs10Request_.tds__GetPkcs10Request = tds__GetPkcs10Request; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetPkcs10Request_(soap, &soap_tmp___tds__GetPkcs10Request_); 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) || soap_put___tds__GetPkcs10Request_(soap, &soap_tmp___tds__GetPkcs10Request_, "-tds:GetPkcs10Request", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetPkcs10Request_(soap, &soap_tmp___tds__GetPkcs10Request_, "-tds:GetPkcs10Request", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetPkcs10RequestResponse) return soap_closesock(soap); tds__GetPkcs10RequestResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetPkcs10RequestResponse->soap_get(soap, "tds:GetPkcs10RequestResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCertificates_(const char *endpoint, const char *soap_action, _tds__LoadCertificates *tds__LoadCertificates, _tds__LoadCertificatesResponse *tds__LoadCertificatesResponse){ struct soap *soap = this; struct __tds__LoadCertificates_ soap_tmp___tds__LoadCertificates_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCertificates_.tds__LoadCertificates = tds__LoadCertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCertificates_(soap, &soap_tmp___tds__LoadCertificates_); 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) || soap_put___tds__LoadCertificates_(soap, &soap_tmp___tds__LoadCertificates_, "-tds:LoadCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCertificates_(soap, &soap_tmp___tds__LoadCertificates_, "-tds:LoadCertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCertificatesResponse) return soap_closesock(soap); tds__LoadCertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCertificatesResponse->soap_get(soap, "tds:LoadCertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetClientCertificateMode_(const char *endpoint, const char *soap_action, _tds__GetClientCertificateMode *tds__GetClientCertificateMode, _tds__GetClientCertificateModeResponse *tds__GetClientCertificateModeResponse){ struct soap *soap = this; struct __tds__GetClientCertificateMode_ soap_tmp___tds__GetClientCertificateMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetClientCertificateMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetClientCertificateMode_.tds__GetClientCertificateMode = tds__GetClientCertificateMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetClientCertificateMode_(soap, &soap_tmp___tds__GetClientCertificateMode_); 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) || soap_put___tds__GetClientCertificateMode_(soap, &soap_tmp___tds__GetClientCertificateMode_, "-tds:GetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetClientCertificateMode_(soap, &soap_tmp___tds__GetClientCertificateMode_, "-tds:GetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetClientCertificateModeResponse) return soap_closesock(soap); tds__GetClientCertificateModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetClientCertificateModeResponse->soap_get(soap, "tds:GetClientCertificateModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetClientCertificateMode_(const char *endpoint, const char *soap_action, _tds__SetClientCertificateMode *tds__SetClientCertificateMode, _tds__SetClientCertificateModeResponse *tds__SetClientCertificateModeResponse){ struct soap *soap = this; struct __tds__SetClientCertificateMode_ soap_tmp___tds__SetClientCertificateMode_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetClientCertificateMode"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetClientCertificateMode_.tds__SetClientCertificateMode = tds__SetClientCertificateMode; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetClientCertificateMode_(soap, &soap_tmp___tds__SetClientCertificateMode_); 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) || soap_put___tds__SetClientCertificateMode_(soap, &soap_tmp___tds__SetClientCertificateMode_, "-tds:SetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetClientCertificateMode_(soap, &soap_tmp___tds__SetClientCertificateMode_, "-tds:SetClientCertificateMode", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetClientCertificateModeResponse) return soap_closesock(soap); tds__SetClientCertificateModeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetClientCertificateModeResponse->soap_get(soap, "tds:SetClientCertificateModeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetRelayOutputs_(const char *endpoint, const char *soap_action, _tds__GetRelayOutputs *tds__GetRelayOutputs, _tds__GetRelayOutputsResponse *tds__GetRelayOutputsResponse){ struct soap *soap = this; struct __tds__GetRelayOutputs_ soap_tmp___tds__GetRelayOutputs_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetRelayOutputs"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetRelayOutputs_.tds__GetRelayOutputs = tds__GetRelayOutputs; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetRelayOutputs_(soap, &soap_tmp___tds__GetRelayOutputs_); 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) || soap_put___tds__GetRelayOutputs_(soap, &soap_tmp___tds__GetRelayOutputs_, "-tds:GetRelayOutputs", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetRelayOutputs_(soap, &soap_tmp___tds__GetRelayOutputs_, "-tds:GetRelayOutputs", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetRelayOutputsResponse) return soap_closesock(soap); tds__GetRelayOutputsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetRelayOutputsResponse->soap_get(soap, "tds:GetRelayOutputsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRelayOutputSettings_(const char *endpoint, const char *soap_action, _tds__SetRelayOutputSettings *tds__SetRelayOutputSettings, _tds__SetRelayOutputSettingsResponse *tds__SetRelayOutputSettingsResponse){ struct soap *soap = this; struct __tds__SetRelayOutputSettings_ soap_tmp___tds__SetRelayOutputSettings_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputSettings"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRelayOutputSettings_.tds__SetRelayOutputSettings = tds__SetRelayOutputSettings; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRelayOutputSettings_(soap, &soap_tmp___tds__SetRelayOutputSettings_); 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) || soap_put___tds__SetRelayOutputSettings_(soap, &soap_tmp___tds__SetRelayOutputSettings_, "-tds:SetRelayOutputSettings", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRelayOutputSettings_(soap, &soap_tmp___tds__SetRelayOutputSettings_, "-tds:SetRelayOutputSettings", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRelayOutputSettingsResponse) return soap_closesock(soap); tds__SetRelayOutputSettingsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRelayOutputSettingsResponse->soap_get(soap, "tds:SetRelayOutputSettingsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetRelayOutputState_(const char *endpoint, const char *soap_action, _tds__SetRelayOutputState *tds__SetRelayOutputState, _tds__SetRelayOutputStateResponse *tds__SetRelayOutputStateResponse){ struct soap *soap = this; struct __tds__SetRelayOutputState_ soap_tmp___tds__SetRelayOutputState_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputState"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetRelayOutputState_.tds__SetRelayOutputState = tds__SetRelayOutputState; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetRelayOutputState_(soap, &soap_tmp___tds__SetRelayOutputState_); 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) || soap_put___tds__SetRelayOutputState_(soap, &soap_tmp___tds__SetRelayOutputState_, "-tds:SetRelayOutputState", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetRelayOutputState_(soap, &soap_tmp___tds__SetRelayOutputState_, "-tds:SetRelayOutputState", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetRelayOutputStateResponse) return soap_closesock(soap); tds__SetRelayOutputStateResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetRelayOutputStateResponse->soap_get(soap, "tds:SetRelayOutputStateResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SendAuxiliaryCommand_(const char *endpoint, const char *soap_action, _tds__SendAuxiliaryCommand *tds__SendAuxiliaryCommand, _tds__SendAuxiliaryCommandResponse *tds__SendAuxiliaryCommandResponse){ struct soap *soap = this; struct __tds__SendAuxiliaryCommand_ soap_tmp___tds__SendAuxiliaryCommand_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SendAuxiliaryCommand"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SendAuxiliaryCommand_.tds__SendAuxiliaryCommand = tds__SendAuxiliaryCommand; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SendAuxiliaryCommand_(soap, &soap_tmp___tds__SendAuxiliaryCommand_); 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) || soap_put___tds__SendAuxiliaryCommand_(soap, &soap_tmp___tds__SendAuxiliaryCommand_, "-tds:SendAuxiliaryCommand", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SendAuxiliaryCommand_(soap, &soap_tmp___tds__SendAuxiliaryCommand_, "-tds:SendAuxiliaryCommand", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SendAuxiliaryCommandResponse) return soap_closesock(soap); tds__SendAuxiliaryCommandResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SendAuxiliaryCommandResponse->soap_get(soap, "tds:SendAuxiliaryCommandResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCACertificates_(const char *endpoint, const char *soap_action, _tds__GetCACertificates *tds__GetCACertificates, _tds__GetCACertificatesResponse *tds__GetCACertificatesResponse){ struct soap *soap = this; struct __tds__GetCACertificates_ soap_tmp___tds__GetCACertificates_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCACertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCACertificates_.tds__GetCACertificates = tds__GetCACertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCACertificates_(soap, &soap_tmp___tds__GetCACertificates_); 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) || soap_put___tds__GetCACertificates_(soap, &soap_tmp___tds__GetCACertificates_, "-tds:GetCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCACertificates_(soap, &soap_tmp___tds__GetCACertificates_, "-tds:GetCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCACertificatesResponse) return soap_closesock(soap); tds__GetCACertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCACertificatesResponse->soap_get(soap, "tds:GetCACertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCertificateWithPrivateKey_(const char *endpoint, const char *soap_action, _tds__LoadCertificateWithPrivateKey *tds__LoadCertificateWithPrivateKey, _tds__LoadCertificateWithPrivateKeyResponse *tds__LoadCertificateWithPrivateKeyResponse){ struct soap *soap = this; struct __tds__LoadCertificateWithPrivateKey_ soap_tmp___tds__LoadCertificateWithPrivateKey_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificateWithPrivateKey"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCertificateWithPrivateKey_.tds__LoadCertificateWithPrivateKey = tds__LoadCertificateWithPrivateKey; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCertificateWithPrivateKey_(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey_); 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) || soap_put___tds__LoadCertificateWithPrivateKey_(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey_, "-tds:LoadCertificateWithPrivateKey", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCertificateWithPrivateKey_(soap, &soap_tmp___tds__LoadCertificateWithPrivateKey_, "-tds:LoadCertificateWithPrivateKey", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCertificateWithPrivateKeyResponse) return soap_closesock(soap); tds__LoadCertificateWithPrivateKeyResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCertificateWithPrivateKeyResponse->soap_get(soap, "tds:LoadCertificateWithPrivateKeyResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetCertificateInformation_(const char *endpoint, const char *soap_action, _tds__GetCertificateInformation *tds__GetCertificateInformation, _tds__GetCertificateInformationResponse *tds__GetCertificateInformationResponse){ struct soap *soap = this; struct __tds__GetCertificateInformation_ soap_tmp___tds__GetCertificateInformation_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetCertificateInformation"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetCertificateInformation_.tds__GetCertificateInformation = tds__GetCertificateInformation; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetCertificateInformation_(soap, &soap_tmp___tds__GetCertificateInformation_); 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) || soap_put___tds__GetCertificateInformation_(soap, &soap_tmp___tds__GetCertificateInformation_, "-tds:GetCertificateInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetCertificateInformation_(soap, &soap_tmp___tds__GetCertificateInformation_, "-tds:GetCertificateInformation", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetCertificateInformationResponse) return soap_closesock(soap); tds__GetCertificateInformationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetCertificateInformationResponse->soap_get(soap, "tds:GetCertificateInformationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::LoadCACertificates_(const char *endpoint, const char *soap_action, _tds__LoadCACertificates *tds__LoadCACertificates, _tds__LoadCACertificatesResponse *tds__LoadCACertificatesResponse){ struct soap *soap = this; struct __tds__LoadCACertificates_ soap_tmp___tds__LoadCACertificates_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/LoadCACertificates"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__LoadCACertificates_.tds__LoadCACertificates = tds__LoadCACertificates; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__LoadCACertificates_(soap, &soap_tmp___tds__LoadCACertificates_); 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) || soap_put___tds__LoadCACertificates_(soap, &soap_tmp___tds__LoadCACertificates_, "-tds:LoadCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__LoadCACertificates_(soap, &soap_tmp___tds__LoadCACertificates_, "-tds:LoadCACertificates", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__LoadCACertificatesResponse) return soap_closesock(soap); tds__LoadCACertificatesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__LoadCACertificatesResponse->soap_get(soap, "tds:LoadCACertificatesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::CreateDot1XConfiguration_(const char *endpoint, const char *soap_action, _tds__CreateDot1XConfiguration *tds__CreateDot1XConfiguration, _tds__CreateDot1XConfigurationResponse *tds__CreateDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__CreateDot1XConfiguration_ soap_tmp___tds__CreateDot1XConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/CreateDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__CreateDot1XConfiguration_.tds__CreateDot1XConfiguration = tds__CreateDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__CreateDot1XConfiguration_(soap, &soap_tmp___tds__CreateDot1XConfiguration_); 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) || soap_put___tds__CreateDot1XConfiguration_(soap, &soap_tmp___tds__CreateDot1XConfiguration_, "-tds:CreateDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__CreateDot1XConfiguration_(soap, &soap_tmp___tds__CreateDot1XConfiguration_, "-tds:CreateDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__CreateDot1XConfigurationResponse) return soap_closesock(soap); tds__CreateDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__CreateDot1XConfigurationResponse->soap_get(soap, "tds:CreateDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::SetDot1XConfiguration_(const char *endpoint, const char *soap_action, _tds__SetDot1XConfiguration *tds__SetDot1XConfiguration, _tds__SetDot1XConfigurationResponse *tds__SetDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__SetDot1XConfiguration_ soap_tmp___tds__SetDot1XConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/SetDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__SetDot1XConfiguration_.tds__SetDot1XConfiguration = tds__SetDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__SetDot1XConfiguration_(soap, &soap_tmp___tds__SetDot1XConfiguration_); 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) || soap_put___tds__SetDot1XConfiguration_(soap, &soap_tmp___tds__SetDot1XConfiguration_, "-tds:SetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__SetDot1XConfiguration_(soap, &soap_tmp___tds__SetDot1XConfiguration_, "-tds:SetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__SetDot1XConfigurationResponse) return soap_closesock(soap); tds__SetDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__SetDot1XConfigurationResponse->soap_get(soap, "tds:SetDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot1XConfiguration_(const char *endpoint, const char *soap_action, _tds__GetDot1XConfiguration *tds__GetDot1XConfiguration, _tds__GetDot1XConfigurationResponse *tds__GetDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__GetDot1XConfiguration_ soap_tmp___tds__GetDot1XConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot1XConfiguration_.tds__GetDot1XConfiguration = tds__GetDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot1XConfiguration_(soap, &soap_tmp___tds__GetDot1XConfiguration_); 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) || soap_put___tds__GetDot1XConfiguration_(soap, &soap_tmp___tds__GetDot1XConfiguration_, "-tds:GetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot1XConfiguration_(soap, &soap_tmp___tds__GetDot1XConfiguration_, "-tds:GetDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot1XConfigurationResponse) return soap_closesock(soap); tds__GetDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot1XConfigurationResponse->soap_get(soap, "tds:GetDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot1XConfigurations_(const char *endpoint, const char *soap_action, _tds__GetDot1XConfigurations *tds__GetDot1XConfigurations, _tds__GetDot1XConfigurationsResponse *tds__GetDot1XConfigurationsResponse){ struct soap *soap = this; struct __tds__GetDot1XConfigurations_ soap_tmp___tds__GetDot1XConfigurations_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfigurations"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot1XConfigurations_.tds__GetDot1XConfigurations = tds__GetDot1XConfigurations; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot1XConfigurations_(soap, &soap_tmp___tds__GetDot1XConfigurations_); 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) || soap_put___tds__GetDot1XConfigurations_(soap, &soap_tmp___tds__GetDot1XConfigurations_, "-tds:GetDot1XConfigurations", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot1XConfigurations_(soap, &soap_tmp___tds__GetDot1XConfigurations_, "-tds:GetDot1XConfigurations", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot1XConfigurationsResponse) return soap_closesock(soap); tds__GetDot1XConfigurationsResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot1XConfigurationsResponse->soap_get(soap, "tds:GetDot1XConfigurationsResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::DeleteDot1XConfiguration_(const char *endpoint, const char *soap_action, _tds__DeleteDot1XConfiguration *tds__DeleteDot1XConfiguration, _tds__DeleteDot1XConfigurationResponse *tds__DeleteDot1XConfigurationResponse){ struct soap *soap = this; struct __tds__DeleteDot1XConfiguration_ soap_tmp___tds__DeleteDot1XConfiguration_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/DeleteDot1XConfiguration"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__DeleteDot1XConfiguration_.tds__DeleteDot1XConfiguration = tds__DeleteDot1XConfiguration; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__DeleteDot1XConfiguration_(soap, &soap_tmp___tds__DeleteDot1XConfiguration_); 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) || soap_put___tds__DeleteDot1XConfiguration_(soap, &soap_tmp___tds__DeleteDot1XConfiguration_, "-tds:DeleteDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__DeleteDot1XConfiguration_(soap, &soap_tmp___tds__DeleteDot1XConfiguration_, "-tds:DeleteDot1XConfiguration", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__DeleteDot1XConfigurationResponse) return soap_closesock(soap); tds__DeleteDot1XConfigurationResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__DeleteDot1XConfigurationResponse->soap_get(soap, "tds:DeleteDot1XConfigurationResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot11Capabilities_(const char *endpoint, const char *soap_action, _tds__GetDot11Capabilities *tds__GetDot11Capabilities, _tds__GetDot11CapabilitiesResponse *tds__GetDot11CapabilitiesResponse){ struct soap *soap = this; struct __tds__GetDot11Capabilities_ soap_tmp___tds__GetDot11Capabilities_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Capabilities"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot11Capabilities_.tds__GetDot11Capabilities = tds__GetDot11Capabilities; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot11Capabilities_(soap, &soap_tmp___tds__GetDot11Capabilities_); 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) || soap_put___tds__GetDot11Capabilities_(soap, &soap_tmp___tds__GetDot11Capabilities_, "-tds:GetDot11Capabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot11Capabilities_(soap, &soap_tmp___tds__GetDot11Capabilities_, "-tds:GetDot11Capabilities", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot11CapabilitiesResponse) return soap_closesock(soap); tds__GetDot11CapabilitiesResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot11CapabilitiesResponse->soap_get(soap, "tds:GetDot11CapabilitiesResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetDot11Status_(const char *endpoint, const char *soap_action, _tds__GetDot11Status *tds__GetDot11Status, _tds__GetDot11StatusResponse *tds__GetDot11StatusResponse){ struct soap *soap = this; struct __tds__GetDot11Status_ soap_tmp___tds__GetDot11Status_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Status"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetDot11Status_.tds__GetDot11Status = tds__GetDot11Status; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetDot11Status_(soap, &soap_tmp___tds__GetDot11Status_); 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) || soap_put___tds__GetDot11Status_(soap, &soap_tmp___tds__GetDot11Status_, "-tds:GetDot11Status", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetDot11Status_(soap, &soap_tmp___tds__GetDot11Status_, "-tds:GetDot11Status", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetDot11StatusResponse) return soap_closesock(soap); tds__GetDot11StatusResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetDot11StatusResponse->soap_get(soap, "tds:GetDot11StatusResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::ScanAvailableDot11Networks_(const char *endpoint, const char *soap_action, _tds__ScanAvailableDot11Networks *tds__ScanAvailableDot11Networks, _tds__ScanAvailableDot11NetworksResponse *tds__ScanAvailableDot11NetworksResponse){ struct soap *soap = this; struct __tds__ScanAvailableDot11Networks_ soap_tmp___tds__ScanAvailableDot11Networks_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/ScanAvailableDot11Networks"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__ScanAvailableDot11Networks_.tds__ScanAvailableDot11Networks = tds__ScanAvailableDot11Networks; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__ScanAvailableDot11Networks_(soap, &soap_tmp___tds__ScanAvailableDot11Networks_); 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) || soap_put___tds__ScanAvailableDot11Networks_(soap, &soap_tmp___tds__ScanAvailableDot11Networks_, "-tds:ScanAvailableDot11Networks", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__ScanAvailableDot11Networks_(soap, &soap_tmp___tds__ScanAvailableDot11Networks_, "-tds:ScanAvailableDot11Networks", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__ScanAvailableDot11NetworksResponse) return soap_closesock(soap); tds__ScanAvailableDot11NetworksResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__ScanAvailableDot11NetworksResponse->soap_get(soap, "tds:ScanAvailableDot11NetworksResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::GetSystemUris_(const char *endpoint, const char *soap_action, _tds__GetSystemUris *tds__GetSystemUris, _tds__GetSystemUrisResponse *tds__GetSystemUrisResponse){ struct soap *soap = this; struct __tds__GetSystemUris_ soap_tmp___tds__GetSystemUris_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/GetSystemUris"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__GetSystemUris_.tds__GetSystemUris = tds__GetSystemUris; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__GetSystemUris_(soap, &soap_tmp___tds__GetSystemUris_); 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) || soap_put___tds__GetSystemUris_(soap, &soap_tmp___tds__GetSystemUris_, "-tds:GetSystemUris", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__GetSystemUris_(soap, &soap_tmp___tds__GetSystemUris_, "-tds:GetSystemUris", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__GetSystemUrisResponse) return soap_closesock(soap); tds__GetSystemUrisResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__GetSystemUrisResponse->soap_get(soap, "tds:GetSystemUrisResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::StartFirmwareUpgrade_(const char *endpoint, const char *soap_action, _tds__StartFirmwareUpgrade *tds__StartFirmwareUpgrade, _tds__StartFirmwareUpgradeResponse *tds__StartFirmwareUpgradeResponse){ struct soap *soap = this; struct __tds__StartFirmwareUpgrade_ soap_tmp___tds__StartFirmwareUpgrade_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/StartFirmwareUpgrade"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__StartFirmwareUpgrade_.tds__StartFirmwareUpgrade = tds__StartFirmwareUpgrade; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__StartFirmwareUpgrade_(soap, &soap_tmp___tds__StartFirmwareUpgrade_); 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) || soap_put___tds__StartFirmwareUpgrade_(soap, &soap_tmp___tds__StartFirmwareUpgrade_, "-tds:StartFirmwareUpgrade", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__StartFirmwareUpgrade_(soap, &soap_tmp___tds__StartFirmwareUpgrade_, "-tds:StartFirmwareUpgrade", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__StartFirmwareUpgradeResponse) return soap_closesock(soap); tds__StartFirmwareUpgradeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__StartFirmwareUpgradeResponse->soap_get(soap, "tds:StartFirmwareUpgradeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}
int DeviceBindingProxy::StartSystemRestore_(const char *endpoint, const char *soap_action, _tds__StartSystemRestore *tds__StartSystemRestore, _tds__StartSystemRestoreResponse *tds__StartSystemRestoreResponse){ struct soap *soap = this; struct __tds__StartSystemRestore_ soap_tmp___tds__StartSystemRestore_; if (endpoint) soap_endpoint = endpoint; if (soap_action == NULL) soap_action = "http://www.onvif.org/ver10/device/wsdl/StartSystemRestore"; soap_begin(soap); soap->encodingStyle = NULL; soap_tmp___tds__StartSystemRestore_.tds__StartSystemRestore = tds__StartSystemRestore; soap_set_version(soap, 2); /* SOAP1.2 */ soap_serializeheader(soap); soap_serialize___tds__StartSystemRestore_(soap, &soap_tmp___tds__StartSystemRestore_); 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) || soap_put___tds__StartSystemRestore_(soap, &soap_tmp___tds__StartSystemRestore_, "-tds:StartSystemRestore", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___tds__StartSystemRestore_(soap, &soap_tmp___tds__StartSystemRestore_, "-tds:StartSystemRestore", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!tds__StartSystemRestoreResponse) return soap_closesock(soap); tds__StartSystemRestoreResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); tds__StartSystemRestoreResponse->soap_get(soap, "tds:StartSystemRestoreResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap);}/* End of client proxy code */
|