|
|
/* soapDisplayBindingService.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 "soapDisplayBindingService.h"
DisplayBindingService::DisplayBindingService(){ DisplayBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);}
DisplayBindingService::DisplayBindingService(const struct soap &_soap) : soap(_soap){ }
DisplayBindingService::DisplayBindingService(soap_mode iomode){ DisplayBindingService_init(iomode, iomode);}
DisplayBindingService::DisplayBindingService(soap_mode imode, soap_mode omode){ DisplayBindingService_init(imode, omode);}
DisplayBindingService::~DisplayBindingService(){ }
void DisplayBindingService::DisplayBindingService_init(soap_mode imode, soap_mode omode){ soap_imode(this, imode); soap_omode(this, omode); static const struct Namespace namespaces[] ={ {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL}, {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL}, {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, {"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 DisplayBindingService::destroy(){ soap_destroy(this); soap_end(this);}
void DisplayBindingService::reset(){ destroy(); soap_done(this); soap_initialize(this); DisplayBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);}
#ifndef WITH_PURE_VIRTUAL
DisplayBindingService *DisplayBindingService::copy(){ DisplayBindingService *dup = SOAP_NEW_COPY(DisplayBindingService(*(struct soap*)this)); return dup;}#endif
int DisplayBindingService::soap_close_socket(){ return soap_closesock(this);}
int DisplayBindingService::soap_force_close_socket(){ return soap_force_closesock(this);}
int DisplayBindingService::soap_senderfault(const char *string, const char *detailXML){ return ::soap_sender_fault(this, string, detailXML);}
int DisplayBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML){ return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);}
int DisplayBindingService::soap_receiverfault(const char *string, const char *detailXML){ return ::soap_receiver_fault(this, string, detailXML);}
int DisplayBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML){ return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);}
void DisplayBindingService::soap_print_fault(FILE *fd){ ::soap_print_fault(this, fd);}
#ifndef WITH_LEAN
#ifndef WITH_COMPAT
void DisplayBindingService::soap_stream_fault(std::ostream& os){ ::soap_stream_fault(this, os);}#endif
char *DisplayBindingService::soap_sprint_fault(char *buf, size_t len){ return ::soap_sprint_fault(this, buf, len);}#endif
void DisplayBindingService::soap_noheader(){ this->header = NULL;}
void DisplayBindingService::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 *DisplayBindingService::soap_header(){ return this->header;}
int DisplayBindingService::run(int port){ if (soap_valid_socket(this->master) || soap_valid_socket(bind(NULL, port, 100))) { for (;;) { if (!soap_valid_socket(accept()) || serve()) return this->error; soap_destroy(this); soap_end(this); } } else return this->error; return SOAP_OK;}
SOAP_SOCKET DisplayBindingService::bind(const char *host, int port, int backlog){ return soap_bind(this, host, port, backlog);}
SOAP_SOCKET DisplayBindingService::accept(){ return soap_accept(this);}
#if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
int DisplayBindingService::ssl_accept(){ return soap_ssl_accept(this);}#endif
int DisplayBindingService::serve(){#ifndef WITH_FASTCGI
unsigned int k = this->max_keep_alive;#endif
do {
#ifndef WITH_FASTCGI
if (this->max_keep_alive > 0 && !--k) this->keep_alive = 0;#endif
if (soap_begin_serve(this)) { if (this->error >= SOAP_STOP) continue; return this->error; } if (dispatch() || (this->fserveloop && this->fserveloop(this))) {#ifdef WITH_FASTCGI
soap_send_fault(this);#else
return soap_send_fault(this);#endif
}
#ifdef WITH_FASTCGI
soap_destroy(this); soap_end(this); } while (1);#else
} while (this->keep_alive);#endif
return SOAP_OK;}
static int serve___tls__GetServiceCapabilities(DisplayBindingService*);static int serve___tls__GetLayout(DisplayBindingService*);static int serve___tls__SetLayout(DisplayBindingService*);static int serve___tls__GetDisplayOptions(DisplayBindingService*);static int serve___tls__GetPaneConfigurations(DisplayBindingService*);static int serve___tls__GetPaneConfiguration(DisplayBindingService*);static int serve___tls__SetPaneConfigurations(DisplayBindingService*);static int serve___tls__SetPaneConfiguration(DisplayBindingService*);static int serve___tls__CreatePaneConfiguration(DisplayBindingService*);static int serve___tls__DeletePaneConfiguration(DisplayBindingService*);
int DisplayBindingService::dispatch(){ soap_peek_element(this); if (!soap_match_tag(this, this->tag, "tls:GetServiceCapabilities")) return serve___tls__GetServiceCapabilities(this); if (!soap_match_tag(this, this->tag, "tls:GetLayout")) return serve___tls__GetLayout(this); if (!soap_match_tag(this, this->tag, "tls:SetLayout")) return serve___tls__SetLayout(this); if (!soap_match_tag(this, this->tag, "tls:GetDisplayOptions")) return serve___tls__GetDisplayOptions(this); if (!soap_match_tag(this, this->tag, "tls:GetPaneConfigurations")) return serve___tls__GetPaneConfigurations(this); if (!soap_match_tag(this, this->tag, "tls:GetPaneConfiguration")) return serve___tls__GetPaneConfiguration(this); if (!soap_match_tag(this, this->tag, "tls:SetPaneConfigurations")) return serve___tls__SetPaneConfigurations(this); if (!soap_match_tag(this, this->tag, "tls:SetPaneConfiguration")) return serve___tls__SetPaneConfiguration(this); if (!soap_match_tag(this, this->tag, "tls:CreatePaneConfiguration")) return serve___tls__CreatePaneConfiguration(this); if (!soap_match_tag(this, this->tag, "tls:DeletePaneConfiguration")) return serve___tls__DeletePaneConfiguration(this); return this->error = SOAP_NO_METHOD;}
static int serve___tls__GetServiceCapabilities(DisplayBindingService *soap){ struct __tls__GetServiceCapabilities soap_tmp___tls__GetServiceCapabilities; _tls__GetServiceCapabilitiesResponse tls__GetServiceCapabilitiesResponse; tls__GetServiceCapabilitiesResponse.soap_default(soap); soap_default___tls__GetServiceCapabilities(soap, &soap_tmp___tls__GetServiceCapabilities); if (!soap_get___tls__GetServiceCapabilities(soap, &soap_tmp___tls__GetServiceCapabilities, "-tls:GetServiceCapabilities", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->GetServiceCapabilities(soap_tmp___tls__GetServiceCapabilities.tls__GetServiceCapabilities, &tls__GetServiceCapabilitiesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__GetServiceCapabilitiesResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetServiceCapabilitiesResponse.soap_put(soap, "tls:GetServiceCapabilitiesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetServiceCapabilitiesResponse.soap_put(soap, "tls:GetServiceCapabilitiesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__GetLayout(DisplayBindingService *soap){ struct __tls__GetLayout soap_tmp___tls__GetLayout; _tls__GetLayoutResponse tls__GetLayoutResponse; tls__GetLayoutResponse.soap_default(soap); soap_default___tls__GetLayout(soap, &soap_tmp___tls__GetLayout); if (!soap_get___tls__GetLayout(soap, &soap_tmp___tls__GetLayout, "-tls:GetLayout", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->GetLayout(soap_tmp___tls__GetLayout.tls__GetLayout, &tls__GetLayoutResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__GetLayoutResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetLayoutResponse.soap_put(soap, "tls:GetLayoutResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetLayoutResponse.soap_put(soap, "tls:GetLayoutResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__SetLayout(DisplayBindingService *soap){ struct __tls__SetLayout soap_tmp___tls__SetLayout; _tls__SetLayoutResponse tls__SetLayoutResponse; tls__SetLayoutResponse.soap_default(soap); soap_default___tls__SetLayout(soap, &soap_tmp___tls__SetLayout); if (!soap_get___tls__SetLayout(soap, &soap_tmp___tls__SetLayout, "-tls:SetLayout", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->SetLayout(soap_tmp___tls__SetLayout.tls__SetLayout, &tls__SetLayoutResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__SetLayoutResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetLayoutResponse.soap_put(soap, "tls:SetLayoutResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetLayoutResponse.soap_put(soap, "tls:SetLayoutResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__GetDisplayOptions(DisplayBindingService *soap){ struct __tls__GetDisplayOptions soap_tmp___tls__GetDisplayOptions; _tls__GetDisplayOptionsResponse tls__GetDisplayOptionsResponse; tls__GetDisplayOptionsResponse.soap_default(soap); soap_default___tls__GetDisplayOptions(soap, &soap_tmp___tls__GetDisplayOptions); if (!soap_get___tls__GetDisplayOptions(soap, &soap_tmp___tls__GetDisplayOptions, "-tls:GetDisplayOptions", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->GetDisplayOptions(soap_tmp___tls__GetDisplayOptions.tls__GetDisplayOptions, &tls__GetDisplayOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__GetDisplayOptionsResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetDisplayOptionsResponse.soap_put(soap, "tls:GetDisplayOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetDisplayOptionsResponse.soap_put(soap, "tls:GetDisplayOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__GetPaneConfigurations(DisplayBindingService *soap){ struct __tls__GetPaneConfigurations soap_tmp___tls__GetPaneConfigurations; _tls__GetPaneConfigurationsResponse tls__GetPaneConfigurationsResponse; tls__GetPaneConfigurationsResponse.soap_default(soap); soap_default___tls__GetPaneConfigurations(soap, &soap_tmp___tls__GetPaneConfigurations); if (!soap_get___tls__GetPaneConfigurations(soap, &soap_tmp___tls__GetPaneConfigurations, "-tls:GetPaneConfigurations", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->GetPaneConfigurations(soap_tmp___tls__GetPaneConfigurations.tls__GetPaneConfigurations, &tls__GetPaneConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__GetPaneConfigurationsResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetPaneConfigurationsResponse.soap_put(soap, "tls:GetPaneConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetPaneConfigurationsResponse.soap_put(soap, "tls:GetPaneConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__GetPaneConfiguration(DisplayBindingService *soap){ struct __tls__GetPaneConfiguration soap_tmp___tls__GetPaneConfiguration; _tls__GetPaneConfigurationResponse tls__GetPaneConfigurationResponse; tls__GetPaneConfigurationResponse.soap_default(soap); soap_default___tls__GetPaneConfiguration(soap, &soap_tmp___tls__GetPaneConfiguration); if (!soap_get___tls__GetPaneConfiguration(soap, &soap_tmp___tls__GetPaneConfiguration, "-tls:GetPaneConfiguration", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->GetPaneConfiguration(soap_tmp___tls__GetPaneConfiguration.tls__GetPaneConfiguration, &tls__GetPaneConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__GetPaneConfigurationResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetPaneConfigurationResponse.soap_put(soap, "tls:GetPaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__GetPaneConfigurationResponse.soap_put(soap, "tls:GetPaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__SetPaneConfigurations(DisplayBindingService *soap){ struct __tls__SetPaneConfigurations soap_tmp___tls__SetPaneConfigurations; _tls__SetPaneConfigurationsResponse tls__SetPaneConfigurationsResponse; tls__SetPaneConfigurationsResponse.soap_default(soap); soap_default___tls__SetPaneConfigurations(soap, &soap_tmp___tls__SetPaneConfigurations); if (!soap_get___tls__SetPaneConfigurations(soap, &soap_tmp___tls__SetPaneConfigurations, "-tls:SetPaneConfigurations", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->SetPaneConfigurations(soap_tmp___tls__SetPaneConfigurations.tls__SetPaneConfigurations, &tls__SetPaneConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__SetPaneConfigurationsResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetPaneConfigurationsResponse.soap_put(soap, "tls:SetPaneConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetPaneConfigurationsResponse.soap_put(soap, "tls:SetPaneConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__SetPaneConfiguration(DisplayBindingService *soap){ struct __tls__SetPaneConfiguration soap_tmp___tls__SetPaneConfiguration; _tls__SetPaneConfigurationResponse tls__SetPaneConfigurationResponse; tls__SetPaneConfigurationResponse.soap_default(soap); soap_default___tls__SetPaneConfiguration(soap, &soap_tmp___tls__SetPaneConfiguration); if (!soap_get___tls__SetPaneConfiguration(soap, &soap_tmp___tls__SetPaneConfiguration, "-tls:SetPaneConfiguration", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->SetPaneConfiguration(soap_tmp___tls__SetPaneConfiguration.tls__SetPaneConfiguration, &tls__SetPaneConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__SetPaneConfigurationResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetPaneConfigurationResponse.soap_put(soap, "tls:SetPaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__SetPaneConfigurationResponse.soap_put(soap, "tls:SetPaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__CreatePaneConfiguration(DisplayBindingService *soap){ struct __tls__CreatePaneConfiguration soap_tmp___tls__CreatePaneConfiguration; _tls__CreatePaneConfigurationResponse tls__CreatePaneConfigurationResponse; tls__CreatePaneConfigurationResponse.soap_default(soap); soap_default___tls__CreatePaneConfiguration(soap, &soap_tmp___tls__CreatePaneConfiguration); if (!soap_get___tls__CreatePaneConfiguration(soap, &soap_tmp___tls__CreatePaneConfiguration, "-tls:CreatePaneConfiguration", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->CreatePaneConfiguration(soap_tmp___tls__CreatePaneConfiguration.tls__CreatePaneConfiguration, &tls__CreatePaneConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__CreatePaneConfigurationResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__CreatePaneConfigurationResponse.soap_put(soap, "tls:CreatePaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__CreatePaneConfigurationResponse.soap_put(soap, "tls:CreatePaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}
static int serve___tls__DeletePaneConfiguration(DisplayBindingService *soap){ struct __tls__DeletePaneConfiguration soap_tmp___tls__DeletePaneConfiguration; _tls__DeletePaneConfigurationResponse tls__DeletePaneConfigurationResponse; tls__DeletePaneConfigurationResponse.soap_default(soap); soap_default___tls__DeletePaneConfiguration(soap, &soap_tmp___tls__DeletePaneConfiguration); if (!soap_get___tls__DeletePaneConfiguration(soap, &soap_tmp___tls__DeletePaneConfiguration, "-tls:DeletePaneConfiguration", NULL)) return soap->error; if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap->error; soap->error = soap->DeletePaneConfiguration(soap_tmp___tls__DeletePaneConfiguration.tls__DeletePaneConfiguration, &tls__DeletePaneConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); tls__DeletePaneConfigurationResponse.soap_serialize(soap); if (soap_begin_count(soap)) return soap->error; if (soap->mode & SOAP_IO_LENGTH) { if (soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__DeletePaneConfigurationResponse.soap_put(soap, "tls:DeletePaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; }; if (soap_end_count(soap) || soap_response(soap, SOAP_OK) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || tls__DeletePaneConfigurationResponse.soap_put(soap, "tls:DeletePaneConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap);}/* End of server object code */
|