/* soapMediaBindingService.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 that compiling, linking, and/or using OpenSSL is allowed. */ #include "soapMediaBindingService.h" MediaBindingService::MediaBindingService() { MediaBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); } MediaBindingService::MediaBindingService(const struct soap &_soap) : soap(_soap) { } MediaBindingService::MediaBindingService(soap_mode iomode) { MediaBindingService_init(iomode, iomode); } MediaBindingService::MediaBindingService(soap_mode imode, soap_mode omode) { MediaBindingService_init(imode, omode); } MediaBindingService::~MediaBindingService() { } void MediaBindingService::MediaBindingService_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 MediaBindingService::destroy() { soap_destroy(this); soap_end(this); } void MediaBindingService::reset() { destroy(); soap_done(this); soap_initialize(this); MediaBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); } #ifndef WITH_PURE_VIRTUAL MediaBindingService *MediaBindingService::copy() { MediaBindingService *dup = SOAP_NEW_COPY(MediaBindingService(*(struct soap*)this)); return dup; } #endif int MediaBindingService::soap_close_socket() { return soap_closesock(this); } int MediaBindingService::soap_force_close_socket() { return soap_force_closesock(this); } int MediaBindingService::soap_senderfault(const char *string, const char *detailXML) { return ::soap_sender_fault(this, string, detailXML); } int MediaBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML) { return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML); } int MediaBindingService::soap_receiverfault(const char *string, const char *detailXML) { return ::soap_receiver_fault(this, string, detailXML); } int MediaBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML) { return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML); } void MediaBindingService::soap_print_fault(FILE *fd) { ::soap_print_fault(this, fd); } #ifndef WITH_LEAN #ifndef WITH_COMPAT void MediaBindingService::soap_stream_fault(std::ostream& os) { ::soap_stream_fault(this, os); } #endif char *MediaBindingService::soap_sprint_fault(char *buf, size_t len) { return ::soap_sprint_fault(this, buf, len); } #endif void MediaBindingService::soap_noheader() { this->header = NULL; } void MediaBindingService::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 *MediaBindingService::soap_header() { return this->header; } int MediaBindingService::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 MediaBindingService::bind(const char *host, int port, int backlog) { return soap_bind(this, host, port, backlog); } SOAP_SOCKET MediaBindingService::accept() { return soap_accept(this); } #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS) int MediaBindingService::ssl_accept() { return soap_ssl_accept(this); } #endif int MediaBindingService::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___trt__GetServiceCapabilities(MediaBindingService*); static int serve___trt__GetVideoSources(MediaBindingService*); static int serve___trt__GetAudioSources(MediaBindingService*); static int serve___trt__GetAudioOutputs(MediaBindingService*); static int serve___trt__CreateProfile(MediaBindingService*); static int serve___trt__GetProfile(MediaBindingService*); static int serve___trt__GetProfiles(MediaBindingService*); static int serve___trt__AddVideoEncoderConfiguration(MediaBindingService*); static int serve___trt__AddVideoSourceConfiguration(MediaBindingService*); static int serve___trt__AddAudioEncoderConfiguration(MediaBindingService*); static int serve___trt__AddAudioSourceConfiguration(MediaBindingService*); static int serve___trt__AddPTZConfiguration(MediaBindingService*); static int serve___trt__AddVideoAnalyticsConfiguration(MediaBindingService*); static int serve___trt__AddMetadataConfiguration(MediaBindingService*); static int serve___trt__AddAudioOutputConfiguration(MediaBindingService*); static int serve___trt__AddAudioDecoderConfiguration(MediaBindingService*); static int serve___trt__RemoveVideoEncoderConfiguration(MediaBindingService*); static int serve___trt__RemoveVideoSourceConfiguration(MediaBindingService*); static int serve___trt__RemoveAudioEncoderConfiguration(MediaBindingService*); static int serve___trt__RemoveAudioSourceConfiguration(MediaBindingService*); static int serve___trt__RemovePTZConfiguration(MediaBindingService*); static int serve___trt__RemoveVideoAnalyticsConfiguration(MediaBindingService*); static int serve___trt__RemoveMetadataConfiguration(MediaBindingService*); static int serve___trt__RemoveAudioOutputConfiguration(MediaBindingService*); static int serve___trt__RemoveAudioDecoderConfiguration(MediaBindingService*); static int serve___trt__DeleteProfile(MediaBindingService*); static int serve___trt__GetVideoSourceConfigurations(MediaBindingService*); static int serve___trt__GetVideoEncoderConfigurations(MediaBindingService*); static int serve___trt__GetAudioSourceConfigurations(MediaBindingService*); static int serve___trt__GetAudioEncoderConfigurations(MediaBindingService*); static int serve___trt__GetVideoAnalyticsConfigurations(MediaBindingService*); static int serve___trt__GetMetadataConfigurations(MediaBindingService*); static int serve___trt__GetAudioOutputConfigurations(MediaBindingService*); static int serve___trt__GetAudioDecoderConfigurations(MediaBindingService*); static int serve___trt__GetVideoSourceConfiguration(MediaBindingService*); static int serve___trt__GetVideoEncoderConfiguration(MediaBindingService*); static int serve___trt__GetAudioSourceConfiguration(MediaBindingService*); static int serve___trt__GetAudioEncoderConfiguration(MediaBindingService*); static int serve___trt__GetVideoAnalyticsConfiguration(MediaBindingService*); static int serve___trt__GetMetadataConfiguration(MediaBindingService*); static int serve___trt__GetAudioOutputConfiguration(MediaBindingService*); static int serve___trt__GetAudioDecoderConfiguration(MediaBindingService*); static int serve___trt__GetCompatibleVideoEncoderConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleVideoSourceConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleAudioEncoderConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleAudioSourceConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleVideoAnalyticsConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleMetadataConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleAudioOutputConfigurations(MediaBindingService*); static int serve___trt__GetCompatibleAudioDecoderConfigurations(MediaBindingService*); static int serve___trt__SetVideoSourceConfiguration(MediaBindingService*); static int serve___trt__SetVideoEncoderConfiguration(MediaBindingService*); static int serve___trt__SetAudioSourceConfiguration(MediaBindingService*); static int serve___trt__SetAudioEncoderConfiguration(MediaBindingService*); static int serve___trt__SetVideoAnalyticsConfiguration(MediaBindingService*); static int serve___trt__SetMetadataConfiguration(MediaBindingService*); static int serve___trt__SetAudioOutputConfiguration(MediaBindingService*); static int serve___trt__SetAudioDecoderConfiguration(MediaBindingService*); static int serve___trt__GetVideoSourceConfigurationOptions(MediaBindingService*); static int serve___trt__GetVideoEncoderConfigurationOptions(MediaBindingService*); static int serve___trt__GetAudioSourceConfigurationOptions(MediaBindingService*); static int serve___trt__GetAudioEncoderConfigurationOptions(MediaBindingService*); static int serve___trt__GetMetadataConfigurationOptions(MediaBindingService*); static int serve___trt__GetAudioOutputConfigurationOptions(MediaBindingService*); static int serve___trt__GetAudioDecoderConfigurationOptions(MediaBindingService*); static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(MediaBindingService*); static int serve___trt__GetStreamUri(MediaBindingService*); static int serve___trt__StartMulticastStreaming(MediaBindingService*); static int serve___trt__StopMulticastStreaming(MediaBindingService*); static int serve___trt__SetSynchronizationPoint(MediaBindingService*); static int serve___trt__GetSnapshotUri(MediaBindingService*); static int serve___trt__GetVideoSourceModes(MediaBindingService*); static int serve___trt__SetVideoSourceMode(MediaBindingService*); static int serve___trt__GetOSDs(MediaBindingService*); static int serve___trt__GetOSD(MediaBindingService*); static int serve___trt__GetOSDOptions(MediaBindingService*); static int serve___trt__SetOSD(MediaBindingService*); static int serve___trt__CreateOSD(MediaBindingService*); static int serve___trt__DeleteOSD(MediaBindingService*); static int serve___trt__GetServiceCapabilities_(MediaBindingService*); static int serve___trt__GetVideoSources_(MediaBindingService*); static int serve___trt__GetAudioSources_(MediaBindingService*); static int serve___trt__GetAudioOutputs_(MediaBindingService*); static int serve___trt__CreateProfile_(MediaBindingService*); static int serve___trt__GetProfile_(MediaBindingService*); static int serve___trt__GetProfiles_(MediaBindingService*); static int serve___trt__AddVideoEncoderConfiguration_(MediaBindingService*); static int serve___trt__AddVideoSourceConfiguration_(MediaBindingService*); static int serve___trt__AddAudioEncoderConfiguration_(MediaBindingService*); static int serve___trt__AddAudioSourceConfiguration_(MediaBindingService*); static int serve___trt__AddPTZConfiguration_(MediaBindingService*); static int serve___trt__AddVideoAnalyticsConfiguration_(MediaBindingService*); static int serve___trt__AddMetadataConfiguration_(MediaBindingService*); static int serve___trt__AddAudioOutputConfiguration_(MediaBindingService*); static int serve___trt__AddAudioDecoderConfiguration_(MediaBindingService*); static int serve___trt__RemoveVideoEncoderConfiguration_(MediaBindingService*); static int serve___trt__RemoveVideoSourceConfiguration_(MediaBindingService*); static int serve___trt__RemoveAudioEncoderConfiguration_(MediaBindingService*); static int serve___trt__RemoveAudioSourceConfiguration_(MediaBindingService*); static int serve___trt__RemovePTZConfiguration_(MediaBindingService*); static int serve___trt__RemoveVideoAnalyticsConfiguration_(MediaBindingService*); static int serve___trt__RemoveMetadataConfiguration_(MediaBindingService*); static int serve___trt__RemoveAudioOutputConfiguration_(MediaBindingService*); static int serve___trt__RemoveAudioDecoderConfiguration_(MediaBindingService*); static int serve___trt__DeleteProfile_(MediaBindingService*); static int serve___trt__GetVideoSourceConfigurations_(MediaBindingService*); static int serve___trt__GetVideoEncoderConfigurations_(MediaBindingService*); static int serve___trt__GetAudioSourceConfigurations_(MediaBindingService*); static int serve___trt__GetAudioEncoderConfigurations_(MediaBindingService*); static int serve___trt__GetVideoAnalyticsConfigurations_(MediaBindingService*); static int serve___trt__GetMetadataConfigurations_(MediaBindingService*); static int serve___trt__GetAudioOutputConfigurations_(MediaBindingService*); static int serve___trt__GetAudioDecoderConfigurations_(MediaBindingService*); static int serve___trt__GetVideoSourceConfiguration_(MediaBindingService*); static int serve___trt__GetVideoEncoderConfiguration_(MediaBindingService*); static int serve___trt__GetAudioSourceConfiguration_(MediaBindingService*); static int serve___trt__GetAudioEncoderConfiguration_(MediaBindingService*); static int serve___trt__GetVideoAnalyticsConfiguration_(MediaBindingService*); static int serve___trt__GetMetadataConfiguration_(MediaBindingService*); static int serve___trt__GetAudioOutputConfiguration_(MediaBindingService*); static int serve___trt__GetAudioDecoderConfiguration_(MediaBindingService*); static int serve___trt__GetCompatibleVideoEncoderConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleVideoSourceConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleAudioEncoderConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleAudioSourceConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleVideoAnalyticsConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleMetadataConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleAudioOutputConfigurations_(MediaBindingService*); static int serve___trt__GetCompatibleAudioDecoderConfigurations_(MediaBindingService*); static int serve___trt__SetVideoSourceConfiguration_(MediaBindingService*); static int serve___trt__SetVideoEncoderConfiguration_(MediaBindingService*); static int serve___trt__SetAudioSourceConfiguration_(MediaBindingService*); static int serve___trt__SetAudioEncoderConfiguration_(MediaBindingService*); static int serve___trt__SetVideoAnalyticsConfiguration_(MediaBindingService*); static int serve___trt__SetMetadataConfiguration_(MediaBindingService*); static int serve___trt__SetAudioOutputConfiguration_(MediaBindingService*); static int serve___trt__SetAudioDecoderConfiguration_(MediaBindingService*); static int serve___trt__GetVideoSourceConfigurationOptions_(MediaBindingService*); static int serve___trt__GetVideoEncoderConfigurationOptions_(MediaBindingService*); static int serve___trt__GetAudioSourceConfigurationOptions_(MediaBindingService*); static int serve___trt__GetAudioEncoderConfigurationOptions_(MediaBindingService*); static int serve___trt__GetMetadataConfigurationOptions_(MediaBindingService*); static int serve___trt__GetAudioOutputConfigurationOptions_(MediaBindingService*); static int serve___trt__GetAudioDecoderConfigurationOptions_(MediaBindingService*); static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(MediaBindingService*); static int serve___trt__GetStreamUri_(MediaBindingService*); static int serve___trt__StartMulticastStreaming_(MediaBindingService*); static int serve___trt__StopMulticastStreaming_(MediaBindingService*); static int serve___trt__SetSynchronizationPoint_(MediaBindingService*); static int serve___trt__GetSnapshotUri_(MediaBindingService*); static int serve___trt__GetVideoSourceModes_(MediaBindingService*); static int serve___trt__SetVideoSourceMode_(MediaBindingService*); static int serve___trt__GetOSDs_(MediaBindingService*); static int serve___trt__GetOSD_(MediaBindingService*); static int serve___trt__GetOSDOptions_(MediaBindingService*); static int serve___trt__SetOSD_(MediaBindingService*); static int serve___trt__CreateOSD_(MediaBindingService*); static int serve___trt__DeleteOSD_(MediaBindingService*); int MediaBindingService::dispatch() { soap_peek_element(this); if (!soap_match_tag(this, this->tag, "trt:GetServiceCapabilities")) return serve___trt__GetServiceCapabilities(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSources")) return serve___trt__GetVideoSources(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSources")) return serve___trt__GetAudioSources(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputs")) return serve___trt__GetAudioOutputs(this); if (!soap_match_tag(this, this->tag, "trt:CreateProfile")) return serve___trt__CreateProfile(this); if (!soap_match_tag(this, this->tag, "trt:GetProfile")) return serve___trt__GetProfile(this); if (!soap_match_tag(this, this->tag, "trt:GetProfiles")) return serve___trt__GetProfiles(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoEncoderConfiguration")) return serve___trt__AddVideoEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoSourceConfiguration")) return serve___trt__AddVideoSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioEncoderConfiguration")) return serve___trt__AddAudioEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioSourceConfiguration")) return serve___trt__AddAudioSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddPTZConfiguration")) return serve___trt__AddPTZConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoAnalyticsConfiguration")) return serve___trt__AddVideoAnalyticsConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddMetadataConfiguration")) return serve___trt__AddMetadataConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioOutputConfiguration")) return serve___trt__AddAudioOutputConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioDecoderConfiguration")) return serve___trt__AddAudioDecoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoEncoderConfiguration")) return serve___trt__RemoveVideoEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoSourceConfiguration")) return serve___trt__RemoveVideoSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioEncoderConfiguration")) return serve___trt__RemoveAudioEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioSourceConfiguration")) return serve___trt__RemoveAudioSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemovePTZConfiguration")) return serve___trt__RemovePTZConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoAnalyticsConfiguration")) return serve___trt__RemoveVideoAnalyticsConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveMetadataConfiguration")) return serve___trt__RemoveMetadataConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioOutputConfiguration")) return serve___trt__RemoveAudioOutputConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioDecoderConfiguration")) return serve___trt__RemoveAudioDecoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:DeleteProfile")) return serve___trt__DeleteProfile(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurations")) return serve___trt__GetVideoSourceConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurations")) return serve___trt__GetVideoEncoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurations")) return serve___trt__GetAudioSourceConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurations")) return serve___trt__GetAudioEncoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfigurations")) return serve___trt__GetVideoAnalyticsConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurations")) return serve___trt__GetMetadataConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurations")) return serve___trt__GetAudioOutputConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurations")) return serve___trt__GetAudioDecoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfiguration")) return serve___trt__GetVideoSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfiguration")) return serve___trt__GetVideoEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfiguration")) return serve___trt__GetAudioSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfiguration")) return serve___trt__GetAudioEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfiguration")) return serve___trt__GetVideoAnalyticsConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfiguration")) return serve___trt__GetMetadataConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfiguration")) return serve___trt__GetAudioOutputConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfiguration")) return serve___trt__GetAudioDecoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoEncoderConfigurations")) return serve___trt__GetCompatibleVideoEncoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoSourceConfigurations")) return serve___trt__GetCompatibleVideoSourceConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioEncoderConfigurations")) return serve___trt__GetCompatibleAudioEncoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioSourceConfigurations")) return serve___trt__GetCompatibleAudioSourceConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoAnalyticsConfigurations")) return serve___trt__GetCompatibleVideoAnalyticsConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleMetadataConfigurations")) return serve___trt__GetCompatibleMetadataConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioOutputConfigurations")) return serve___trt__GetCompatibleAudioOutputConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioDecoderConfigurations")) return serve___trt__GetCompatibleAudioDecoderConfigurations(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceConfiguration")) return serve___trt__SetVideoSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoEncoderConfiguration")) return serve___trt__SetVideoEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioSourceConfiguration")) return serve___trt__SetAudioSourceConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioEncoderConfiguration")) return serve___trt__SetAudioEncoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoAnalyticsConfiguration")) return serve___trt__SetVideoAnalyticsConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetMetadataConfiguration")) return serve___trt__SetMetadataConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioOutputConfiguration")) return serve___trt__SetAudioOutputConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioDecoderConfiguration")) return serve___trt__SetAudioDecoderConfiguration(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurationOptions")) return serve___trt__GetVideoSourceConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurationOptions")) return serve___trt__GetVideoEncoderConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurationOptions")) return serve___trt__GetAudioSourceConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurationOptions")) return serve___trt__GetAudioEncoderConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurationOptions")) return serve___trt__GetMetadataConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurationOptions")) return serve___trt__GetAudioOutputConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurationOptions")) return serve___trt__GetAudioDecoderConfigurationOptions(this); if (!soap_match_tag(this, this->tag, "trt:GetGuaranteedNumberOfVideoEncoderInstances")) return serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(this); if (!soap_match_tag(this, this->tag, "trt:GetStreamUri")) return serve___trt__GetStreamUri(this); if (!soap_match_tag(this, this->tag, "trt:StartMulticastStreaming")) return serve___trt__StartMulticastStreaming(this); if (!soap_match_tag(this, this->tag, "trt:StopMulticastStreaming")) return serve___trt__StopMulticastStreaming(this); if (!soap_match_tag(this, this->tag, "trt:SetSynchronizationPoint")) return serve___trt__SetSynchronizationPoint(this); if (!soap_match_tag(this, this->tag, "trt:GetSnapshotUri")) return serve___trt__GetSnapshotUri(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceModes")) return serve___trt__GetVideoSourceModes(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceMode")) return serve___trt__SetVideoSourceMode(this); if (!soap_match_tag(this, this->tag, "trt:GetOSDs")) return serve___trt__GetOSDs(this); if (!soap_match_tag(this, this->tag, "trt:GetOSD")) return serve___trt__GetOSD(this); if (!soap_match_tag(this, this->tag, "trt:GetOSDOptions")) return serve___trt__GetOSDOptions(this); if (!soap_match_tag(this, this->tag, "trt:SetOSD")) return serve___trt__SetOSD(this); if (!soap_match_tag(this, this->tag, "trt:CreateOSD")) return serve___trt__CreateOSD(this); if (!soap_match_tag(this, this->tag, "trt:DeleteOSD")) return serve___trt__DeleteOSD(this); if (!soap_match_tag(this, this->tag, "trt:GetServiceCapabilities")) return serve___trt__GetServiceCapabilities_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSources")) return serve___trt__GetVideoSources_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSources")) return serve___trt__GetAudioSources_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputs")) return serve___trt__GetAudioOutputs_(this); if (!soap_match_tag(this, this->tag, "trt:CreateProfile")) return serve___trt__CreateProfile_(this); if (!soap_match_tag(this, this->tag, "trt:GetProfile")) return serve___trt__GetProfile_(this); if (!soap_match_tag(this, this->tag, "trt:GetProfiles")) return serve___trt__GetProfiles_(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoEncoderConfiguration")) return serve___trt__AddVideoEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoSourceConfiguration")) return serve___trt__AddVideoSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioEncoderConfiguration")) return serve___trt__AddAudioEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioSourceConfiguration")) return serve___trt__AddAudioSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddPTZConfiguration")) return serve___trt__AddPTZConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddVideoAnalyticsConfiguration")) return serve___trt__AddVideoAnalyticsConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddMetadataConfiguration")) return serve___trt__AddMetadataConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioOutputConfiguration")) return serve___trt__AddAudioOutputConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:AddAudioDecoderConfiguration")) return serve___trt__AddAudioDecoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoEncoderConfiguration")) return serve___trt__RemoveVideoEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoSourceConfiguration")) return serve___trt__RemoveVideoSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioEncoderConfiguration")) return serve___trt__RemoveAudioEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioSourceConfiguration")) return serve___trt__RemoveAudioSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemovePTZConfiguration")) return serve___trt__RemovePTZConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveVideoAnalyticsConfiguration")) return serve___trt__RemoveVideoAnalyticsConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveMetadataConfiguration")) return serve___trt__RemoveMetadataConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioOutputConfiguration")) return serve___trt__RemoveAudioOutputConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:RemoveAudioDecoderConfiguration")) return serve___trt__RemoveAudioDecoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:DeleteProfile")) return serve___trt__DeleteProfile_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurations")) return serve___trt__GetVideoSourceConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurations")) return serve___trt__GetVideoEncoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurations")) return serve___trt__GetAudioSourceConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurations")) return serve___trt__GetAudioEncoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfigurations")) return serve___trt__GetVideoAnalyticsConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurations")) return serve___trt__GetMetadataConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurations")) return serve___trt__GetAudioOutputConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurations")) return serve___trt__GetAudioDecoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfiguration")) return serve___trt__GetVideoSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfiguration")) return serve___trt__GetVideoEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfiguration")) return serve___trt__GetAudioSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfiguration")) return serve___trt__GetAudioEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoAnalyticsConfiguration")) return serve___trt__GetVideoAnalyticsConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfiguration")) return serve___trt__GetMetadataConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfiguration")) return serve___trt__GetAudioOutputConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfiguration")) return serve___trt__GetAudioDecoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoEncoderConfigurations")) return serve___trt__GetCompatibleVideoEncoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoSourceConfigurations")) return serve___trt__GetCompatibleVideoSourceConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioEncoderConfigurations")) return serve___trt__GetCompatibleAudioEncoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioSourceConfigurations")) return serve___trt__GetCompatibleAudioSourceConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleVideoAnalyticsConfigurations")) return serve___trt__GetCompatibleVideoAnalyticsConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleMetadataConfigurations")) return serve___trt__GetCompatibleMetadataConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioOutputConfigurations")) return serve___trt__GetCompatibleAudioOutputConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:GetCompatibleAudioDecoderConfigurations")) return serve___trt__GetCompatibleAudioDecoderConfigurations_(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceConfiguration")) return serve___trt__SetVideoSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoEncoderConfiguration")) return serve___trt__SetVideoEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioSourceConfiguration")) return serve___trt__SetAudioSourceConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioEncoderConfiguration")) return serve___trt__SetAudioEncoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoAnalyticsConfiguration")) return serve___trt__SetVideoAnalyticsConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetMetadataConfiguration")) return serve___trt__SetMetadataConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioOutputConfiguration")) return serve___trt__SetAudioOutputConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:SetAudioDecoderConfiguration")) return serve___trt__SetAudioDecoderConfiguration_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceConfigurationOptions")) return serve___trt__GetVideoSourceConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoEncoderConfigurationOptions")) return serve___trt__GetVideoEncoderConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioSourceConfigurationOptions")) return serve___trt__GetAudioSourceConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioEncoderConfigurationOptions")) return serve___trt__GetAudioEncoderConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetMetadataConfigurationOptions")) return serve___trt__GetMetadataConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioOutputConfigurationOptions")) return serve___trt__GetAudioOutputConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetAudioDecoderConfigurationOptions")) return serve___trt__GetAudioDecoderConfigurationOptions_(this); if (!soap_match_tag(this, this->tag, "trt:GetGuaranteedNumberOfVideoEncoderInstances")) return serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(this); if (!soap_match_tag(this, this->tag, "trt:GetStreamUri")) return serve___trt__GetStreamUri_(this); if (!soap_match_tag(this, this->tag, "trt:StartMulticastStreaming")) return serve___trt__StartMulticastStreaming_(this); if (!soap_match_tag(this, this->tag, "trt:StopMulticastStreaming")) return serve___trt__StopMulticastStreaming_(this); if (!soap_match_tag(this, this->tag, "trt:SetSynchronizationPoint")) return serve___trt__SetSynchronizationPoint_(this); if (!soap_match_tag(this, this->tag, "trt:GetSnapshotUri")) return serve___trt__GetSnapshotUri_(this); if (!soap_match_tag(this, this->tag, "trt:GetVideoSourceModes")) return serve___trt__GetVideoSourceModes_(this); if (!soap_match_tag(this, this->tag, "trt:SetVideoSourceMode")) return serve___trt__SetVideoSourceMode_(this); if (!soap_match_tag(this, this->tag, "trt:GetOSDs")) return serve___trt__GetOSDs_(this); if (!soap_match_tag(this, this->tag, "trt:GetOSD")) return serve___trt__GetOSD_(this); if (!soap_match_tag(this, this->tag, "trt:GetOSDOptions")) return serve___trt__GetOSDOptions_(this); if (!soap_match_tag(this, this->tag, "trt:SetOSD")) return serve___trt__SetOSD_(this); if (!soap_match_tag(this, this->tag, "trt:CreateOSD")) return serve___trt__CreateOSD_(this); if (!soap_match_tag(this, this->tag, "trt:DeleteOSD")) return serve___trt__DeleteOSD_(this); return this->error = SOAP_NO_METHOD; } static int serve___trt__GetServiceCapabilities(MediaBindingService *soap) { struct __trt__GetServiceCapabilities soap_tmp___trt__GetServiceCapabilities; _trt__GetServiceCapabilitiesResponse trt__GetServiceCapabilitiesResponse; trt__GetServiceCapabilitiesResponse.soap_default(soap); soap_default___trt__GetServiceCapabilities(soap, &soap_tmp___trt__GetServiceCapabilities); if (!soap_get___trt__GetServiceCapabilities(soap, &soap_tmp___trt__GetServiceCapabilities, "-trt: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___trt__GetServiceCapabilities.trt__GetServiceCapabilities, &trt__GetServiceCapabilitiesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__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) || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt: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) || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt: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___trt__GetVideoSources(MediaBindingService *soap) { struct __trt__GetVideoSources soap_tmp___trt__GetVideoSources; _trt__GetVideoSourcesResponse trt__GetVideoSourcesResponse; trt__GetVideoSourcesResponse.soap_default(soap); soap_default___trt__GetVideoSources(soap, &soap_tmp___trt__GetVideoSources); if (!soap_get___trt__GetVideoSources(soap, &soap_tmp___trt__GetVideoSources, "-trt:GetVideoSources", 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->GetVideoSources(soap_tmp___trt__GetVideoSources.trt__GetVideoSources, &trt__GetVideoSourcesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourcesResponse.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) || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "") || 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) || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSources(MediaBindingService *soap) { struct __trt__GetAudioSources soap_tmp___trt__GetAudioSources; _trt__GetAudioSourcesResponse trt__GetAudioSourcesResponse; trt__GetAudioSourcesResponse.soap_default(soap); soap_default___trt__GetAudioSources(soap, &soap_tmp___trt__GetAudioSources); if (!soap_get___trt__GetAudioSources(soap, &soap_tmp___trt__GetAudioSources, "-trt:GetAudioSources", 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->GetAudioSources(soap_tmp___trt__GetAudioSources.trt__GetAudioSources, &trt__GetAudioSourcesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourcesResponse.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) || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "") || 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) || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputs(MediaBindingService *soap) { struct __trt__GetAudioOutputs soap_tmp___trt__GetAudioOutputs; _trt__GetAudioOutputsResponse trt__GetAudioOutputsResponse; trt__GetAudioOutputsResponse.soap_default(soap); soap_default___trt__GetAudioOutputs(soap, &soap_tmp___trt__GetAudioOutputs); if (!soap_get___trt__GetAudioOutputs(soap, &soap_tmp___trt__GetAudioOutputs, "-trt:GetAudioOutputs", 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->GetAudioOutputs(soap_tmp___trt__GetAudioOutputs.trt__GetAudioOutputs, &trt__GetAudioOutputsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputsResponse.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) || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "") || 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) || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__CreateProfile(MediaBindingService *soap) { struct __trt__CreateProfile soap_tmp___trt__CreateProfile; _trt__CreateProfileResponse trt__CreateProfileResponse; trt__CreateProfileResponse.soap_default(soap); soap_default___trt__CreateProfile(soap, &soap_tmp___trt__CreateProfile); if (!soap_get___trt__CreateProfile(soap, &soap_tmp___trt__CreateProfile, "-trt:CreateProfile", 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->CreateProfile(soap_tmp___trt__CreateProfile.trt__CreateProfile, &trt__CreateProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__CreateProfileResponse.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) || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "") || 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) || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetProfile(MediaBindingService *soap) { struct __trt__GetProfile soap_tmp___trt__GetProfile; _trt__GetProfileResponse trt__GetProfileResponse; trt__GetProfileResponse.soap_default(soap); soap_default___trt__GetProfile(soap, &soap_tmp___trt__GetProfile); if (!soap_get___trt__GetProfile(soap, &soap_tmp___trt__GetProfile, "-trt:GetProfile", 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->GetProfile(soap_tmp___trt__GetProfile.trt__GetProfile, &trt__GetProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetProfileResponse.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) || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "") || 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) || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetProfiles(MediaBindingService *soap) { struct __trt__GetProfiles soap_tmp___trt__GetProfiles; _trt__GetProfilesResponse trt__GetProfilesResponse; trt__GetProfilesResponse.soap_default(soap); soap_default___trt__GetProfiles(soap, &soap_tmp___trt__GetProfiles); if (!soap_get___trt__GetProfiles(soap, &soap_tmp___trt__GetProfiles, "-trt:GetProfiles", 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->GetProfiles(soap_tmp___trt__GetProfiles.trt__GetProfiles, &trt__GetProfilesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetProfilesResponse.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) || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "") || 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) || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoEncoderConfiguration(MediaBindingService *soap) { struct __trt__AddVideoEncoderConfiguration soap_tmp___trt__AddVideoEncoderConfiguration; _trt__AddVideoEncoderConfigurationResponse trt__AddVideoEncoderConfigurationResponse; trt__AddVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoEncoderConfiguration(soap, &soap_tmp___trt__AddVideoEncoderConfiguration); if (!soap_get___trt__AddVideoEncoderConfiguration(soap, &soap_tmp___trt__AddVideoEncoderConfiguration, "-trt:AddVideoEncoderConfiguration", 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->AddVideoEncoderConfiguration(soap_tmp___trt__AddVideoEncoderConfiguration.trt__AddVideoEncoderConfiguration, &trt__AddVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoEncoderConfigurationResponse.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) || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "") || 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) || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoSourceConfiguration(MediaBindingService *soap) { struct __trt__AddVideoSourceConfiguration soap_tmp___trt__AddVideoSourceConfiguration; _trt__AddVideoSourceConfigurationResponse trt__AddVideoSourceConfigurationResponse; trt__AddVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoSourceConfiguration(soap, &soap_tmp___trt__AddVideoSourceConfiguration); if (!soap_get___trt__AddVideoSourceConfiguration(soap, &soap_tmp___trt__AddVideoSourceConfiguration, "-trt:AddVideoSourceConfiguration", 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->AddVideoSourceConfiguration(soap_tmp___trt__AddVideoSourceConfiguration.trt__AddVideoSourceConfiguration, &trt__AddVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoSourceConfigurationResponse.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) || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "") || 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) || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioEncoderConfiguration(MediaBindingService *soap) { struct __trt__AddAudioEncoderConfiguration soap_tmp___trt__AddAudioEncoderConfiguration; _trt__AddAudioEncoderConfigurationResponse trt__AddAudioEncoderConfigurationResponse; trt__AddAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioEncoderConfiguration(soap, &soap_tmp___trt__AddAudioEncoderConfiguration); if (!soap_get___trt__AddAudioEncoderConfiguration(soap, &soap_tmp___trt__AddAudioEncoderConfiguration, "-trt:AddAudioEncoderConfiguration", 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->AddAudioEncoderConfiguration(soap_tmp___trt__AddAudioEncoderConfiguration.trt__AddAudioEncoderConfiguration, &trt__AddAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioEncoderConfigurationResponse.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) || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "") || 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) || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioSourceConfiguration(MediaBindingService *soap) { struct __trt__AddAudioSourceConfiguration soap_tmp___trt__AddAudioSourceConfiguration; _trt__AddAudioSourceConfigurationResponse trt__AddAudioSourceConfigurationResponse; trt__AddAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioSourceConfiguration(soap, &soap_tmp___trt__AddAudioSourceConfiguration); if (!soap_get___trt__AddAudioSourceConfiguration(soap, &soap_tmp___trt__AddAudioSourceConfiguration, "-trt:AddAudioSourceConfiguration", 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->AddAudioSourceConfiguration(soap_tmp___trt__AddAudioSourceConfiguration.trt__AddAudioSourceConfiguration, &trt__AddAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioSourceConfigurationResponse.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) || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "") || 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) || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddPTZConfiguration(MediaBindingService *soap) { struct __trt__AddPTZConfiguration soap_tmp___trt__AddPTZConfiguration; _trt__AddPTZConfigurationResponse trt__AddPTZConfigurationResponse; trt__AddPTZConfigurationResponse.soap_default(soap); soap_default___trt__AddPTZConfiguration(soap, &soap_tmp___trt__AddPTZConfiguration); if (!soap_get___trt__AddPTZConfiguration(soap, &soap_tmp___trt__AddPTZConfiguration, "-trt:AddPTZConfiguration", 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->AddPTZConfiguration(soap_tmp___trt__AddPTZConfiguration.trt__AddPTZConfiguration, &trt__AddPTZConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddPTZConfigurationResponse.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) || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "") || 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) || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoAnalyticsConfiguration(MediaBindingService *soap) { struct __trt__AddVideoAnalyticsConfiguration soap_tmp___trt__AddVideoAnalyticsConfiguration; _trt__AddVideoAnalyticsConfigurationResponse trt__AddVideoAnalyticsConfigurationResponse; trt__AddVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoAnalyticsConfiguration(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration); if (!soap_get___trt__AddVideoAnalyticsConfiguration(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration, "-trt:AddVideoAnalyticsConfiguration", 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->AddVideoAnalyticsConfiguration(soap_tmp___trt__AddVideoAnalyticsConfiguration.trt__AddVideoAnalyticsConfiguration, &trt__AddVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoAnalyticsConfigurationResponse.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) || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "") || 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) || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddMetadataConfiguration(MediaBindingService *soap) { struct __trt__AddMetadataConfiguration soap_tmp___trt__AddMetadataConfiguration; _trt__AddMetadataConfigurationResponse trt__AddMetadataConfigurationResponse; trt__AddMetadataConfigurationResponse.soap_default(soap); soap_default___trt__AddMetadataConfiguration(soap, &soap_tmp___trt__AddMetadataConfiguration); if (!soap_get___trt__AddMetadataConfiguration(soap, &soap_tmp___trt__AddMetadataConfiguration, "-trt:AddMetadataConfiguration", 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->AddMetadataConfiguration(soap_tmp___trt__AddMetadataConfiguration.trt__AddMetadataConfiguration, &trt__AddMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddMetadataConfigurationResponse.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) || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "") || 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) || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioOutputConfiguration(MediaBindingService *soap) { struct __trt__AddAudioOutputConfiguration soap_tmp___trt__AddAudioOutputConfiguration; _trt__AddAudioOutputConfigurationResponse trt__AddAudioOutputConfigurationResponse; trt__AddAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioOutputConfiguration(soap, &soap_tmp___trt__AddAudioOutputConfiguration); if (!soap_get___trt__AddAudioOutputConfiguration(soap, &soap_tmp___trt__AddAudioOutputConfiguration, "-trt:AddAudioOutputConfiguration", 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->AddAudioOutputConfiguration(soap_tmp___trt__AddAudioOutputConfiguration.trt__AddAudioOutputConfiguration, &trt__AddAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioOutputConfigurationResponse.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) || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "") || 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) || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioDecoderConfiguration(MediaBindingService *soap) { struct __trt__AddAudioDecoderConfiguration soap_tmp___trt__AddAudioDecoderConfiguration; _trt__AddAudioDecoderConfigurationResponse trt__AddAudioDecoderConfigurationResponse; trt__AddAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioDecoderConfiguration(soap, &soap_tmp___trt__AddAudioDecoderConfiguration); if (!soap_get___trt__AddAudioDecoderConfiguration(soap, &soap_tmp___trt__AddAudioDecoderConfiguration, "-trt:AddAudioDecoderConfiguration", 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->AddAudioDecoderConfiguration(soap_tmp___trt__AddAudioDecoderConfiguration.trt__AddAudioDecoderConfiguration, &trt__AddAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioDecoderConfigurationResponse.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) || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "") || 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) || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoEncoderConfiguration(MediaBindingService *soap) { struct __trt__RemoveVideoEncoderConfiguration soap_tmp___trt__RemoveVideoEncoderConfiguration; _trt__RemoveVideoEncoderConfigurationResponse trt__RemoveVideoEncoderConfigurationResponse; trt__RemoveVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoEncoderConfiguration(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration); if (!soap_get___trt__RemoveVideoEncoderConfiguration(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration, "-trt:RemoveVideoEncoderConfiguration", 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->RemoveVideoEncoderConfiguration(soap_tmp___trt__RemoveVideoEncoderConfiguration.trt__RemoveVideoEncoderConfiguration, &trt__RemoveVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoEncoderConfigurationResponse.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) || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "") || 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) || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoSourceConfiguration(MediaBindingService *soap) { struct __trt__RemoveVideoSourceConfiguration soap_tmp___trt__RemoveVideoSourceConfiguration; _trt__RemoveVideoSourceConfigurationResponse trt__RemoveVideoSourceConfigurationResponse; trt__RemoveVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoSourceConfiguration(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration); if (!soap_get___trt__RemoveVideoSourceConfiguration(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration, "-trt:RemoveVideoSourceConfiguration", 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->RemoveVideoSourceConfiguration(soap_tmp___trt__RemoveVideoSourceConfiguration.trt__RemoveVideoSourceConfiguration, &trt__RemoveVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoSourceConfigurationResponse.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) || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "") || 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) || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioEncoderConfiguration(MediaBindingService *soap) { struct __trt__RemoveAudioEncoderConfiguration soap_tmp___trt__RemoveAudioEncoderConfiguration; _trt__RemoveAudioEncoderConfigurationResponse trt__RemoveAudioEncoderConfigurationResponse; trt__RemoveAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioEncoderConfiguration(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration); if (!soap_get___trt__RemoveAudioEncoderConfiguration(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration, "-trt:RemoveAudioEncoderConfiguration", 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->RemoveAudioEncoderConfiguration(soap_tmp___trt__RemoveAudioEncoderConfiguration.trt__RemoveAudioEncoderConfiguration, &trt__RemoveAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioEncoderConfigurationResponse.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) || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "") || 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) || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioSourceConfiguration(MediaBindingService *soap) { struct __trt__RemoveAudioSourceConfiguration soap_tmp___trt__RemoveAudioSourceConfiguration; _trt__RemoveAudioSourceConfigurationResponse trt__RemoveAudioSourceConfigurationResponse; trt__RemoveAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioSourceConfiguration(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration); if (!soap_get___trt__RemoveAudioSourceConfiguration(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration, "-trt:RemoveAudioSourceConfiguration", 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->RemoveAudioSourceConfiguration(soap_tmp___trt__RemoveAudioSourceConfiguration.trt__RemoveAudioSourceConfiguration, &trt__RemoveAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioSourceConfigurationResponse.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) || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "") || 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) || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemovePTZConfiguration(MediaBindingService *soap) { struct __trt__RemovePTZConfiguration soap_tmp___trt__RemovePTZConfiguration; _trt__RemovePTZConfigurationResponse trt__RemovePTZConfigurationResponse; trt__RemovePTZConfigurationResponse.soap_default(soap); soap_default___trt__RemovePTZConfiguration(soap, &soap_tmp___trt__RemovePTZConfiguration); if (!soap_get___trt__RemovePTZConfiguration(soap, &soap_tmp___trt__RemovePTZConfiguration, "-trt:RemovePTZConfiguration", 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->RemovePTZConfiguration(soap_tmp___trt__RemovePTZConfiguration.trt__RemovePTZConfiguration, &trt__RemovePTZConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemovePTZConfigurationResponse.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) || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "") || 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) || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoAnalyticsConfiguration(MediaBindingService *soap) { struct __trt__RemoveVideoAnalyticsConfiguration soap_tmp___trt__RemoveVideoAnalyticsConfiguration; _trt__RemoveVideoAnalyticsConfigurationResponse trt__RemoveVideoAnalyticsConfigurationResponse; trt__RemoveVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoAnalyticsConfiguration(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration); if (!soap_get___trt__RemoveVideoAnalyticsConfiguration(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration, "-trt:RemoveVideoAnalyticsConfiguration", 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->RemoveVideoAnalyticsConfiguration(soap_tmp___trt__RemoveVideoAnalyticsConfiguration.trt__RemoveVideoAnalyticsConfiguration, &trt__RemoveVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoAnalyticsConfigurationResponse.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) || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "") || 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) || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveMetadataConfiguration(MediaBindingService *soap) { struct __trt__RemoveMetadataConfiguration soap_tmp___trt__RemoveMetadataConfiguration; _trt__RemoveMetadataConfigurationResponse trt__RemoveMetadataConfigurationResponse; trt__RemoveMetadataConfigurationResponse.soap_default(soap); soap_default___trt__RemoveMetadataConfiguration(soap, &soap_tmp___trt__RemoveMetadataConfiguration); if (!soap_get___trt__RemoveMetadataConfiguration(soap, &soap_tmp___trt__RemoveMetadataConfiguration, "-trt:RemoveMetadataConfiguration", 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->RemoveMetadataConfiguration(soap_tmp___trt__RemoveMetadataConfiguration.trt__RemoveMetadataConfiguration, &trt__RemoveMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveMetadataConfigurationResponse.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) || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "") || 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) || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioOutputConfiguration(MediaBindingService *soap) { struct __trt__RemoveAudioOutputConfiguration soap_tmp___trt__RemoveAudioOutputConfiguration; _trt__RemoveAudioOutputConfigurationResponse trt__RemoveAudioOutputConfigurationResponse; trt__RemoveAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioOutputConfiguration(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration); if (!soap_get___trt__RemoveAudioOutputConfiguration(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration, "-trt:RemoveAudioOutputConfiguration", 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->RemoveAudioOutputConfiguration(soap_tmp___trt__RemoveAudioOutputConfiguration.trt__RemoveAudioOutputConfiguration, &trt__RemoveAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioOutputConfigurationResponse.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) || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "") || 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) || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioDecoderConfiguration(MediaBindingService *soap) { struct __trt__RemoveAudioDecoderConfiguration soap_tmp___trt__RemoveAudioDecoderConfiguration; _trt__RemoveAudioDecoderConfigurationResponse trt__RemoveAudioDecoderConfigurationResponse; trt__RemoveAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioDecoderConfiguration(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration); if (!soap_get___trt__RemoveAudioDecoderConfiguration(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration, "-trt:RemoveAudioDecoderConfiguration", 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->RemoveAudioDecoderConfiguration(soap_tmp___trt__RemoveAudioDecoderConfiguration.trt__RemoveAudioDecoderConfiguration, &trt__RemoveAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioDecoderConfigurationResponse.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) || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "") || 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) || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__DeleteProfile(MediaBindingService *soap) { struct __trt__DeleteProfile soap_tmp___trt__DeleteProfile; _trt__DeleteProfileResponse trt__DeleteProfileResponse; trt__DeleteProfileResponse.soap_default(soap); soap_default___trt__DeleteProfile(soap, &soap_tmp___trt__DeleteProfile); if (!soap_get___trt__DeleteProfile(soap, &soap_tmp___trt__DeleteProfile, "-trt:DeleteProfile", 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->DeleteProfile(soap_tmp___trt__DeleteProfile.trt__DeleteProfile, &trt__DeleteProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__DeleteProfileResponse.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) || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "") || 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) || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfigurations(MediaBindingService *soap) { struct __trt__GetVideoSourceConfigurations soap_tmp___trt__GetVideoSourceConfigurations; _trt__GetVideoSourceConfigurationsResponse trt__GetVideoSourceConfigurationsResponse; trt__GetVideoSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfigurations(soap, &soap_tmp___trt__GetVideoSourceConfigurations); if (!soap_get___trt__GetVideoSourceConfigurations(soap, &soap_tmp___trt__GetVideoSourceConfigurations, "-trt:GetVideoSourceConfigurations", 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->GetVideoSourceConfigurations(soap_tmp___trt__GetVideoSourceConfigurations.trt__GetVideoSourceConfigurations, &trt__GetVideoSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationsResponse.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) || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "") || 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) || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfigurations(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfigurations soap_tmp___trt__GetVideoEncoderConfigurations; _trt__GetVideoEncoderConfigurationsResponse trt__GetVideoEncoderConfigurationsResponse; trt__GetVideoEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfigurations(soap, &soap_tmp___trt__GetVideoEncoderConfigurations); if (!soap_get___trt__GetVideoEncoderConfigurations(soap, &soap_tmp___trt__GetVideoEncoderConfigurations, "-trt:GetVideoEncoderConfigurations", 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->GetVideoEncoderConfigurations(soap_tmp___trt__GetVideoEncoderConfigurations.trt__GetVideoEncoderConfigurations, &trt__GetVideoEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationsResponse.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) || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "") || 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) || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfigurations(MediaBindingService *soap) { struct __trt__GetAudioSourceConfigurations soap_tmp___trt__GetAudioSourceConfigurations; _trt__GetAudioSourceConfigurationsResponse trt__GetAudioSourceConfigurationsResponse; trt__GetAudioSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfigurations(soap, &soap_tmp___trt__GetAudioSourceConfigurations); if (!soap_get___trt__GetAudioSourceConfigurations(soap, &soap_tmp___trt__GetAudioSourceConfigurations, "-trt:GetAudioSourceConfigurations", 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->GetAudioSourceConfigurations(soap_tmp___trt__GetAudioSourceConfigurations.trt__GetAudioSourceConfigurations, &trt__GetAudioSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationsResponse.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) || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "") || 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) || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfigurations(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfigurations soap_tmp___trt__GetAudioEncoderConfigurations; _trt__GetAudioEncoderConfigurationsResponse trt__GetAudioEncoderConfigurationsResponse; trt__GetAudioEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfigurations(soap, &soap_tmp___trt__GetAudioEncoderConfigurations); if (!soap_get___trt__GetAudioEncoderConfigurations(soap, &soap_tmp___trt__GetAudioEncoderConfigurations, "-trt:GetAudioEncoderConfigurations", 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->GetAudioEncoderConfigurations(soap_tmp___trt__GetAudioEncoderConfigurations.trt__GetAudioEncoderConfigurations, &trt__GetAudioEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationsResponse.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) || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "") || 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) || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoAnalyticsConfigurations(MediaBindingService *soap) { struct __trt__GetVideoAnalyticsConfigurations soap_tmp___trt__GetVideoAnalyticsConfigurations; _trt__GetVideoAnalyticsConfigurationsResponse trt__GetVideoAnalyticsConfigurationsResponse; trt__GetVideoAnalyticsConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations); if (!soap_get___trt__GetVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations, "-trt:GetVideoAnalyticsConfigurations", 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->GetVideoAnalyticsConfigurations(soap_tmp___trt__GetVideoAnalyticsConfigurations.trt__GetVideoAnalyticsConfigurations, &trt__GetVideoAnalyticsConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoAnalyticsConfigurationsResponse.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) || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "") || 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) || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfigurations(MediaBindingService *soap) { struct __trt__GetMetadataConfigurations soap_tmp___trt__GetMetadataConfigurations; _trt__GetMetadataConfigurationsResponse trt__GetMetadataConfigurationsResponse; trt__GetMetadataConfigurationsResponse.soap_default(soap); soap_default___trt__GetMetadataConfigurations(soap, &soap_tmp___trt__GetMetadataConfigurations); if (!soap_get___trt__GetMetadataConfigurations(soap, &soap_tmp___trt__GetMetadataConfigurations, "-trt:GetMetadataConfigurations", 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->GetMetadataConfigurations(soap_tmp___trt__GetMetadataConfigurations.trt__GetMetadataConfigurations, &trt__GetMetadataConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationsResponse.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) || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "") || 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) || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfigurations(MediaBindingService *soap) { struct __trt__GetAudioOutputConfigurations soap_tmp___trt__GetAudioOutputConfigurations; _trt__GetAudioOutputConfigurationsResponse trt__GetAudioOutputConfigurationsResponse; trt__GetAudioOutputConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfigurations(soap, &soap_tmp___trt__GetAudioOutputConfigurations); if (!soap_get___trt__GetAudioOutputConfigurations(soap, &soap_tmp___trt__GetAudioOutputConfigurations, "-trt:GetAudioOutputConfigurations", 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->GetAudioOutputConfigurations(soap_tmp___trt__GetAudioOutputConfigurations.trt__GetAudioOutputConfigurations, &trt__GetAudioOutputConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationsResponse.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) || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "") || 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) || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfigurations(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfigurations soap_tmp___trt__GetAudioDecoderConfigurations; _trt__GetAudioDecoderConfigurationsResponse trt__GetAudioDecoderConfigurationsResponse; trt__GetAudioDecoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfigurations(soap, &soap_tmp___trt__GetAudioDecoderConfigurations); if (!soap_get___trt__GetAudioDecoderConfigurations(soap, &soap_tmp___trt__GetAudioDecoderConfigurations, "-trt:GetAudioDecoderConfigurations", 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->GetAudioDecoderConfigurations(soap_tmp___trt__GetAudioDecoderConfigurations.trt__GetAudioDecoderConfigurations, &trt__GetAudioDecoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationsResponse.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) || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "") || 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) || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfiguration(MediaBindingService *soap) { struct __trt__GetVideoSourceConfiguration soap_tmp___trt__GetVideoSourceConfiguration; _trt__GetVideoSourceConfigurationResponse trt__GetVideoSourceConfigurationResponse; trt__GetVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfiguration(soap, &soap_tmp___trt__GetVideoSourceConfiguration); if (!soap_get___trt__GetVideoSourceConfiguration(soap, &soap_tmp___trt__GetVideoSourceConfiguration, "-trt:GetVideoSourceConfiguration", 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->GetVideoSourceConfiguration(soap_tmp___trt__GetVideoSourceConfiguration.trt__GetVideoSourceConfiguration, &trt__GetVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationResponse.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) || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "") || 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) || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfiguration(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfiguration soap_tmp___trt__GetVideoEncoderConfiguration; _trt__GetVideoEncoderConfigurationResponse trt__GetVideoEncoderConfigurationResponse; trt__GetVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfiguration(soap, &soap_tmp___trt__GetVideoEncoderConfiguration); if (!soap_get___trt__GetVideoEncoderConfiguration(soap, &soap_tmp___trt__GetVideoEncoderConfiguration, "-trt:GetVideoEncoderConfiguration", 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->GetVideoEncoderConfiguration(soap_tmp___trt__GetVideoEncoderConfiguration.trt__GetVideoEncoderConfiguration, &trt__GetVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationResponse.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) || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "") || 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) || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfiguration(MediaBindingService *soap) { struct __trt__GetAudioSourceConfiguration soap_tmp___trt__GetAudioSourceConfiguration; _trt__GetAudioSourceConfigurationResponse trt__GetAudioSourceConfigurationResponse; trt__GetAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfiguration(soap, &soap_tmp___trt__GetAudioSourceConfiguration); if (!soap_get___trt__GetAudioSourceConfiguration(soap, &soap_tmp___trt__GetAudioSourceConfiguration, "-trt:GetAudioSourceConfiguration", 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->GetAudioSourceConfiguration(soap_tmp___trt__GetAudioSourceConfiguration.trt__GetAudioSourceConfiguration, &trt__GetAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationResponse.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) || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "") || 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) || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfiguration(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfiguration soap_tmp___trt__GetAudioEncoderConfiguration; _trt__GetAudioEncoderConfigurationResponse trt__GetAudioEncoderConfigurationResponse; trt__GetAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfiguration(soap, &soap_tmp___trt__GetAudioEncoderConfiguration); if (!soap_get___trt__GetAudioEncoderConfiguration(soap, &soap_tmp___trt__GetAudioEncoderConfiguration, "-trt:GetAudioEncoderConfiguration", 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->GetAudioEncoderConfiguration(soap_tmp___trt__GetAudioEncoderConfiguration.trt__GetAudioEncoderConfiguration, &trt__GetAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationResponse.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) || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "") || 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) || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoAnalyticsConfiguration(MediaBindingService *soap) { struct __trt__GetVideoAnalyticsConfiguration soap_tmp___trt__GetVideoAnalyticsConfiguration; _trt__GetVideoAnalyticsConfigurationResponse trt__GetVideoAnalyticsConfigurationResponse; trt__GetVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration); if (!soap_get___trt__GetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration, "-trt:GetVideoAnalyticsConfiguration", 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->GetVideoAnalyticsConfiguration(soap_tmp___trt__GetVideoAnalyticsConfiguration.trt__GetVideoAnalyticsConfiguration, &trt__GetVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoAnalyticsConfigurationResponse.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) || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "") || 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) || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfiguration(MediaBindingService *soap) { struct __trt__GetMetadataConfiguration soap_tmp___trt__GetMetadataConfiguration; _trt__GetMetadataConfigurationResponse trt__GetMetadataConfigurationResponse; trt__GetMetadataConfigurationResponse.soap_default(soap); soap_default___trt__GetMetadataConfiguration(soap, &soap_tmp___trt__GetMetadataConfiguration); if (!soap_get___trt__GetMetadataConfiguration(soap, &soap_tmp___trt__GetMetadataConfiguration, "-trt:GetMetadataConfiguration", 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->GetMetadataConfiguration(soap_tmp___trt__GetMetadataConfiguration.trt__GetMetadataConfiguration, &trt__GetMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationResponse.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) || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "") || 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) || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfiguration(MediaBindingService *soap) { struct __trt__GetAudioOutputConfiguration soap_tmp___trt__GetAudioOutputConfiguration; _trt__GetAudioOutputConfigurationResponse trt__GetAudioOutputConfigurationResponse; trt__GetAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfiguration(soap, &soap_tmp___trt__GetAudioOutputConfiguration); if (!soap_get___trt__GetAudioOutputConfiguration(soap, &soap_tmp___trt__GetAudioOutputConfiguration, "-trt:GetAudioOutputConfiguration", 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->GetAudioOutputConfiguration(soap_tmp___trt__GetAudioOutputConfiguration.trt__GetAudioOutputConfiguration, &trt__GetAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationResponse.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) || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "") || 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) || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfiguration(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfiguration soap_tmp___trt__GetAudioDecoderConfiguration; _trt__GetAudioDecoderConfigurationResponse trt__GetAudioDecoderConfigurationResponse; trt__GetAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfiguration(soap, &soap_tmp___trt__GetAudioDecoderConfiguration); if (!soap_get___trt__GetAudioDecoderConfiguration(soap, &soap_tmp___trt__GetAudioDecoderConfiguration, "-trt:GetAudioDecoderConfiguration", 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->GetAudioDecoderConfiguration(soap_tmp___trt__GetAudioDecoderConfiguration.trt__GetAudioDecoderConfiguration, &trt__GetAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationResponse.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) || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "") || 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) || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoEncoderConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleVideoEncoderConfigurations soap_tmp___trt__GetCompatibleVideoEncoderConfigurations; _trt__GetCompatibleVideoEncoderConfigurationsResponse trt__GetCompatibleVideoEncoderConfigurationsResponse; trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations); if (!soap_get___trt__GetCompatibleVideoEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations, "-trt:GetCompatibleVideoEncoderConfigurations", 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->GetCompatibleVideoEncoderConfigurations(soap_tmp___trt__GetCompatibleVideoEncoderConfigurations.trt__GetCompatibleVideoEncoderConfigurations, &trt__GetCompatibleVideoEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoEncoderConfigurationsResponse.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) || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoSourceConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleVideoSourceConfigurations soap_tmp___trt__GetCompatibleVideoSourceConfigurations; _trt__GetCompatibleVideoSourceConfigurationsResponse trt__GetCompatibleVideoSourceConfigurationsResponse; trt__GetCompatibleVideoSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations); if (!soap_get___trt__GetCompatibleVideoSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations, "-trt:GetCompatibleVideoSourceConfigurations", 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->GetCompatibleVideoSourceConfigurations(soap_tmp___trt__GetCompatibleVideoSourceConfigurations.trt__GetCompatibleVideoSourceConfigurations, &trt__GetCompatibleVideoSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoSourceConfigurationsResponse.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) || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioEncoderConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleAudioEncoderConfigurations soap_tmp___trt__GetCompatibleAudioEncoderConfigurations; _trt__GetCompatibleAudioEncoderConfigurationsResponse trt__GetCompatibleAudioEncoderConfigurationsResponse; trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations); if (!soap_get___trt__GetCompatibleAudioEncoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations, "-trt:GetCompatibleAudioEncoderConfigurations", 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->GetCompatibleAudioEncoderConfigurations(soap_tmp___trt__GetCompatibleAudioEncoderConfigurations.trt__GetCompatibleAudioEncoderConfigurations, &trt__GetCompatibleAudioEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioEncoderConfigurationsResponse.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) || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioSourceConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleAudioSourceConfigurations soap_tmp___trt__GetCompatibleAudioSourceConfigurations; _trt__GetCompatibleAudioSourceConfigurationsResponse trt__GetCompatibleAudioSourceConfigurationsResponse; trt__GetCompatibleAudioSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations); if (!soap_get___trt__GetCompatibleAudioSourceConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations, "-trt:GetCompatibleAudioSourceConfigurations", 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->GetCompatibleAudioSourceConfigurations(soap_tmp___trt__GetCompatibleAudioSourceConfigurations.trt__GetCompatibleAudioSourceConfigurations, &trt__GetCompatibleAudioSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioSourceConfigurationsResponse.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) || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoAnalyticsConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleVideoAnalyticsConfigurations soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations; _trt__GetCompatibleVideoAnalyticsConfigurationsResponse trt__GetCompatibleVideoAnalyticsConfigurationsResponse; trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations); if (!soap_get___trt__GetCompatibleVideoAnalyticsConfigurations(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations, "-trt:GetCompatibleVideoAnalyticsConfigurations", 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->GetCompatibleVideoAnalyticsConfigurations(soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations.trt__GetCompatibleVideoAnalyticsConfigurations, &trt__GetCompatibleVideoAnalyticsConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoAnalyticsConfigurationsResponse.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) || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleMetadataConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleMetadataConfigurations soap_tmp___trt__GetCompatibleMetadataConfigurations; _trt__GetCompatibleMetadataConfigurationsResponse trt__GetCompatibleMetadataConfigurationsResponse; trt__GetCompatibleMetadataConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleMetadataConfigurations(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations); if (!soap_get___trt__GetCompatibleMetadataConfigurations(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations, "-trt:GetCompatibleMetadataConfigurations", 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->GetCompatibleMetadataConfigurations(soap_tmp___trt__GetCompatibleMetadataConfigurations.trt__GetCompatibleMetadataConfigurations, &trt__GetCompatibleMetadataConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleMetadataConfigurationsResponse.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) || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "") || 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) || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioOutputConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleAudioOutputConfigurations soap_tmp___trt__GetCompatibleAudioOutputConfigurations; _trt__GetCompatibleAudioOutputConfigurationsResponse trt__GetCompatibleAudioOutputConfigurationsResponse; trt__GetCompatibleAudioOutputConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioOutputConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations); if (!soap_get___trt__GetCompatibleAudioOutputConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations, "-trt:GetCompatibleAudioOutputConfigurations", 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->GetCompatibleAudioOutputConfigurations(soap_tmp___trt__GetCompatibleAudioOutputConfigurations.trt__GetCompatibleAudioOutputConfigurations, &trt__GetCompatibleAudioOutputConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioOutputConfigurationsResponse.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) || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioDecoderConfigurations(MediaBindingService *soap) { struct __trt__GetCompatibleAudioDecoderConfigurations soap_tmp___trt__GetCompatibleAudioDecoderConfigurations; _trt__GetCompatibleAudioDecoderConfigurationsResponse trt__GetCompatibleAudioDecoderConfigurationsResponse; trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioDecoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations); if (!soap_get___trt__GetCompatibleAudioDecoderConfigurations(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations, "-trt:GetCompatibleAudioDecoderConfigurations", 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->GetCompatibleAudioDecoderConfigurations(soap_tmp___trt__GetCompatibleAudioDecoderConfigurations.trt__GetCompatibleAudioDecoderConfigurations, &trt__GetCompatibleAudioDecoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioDecoderConfigurationsResponse.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) || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoSourceConfiguration(MediaBindingService *soap) { struct __trt__SetVideoSourceConfiguration soap_tmp___trt__SetVideoSourceConfiguration; _trt__SetVideoSourceConfigurationResponse trt__SetVideoSourceConfigurationResponse; trt__SetVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoSourceConfiguration(soap, &soap_tmp___trt__SetVideoSourceConfiguration); if (!soap_get___trt__SetVideoSourceConfiguration(soap, &soap_tmp___trt__SetVideoSourceConfiguration, "-trt:SetVideoSourceConfiguration", 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->SetVideoSourceConfiguration(soap_tmp___trt__SetVideoSourceConfiguration.trt__SetVideoSourceConfiguration, &trt__SetVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoSourceConfigurationResponse.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) || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "") || 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) || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoEncoderConfiguration(MediaBindingService *soap) { struct __trt__SetVideoEncoderConfiguration soap_tmp___trt__SetVideoEncoderConfiguration; _trt__SetVideoEncoderConfigurationResponse trt__SetVideoEncoderConfigurationResponse; trt__SetVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoEncoderConfiguration(soap, &soap_tmp___trt__SetVideoEncoderConfiguration); if (!soap_get___trt__SetVideoEncoderConfiguration(soap, &soap_tmp___trt__SetVideoEncoderConfiguration, "-trt:SetVideoEncoderConfiguration", 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->SetVideoEncoderConfiguration(soap_tmp___trt__SetVideoEncoderConfiguration.trt__SetVideoEncoderConfiguration, &trt__SetVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoEncoderConfigurationResponse.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) || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "") || 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) || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioSourceConfiguration(MediaBindingService *soap) { struct __trt__SetAudioSourceConfiguration soap_tmp___trt__SetAudioSourceConfiguration; _trt__SetAudioSourceConfigurationResponse trt__SetAudioSourceConfigurationResponse; trt__SetAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioSourceConfiguration(soap, &soap_tmp___trt__SetAudioSourceConfiguration); if (!soap_get___trt__SetAudioSourceConfiguration(soap, &soap_tmp___trt__SetAudioSourceConfiguration, "-trt:SetAudioSourceConfiguration", 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->SetAudioSourceConfiguration(soap_tmp___trt__SetAudioSourceConfiguration.trt__SetAudioSourceConfiguration, &trt__SetAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioSourceConfigurationResponse.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) || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "") || 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) || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioEncoderConfiguration(MediaBindingService *soap) { struct __trt__SetAudioEncoderConfiguration soap_tmp___trt__SetAudioEncoderConfiguration; _trt__SetAudioEncoderConfigurationResponse trt__SetAudioEncoderConfigurationResponse; trt__SetAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioEncoderConfiguration(soap, &soap_tmp___trt__SetAudioEncoderConfiguration); if (!soap_get___trt__SetAudioEncoderConfiguration(soap, &soap_tmp___trt__SetAudioEncoderConfiguration, "-trt:SetAudioEncoderConfiguration", 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->SetAudioEncoderConfiguration(soap_tmp___trt__SetAudioEncoderConfiguration.trt__SetAudioEncoderConfiguration, &trt__SetAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioEncoderConfigurationResponse.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) || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "") || 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) || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoAnalyticsConfiguration(MediaBindingService *soap) { struct __trt__SetVideoAnalyticsConfiguration soap_tmp___trt__SetVideoAnalyticsConfiguration; _trt__SetVideoAnalyticsConfigurationResponse trt__SetVideoAnalyticsConfigurationResponse; trt__SetVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration); if (!soap_get___trt__SetVideoAnalyticsConfiguration(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration, "-trt:SetVideoAnalyticsConfiguration", 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->SetVideoAnalyticsConfiguration(soap_tmp___trt__SetVideoAnalyticsConfiguration.trt__SetVideoAnalyticsConfiguration, &trt__SetVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoAnalyticsConfigurationResponse.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) || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "") || 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) || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetMetadataConfiguration(MediaBindingService *soap) { struct __trt__SetMetadataConfiguration soap_tmp___trt__SetMetadataConfiguration; _trt__SetMetadataConfigurationResponse trt__SetMetadataConfigurationResponse; trt__SetMetadataConfigurationResponse.soap_default(soap); soap_default___trt__SetMetadataConfiguration(soap, &soap_tmp___trt__SetMetadataConfiguration); if (!soap_get___trt__SetMetadataConfiguration(soap, &soap_tmp___trt__SetMetadataConfiguration, "-trt:SetMetadataConfiguration", 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->SetMetadataConfiguration(soap_tmp___trt__SetMetadataConfiguration.trt__SetMetadataConfiguration, &trt__SetMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetMetadataConfigurationResponse.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) || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "") || 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) || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioOutputConfiguration(MediaBindingService *soap) { struct __trt__SetAudioOutputConfiguration soap_tmp___trt__SetAudioOutputConfiguration; _trt__SetAudioOutputConfigurationResponse trt__SetAudioOutputConfigurationResponse; trt__SetAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioOutputConfiguration(soap, &soap_tmp___trt__SetAudioOutputConfiguration); if (!soap_get___trt__SetAudioOutputConfiguration(soap, &soap_tmp___trt__SetAudioOutputConfiguration, "-trt:SetAudioOutputConfiguration", 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->SetAudioOutputConfiguration(soap_tmp___trt__SetAudioOutputConfiguration.trt__SetAudioOutputConfiguration, &trt__SetAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioOutputConfigurationResponse.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) || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "") || 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) || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioDecoderConfiguration(MediaBindingService *soap) { struct __trt__SetAudioDecoderConfiguration soap_tmp___trt__SetAudioDecoderConfiguration; _trt__SetAudioDecoderConfigurationResponse trt__SetAudioDecoderConfigurationResponse; trt__SetAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioDecoderConfiguration(soap, &soap_tmp___trt__SetAudioDecoderConfiguration); if (!soap_get___trt__SetAudioDecoderConfiguration(soap, &soap_tmp___trt__SetAudioDecoderConfiguration, "-trt:SetAudioDecoderConfiguration", 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->SetAudioDecoderConfiguration(soap_tmp___trt__SetAudioDecoderConfiguration.trt__SetAudioDecoderConfiguration, &trt__SetAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioDecoderConfigurationResponse.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) || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "") || 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) || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfigurationOptions(MediaBindingService *soap) { struct __trt__GetVideoSourceConfigurationOptions soap_tmp___trt__GetVideoSourceConfigurationOptions; _trt__GetVideoSourceConfigurationOptionsResponse trt__GetVideoSourceConfigurationOptionsResponse; trt__GetVideoSourceConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfigurationOptions(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions); if (!soap_get___trt__GetVideoSourceConfigurationOptions(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions, "-trt:GetVideoSourceConfigurationOptions", 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->GetVideoSourceConfigurationOptions(soap_tmp___trt__GetVideoSourceConfigurationOptions.trt__GetVideoSourceConfigurationOptions, &trt__GetVideoSourceConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationOptionsResponse.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) || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "") || 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) || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfigurationOptions(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfigurationOptions soap_tmp___trt__GetVideoEncoderConfigurationOptions; _trt__GetVideoEncoderConfigurationOptionsResponse trt__GetVideoEncoderConfigurationOptionsResponse; trt__GetVideoEncoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfigurationOptions(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions); if (!soap_get___trt__GetVideoEncoderConfigurationOptions(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions, "-trt:GetVideoEncoderConfigurationOptions", 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->GetVideoEncoderConfigurationOptions(soap_tmp___trt__GetVideoEncoderConfigurationOptions.trt__GetVideoEncoderConfigurationOptions, &trt__GetVideoEncoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationOptionsResponse.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) || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "") || 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) || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfigurationOptions(MediaBindingService *soap) { struct __trt__GetAudioSourceConfigurationOptions soap_tmp___trt__GetAudioSourceConfigurationOptions; _trt__GetAudioSourceConfigurationOptionsResponse trt__GetAudioSourceConfigurationOptionsResponse; trt__GetAudioSourceConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfigurationOptions(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions); if (!soap_get___trt__GetAudioSourceConfigurationOptions(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions, "-trt:GetAudioSourceConfigurationOptions", 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->GetAudioSourceConfigurationOptions(soap_tmp___trt__GetAudioSourceConfigurationOptions.trt__GetAudioSourceConfigurationOptions, &trt__GetAudioSourceConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationOptionsResponse.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) || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "") || 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) || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfigurationOptions(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfigurationOptions soap_tmp___trt__GetAudioEncoderConfigurationOptions; _trt__GetAudioEncoderConfigurationOptionsResponse trt__GetAudioEncoderConfigurationOptionsResponse; trt__GetAudioEncoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions); if (!soap_get___trt__GetAudioEncoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions, "-trt:GetAudioEncoderConfigurationOptions", 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->GetAudioEncoderConfigurationOptions(soap_tmp___trt__GetAudioEncoderConfigurationOptions.trt__GetAudioEncoderConfigurationOptions, &trt__GetAudioEncoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationOptionsResponse.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) || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "") || 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) || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfigurationOptions(MediaBindingService *soap) { struct __trt__GetMetadataConfigurationOptions soap_tmp___trt__GetMetadataConfigurationOptions; _trt__GetMetadataConfigurationOptionsResponse trt__GetMetadataConfigurationOptionsResponse; trt__GetMetadataConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetMetadataConfigurationOptions(soap, &soap_tmp___trt__GetMetadataConfigurationOptions); if (!soap_get___trt__GetMetadataConfigurationOptions(soap, &soap_tmp___trt__GetMetadataConfigurationOptions, "-trt:GetMetadataConfigurationOptions", 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->GetMetadataConfigurationOptions(soap_tmp___trt__GetMetadataConfigurationOptions.trt__GetMetadataConfigurationOptions, &trt__GetMetadataConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationOptionsResponse.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) || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "") || 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) || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfigurationOptions(MediaBindingService *soap) { struct __trt__GetAudioOutputConfigurationOptions soap_tmp___trt__GetAudioOutputConfigurationOptions; _trt__GetAudioOutputConfigurationOptionsResponse trt__GetAudioOutputConfigurationOptionsResponse; trt__GetAudioOutputConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfigurationOptions(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions); if (!soap_get___trt__GetAudioOutputConfigurationOptions(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions, "-trt:GetAudioOutputConfigurationOptions", 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->GetAudioOutputConfigurationOptions(soap_tmp___trt__GetAudioOutputConfigurationOptions.trt__GetAudioOutputConfigurationOptions, &trt__GetAudioOutputConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationOptionsResponse.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) || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "") || 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) || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfigurationOptions(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfigurationOptions soap_tmp___trt__GetAudioDecoderConfigurationOptions; _trt__GetAudioDecoderConfigurationOptionsResponse trt__GetAudioDecoderConfigurationOptionsResponse; trt__GetAudioDecoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions); if (!soap_get___trt__GetAudioDecoderConfigurationOptions(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions, "-trt:GetAudioDecoderConfigurationOptions", 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->GetAudioDecoderConfigurationOptions(soap_tmp___trt__GetAudioDecoderConfigurationOptions.trt__GetAudioDecoderConfigurationOptions, &trt__GetAudioDecoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationOptionsResponse.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) || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "") || 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) || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances(MediaBindingService *soap) { struct __trt__GetGuaranteedNumberOfVideoEncoderInstances soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances; _trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse; trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_default(soap); soap_default___trt__GetGuaranteedNumberOfVideoEncoderInstances(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances); if (!soap_get___trt__GetGuaranteedNumberOfVideoEncoderInstances(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances, "-trt:GetGuaranteedNumberOfVideoEncoderInstances", 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->GetGuaranteedNumberOfVideoEncoderInstances(soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances.trt__GetGuaranteedNumberOfVideoEncoderInstances, &trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.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) || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "") || 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) || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetStreamUri(MediaBindingService *soap) { struct __trt__GetStreamUri soap_tmp___trt__GetStreamUri; _trt__GetStreamUriResponse trt__GetStreamUriResponse; trt__GetStreamUriResponse.soap_default(soap); soap_default___trt__GetStreamUri(soap, &soap_tmp___trt__GetStreamUri); if (!soap_get___trt__GetStreamUri(soap, &soap_tmp___trt__GetStreamUri, "-trt:GetStreamUri", 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->GetStreamUri(soap_tmp___trt__GetStreamUri.trt__GetStreamUri, &trt__GetStreamUriResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetStreamUriResponse.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) || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "") || 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) || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__StartMulticastStreaming(MediaBindingService *soap) { struct __trt__StartMulticastStreaming soap_tmp___trt__StartMulticastStreaming; _trt__StartMulticastStreamingResponse trt__StartMulticastStreamingResponse; trt__StartMulticastStreamingResponse.soap_default(soap); soap_default___trt__StartMulticastStreaming(soap, &soap_tmp___trt__StartMulticastStreaming); if (!soap_get___trt__StartMulticastStreaming(soap, &soap_tmp___trt__StartMulticastStreaming, "-trt:StartMulticastStreaming", 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->StartMulticastStreaming(soap_tmp___trt__StartMulticastStreaming.trt__StartMulticastStreaming, &trt__StartMulticastStreamingResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__StartMulticastStreamingResponse.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) || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "") || 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) || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__StopMulticastStreaming(MediaBindingService *soap) { struct __trt__StopMulticastStreaming soap_tmp___trt__StopMulticastStreaming; _trt__StopMulticastStreamingResponse trt__StopMulticastStreamingResponse; trt__StopMulticastStreamingResponse.soap_default(soap); soap_default___trt__StopMulticastStreaming(soap, &soap_tmp___trt__StopMulticastStreaming); if (!soap_get___trt__StopMulticastStreaming(soap, &soap_tmp___trt__StopMulticastStreaming, "-trt:StopMulticastStreaming", 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->StopMulticastStreaming(soap_tmp___trt__StopMulticastStreaming.trt__StopMulticastStreaming, &trt__StopMulticastStreamingResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__StopMulticastStreamingResponse.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) || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "") || 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) || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetSynchronizationPoint(MediaBindingService *soap) { struct __trt__SetSynchronizationPoint soap_tmp___trt__SetSynchronizationPoint; _trt__SetSynchronizationPointResponse trt__SetSynchronizationPointResponse; trt__SetSynchronizationPointResponse.soap_default(soap); soap_default___trt__SetSynchronizationPoint(soap, &soap_tmp___trt__SetSynchronizationPoint); if (!soap_get___trt__SetSynchronizationPoint(soap, &soap_tmp___trt__SetSynchronizationPoint, "-trt:SetSynchronizationPoint", 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->SetSynchronizationPoint(soap_tmp___trt__SetSynchronizationPoint.trt__SetSynchronizationPoint, &trt__SetSynchronizationPointResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetSynchronizationPointResponse.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) || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "") || 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) || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetSnapshotUri(MediaBindingService *soap) { struct __trt__GetSnapshotUri soap_tmp___trt__GetSnapshotUri; _trt__GetSnapshotUriResponse trt__GetSnapshotUriResponse; trt__GetSnapshotUriResponse.soap_default(soap); soap_default___trt__GetSnapshotUri(soap, &soap_tmp___trt__GetSnapshotUri); if (!soap_get___trt__GetSnapshotUri(soap, &soap_tmp___trt__GetSnapshotUri, "-trt:GetSnapshotUri", 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->GetSnapshotUri(soap_tmp___trt__GetSnapshotUri.trt__GetSnapshotUri, &trt__GetSnapshotUriResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetSnapshotUriResponse.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) || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "") || 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) || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceModes(MediaBindingService *soap) { struct __trt__GetVideoSourceModes soap_tmp___trt__GetVideoSourceModes; _trt__GetVideoSourceModesResponse trt__GetVideoSourceModesResponse; trt__GetVideoSourceModesResponse.soap_default(soap); soap_default___trt__GetVideoSourceModes(soap, &soap_tmp___trt__GetVideoSourceModes); if (!soap_get___trt__GetVideoSourceModes(soap, &soap_tmp___trt__GetVideoSourceModes, "-trt:GetVideoSourceModes", 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->GetVideoSourceModes(soap_tmp___trt__GetVideoSourceModes.trt__GetVideoSourceModes, &trt__GetVideoSourceModesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceModesResponse.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) || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "") || 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) || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoSourceMode(MediaBindingService *soap) { struct __trt__SetVideoSourceMode soap_tmp___trt__SetVideoSourceMode; _trt__SetVideoSourceModeResponse trt__SetVideoSourceModeResponse; trt__SetVideoSourceModeResponse.soap_default(soap); soap_default___trt__SetVideoSourceMode(soap, &soap_tmp___trt__SetVideoSourceMode); if (!soap_get___trt__SetVideoSourceMode(soap, &soap_tmp___trt__SetVideoSourceMode, "-trt:SetVideoSourceMode", 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->SetVideoSourceMode(soap_tmp___trt__SetVideoSourceMode.trt__SetVideoSourceMode, &trt__SetVideoSourceModeResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoSourceModeResponse.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) || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "") || 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) || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSDs(MediaBindingService *soap) { struct __trt__GetOSDs soap_tmp___trt__GetOSDs; _trt__GetOSDsResponse trt__GetOSDsResponse; trt__GetOSDsResponse.soap_default(soap); soap_default___trt__GetOSDs(soap, &soap_tmp___trt__GetOSDs); if (!soap_get___trt__GetOSDs(soap, &soap_tmp___trt__GetOSDs, "-trt:GetOSDs", 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->GetOSDs(soap_tmp___trt__GetOSDs.trt__GetOSDs, &trt__GetOSDsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDsResponse.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) || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "") || 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) || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSD(MediaBindingService *soap) { struct __trt__GetOSD soap_tmp___trt__GetOSD; _trt__GetOSDResponse trt__GetOSDResponse; trt__GetOSDResponse.soap_default(soap); soap_default___trt__GetOSD(soap, &soap_tmp___trt__GetOSD); if (!soap_get___trt__GetOSD(soap, &soap_tmp___trt__GetOSD, "-trt:GetOSD", 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->GetOSD(soap_tmp___trt__GetOSD.trt__GetOSD, &trt__GetOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDResponse.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) || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "") || 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) || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSDOptions(MediaBindingService *soap) { struct __trt__GetOSDOptions soap_tmp___trt__GetOSDOptions; _trt__GetOSDOptionsResponse trt__GetOSDOptionsResponse; trt__GetOSDOptionsResponse.soap_default(soap); soap_default___trt__GetOSDOptions(soap, &soap_tmp___trt__GetOSDOptions); if (!soap_get___trt__GetOSDOptions(soap, &soap_tmp___trt__GetOSDOptions, "-trt:GetOSDOptions", 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->GetOSDOptions(soap_tmp___trt__GetOSDOptions.trt__GetOSDOptions, &trt__GetOSDOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDOptionsResponse.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) || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "") || 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) || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetOSD(MediaBindingService *soap) { struct __trt__SetOSD soap_tmp___trt__SetOSD; _trt__SetOSDResponse trt__SetOSDResponse; trt__SetOSDResponse.soap_default(soap); soap_default___trt__SetOSD(soap, &soap_tmp___trt__SetOSD); if (!soap_get___trt__SetOSD(soap, &soap_tmp___trt__SetOSD, "-trt:SetOSD", 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->SetOSD(soap_tmp___trt__SetOSD.trt__SetOSD, &trt__SetOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetOSDResponse.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) || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "") || 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) || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__CreateOSD(MediaBindingService *soap) { struct __trt__CreateOSD soap_tmp___trt__CreateOSD; _trt__CreateOSDResponse trt__CreateOSDResponse; trt__CreateOSDResponse.soap_default(soap); soap_default___trt__CreateOSD(soap, &soap_tmp___trt__CreateOSD); if (!soap_get___trt__CreateOSD(soap, &soap_tmp___trt__CreateOSD, "-trt:CreateOSD", 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->CreateOSD(soap_tmp___trt__CreateOSD.trt__CreateOSD, &trt__CreateOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__CreateOSDResponse.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) || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "") || 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) || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__DeleteOSD(MediaBindingService *soap) { struct __trt__DeleteOSD soap_tmp___trt__DeleteOSD; _trt__DeleteOSDResponse trt__DeleteOSDResponse; trt__DeleteOSDResponse.soap_default(soap); soap_default___trt__DeleteOSD(soap, &soap_tmp___trt__DeleteOSD); if (!soap_get___trt__DeleteOSD(soap, &soap_tmp___trt__DeleteOSD, "-trt:DeleteOSD", 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->DeleteOSD(soap_tmp___trt__DeleteOSD.trt__DeleteOSD, &trt__DeleteOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__DeleteOSDResponse.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) || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "") || 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) || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetServiceCapabilities_(MediaBindingService *soap) { struct __trt__GetServiceCapabilities_ soap_tmp___trt__GetServiceCapabilities_; _trt__GetServiceCapabilitiesResponse trt__GetServiceCapabilitiesResponse; trt__GetServiceCapabilitiesResponse.soap_default(soap); soap_default___trt__GetServiceCapabilities_(soap, &soap_tmp___trt__GetServiceCapabilities_); if (!soap_get___trt__GetServiceCapabilities_(soap, &soap_tmp___trt__GetServiceCapabilities_, "-trt: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___trt__GetServiceCapabilities_.trt__GetServiceCapabilities, &trt__GetServiceCapabilitiesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__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) || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt: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) || trt__GetServiceCapabilitiesResponse.soap_put(soap, "trt: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___trt__GetVideoSources_(MediaBindingService *soap) { struct __trt__GetVideoSources_ soap_tmp___trt__GetVideoSources_; _trt__GetVideoSourcesResponse trt__GetVideoSourcesResponse; trt__GetVideoSourcesResponse.soap_default(soap); soap_default___trt__GetVideoSources_(soap, &soap_tmp___trt__GetVideoSources_); if (!soap_get___trt__GetVideoSources_(soap, &soap_tmp___trt__GetVideoSources_, "-trt:GetVideoSources", 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->GetVideoSources_(soap_tmp___trt__GetVideoSources_.trt__GetVideoSources, &trt__GetVideoSourcesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourcesResponse.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) || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "") || 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) || trt__GetVideoSourcesResponse.soap_put(soap, "trt:GetVideoSourcesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSources_(MediaBindingService *soap) { struct __trt__GetAudioSources_ soap_tmp___trt__GetAudioSources_; _trt__GetAudioSourcesResponse trt__GetAudioSourcesResponse; trt__GetAudioSourcesResponse.soap_default(soap); soap_default___trt__GetAudioSources_(soap, &soap_tmp___trt__GetAudioSources_); if (!soap_get___trt__GetAudioSources_(soap, &soap_tmp___trt__GetAudioSources_, "-trt:GetAudioSources", 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->GetAudioSources_(soap_tmp___trt__GetAudioSources_.trt__GetAudioSources, &trt__GetAudioSourcesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourcesResponse.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) || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "") || 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) || trt__GetAudioSourcesResponse.soap_put(soap, "trt:GetAudioSourcesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputs_(MediaBindingService *soap) { struct __trt__GetAudioOutputs_ soap_tmp___trt__GetAudioOutputs_; _trt__GetAudioOutputsResponse trt__GetAudioOutputsResponse; trt__GetAudioOutputsResponse.soap_default(soap); soap_default___trt__GetAudioOutputs_(soap, &soap_tmp___trt__GetAudioOutputs_); if (!soap_get___trt__GetAudioOutputs_(soap, &soap_tmp___trt__GetAudioOutputs_, "-trt:GetAudioOutputs", 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->GetAudioOutputs_(soap_tmp___trt__GetAudioOutputs_.trt__GetAudioOutputs, &trt__GetAudioOutputsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputsResponse.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) || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "") || 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) || trt__GetAudioOutputsResponse.soap_put(soap, "trt:GetAudioOutputsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__CreateProfile_(MediaBindingService *soap) { struct __trt__CreateProfile_ soap_tmp___trt__CreateProfile_; _trt__CreateProfileResponse trt__CreateProfileResponse; trt__CreateProfileResponse.soap_default(soap); soap_default___trt__CreateProfile_(soap, &soap_tmp___trt__CreateProfile_); if (!soap_get___trt__CreateProfile_(soap, &soap_tmp___trt__CreateProfile_, "-trt:CreateProfile", 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->CreateProfile_(soap_tmp___trt__CreateProfile_.trt__CreateProfile, &trt__CreateProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__CreateProfileResponse.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) || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "") || 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) || trt__CreateProfileResponse.soap_put(soap, "trt:CreateProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetProfile_(MediaBindingService *soap) { struct __trt__GetProfile_ soap_tmp___trt__GetProfile_; _trt__GetProfileResponse trt__GetProfileResponse; trt__GetProfileResponse.soap_default(soap); soap_default___trt__GetProfile_(soap, &soap_tmp___trt__GetProfile_); if (!soap_get___trt__GetProfile_(soap, &soap_tmp___trt__GetProfile_, "-trt:GetProfile", 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->GetProfile_(soap_tmp___trt__GetProfile_.trt__GetProfile, &trt__GetProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetProfileResponse.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) || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "") || 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) || trt__GetProfileResponse.soap_put(soap, "trt:GetProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetProfiles_(MediaBindingService *soap) { struct __trt__GetProfiles_ soap_tmp___trt__GetProfiles_; _trt__GetProfilesResponse trt__GetProfilesResponse; trt__GetProfilesResponse.soap_default(soap); soap_default___trt__GetProfiles_(soap, &soap_tmp___trt__GetProfiles_); if (!soap_get___trt__GetProfiles_(soap, &soap_tmp___trt__GetProfiles_, "-trt:GetProfiles", 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->GetProfiles_(soap_tmp___trt__GetProfiles_.trt__GetProfiles, &trt__GetProfilesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetProfilesResponse.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) || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "") || 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) || trt__GetProfilesResponse.soap_put(soap, "trt:GetProfilesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoEncoderConfiguration_(MediaBindingService *soap) { struct __trt__AddVideoEncoderConfiguration_ soap_tmp___trt__AddVideoEncoderConfiguration_; _trt__AddVideoEncoderConfigurationResponse trt__AddVideoEncoderConfigurationResponse; trt__AddVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoEncoderConfiguration_(soap, &soap_tmp___trt__AddVideoEncoderConfiguration_); if (!soap_get___trt__AddVideoEncoderConfiguration_(soap, &soap_tmp___trt__AddVideoEncoderConfiguration_, "-trt:AddVideoEncoderConfiguration", 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->AddVideoEncoderConfiguration_(soap_tmp___trt__AddVideoEncoderConfiguration_.trt__AddVideoEncoderConfiguration, &trt__AddVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoEncoderConfigurationResponse.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) || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "") || 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) || trt__AddVideoEncoderConfigurationResponse.soap_put(soap, "trt:AddVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoSourceConfiguration_(MediaBindingService *soap) { struct __trt__AddVideoSourceConfiguration_ soap_tmp___trt__AddVideoSourceConfiguration_; _trt__AddVideoSourceConfigurationResponse trt__AddVideoSourceConfigurationResponse; trt__AddVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoSourceConfiguration_(soap, &soap_tmp___trt__AddVideoSourceConfiguration_); if (!soap_get___trt__AddVideoSourceConfiguration_(soap, &soap_tmp___trt__AddVideoSourceConfiguration_, "-trt:AddVideoSourceConfiguration", 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->AddVideoSourceConfiguration_(soap_tmp___trt__AddVideoSourceConfiguration_.trt__AddVideoSourceConfiguration, &trt__AddVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoSourceConfigurationResponse.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) || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "") || 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) || trt__AddVideoSourceConfigurationResponse.soap_put(soap, "trt:AddVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioEncoderConfiguration_(MediaBindingService *soap) { struct __trt__AddAudioEncoderConfiguration_ soap_tmp___trt__AddAudioEncoderConfiguration_; _trt__AddAudioEncoderConfigurationResponse trt__AddAudioEncoderConfigurationResponse; trt__AddAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioEncoderConfiguration_(soap, &soap_tmp___trt__AddAudioEncoderConfiguration_); if (!soap_get___trt__AddAudioEncoderConfiguration_(soap, &soap_tmp___trt__AddAudioEncoderConfiguration_, "-trt:AddAudioEncoderConfiguration", 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->AddAudioEncoderConfiguration_(soap_tmp___trt__AddAudioEncoderConfiguration_.trt__AddAudioEncoderConfiguration, &trt__AddAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioEncoderConfigurationResponse.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) || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "") || 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) || trt__AddAudioEncoderConfigurationResponse.soap_put(soap, "trt:AddAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioSourceConfiguration_(MediaBindingService *soap) { struct __trt__AddAudioSourceConfiguration_ soap_tmp___trt__AddAudioSourceConfiguration_; _trt__AddAudioSourceConfigurationResponse trt__AddAudioSourceConfigurationResponse; trt__AddAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioSourceConfiguration_(soap, &soap_tmp___trt__AddAudioSourceConfiguration_); if (!soap_get___trt__AddAudioSourceConfiguration_(soap, &soap_tmp___trt__AddAudioSourceConfiguration_, "-trt:AddAudioSourceConfiguration", 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->AddAudioSourceConfiguration_(soap_tmp___trt__AddAudioSourceConfiguration_.trt__AddAudioSourceConfiguration, &trt__AddAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioSourceConfigurationResponse.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) || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "") || 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) || trt__AddAudioSourceConfigurationResponse.soap_put(soap, "trt:AddAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddPTZConfiguration_(MediaBindingService *soap) { struct __trt__AddPTZConfiguration_ soap_tmp___trt__AddPTZConfiguration_; _trt__AddPTZConfigurationResponse trt__AddPTZConfigurationResponse; trt__AddPTZConfigurationResponse.soap_default(soap); soap_default___trt__AddPTZConfiguration_(soap, &soap_tmp___trt__AddPTZConfiguration_); if (!soap_get___trt__AddPTZConfiguration_(soap, &soap_tmp___trt__AddPTZConfiguration_, "-trt:AddPTZConfiguration", 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->AddPTZConfiguration_(soap_tmp___trt__AddPTZConfiguration_.trt__AddPTZConfiguration, &trt__AddPTZConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddPTZConfigurationResponse.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) || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "") || 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) || trt__AddPTZConfigurationResponse.soap_put(soap, "trt:AddPTZConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddVideoAnalyticsConfiguration_(MediaBindingService *soap) { struct __trt__AddVideoAnalyticsConfiguration_ soap_tmp___trt__AddVideoAnalyticsConfiguration_; _trt__AddVideoAnalyticsConfigurationResponse trt__AddVideoAnalyticsConfigurationResponse; trt__AddVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__AddVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration_); if (!soap_get___trt__AddVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__AddVideoAnalyticsConfiguration_, "-trt:AddVideoAnalyticsConfiguration", 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->AddVideoAnalyticsConfiguration_(soap_tmp___trt__AddVideoAnalyticsConfiguration_.trt__AddVideoAnalyticsConfiguration, &trt__AddVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddVideoAnalyticsConfigurationResponse.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) || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "") || 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) || trt__AddVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:AddVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddMetadataConfiguration_(MediaBindingService *soap) { struct __trt__AddMetadataConfiguration_ soap_tmp___trt__AddMetadataConfiguration_; _trt__AddMetadataConfigurationResponse trt__AddMetadataConfigurationResponse; trt__AddMetadataConfigurationResponse.soap_default(soap); soap_default___trt__AddMetadataConfiguration_(soap, &soap_tmp___trt__AddMetadataConfiguration_); if (!soap_get___trt__AddMetadataConfiguration_(soap, &soap_tmp___trt__AddMetadataConfiguration_, "-trt:AddMetadataConfiguration", 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->AddMetadataConfiguration_(soap_tmp___trt__AddMetadataConfiguration_.trt__AddMetadataConfiguration, &trt__AddMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddMetadataConfigurationResponse.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) || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "") || 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) || trt__AddMetadataConfigurationResponse.soap_put(soap, "trt:AddMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioOutputConfiguration_(MediaBindingService *soap) { struct __trt__AddAudioOutputConfiguration_ soap_tmp___trt__AddAudioOutputConfiguration_; _trt__AddAudioOutputConfigurationResponse trt__AddAudioOutputConfigurationResponse; trt__AddAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioOutputConfiguration_(soap, &soap_tmp___trt__AddAudioOutputConfiguration_); if (!soap_get___trt__AddAudioOutputConfiguration_(soap, &soap_tmp___trt__AddAudioOutputConfiguration_, "-trt:AddAudioOutputConfiguration", 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->AddAudioOutputConfiguration_(soap_tmp___trt__AddAudioOutputConfiguration_.trt__AddAudioOutputConfiguration, &trt__AddAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioOutputConfigurationResponse.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) || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "") || 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) || trt__AddAudioOutputConfigurationResponse.soap_put(soap, "trt:AddAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__AddAudioDecoderConfiguration_(MediaBindingService *soap) { struct __trt__AddAudioDecoderConfiguration_ soap_tmp___trt__AddAudioDecoderConfiguration_; _trt__AddAudioDecoderConfigurationResponse trt__AddAudioDecoderConfigurationResponse; trt__AddAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__AddAudioDecoderConfiguration_(soap, &soap_tmp___trt__AddAudioDecoderConfiguration_); if (!soap_get___trt__AddAudioDecoderConfiguration_(soap, &soap_tmp___trt__AddAudioDecoderConfiguration_, "-trt:AddAudioDecoderConfiguration", 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->AddAudioDecoderConfiguration_(soap_tmp___trt__AddAudioDecoderConfiguration_.trt__AddAudioDecoderConfiguration, &trt__AddAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__AddAudioDecoderConfigurationResponse.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) || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "") || 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) || trt__AddAudioDecoderConfigurationResponse.soap_put(soap, "trt:AddAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoEncoderConfiguration_(MediaBindingService *soap) { struct __trt__RemoveVideoEncoderConfiguration_ soap_tmp___trt__RemoveVideoEncoderConfiguration_; _trt__RemoveVideoEncoderConfigurationResponse trt__RemoveVideoEncoderConfigurationResponse; trt__RemoveVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoEncoderConfiguration_(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration_); if (!soap_get___trt__RemoveVideoEncoderConfiguration_(soap, &soap_tmp___trt__RemoveVideoEncoderConfiguration_, "-trt:RemoveVideoEncoderConfiguration", 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->RemoveVideoEncoderConfiguration_(soap_tmp___trt__RemoveVideoEncoderConfiguration_.trt__RemoveVideoEncoderConfiguration, &trt__RemoveVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoEncoderConfigurationResponse.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) || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "") || 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) || trt__RemoveVideoEncoderConfigurationResponse.soap_put(soap, "trt:RemoveVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoSourceConfiguration_(MediaBindingService *soap) { struct __trt__RemoveVideoSourceConfiguration_ soap_tmp___trt__RemoveVideoSourceConfiguration_; _trt__RemoveVideoSourceConfigurationResponse trt__RemoveVideoSourceConfigurationResponse; trt__RemoveVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoSourceConfiguration_(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration_); if (!soap_get___trt__RemoveVideoSourceConfiguration_(soap, &soap_tmp___trt__RemoveVideoSourceConfiguration_, "-trt:RemoveVideoSourceConfiguration", 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->RemoveVideoSourceConfiguration_(soap_tmp___trt__RemoveVideoSourceConfiguration_.trt__RemoveVideoSourceConfiguration, &trt__RemoveVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoSourceConfigurationResponse.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) || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "") || 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) || trt__RemoveVideoSourceConfigurationResponse.soap_put(soap, "trt:RemoveVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioEncoderConfiguration_(MediaBindingService *soap) { struct __trt__RemoveAudioEncoderConfiguration_ soap_tmp___trt__RemoveAudioEncoderConfiguration_; _trt__RemoveAudioEncoderConfigurationResponse trt__RemoveAudioEncoderConfigurationResponse; trt__RemoveAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioEncoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration_); if (!soap_get___trt__RemoveAudioEncoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioEncoderConfiguration_, "-trt:RemoveAudioEncoderConfiguration", 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->RemoveAudioEncoderConfiguration_(soap_tmp___trt__RemoveAudioEncoderConfiguration_.trt__RemoveAudioEncoderConfiguration, &trt__RemoveAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioEncoderConfigurationResponse.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) || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "") || 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) || trt__RemoveAudioEncoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioSourceConfiguration_(MediaBindingService *soap) { struct __trt__RemoveAudioSourceConfiguration_ soap_tmp___trt__RemoveAudioSourceConfiguration_; _trt__RemoveAudioSourceConfigurationResponse trt__RemoveAudioSourceConfigurationResponse; trt__RemoveAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioSourceConfiguration_(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration_); if (!soap_get___trt__RemoveAudioSourceConfiguration_(soap, &soap_tmp___trt__RemoveAudioSourceConfiguration_, "-trt:RemoveAudioSourceConfiguration", 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->RemoveAudioSourceConfiguration_(soap_tmp___trt__RemoveAudioSourceConfiguration_.trt__RemoveAudioSourceConfiguration, &trt__RemoveAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioSourceConfigurationResponse.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) || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "") || 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) || trt__RemoveAudioSourceConfigurationResponse.soap_put(soap, "trt:RemoveAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemovePTZConfiguration_(MediaBindingService *soap) { struct __trt__RemovePTZConfiguration_ soap_tmp___trt__RemovePTZConfiguration_; _trt__RemovePTZConfigurationResponse trt__RemovePTZConfigurationResponse; trt__RemovePTZConfigurationResponse.soap_default(soap); soap_default___trt__RemovePTZConfiguration_(soap, &soap_tmp___trt__RemovePTZConfiguration_); if (!soap_get___trt__RemovePTZConfiguration_(soap, &soap_tmp___trt__RemovePTZConfiguration_, "-trt:RemovePTZConfiguration", 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->RemovePTZConfiguration_(soap_tmp___trt__RemovePTZConfiguration_.trt__RemovePTZConfiguration, &trt__RemovePTZConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemovePTZConfigurationResponse.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) || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "") || 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) || trt__RemovePTZConfigurationResponse.soap_put(soap, "trt:RemovePTZConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveVideoAnalyticsConfiguration_(MediaBindingService *soap) { struct __trt__RemoveVideoAnalyticsConfiguration_ soap_tmp___trt__RemoveVideoAnalyticsConfiguration_; _trt__RemoveVideoAnalyticsConfigurationResponse trt__RemoveVideoAnalyticsConfigurationResponse; trt__RemoveVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__RemoveVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration_); if (!soap_get___trt__RemoveVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__RemoveVideoAnalyticsConfiguration_, "-trt:RemoveVideoAnalyticsConfiguration", 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->RemoveVideoAnalyticsConfiguration_(soap_tmp___trt__RemoveVideoAnalyticsConfiguration_.trt__RemoveVideoAnalyticsConfiguration, &trt__RemoveVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveVideoAnalyticsConfigurationResponse.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) || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "") || 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) || trt__RemoveVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:RemoveVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveMetadataConfiguration_(MediaBindingService *soap) { struct __trt__RemoveMetadataConfiguration_ soap_tmp___trt__RemoveMetadataConfiguration_; _trt__RemoveMetadataConfigurationResponse trt__RemoveMetadataConfigurationResponse; trt__RemoveMetadataConfigurationResponse.soap_default(soap); soap_default___trt__RemoveMetadataConfiguration_(soap, &soap_tmp___trt__RemoveMetadataConfiguration_); if (!soap_get___trt__RemoveMetadataConfiguration_(soap, &soap_tmp___trt__RemoveMetadataConfiguration_, "-trt:RemoveMetadataConfiguration", 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->RemoveMetadataConfiguration_(soap_tmp___trt__RemoveMetadataConfiguration_.trt__RemoveMetadataConfiguration, &trt__RemoveMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveMetadataConfigurationResponse.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) || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "") || 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) || trt__RemoveMetadataConfigurationResponse.soap_put(soap, "trt:RemoveMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioOutputConfiguration_(MediaBindingService *soap) { struct __trt__RemoveAudioOutputConfiguration_ soap_tmp___trt__RemoveAudioOutputConfiguration_; _trt__RemoveAudioOutputConfigurationResponse trt__RemoveAudioOutputConfigurationResponse; trt__RemoveAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioOutputConfiguration_(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration_); if (!soap_get___trt__RemoveAudioOutputConfiguration_(soap, &soap_tmp___trt__RemoveAudioOutputConfiguration_, "-trt:RemoveAudioOutputConfiguration", 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->RemoveAudioOutputConfiguration_(soap_tmp___trt__RemoveAudioOutputConfiguration_.trt__RemoveAudioOutputConfiguration, &trt__RemoveAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioOutputConfigurationResponse.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) || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "") || 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) || trt__RemoveAudioOutputConfigurationResponse.soap_put(soap, "trt:RemoveAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__RemoveAudioDecoderConfiguration_(MediaBindingService *soap) { struct __trt__RemoveAudioDecoderConfiguration_ soap_tmp___trt__RemoveAudioDecoderConfiguration_; _trt__RemoveAudioDecoderConfigurationResponse trt__RemoveAudioDecoderConfigurationResponse; trt__RemoveAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__RemoveAudioDecoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration_); if (!soap_get___trt__RemoveAudioDecoderConfiguration_(soap, &soap_tmp___trt__RemoveAudioDecoderConfiguration_, "-trt:RemoveAudioDecoderConfiguration", 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->RemoveAudioDecoderConfiguration_(soap_tmp___trt__RemoveAudioDecoderConfiguration_.trt__RemoveAudioDecoderConfiguration, &trt__RemoveAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__RemoveAudioDecoderConfigurationResponse.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) || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "") || 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) || trt__RemoveAudioDecoderConfigurationResponse.soap_put(soap, "trt:RemoveAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__DeleteProfile_(MediaBindingService *soap) { struct __trt__DeleteProfile_ soap_tmp___trt__DeleteProfile_; _trt__DeleteProfileResponse trt__DeleteProfileResponse; trt__DeleteProfileResponse.soap_default(soap); soap_default___trt__DeleteProfile_(soap, &soap_tmp___trt__DeleteProfile_); if (!soap_get___trt__DeleteProfile_(soap, &soap_tmp___trt__DeleteProfile_, "-trt:DeleteProfile", 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->DeleteProfile_(soap_tmp___trt__DeleteProfile_.trt__DeleteProfile, &trt__DeleteProfileResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__DeleteProfileResponse.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) || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "") || 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) || trt__DeleteProfileResponse.soap_put(soap, "trt:DeleteProfileResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfigurations_(MediaBindingService *soap) { struct __trt__GetVideoSourceConfigurations_ soap_tmp___trt__GetVideoSourceConfigurations_; _trt__GetVideoSourceConfigurationsResponse trt__GetVideoSourceConfigurationsResponse; trt__GetVideoSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfigurations_(soap, &soap_tmp___trt__GetVideoSourceConfigurations_); if (!soap_get___trt__GetVideoSourceConfigurations_(soap, &soap_tmp___trt__GetVideoSourceConfigurations_, "-trt:GetVideoSourceConfigurations", 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->GetVideoSourceConfigurations_(soap_tmp___trt__GetVideoSourceConfigurations_.trt__GetVideoSourceConfigurations, &trt__GetVideoSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationsResponse.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) || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "") || 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) || trt__GetVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfigurations_(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfigurations_ soap_tmp___trt__GetVideoEncoderConfigurations_; _trt__GetVideoEncoderConfigurationsResponse trt__GetVideoEncoderConfigurationsResponse; trt__GetVideoEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetVideoEncoderConfigurations_); if (!soap_get___trt__GetVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetVideoEncoderConfigurations_, "-trt:GetVideoEncoderConfigurations", 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->GetVideoEncoderConfigurations_(soap_tmp___trt__GetVideoEncoderConfigurations_.trt__GetVideoEncoderConfigurations, &trt__GetVideoEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationsResponse.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) || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "") || 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) || trt__GetVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfigurations_(MediaBindingService *soap) { struct __trt__GetAudioSourceConfigurations_ soap_tmp___trt__GetAudioSourceConfigurations_; _trt__GetAudioSourceConfigurationsResponse trt__GetAudioSourceConfigurationsResponse; trt__GetAudioSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfigurations_(soap, &soap_tmp___trt__GetAudioSourceConfigurations_); if (!soap_get___trt__GetAudioSourceConfigurations_(soap, &soap_tmp___trt__GetAudioSourceConfigurations_, "-trt:GetAudioSourceConfigurations", 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->GetAudioSourceConfigurations_(soap_tmp___trt__GetAudioSourceConfigurations_.trt__GetAudioSourceConfigurations, &trt__GetAudioSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationsResponse.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) || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "") || 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) || trt__GetAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfigurations_(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfigurations_ soap_tmp___trt__GetAudioEncoderConfigurations_; _trt__GetAudioEncoderConfigurationsResponse trt__GetAudioEncoderConfigurationsResponse; trt__GetAudioEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetAudioEncoderConfigurations_); if (!soap_get___trt__GetAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetAudioEncoderConfigurations_, "-trt:GetAudioEncoderConfigurations", 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->GetAudioEncoderConfigurations_(soap_tmp___trt__GetAudioEncoderConfigurations_.trt__GetAudioEncoderConfigurations, &trt__GetAudioEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationsResponse.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) || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "") || 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) || trt__GetAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoAnalyticsConfigurations_(MediaBindingService *soap) { struct __trt__GetVideoAnalyticsConfigurations_ soap_tmp___trt__GetVideoAnalyticsConfigurations_; _trt__GetVideoAnalyticsConfigurationsResponse trt__GetVideoAnalyticsConfigurationsResponse; trt__GetVideoAnalyticsConfigurationsResponse.soap_default(soap); soap_default___trt__GetVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations_); if (!soap_get___trt__GetVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetVideoAnalyticsConfigurations_, "-trt:GetVideoAnalyticsConfigurations", 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->GetVideoAnalyticsConfigurations_(soap_tmp___trt__GetVideoAnalyticsConfigurations_.trt__GetVideoAnalyticsConfigurations, &trt__GetVideoAnalyticsConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoAnalyticsConfigurationsResponse.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) || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "") || 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) || trt__GetVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfigurations_(MediaBindingService *soap) { struct __trt__GetMetadataConfigurations_ soap_tmp___trt__GetMetadataConfigurations_; _trt__GetMetadataConfigurationsResponse trt__GetMetadataConfigurationsResponse; trt__GetMetadataConfigurationsResponse.soap_default(soap); soap_default___trt__GetMetadataConfigurations_(soap, &soap_tmp___trt__GetMetadataConfigurations_); if (!soap_get___trt__GetMetadataConfigurations_(soap, &soap_tmp___trt__GetMetadataConfigurations_, "-trt:GetMetadataConfigurations", 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->GetMetadataConfigurations_(soap_tmp___trt__GetMetadataConfigurations_.trt__GetMetadataConfigurations, &trt__GetMetadataConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationsResponse.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) || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "") || 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) || trt__GetMetadataConfigurationsResponse.soap_put(soap, "trt:GetMetadataConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfigurations_(MediaBindingService *soap) { struct __trt__GetAudioOutputConfigurations_ soap_tmp___trt__GetAudioOutputConfigurations_; _trt__GetAudioOutputConfigurationsResponse trt__GetAudioOutputConfigurationsResponse; trt__GetAudioOutputConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfigurations_(soap, &soap_tmp___trt__GetAudioOutputConfigurations_); if (!soap_get___trt__GetAudioOutputConfigurations_(soap, &soap_tmp___trt__GetAudioOutputConfigurations_, "-trt:GetAudioOutputConfigurations", 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->GetAudioOutputConfigurations_(soap_tmp___trt__GetAudioOutputConfigurations_.trt__GetAudioOutputConfigurations, &trt__GetAudioOutputConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationsResponse.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) || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "") || 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) || trt__GetAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfigurations_(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfigurations_ soap_tmp___trt__GetAudioDecoderConfigurations_; _trt__GetAudioDecoderConfigurationsResponse trt__GetAudioDecoderConfigurationsResponse; trt__GetAudioDecoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetAudioDecoderConfigurations_); if (!soap_get___trt__GetAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetAudioDecoderConfigurations_, "-trt:GetAudioDecoderConfigurations", 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->GetAudioDecoderConfigurations_(soap_tmp___trt__GetAudioDecoderConfigurations_.trt__GetAudioDecoderConfigurations, &trt__GetAudioDecoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationsResponse.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) || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "") || 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) || trt__GetAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfiguration_(MediaBindingService *soap) { struct __trt__GetVideoSourceConfiguration_ soap_tmp___trt__GetVideoSourceConfiguration_; _trt__GetVideoSourceConfigurationResponse trt__GetVideoSourceConfigurationResponse; trt__GetVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfiguration_(soap, &soap_tmp___trt__GetVideoSourceConfiguration_); if (!soap_get___trt__GetVideoSourceConfiguration_(soap, &soap_tmp___trt__GetVideoSourceConfiguration_, "-trt:GetVideoSourceConfiguration", 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->GetVideoSourceConfiguration_(soap_tmp___trt__GetVideoSourceConfiguration_.trt__GetVideoSourceConfiguration, &trt__GetVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationResponse.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) || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "") || 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) || trt__GetVideoSourceConfigurationResponse.soap_put(soap, "trt:GetVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfiguration_(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfiguration_ soap_tmp___trt__GetVideoEncoderConfiguration_; _trt__GetVideoEncoderConfigurationResponse trt__GetVideoEncoderConfigurationResponse; trt__GetVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfiguration_(soap, &soap_tmp___trt__GetVideoEncoderConfiguration_); if (!soap_get___trt__GetVideoEncoderConfiguration_(soap, &soap_tmp___trt__GetVideoEncoderConfiguration_, "-trt:GetVideoEncoderConfiguration", 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->GetVideoEncoderConfiguration_(soap_tmp___trt__GetVideoEncoderConfiguration_.trt__GetVideoEncoderConfiguration, &trt__GetVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationResponse.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) || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "") || 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) || trt__GetVideoEncoderConfigurationResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfiguration_(MediaBindingService *soap) { struct __trt__GetAudioSourceConfiguration_ soap_tmp___trt__GetAudioSourceConfiguration_; _trt__GetAudioSourceConfigurationResponse trt__GetAudioSourceConfigurationResponse; trt__GetAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfiguration_(soap, &soap_tmp___trt__GetAudioSourceConfiguration_); if (!soap_get___trt__GetAudioSourceConfiguration_(soap, &soap_tmp___trt__GetAudioSourceConfiguration_, "-trt:GetAudioSourceConfiguration", 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->GetAudioSourceConfiguration_(soap_tmp___trt__GetAudioSourceConfiguration_.trt__GetAudioSourceConfiguration, &trt__GetAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationResponse.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) || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "") || 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) || trt__GetAudioSourceConfigurationResponse.soap_put(soap, "trt:GetAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfiguration_(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfiguration_ soap_tmp___trt__GetAudioEncoderConfiguration_; _trt__GetAudioEncoderConfigurationResponse trt__GetAudioEncoderConfigurationResponse; trt__GetAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfiguration_(soap, &soap_tmp___trt__GetAudioEncoderConfiguration_); if (!soap_get___trt__GetAudioEncoderConfiguration_(soap, &soap_tmp___trt__GetAudioEncoderConfiguration_, "-trt:GetAudioEncoderConfiguration", 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->GetAudioEncoderConfiguration_(soap_tmp___trt__GetAudioEncoderConfiguration_.trt__GetAudioEncoderConfiguration, &trt__GetAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationResponse.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) || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "") || 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) || trt__GetAudioEncoderConfigurationResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoAnalyticsConfiguration_(MediaBindingService *soap) { struct __trt__GetVideoAnalyticsConfiguration_ soap_tmp___trt__GetVideoAnalyticsConfiguration_; _trt__GetVideoAnalyticsConfigurationResponse trt__GetVideoAnalyticsConfigurationResponse; trt__GetVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__GetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration_); if (!soap_get___trt__GetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__GetVideoAnalyticsConfiguration_, "-trt:GetVideoAnalyticsConfiguration", 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->GetVideoAnalyticsConfiguration_(soap_tmp___trt__GetVideoAnalyticsConfiguration_.trt__GetVideoAnalyticsConfiguration, &trt__GetVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoAnalyticsConfigurationResponse.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) || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "") || 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) || trt__GetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:GetVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfiguration_(MediaBindingService *soap) { struct __trt__GetMetadataConfiguration_ soap_tmp___trt__GetMetadataConfiguration_; _trt__GetMetadataConfigurationResponse trt__GetMetadataConfigurationResponse; trt__GetMetadataConfigurationResponse.soap_default(soap); soap_default___trt__GetMetadataConfiguration_(soap, &soap_tmp___trt__GetMetadataConfiguration_); if (!soap_get___trt__GetMetadataConfiguration_(soap, &soap_tmp___trt__GetMetadataConfiguration_, "-trt:GetMetadataConfiguration", 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->GetMetadataConfiguration_(soap_tmp___trt__GetMetadataConfiguration_.trt__GetMetadataConfiguration, &trt__GetMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationResponse.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) || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "") || 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) || trt__GetMetadataConfigurationResponse.soap_put(soap, "trt:GetMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfiguration_(MediaBindingService *soap) { struct __trt__GetAudioOutputConfiguration_ soap_tmp___trt__GetAudioOutputConfiguration_; _trt__GetAudioOutputConfigurationResponse trt__GetAudioOutputConfigurationResponse; trt__GetAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfiguration_(soap, &soap_tmp___trt__GetAudioOutputConfiguration_); if (!soap_get___trt__GetAudioOutputConfiguration_(soap, &soap_tmp___trt__GetAudioOutputConfiguration_, "-trt:GetAudioOutputConfiguration", 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->GetAudioOutputConfiguration_(soap_tmp___trt__GetAudioOutputConfiguration_.trt__GetAudioOutputConfiguration, &trt__GetAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationResponse.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) || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "") || 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) || trt__GetAudioOutputConfigurationResponse.soap_put(soap, "trt:GetAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfiguration_(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfiguration_ soap_tmp___trt__GetAudioDecoderConfiguration_; _trt__GetAudioDecoderConfigurationResponse trt__GetAudioDecoderConfigurationResponse; trt__GetAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfiguration_(soap, &soap_tmp___trt__GetAudioDecoderConfiguration_); if (!soap_get___trt__GetAudioDecoderConfiguration_(soap, &soap_tmp___trt__GetAudioDecoderConfiguration_, "-trt:GetAudioDecoderConfiguration", 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->GetAudioDecoderConfiguration_(soap_tmp___trt__GetAudioDecoderConfiguration_.trt__GetAudioDecoderConfiguration, &trt__GetAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationResponse.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) || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "") || 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) || trt__GetAudioDecoderConfigurationResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoEncoderConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleVideoEncoderConfigurations_ soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_; _trt__GetCompatibleVideoEncoderConfigurationsResponse trt__GetCompatibleVideoEncoderConfigurationsResponse; trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_); if (!soap_get___trt__GetCompatibleVideoEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_, "-trt:GetCompatibleVideoEncoderConfigurations", 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->GetCompatibleVideoEncoderConfigurations_(soap_tmp___trt__GetCompatibleVideoEncoderConfigurations_.trt__GetCompatibleVideoEncoderConfigurations, &trt__GetCompatibleVideoEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoEncoderConfigurationsResponse.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) || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoSourceConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleVideoSourceConfigurations_ soap_tmp___trt__GetCompatibleVideoSourceConfigurations_; _trt__GetCompatibleVideoSourceConfigurationsResponse trt__GetCompatibleVideoSourceConfigurationsResponse; trt__GetCompatibleVideoSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations_); if (!soap_get___trt__GetCompatibleVideoSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoSourceConfigurations_, "-trt:GetCompatibleVideoSourceConfigurations", 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->GetCompatibleVideoSourceConfigurations_(soap_tmp___trt__GetCompatibleVideoSourceConfigurations_.trt__GetCompatibleVideoSourceConfigurations, &trt__GetCompatibleVideoSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoSourceConfigurationsResponse.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) || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioEncoderConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleAudioEncoderConfigurations_ soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_; _trt__GetCompatibleAudioEncoderConfigurationsResponse trt__GetCompatibleAudioEncoderConfigurationsResponse; trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_); if (!soap_get___trt__GetCompatibleAudioEncoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_, "-trt:GetCompatibleAudioEncoderConfigurations", 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->GetCompatibleAudioEncoderConfigurations_(soap_tmp___trt__GetCompatibleAudioEncoderConfigurations_.trt__GetCompatibleAudioEncoderConfigurations, &trt__GetCompatibleAudioEncoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioEncoderConfigurationsResponse.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) || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioEncoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioEncoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioSourceConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleAudioSourceConfigurations_ soap_tmp___trt__GetCompatibleAudioSourceConfigurations_; _trt__GetCompatibleAudioSourceConfigurationsResponse trt__GetCompatibleAudioSourceConfigurationsResponse; trt__GetCompatibleAudioSourceConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations_); if (!soap_get___trt__GetCompatibleAudioSourceConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioSourceConfigurations_, "-trt:GetCompatibleAudioSourceConfigurations", 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->GetCompatibleAudioSourceConfigurations_(soap_tmp___trt__GetCompatibleAudioSourceConfigurations_.trt__GetCompatibleAudioSourceConfigurations, &trt__GetCompatibleAudioSourceConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioSourceConfigurationsResponse.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) || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioSourceConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioSourceConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleVideoAnalyticsConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleVideoAnalyticsConfigurations_ soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_; _trt__GetCompatibleVideoAnalyticsConfigurationsResponse trt__GetCompatibleVideoAnalyticsConfigurationsResponse; trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_); if (!soap_get___trt__GetCompatibleVideoAnalyticsConfigurations_(soap, &soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_, "-trt:GetCompatibleVideoAnalyticsConfigurations", 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->GetCompatibleVideoAnalyticsConfigurations_(soap_tmp___trt__GetCompatibleVideoAnalyticsConfigurations_.trt__GetCompatibleVideoAnalyticsConfigurations, &trt__GetCompatibleVideoAnalyticsConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleVideoAnalyticsConfigurationsResponse.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) || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "") || 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) || trt__GetCompatibleVideoAnalyticsConfigurationsResponse.soap_put(soap, "trt:GetCompatibleVideoAnalyticsConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleMetadataConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleMetadataConfigurations_ soap_tmp___trt__GetCompatibleMetadataConfigurations_; _trt__GetCompatibleMetadataConfigurationsResponse trt__GetCompatibleMetadataConfigurationsResponse; trt__GetCompatibleMetadataConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleMetadataConfigurations_(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations_); if (!soap_get___trt__GetCompatibleMetadataConfigurations_(soap, &soap_tmp___trt__GetCompatibleMetadataConfigurations_, "-trt:GetCompatibleMetadataConfigurations", 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->GetCompatibleMetadataConfigurations_(soap_tmp___trt__GetCompatibleMetadataConfigurations_.trt__GetCompatibleMetadataConfigurations, &trt__GetCompatibleMetadataConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleMetadataConfigurationsResponse.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) || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "") || 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) || trt__GetCompatibleMetadataConfigurationsResponse.soap_put(soap, "trt:GetCompatibleMetadataConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioOutputConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleAudioOutputConfigurations_ soap_tmp___trt__GetCompatibleAudioOutputConfigurations_; _trt__GetCompatibleAudioOutputConfigurationsResponse trt__GetCompatibleAudioOutputConfigurationsResponse; trt__GetCompatibleAudioOutputConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioOutputConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations_); if (!soap_get___trt__GetCompatibleAudioOutputConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioOutputConfigurations_, "-trt:GetCompatibleAudioOutputConfigurations", 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->GetCompatibleAudioOutputConfigurations_(soap_tmp___trt__GetCompatibleAudioOutputConfigurations_.trt__GetCompatibleAudioOutputConfigurations, &trt__GetCompatibleAudioOutputConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioOutputConfigurationsResponse.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) || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioOutputConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioOutputConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetCompatibleAudioDecoderConfigurations_(MediaBindingService *soap) { struct __trt__GetCompatibleAudioDecoderConfigurations_ soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_; _trt__GetCompatibleAudioDecoderConfigurationsResponse trt__GetCompatibleAudioDecoderConfigurationsResponse; trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_default(soap); soap_default___trt__GetCompatibleAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_); if (!soap_get___trt__GetCompatibleAudioDecoderConfigurations_(soap, &soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_, "-trt:GetCompatibleAudioDecoderConfigurations", 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->GetCompatibleAudioDecoderConfigurations_(soap_tmp___trt__GetCompatibleAudioDecoderConfigurations_.trt__GetCompatibleAudioDecoderConfigurations, &trt__GetCompatibleAudioDecoderConfigurationsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetCompatibleAudioDecoderConfigurationsResponse.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) || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "") || 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) || trt__GetCompatibleAudioDecoderConfigurationsResponse.soap_put(soap, "trt:GetCompatibleAudioDecoderConfigurationsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoSourceConfiguration_(MediaBindingService *soap) { struct __trt__SetVideoSourceConfiguration_ soap_tmp___trt__SetVideoSourceConfiguration_; _trt__SetVideoSourceConfigurationResponse trt__SetVideoSourceConfigurationResponse; trt__SetVideoSourceConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoSourceConfiguration_(soap, &soap_tmp___trt__SetVideoSourceConfiguration_); if (!soap_get___trt__SetVideoSourceConfiguration_(soap, &soap_tmp___trt__SetVideoSourceConfiguration_, "-trt:SetVideoSourceConfiguration", 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->SetVideoSourceConfiguration_(soap_tmp___trt__SetVideoSourceConfiguration_.trt__SetVideoSourceConfiguration, &trt__SetVideoSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoSourceConfigurationResponse.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) || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "") || 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) || trt__SetVideoSourceConfigurationResponse.soap_put(soap, "trt:SetVideoSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoEncoderConfiguration_(MediaBindingService *soap) { struct __trt__SetVideoEncoderConfiguration_ soap_tmp___trt__SetVideoEncoderConfiguration_; _trt__SetVideoEncoderConfigurationResponse trt__SetVideoEncoderConfigurationResponse; trt__SetVideoEncoderConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoEncoderConfiguration_(soap, &soap_tmp___trt__SetVideoEncoderConfiguration_); if (!soap_get___trt__SetVideoEncoderConfiguration_(soap, &soap_tmp___trt__SetVideoEncoderConfiguration_, "-trt:SetVideoEncoderConfiguration", 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->SetVideoEncoderConfiguration_(soap_tmp___trt__SetVideoEncoderConfiguration_.trt__SetVideoEncoderConfiguration, &trt__SetVideoEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoEncoderConfigurationResponse.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) || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "") || 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) || trt__SetVideoEncoderConfigurationResponse.soap_put(soap, "trt:SetVideoEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioSourceConfiguration_(MediaBindingService *soap) { struct __trt__SetAudioSourceConfiguration_ soap_tmp___trt__SetAudioSourceConfiguration_; _trt__SetAudioSourceConfigurationResponse trt__SetAudioSourceConfigurationResponse; trt__SetAudioSourceConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioSourceConfiguration_(soap, &soap_tmp___trt__SetAudioSourceConfiguration_); if (!soap_get___trt__SetAudioSourceConfiguration_(soap, &soap_tmp___trt__SetAudioSourceConfiguration_, "-trt:SetAudioSourceConfiguration", 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->SetAudioSourceConfiguration_(soap_tmp___trt__SetAudioSourceConfiguration_.trt__SetAudioSourceConfiguration, &trt__SetAudioSourceConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioSourceConfigurationResponse.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) || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "") || 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) || trt__SetAudioSourceConfigurationResponse.soap_put(soap, "trt:SetAudioSourceConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioEncoderConfiguration_(MediaBindingService *soap) { struct __trt__SetAudioEncoderConfiguration_ soap_tmp___trt__SetAudioEncoderConfiguration_; _trt__SetAudioEncoderConfigurationResponse trt__SetAudioEncoderConfigurationResponse; trt__SetAudioEncoderConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioEncoderConfiguration_(soap, &soap_tmp___trt__SetAudioEncoderConfiguration_); if (!soap_get___trt__SetAudioEncoderConfiguration_(soap, &soap_tmp___trt__SetAudioEncoderConfiguration_, "-trt:SetAudioEncoderConfiguration", 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->SetAudioEncoderConfiguration_(soap_tmp___trt__SetAudioEncoderConfiguration_.trt__SetAudioEncoderConfiguration, &trt__SetAudioEncoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioEncoderConfigurationResponse.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) || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "") || 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) || trt__SetAudioEncoderConfigurationResponse.soap_put(soap, "trt:SetAudioEncoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoAnalyticsConfiguration_(MediaBindingService *soap) { struct __trt__SetVideoAnalyticsConfiguration_ soap_tmp___trt__SetVideoAnalyticsConfiguration_; _trt__SetVideoAnalyticsConfigurationResponse trt__SetVideoAnalyticsConfigurationResponse; trt__SetVideoAnalyticsConfigurationResponse.soap_default(soap); soap_default___trt__SetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration_); if (!soap_get___trt__SetVideoAnalyticsConfiguration_(soap, &soap_tmp___trt__SetVideoAnalyticsConfiguration_, "-trt:SetVideoAnalyticsConfiguration", 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->SetVideoAnalyticsConfiguration_(soap_tmp___trt__SetVideoAnalyticsConfiguration_.trt__SetVideoAnalyticsConfiguration, &trt__SetVideoAnalyticsConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoAnalyticsConfigurationResponse.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) || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "") || 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) || trt__SetVideoAnalyticsConfigurationResponse.soap_put(soap, "trt:SetVideoAnalyticsConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetMetadataConfiguration_(MediaBindingService *soap) { struct __trt__SetMetadataConfiguration_ soap_tmp___trt__SetMetadataConfiguration_; _trt__SetMetadataConfigurationResponse trt__SetMetadataConfigurationResponse; trt__SetMetadataConfigurationResponse.soap_default(soap); soap_default___trt__SetMetadataConfiguration_(soap, &soap_tmp___trt__SetMetadataConfiguration_); if (!soap_get___trt__SetMetadataConfiguration_(soap, &soap_tmp___trt__SetMetadataConfiguration_, "-trt:SetMetadataConfiguration", 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->SetMetadataConfiguration_(soap_tmp___trt__SetMetadataConfiguration_.trt__SetMetadataConfiguration, &trt__SetMetadataConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetMetadataConfigurationResponse.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) || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "") || 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) || trt__SetMetadataConfigurationResponse.soap_put(soap, "trt:SetMetadataConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioOutputConfiguration_(MediaBindingService *soap) { struct __trt__SetAudioOutputConfiguration_ soap_tmp___trt__SetAudioOutputConfiguration_; _trt__SetAudioOutputConfigurationResponse trt__SetAudioOutputConfigurationResponse; trt__SetAudioOutputConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioOutputConfiguration_(soap, &soap_tmp___trt__SetAudioOutputConfiguration_); if (!soap_get___trt__SetAudioOutputConfiguration_(soap, &soap_tmp___trt__SetAudioOutputConfiguration_, "-trt:SetAudioOutputConfiguration", 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->SetAudioOutputConfiguration_(soap_tmp___trt__SetAudioOutputConfiguration_.trt__SetAudioOutputConfiguration, &trt__SetAudioOutputConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioOutputConfigurationResponse.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) || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "") || 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) || trt__SetAudioOutputConfigurationResponse.soap_put(soap, "trt:SetAudioOutputConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetAudioDecoderConfiguration_(MediaBindingService *soap) { struct __trt__SetAudioDecoderConfiguration_ soap_tmp___trt__SetAudioDecoderConfiguration_; _trt__SetAudioDecoderConfigurationResponse trt__SetAudioDecoderConfigurationResponse; trt__SetAudioDecoderConfigurationResponse.soap_default(soap); soap_default___trt__SetAudioDecoderConfiguration_(soap, &soap_tmp___trt__SetAudioDecoderConfiguration_); if (!soap_get___trt__SetAudioDecoderConfiguration_(soap, &soap_tmp___trt__SetAudioDecoderConfiguration_, "-trt:SetAudioDecoderConfiguration", 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->SetAudioDecoderConfiguration_(soap_tmp___trt__SetAudioDecoderConfiguration_.trt__SetAudioDecoderConfiguration, &trt__SetAudioDecoderConfigurationResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetAudioDecoderConfigurationResponse.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) || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "") || 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) || trt__SetAudioDecoderConfigurationResponse.soap_put(soap, "trt:SetAudioDecoderConfigurationResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetVideoSourceConfigurationOptions_ soap_tmp___trt__GetVideoSourceConfigurationOptions_; _trt__GetVideoSourceConfigurationOptionsResponse trt__GetVideoSourceConfigurationOptionsResponse; trt__GetVideoSourceConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetVideoSourceConfigurationOptions_(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions_); if (!soap_get___trt__GetVideoSourceConfigurationOptions_(soap, &soap_tmp___trt__GetVideoSourceConfigurationOptions_, "-trt:GetVideoSourceConfigurationOptions", 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->GetVideoSourceConfigurationOptions_(soap_tmp___trt__GetVideoSourceConfigurationOptions_.trt__GetVideoSourceConfigurationOptions, &trt__GetVideoSourceConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceConfigurationOptionsResponse.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) || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "") || 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) || trt__GetVideoSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoSourceConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoEncoderConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetVideoEncoderConfigurationOptions_ soap_tmp___trt__GetVideoEncoderConfigurationOptions_; _trt__GetVideoEncoderConfigurationOptionsResponse trt__GetVideoEncoderConfigurationOptionsResponse; trt__GetVideoEncoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetVideoEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions_); if (!soap_get___trt__GetVideoEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetVideoEncoderConfigurationOptions_, "-trt:GetVideoEncoderConfigurationOptions", 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->GetVideoEncoderConfigurationOptions_(soap_tmp___trt__GetVideoEncoderConfigurationOptions_.trt__GetVideoEncoderConfigurationOptions, &trt__GetVideoEncoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoEncoderConfigurationOptionsResponse.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) || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "") || 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) || trt__GetVideoEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetVideoEncoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioSourceConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetAudioSourceConfigurationOptions_ soap_tmp___trt__GetAudioSourceConfigurationOptions_; _trt__GetAudioSourceConfigurationOptionsResponse trt__GetAudioSourceConfigurationOptionsResponse; trt__GetAudioSourceConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioSourceConfigurationOptions_(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions_); if (!soap_get___trt__GetAudioSourceConfigurationOptions_(soap, &soap_tmp___trt__GetAudioSourceConfigurationOptions_, "-trt:GetAudioSourceConfigurationOptions", 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->GetAudioSourceConfigurationOptions_(soap_tmp___trt__GetAudioSourceConfigurationOptions_.trt__GetAudioSourceConfigurationOptions, &trt__GetAudioSourceConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioSourceConfigurationOptionsResponse.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) || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "") || 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) || trt__GetAudioSourceConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioSourceConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioEncoderConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetAudioEncoderConfigurationOptions_ soap_tmp___trt__GetAudioEncoderConfigurationOptions_; _trt__GetAudioEncoderConfigurationOptionsResponse trt__GetAudioEncoderConfigurationOptionsResponse; trt__GetAudioEncoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions_); if (!soap_get___trt__GetAudioEncoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioEncoderConfigurationOptions_, "-trt:GetAudioEncoderConfigurationOptions", 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->GetAudioEncoderConfigurationOptions_(soap_tmp___trt__GetAudioEncoderConfigurationOptions_.trt__GetAudioEncoderConfigurationOptions, &trt__GetAudioEncoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioEncoderConfigurationOptionsResponse.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) || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "") || 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) || trt__GetAudioEncoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioEncoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetMetadataConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetMetadataConfigurationOptions_ soap_tmp___trt__GetMetadataConfigurationOptions_; _trt__GetMetadataConfigurationOptionsResponse trt__GetMetadataConfigurationOptionsResponse; trt__GetMetadataConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetMetadataConfigurationOptions_(soap, &soap_tmp___trt__GetMetadataConfigurationOptions_); if (!soap_get___trt__GetMetadataConfigurationOptions_(soap, &soap_tmp___trt__GetMetadataConfigurationOptions_, "-trt:GetMetadataConfigurationOptions", 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->GetMetadataConfigurationOptions_(soap_tmp___trt__GetMetadataConfigurationOptions_.trt__GetMetadataConfigurationOptions, &trt__GetMetadataConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetMetadataConfigurationOptionsResponse.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) || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "") || 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) || trt__GetMetadataConfigurationOptionsResponse.soap_put(soap, "trt:GetMetadataConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioOutputConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetAudioOutputConfigurationOptions_ soap_tmp___trt__GetAudioOutputConfigurationOptions_; _trt__GetAudioOutputConfigurationOptionsResponse trt__GetAudioOutputConfigurationOptionsResponse; trt__GetAudioOutputConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioOutputConfigurationOptions_(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions_); if (!soap_get___trt__GetAudioOutputConfigurationOptions_(soap, &soap_tmp___trt__GetAudioOutputConfigurationOptions_, "-trt:GetAudioOutputConfigurationOptions", 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->GetAudioOutputConfigurationOptions_(soap_tmp___trt__GetAudioOutputConfigurationOptions_.trt__GetAudioOutputConfigurationOptions, &trt__GetAudioOutputConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioOutputConfigurationOptionsResponse.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) || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "") || 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) || trt__GetAudioOutputConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioOutputConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetAudioDecoderConfigurationOptions_(MediaBindingService *soap) { struct __trt__GetAudioDecoderConfigurationOptions_ soap_tmp___trt__GetAudioDecoderConfigurationOptions_; _trt__GetAudioDecoderConfigurationOptionsResponse trt__GetAudioDecoderConfigurationOptionsResponse; trt__GetAudioDecoderConfigurationOptionsResponse.soap_default(soap); soap_default___trt__GetAudioDecoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions_); if (!soap_get___trt__GetAudioDecoderConfigurationOptions_(soap, &soap_tmp___trt__GetAudioDecoderConfigurationOptions_, "-trt:GetAudioDecoderConfigurationOptions", 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->GetAudioDecoderConfigurationOptions_(soap_tmp___trt__GetAudioDecoderConfigurationOptions_.trt__GetAudioDecoderConfigurationOptions, &trt__GetAudioDecoderConfigurationOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetAudioDecoderConfigurationOptionsResponse.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) || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "") || 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) || trt__GetAudioDecoderConfigurationOptionsResponse.soap_put(soap, "trt:GetAudioDecoderConfigurationOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetGuaranteedNumberOfVideoEncoderInstances_(MediaBindingService *soap) { struct __trt__GetGuaranteedNumberOfVideoEncoderInstances_ soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_; _trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse; trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_default(soap); soap_default___trt__GetGuaranteedNumberOfVideoEncoderInstances_(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_); if (!soap_get___trt__GetGuaranteedNumberOfVideoEncoderInstances_(soap, &soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_, "-trt:GetGuaranteedNumberOfVideoEncoderInstances", 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->GetGuaranteedNumberOfVideoEncoderInstances_(soap_tmp___trt__GetGuaranteedNumberOfVideoEncoderInstances_.trt__GetGuaranteedNumberOfVideoEncoderInstances, &trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.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) || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "") || 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) || trt__GetGuaranteedNumberOfVideoEncoderInstancesResponse.soap_put(soap, "trt:GetGuaranteedNumberOfVideoEncoderInstancesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetStreamUri_(MediaBindingService *soap) { struct __trt__GetStreamUri_ soap_tmp___trt__GetStreamUri_; _trt__GetStreamUriResponse trt__GetStreamUriResponse; trt__GetStreamUriResponse.soap_default(soap); soap_default___trt__GetStreamUri_(soap, &soap_tmp___trt__GetStreamUri_); if (!soap_get___trt__GetStreamUri_(soap, &soap_tmp___trt__GetStreamUri_, "-trt:GetStreamUri", 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->GetStreamUri_(soap_tmp___trt__GetStreamUri_.trt__GetStreamUri, &trt__GetStreamUriResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetStreamUriResponse.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) || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "") || 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) || trt__GetStreamUriResponse.soap_put(soap, "trt:GetStreamUriResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__StartMulticastStreaming_(MediaBindingService *soap) { struct __trt__StartMulticastStreaming_ soap_tmp___trt__StartMulticastStreaming_; _trt__StartMulticastStreamingResponse trt__StartMulticastStreamingResponse; trt__StartMulticastStreamingResponse.soap_default(soap); soap_default___trt__StartMulticastStreaming_(soap, &soap_tmp___trt__StartMulticastStreaming_); if (!soap_get___trt__StartMulticastStreaming_(soap, &soap_tmp___trt__StartMulticastStreaming_, "-trt:StartMulticastStreaming", 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->StartMulticastStreaming_(soap_tmp___trt__StartMulticastStreaming_.trt__StartMulticastStreaming, &trt__StartMulticastStreamingResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__StartMulticastStreamingResponse.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) || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "") || 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) || trt__StartMulticastStreamingResponse.soap_put(soap, "trt:StartMulticastStreamingResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__StopMulticastStreaming_(MediaBindingService *soap) { struct __trt__StopMulticastStreaming_ soap_tmp___trt__StopMulticastStreaming_; _trt__StopMulticastStreamingResponse trt__StopMulticastStreamingResponse; trt__StopMulticastStreamingResponse.soap_default(soap); soap_default___trt__StopMulticastStreaming_(soap, &soap_tmp___trt__StopMulticastStreaming_); if (!soap_get___trt__StopMulticastStreaming_(soap, &soap_tmp___trt__StopMulticastStreaming_, "-trt:StopMulticastStreaming", 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->StopMulticastStreaming_(soap_tmp___trt__StopMulticastStreaming_.trt__StopMulticastStreaming, &trt__StopMulticastStreamingResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__StopMulticastStreamingResponse.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) || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "") || 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) || trt__StopMulticastStreamingResponse.soap_put(soap, "trt:StopMulticastStreamingResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetSynchronizationPoint_(MediaBindingService *soap) { struct __trt__SetSynchronizationPoint_ soap_tmp___trt__SetSynchronizationPoint_; _trt__SetSynchronizationPointResponse trt__SetSynchronizationPointResponse; trt__SetSynchronizationPointResponse.soap_default(soap); soap_default___trt__SetSynchronizationPoint_(soap, &soap_tmp___trt__SetSynchronizationPoint_); if (!soap_get___trt__SetSynchronizationPoint_(soap, &soap_tmp___trt__SetSynchronizationPoint_, "-trt:SetSynchronizationPoint", 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->SetSynchronizationPoint_(soap_tmp___trt__SetSynchronizationPoint_.trt__SetSynchronizationPoint, &trt__SetSynchronizationPointResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetSynchronizationPointResponse.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) || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "") || 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) || trt__SetSynchronizationPointResponse.soap_put(soap, "trt:SetSynchronizationPointResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetSnapshotUri_(MediaBindingService *soap) { struct __trt__GetSnapshotUri_ soap_tmp___trt__GetSnapshotUri_; _trt__GetSnapshotUriResponse trt__GetSnapshotUriResponse; trt__GetSnapshotUriResponse.soap_default(soap); soap_default___trt__GetSnapshotUri_(soap, &soap_tmp___trt__GetSnapshotUri_); if (!soap_get___trt__GetSnapshotUri_(soap, &soap_tmp___trt__GetSnapshotUri_, "-trt:GetSnapshotUri", 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->GetSnapshotUri_(soap_tmp___trt__GetSnapshotUri_.trt__GetSnapshotUri, &trt__GetSnapshotUriResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetSnapshotUriResponse.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) || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "") || 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) || trt__GetSnapshotUriResponse.soap_put(soap, "trt:GetSnapshotUriResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetVideoSourceModes_(MediaBindingService *soap) { struct __trt__GetVideoSourceModes_ soap_tmp___trt__GetVideoSourceModes_; _trt__GetVideoSourceModesResponse trt__GetVideoSourceModesResponse; trt__GetVideoSourceModesResponse.soap_default(soap); soap_default___trt__GetVideoSourceModes_(soap, &soap_tmp___trt__GetVideoSourceModes_); if (!soap_get___trt__GetVideoSourceModes_(soap, &soap_tmp___trt__GetVideoSourceModes_, "-trt:GetVideoSourceModes", 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->GetVideoSourceModes_(soap_tmp___trt__GetVideoSourceModes_.trt__GetVideoSourceModes, &trt__GetVideoSourceModesResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetVideoSourceModesResponse.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) || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "") || 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) || trt__GetVideoSourceModesResponse.soap_put(soap, "trt:GetVideoSourceModesResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetVideoSourceMode_(MediaBindingService *soap) { struct __trt__SetVideoSourceMode_ soap_tmp___trt__SetVideoSourceMode_; _trt__SetVideoSourceModeResponse trt__SetVideoSourceModeResponse; trt__SetVideoSourceModeResponse.soap_default(soap); soap_default___trt__SetVideoSourceMode_(soap, &soap_tmp___trt__SetVideoSourceMode_); if (!soap_get___trt__SetVideoSourceMode_(soap, &soap_tmp___trt__SetVideoSourceMode_, "-trt:SetVideoSourceMode", 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->SetVideoSourceMode_(soap_tmp___trt__SetVideoSourceMode_.trt__SetVideoSourceMode, &trt__SetVideoSourceModeResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetVideoSourceModeResponse.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) || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "") || 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) || trt__SetVideoSourceModeResponse.soap_put(soap, "trt:SetVideoSourceModeResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSDs_(MediaBindingService *soap) { struct __trt__GetOSDs_ soap_tmp___trt__GetOSDs_; _trt__GetOSDsResponse trt__GetOSDsResponse; trt__GetOSDsResponse.soap_default(soap); soap_default___trt__GetOSDs_(soap, &soap_tmp___trt__GetOSDs_); if (!soap_get___trt__GetOSDs_(soap, &soap_tmp___trt__GetOSDs_, "-trt:GetOSDs", 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->GetOSDs_(soap_tmp___trt__GetOSDs_.trt__GetOSDs, &trt__GetOSDsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDsResponse.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) || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "") || 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) || trt__GetOSDsResponse.soap_put(soap, "trt:GetOSDsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSD_(MediaBindingService *soap) { struct __trt__GetOSD_ soap_tmp___trt__GetOSD_; _trt__GetOSDResponse trt__GetOSDResponse; trt__GetOSDResponse.soap_default(soap); soap_default___trt__GetOSD_(soap, &soap_tmp___trt__GetOSD_); if (!soap_get___trt__GetOSD_(soap, &soap_tmp___trt__GetOSD_, "-trt:GetOSD", 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->GetOSD_(soap_tmp___trt__GetOSD_.trt__GetOSD, &trt__GetOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDResponse.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) || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "") || 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) || trt__GetOSDResponse.soap_put(soap, "trt:GetOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__GetOSDOptions_(MediaBindingService *soap) { struct __trt__GetOSDOptions_ soap_tmp___trt__GetOSDOptions_; _trt__GetOSDOptionsResponse trt__GetOSDOptionsResponse; trt__GetOSDOptionsResponse.soap_default(soap); soap_default___trt__GetOSDOptions_(soap, &soap_tmp___trt__GetOSDOptions_); if (!soap_get___trt__GetOSDOptions_(soap, &soap_tmp___trt__GetOSDOptions_, "-trt:GetOSDOptions", 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->GetOSDOptions_(soap_tmp___trt__GetOSDOptions_.trt__GetOSDOptions, &trt__GetOSDOptionsResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__GetOSDOptionsResponse.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) || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "") || 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) || trt__GetOSDOptionsResponse.soap_put(soap, "trt:GetOSDOptionsResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__SetOSD_(MediaBindingService *soap) { struct __trt__SetOSD_ soap_tmp___trt__SetOSD_; _trt__SetOSDResponse trt__SetOSDResponse; trt__SetOSDResponse.soap_default(soap); soap_default___trt__SetOSD_(soap, &soap_tmp___trt__SetOSD_); if (!soap_get___trt__SetOSD_(soap, &soap_tmp___trt__SetOSD_, "-trt:SetOSD", 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->SetOSD_(soap_tmp___trt__SetOSD_.trt__SetOSD, &trt__SetOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__SetOSDResponse.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) || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "") || 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) || trt__SetOSDResponse.soap_put(soap, "trt:SetOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__CreateOSD_(MediaBindingService *soap) { struct __trt__CreateOSD_ soap_tmp___trt__CreateOSD_; _trt__CreateOSDResponse trt__CreateOSDResponse; trt__CreateOSDResponse.soap_default(soap); soap_default___trt__CreateOSD_(soap, &soap_tmp___trt__CreateOSD_); if (!soap_get___trt__CreateOSD_(soap, &soap_tmp___trt__CreateOSD_, "-trt:CreateOSD", 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->CreateOSD_(soap_tmp___trt__CreateOSD_.trt__CreateOSD, &trt__CreateOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__CreateOSDResponse.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) || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "") || 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) || trt__CreateOSDResponse.soap_put(soap, "trt:CreateOSDResponse", "") || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap->error; return soap_closesock(soap); } static int serve___trt__DeleteOSD_(MediaBindingService *soap) { struct __trt__DeleteOSD_ soap_tmp___trt__DeleteOSD_; _trt__DeleteOSDResponse trt__DeleteOSDResponse; trt__DeleteOSDResponse.soap_default(soap); soap_default___trt__DeleteOSD_(soap, &soap_tmp___trt__DeleteOSD_); if (!soap_get___trt__DeleteOSD_(soap, &soap_tmp___trt__DeleteOSD_, "-trt:DeleteOSD", 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->DeleteOSD_(soap_tmp___trt__DeleteOSD_.trt__DeleteOSD, &trt__DeleteOSDResponse); if (soap->error) return soap->error; soap->encodingStyle = NULL; soap_serializeheader(soap); trt__DeleteOSDResponse.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) || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "") || 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) || trt__DeleteOSDResponse.soap_put(soap, "trt:DeleteOSDResponse", "") || 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 */