/* soapH.h
   Generated by gSOAP 2.8.83 for trapi.h

gSOAP XML Web services tools
Copyright (C) 2000-2018, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/

#ifndef soapH_H
#define soapH_H
#include "soapStub.h"
#ifndef WITH_NOIDREF

#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);

#ifdef __cplusplus
}
#endif
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
#endif

#ifdef __cplusplus
extern "C" {
#endif
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap*, const char*, int*);
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
SOAP_FMAC3 void * SOAP_FMAC4 soap_dupelement(struct soap*, const void*, int);
SOAP_FMAC3 void SOAP_FMAC4 soap_delelement(const void*, int);

#ifdef __cplusplus
}
#endif
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap*, int, const char*, const char*, size_t*);
SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap *soap, struct soap_clist*);
SOAP_FMAC3 int SOAP_FMAC4 soap_fbase(int, int);
SOAP_FMAC3 void SOAP_FMAC4 soap_finsert(struct soap*, int, int, void*, size_t, const void*, void**);

#ifndef SOAP_TYPE_byte_DEFINED
#define SOAP_TYPE_byte_DEFINED

inline void soap_default_byte(struct soap *soap, char *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_byte
	*a = SOAP_DEFAULT_byte;
#else
	*a = (char)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);

SOAP_FMAC3 char * SOAP_FMAC4 soap_new_byte(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);

inline int soap_write_byte(struct soap *soap, char const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_byte(struct soap *soap, const char *URL, char const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_byte(soap, p, "byte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_byte(struct soap *soap, const char *URL, char const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_byte(soap, p, "byte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_byte(struct soap *soap, const char *URL, char const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);

inline int soap_read_byte(struct soap *soap, char *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_byte(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_byte(struct soap *soap, const char *URL, char *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_byte(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_byte(struct soap *soap, char *p)
{
	if (::soap_read_byte(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_int_DEFINED
#define SOAP_TYPE_int_DEFINED

inline void soap_default_int(struct soap *soap, int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_int
	*a = SOAP_DEFAULT_int;
#else
	*a = (int)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);

SOAP_FMAC3 int * SOAP_FMAC4 soap_new_int(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);

inline int soap_write_int(struct soap *soap, int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_int(soap, p, "int", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_int(struct soap *soap, const char *URL, int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_int(soap, p, "int", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_int(struct soap *soap, const char *URL, int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_int(soap, p, "int", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_int(struct soap *soap, const char *URL, int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_int(soap, p, "int", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);

inline int soap_read_int(struct soap *soap, int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_int(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_int(struct soap *soap, const char *URL, int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_int(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_int(struct soap *soap, int *p)
{
	if (::soap_read_int(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_unsignedByte_DEFINED
#define SOAP_TYPE_unsignedByte_DEFINED

inline void soap_default_unsignedByte(struct soap *soap, unsigned char *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_unsignedByte
	*a = SOAP_DEFAULT_unsignedByte;
#else
	*a = (unsigned char)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedByte(struct soap*, const char*, int, const unsigned char *, const char*);
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_in_unsignedByte(struct soap*, const char*, unsigned char *, const char*);

SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_new_unsignedByte(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedByte(struct soap*, const unsigned char *, const char*, const char*);

inline int soap_write_unsignedByte(struct soap *soap, unsigned char const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_unsignedByte(soap, p, "unsignedByte", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_unsignedByte(struct soap *soap, const char *URL, unsigned char const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedByte(soap, p, "unsignedByte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_unsignedByte(struct soap *soap, const char *URL, unsigned char const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedByte(soap, p, "unsignedByte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_unsignedByte(struct soap *soap, const char *URL, unsigned char const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedByte(soap, p, "unsignedByte", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned char * SOAP_FMAC4 soap_get_unsignedByte(struct soap*, unsigned char *, const char*, const char*);

inline int soap_read_unsignedByte(struct soap *soap, unsigned char *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_unsignedByte(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_unsignedByte(struct soap *soap, const char *URL, unsigned char *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_unsignedByte(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_unsignedByte(struct soap *soap, unsigned char *p)
{
	if (::soap_read_unsignedByte(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ACSVendorFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__ACSVendorFaultCodeType_DEFINED

inline void soap_default_cwmp__ACSVendorFaultCodeType(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__ACSVendorFaultCodeType
	*a = SOAP_DEFAULT_cwmp__ACSVendorFaultCodeType;
#else
	*a = (unsigned int)0;
#endif
}

#define soap_cwmp__ACSVendorFaultCodeType2s soap_unsignedInt2s

SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ACSVendorFaultCodeType(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__ACSVendorFaultCodeType(struct soap*, const char*, unsigned int *);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_cwmp__ACSVendorFaultCodeType(struct soap*, const char*, unsigned int *, const char*);

#define soap_instantiate_cwmp__ACSVendorFaultCodeType soap_instantiate_unsignedInt


#define soap_new_cwmp__ACSVendorFaultCodeType soap_new_unsignedInt

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ACSVendorFaultCodeType(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_cwmp__ACSVendorFaultCodeType(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__ACSVendorFaultCodeType(soap, p, "cwmp:ACSVendorFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ACSVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSVendorFaultCodeType(soap, p, "cwmp:ACSVendorFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ACSVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSVendorFaultCodeType(soap, p, "cwmp:ACSVendorFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ACSVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSVendorFaultCodeType(soap, p, "cwmp:ACSVendorFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_cwmp__ACSVendorFaultCodeType(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_cwmp__ACSVendorFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__ACSVendorFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ACSVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ACSVendorFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ACSVendorFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (::soap_read_cwmp__ACSVendorFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ACSFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__ACSFaultCodeType_DEFINED

inline void soap_default_cwmp__ACSFaultCodeType(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__ACSFaultCodeType
	*a = SOAP_DEFAULT_cwmp__ACSFaultCodeType;
#else
	*a = (unsigned int)0;
#endif
}

#define soap_cwmp__ACSFaultCodeType2s soap_unsignedInt2s

SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ACSFaultCodeType(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__ACSFaultCodeType(struct soap*, const char*, unsigned int *);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_cwmp__ACSFaultCodeType(struct soap*, const char*, unsigned int *, const char*);

#define soap_instantiate_cwmp__ACSFaultCodeType soap_instantiate_unsignedInt


#define soap_new_cwmp__ACSFaultCodeType soap_new_unsignedInt

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ACSFaultCodeType(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_cwmp__ACSFaultCodeType(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__ACSFaultCodeType(soap, p, "cwmp:ACSFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ACSFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSFaultCodeType(soap, p, "cwmp:ACSFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ACSFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSFaultCodeType(soap, p, "cwmp:ACSFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ACSFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ACSFaultCodeType(soap, p, "cwmp:ACSFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_cwmp__ACSFaultCodeType(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_cwmp__ACSFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__ACSFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ACSFaultCodeType(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ACSFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ACSFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (::soap_read_cwmp__ACSFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__CPEVendorFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__CPEVendorFaultCodeType_DEFINED

inline void soap_default_cwmp__CPEVendorFaultCodeType(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__CPEVendorFaultCodeType
	*a = SOAP_DEFAULT_cwmp__CPEVendorFaultCodeType;
#else
	*a = (unsigned int)0;
#endif
}

#define soap_cwmp__CPEVendorFaultCodeType2s soap_unsignedInt2s

SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__CPEVendorFaultCodeType(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__CPEVendorFaultCodeType(struct soap*, const char*, unsigned int *);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_cwmp__CPEVendorFaultCodeType(struct soap*, const char*, unsigned int *, const char*);

#define soap_instantiate_cwmp__CPEVendorFaultCodeType soap_instantiate_unsignedInt


#define soap_new_cwmp__CPEVendorFaultCodeType soap_new_unsignedInt

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__CPEVendorFaultCodeType(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_cwmp__CPEVendorFaultCodeType(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__CPEVendorFaultCodeType(soap, p, "cwmp:CPEVendorFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__CPEVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEVendorFaultCodeType(soap, p, "cwmp:CPEVendorFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__CPEVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEVendorFaultCodeType(soap, p, "cwmp:CPEVendorFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__CPEVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEVendorFaultCodeType(soap, p, "cwmp:CPEVendorFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_cwmp__CPEVendorFaultCodeType(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_cwmp__CPEVendorFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__CPEVendorFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__CPEVendorFaultCodeType(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__CPEVendorFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__CPEVendorFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (::soap_read_cwmp__CPEVendorFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__CPEExtensionFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__CPEExtensionFaultCodeType_DEFINED

inline void soap_default_cwmp__CPEExtensionFaultCodeType(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__CPEExtensionFaultCodeType
	*a = SOAP_DEFAULT_cwmp__CPEExtensionFaultCodeType;
#else
	*a = (unsigned int)0;
#endif
}

#define soap_cwmp__CPEExtensionFaultCodeType2s soap_unsignedInt2s

SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__CPEExtensionFaultCodeType(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__CPEExtensionFaultCodeType(struct soap*, const char*, unsigned int *);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_cwmp__CPEExtensionFaultCodeType(struct soap*, const char*, unsigned int *, const char*);

#define soap_instantiate_cwmp__CPEExtensionFaultCodeType soap_instantiate_unsignedInt


#define soap_new_cwmp__CPEExtensionFaultCodeType soap_new_unsignedInt

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__CPEExtensionFaultCodeType(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_cwmp__CPEExtensionFaultCodeType(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__CPEExtensionFaultCodeType(soap, p, "cwmp:CPEExtensionFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__CPEExtensionFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEExtensionFaultCodeType(soap, p, "cwmp:CPEExtensionFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__CPEExtensionFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEExtensionFaultCodeType(soap, p, "cwmp:CPEExtensionFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__CPEExtensionFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEExtensionFaultCodeType(soap, p, "cwmp:CPEExtensionFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_cwmp__CPEExtensionFaultCodeType(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_cwmp__CPEExtensionFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__CPEExtensionFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__CPEExtensionFaultCodeType(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__CPEExtensionFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__CPEExtensionFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (::soap_read_cwmp__CPEExtensionFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__CPEFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__CPEFaultCodeType_DEFINED

inline void soap_default_cwmp__CPEFaultCodeType(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__CPEFaultCodeType
	*a = SOAP_DEFAULT_cwmp__CPEFaultCodeType;
#else
	*a = (unsigned int)0;
#endif
}

#define soap_cwmp__CPEFaultCodeType2s soap_unsignedInt2s

SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__CPEFaultCodeType(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__CPEFaultCodeType(struct soap*, const char*, unsigned int *);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_cwmp__CPEFaultCodeType(struct soap*, const char*, unsigned int *, const char*);

#define soap_instantiate_cwmp__CPEFaultCodeType soap_instantiate_unsignedInt


#define soap_new_cwmp__CPEFaultCodeType soap_new_unsignedInt

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__CPEFaultCodeType(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_cwmp__CPEFaultCodeType(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__CPEFaultCodeType(soap, p, "cwmp:CPEFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__CPEFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEFaultCodeType(soap, p, "cwmp:CPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__CPEFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEFaultCodeType(soap, p, "cwmp:CPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__CPEFaultCodeType(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CPEFaultCodeType(soap, p, "cwmp:CPEFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_cwmp__CPEFaultCodeType(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_cwmp__CPEFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__CPEFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__CPEFaultCodeType(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__CPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__CPEFaultCodeType(struct soap *soap, unsigned int *p)
{
	if (::soap_read_cwmp__CPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_unsignedInt_DEFINED
#define SOAP_TYPE_unsignedInt_DEFINED

inline void soap_default_unsignedInt(struct soap *soap, unsigned int *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_unsignedInt
	*a = SOAP_DEFAULT_unsignedInt;
#else
	*a = (unsigned int)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_unsignedInt(struct soap*, const char*, int, const unsigned int *, const char*);
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_in_unsignedInt(struct soap*, const char*, unsigned int *, const char*);

SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_new_unsignedInt(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_unsignedInt(struct soap*, const unsigned int *, const char*, const char*);

inline int soap_write_unsignedInt(struct soap *soap, unsigned int const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_unsignedInt(soap, p, "unsignedInt", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_unsignedInt(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedInt(soap, p, "unsignedInt", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_unsignedInt(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedInt(soap, p, "unsignedInt", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_unsignedInt(struct soap *soap, const char *URL, unsigned int const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_unsignedInt(soap, p, "unsignedInt", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 unsigned int * SOAP_FMAC4 soap_get_unsignedInt(struct soap*, unsigned int *, const char*, const char*);

inline int soap_read_unsignedInt(struct soap *soap, unsigned int *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_unsignedInt(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_unsignedInt(struct soap *soap, const char *URL, unsigned int *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_unsignedInt(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_unsignedInt(struct soap *soap, unsigned int *p)
{
	if (::soap_read_unsignedInt(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_dateTime_DEFINED
#define SOAP_TYPE_dateTime_DEFINED

inline void soap_default_dateTime(struct soap *soap, time_t *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_dateTime
	*a = SOAP_DEFAULT_dateTime;
#else
	*a = (time_t)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_dateTime(struct soap*, const char*, int, const time_t *, const char*);
SOAP_FMAC3 time_t * SOAP_FMAC4 soap_in_dateTime(struct soap*, const char*, time_t *, const char*);

SOAP_FMAC3 time_t * SOAP_FMAC4 soap_new_dateTime(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_dateTime(struct soap*, const time_t *, const char*, const char*);

inline int soap_write_dateTime(struct soap *soap, time_t const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_dateTime(soap, p, "dateTime", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_dateTime(struct soap *soap, const char *URL, time_t const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_dateTime(soap, p, "dateTime", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_dateTime(struct soap *soap, const char *URL, time_t const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_dateTime(soap, p, "dateTime", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_dateTime(struct soap *soap, const char *URL, time_t const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_dateTime(soap, p, "dateTime", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 time_t * SOAP_FMAC4 soap_get_dateTime(struct soap*, time_t *, const char*, const char*);

inline int soap_read_dateTime(struct soap *soap, time_t *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_dateTime(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_dateTime(struct soap *soap, const char *URL, time_t *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_dateTime(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_dateTime(struct soap *soap, time_t *p)
{
	if (::soap_read_dateTime(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__UploadResponse_Status_DEFINED
#define SOAP_TYPE__cwmp__UploadResponse_Status_DEFINED

inline void soap_default__cwmp__UploadResponse_Status(struct soap *soap, enum _cwmp__UploadResponse_Status *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__UploadResponse_Status
	*a = SOAP_DEFAULT__cwmp__UploadResponse_Status;
#else
	*a = (enum _cwmp__UploadResponse_Status)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__UploadResponse_Status(struct soap*, const char*, int, const enum _cwmp__UploadResponse_Status *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__UploadResponse_Status2s(struct soap*, enum _cwmp__UploadResponse_Status);
SOAP_FMAC3 enum _cwmp__UploadResponse_Status * SOAP_FMAC4 soap_in__cwmp__UploadResponse_Status(struct soap*, const char*, enum _cwmp__UploadResponse_Status *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__UploadResponse_Status(struct soap*, const char*, enum _cwmp__UploadResponse_Status *);

SOAP_FMAC3 enum _cwmp__UploadResponse_Status * SOAP_FMAC4 soap_new__cwmp__UploadResponse_Status(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__UploadResponse_Status(struct soap*, const enum _cwmp__UploadResponse_Status *, const char*, const char*);

inline int soap_write__cwmp__UploadResponse_Status(struct soap *soap, enum _cwmp__UploadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__UploadResponse_Status(soap, p, "cwmp:UploadResponse-Status", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__UploadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__UploadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__UploadResponse_Status(soap, p, "cwmp:UploadResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__UploadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__UploadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__UploadResponse_Status(soap, p, "cwmp:UploadResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__UploadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__UploadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__UploadResponse_Status(soap, p, "cwmp:UploadResponse-Status", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__UploadResponse_Status * SOAP_FMAC4 soap_get__cwmp__UploadResponse_Status(struct soap*, enum _cwmp__UploadResponse_Status *, const char*, const char*);

inline int soap_read__cwmp__UploadResponse_Status(struct soap *soap, enum _cwmp__UploadResponse_Status *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__UploadResponse_Status(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__UploadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__UploadResponse_Status *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__UploadResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__UploadResponse_Status(struct soap *soap, enum _cwmp__UploadResponse_Status *p)
{
	if (::soap_read__cwmp__UploadResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DownloadResponse_Status_DEFINED
#define SOAP_TYPE__cwmp__DownloadResponse_Status_DEFINED

inline void soap_default__cwmp__DownloadResponse_Status(struct soap *soap, enum _cwmp__DownloadResponse_Status *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__DownloadResponse_Status
	*a = SOAP_DEFAULT__cwmp__DownloadResponse_Status;
#else
	*a = (enum _cwmp__DownloadResponse_Status)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DownloadResponse_Status(struct soap*, const char*, int, const enum _cwmp__DownloadResponse_Status *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__DownloadResponse_Status2s(struct soap*, enum _cwmp__DownloadResponse_Status);
SOAP_FMAC3 enum _cwmp__DownloadResponse_Status * SOAP_FMAC4 soap_in__cwmp__DownloadResponse_Status(struct soap*, const char*, enum _cwmp__DownloadResponse_Status *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__DownloadResponse_Status(struct soap*, const char*, enum _cwmp__DownloadResponse_Status *);

SOAP_FMAC3 enum _cwmp__DownloadResponse_Status * SOAP_FMAC4 soap_new__cwmp__DownloadResponse_Status(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DownloadResponse_Status(struct soap*, const enum _cwmp__DownloadResponse_Status *, const char*, const char*);

inline int soap_write__cwmp__DownloadResponse_Status(struct soap *soap, enum _cwmp__DownloadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__DownloadResponse_Status(soap, p, "cwmp:DownloadResponse-Status", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DownloadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DownloadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DownloadResponse_Status(soap, p, "cwmp:DownloadResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DownloadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DownloadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DownloadResponse_Status(soap, p, "cwmp:DownloadResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DownloadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DownloadResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DownloadResponse_Status(soap, p, "cwmp:DownloadResponse-Status", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__DownloadResponse_Status * SOAP_FMAC4 soap_get__cwmp__DownloadResponse_Status(struct soap*, enum _cwmp__DownloadResponse_Status *, const char*, const char*);

inline int soap_read__cwmp__DownloadResponse_Status(struct soap *soap, enum _cwmp__DownloadResponse_Status *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__DownloadResponse_Status(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DownloadResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DownloadResponse_Status *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DownloadResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DownloadResponse_Status(struct soap *soap, enum _cwmp__DownloadResponse_Status *p)
{
	if (::soap_read__cwmp__DownloadResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DeleteObjectResponse_Status_DEFINED
#define SOAP_TYPE__cwmp__DeleteObjectResponse_Status_DEFINED

inline void soap_default__cwmp__DeleteObjectResponse_Status(struct soap *soap, enum _cwmp__DeleteObjectResponse_Status *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__DeleteObjectResponse_Status
	*a = SOAP_DEFAULT__cwmp__DeleteObjectResponse_Status;
#else
	*a = (enum _cwmp__DeleteObjectResponse_Status)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DeleteObjectResponse_Status(struct soap*, const char*, int, const enum _cwmp__DeleteObjectResponse_Status *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__DeleteObjectResponse_Status2s(struct soap*, enum _cwmp__DeleteObjectResponse_Status);
SOAP_FMAC3 enum _cwmp__DeleteObjectResponse_Status * SOAP_FMAC4 soap_in__cwmp__DeleteObjectResponse_Status(struct soap*, const char*, enum _cwmp__DeleteObjectResponse_Status *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__DeleteObjectResponse_Status(struct soap*, const char*, enum _cwmp__DeleteObjectResponse_Status *);

SOAP_FMAC3 enum _cwmp__DeleteObjectResponse_Status * SOAP_FMAC4 soap_new__cwmp__DeleteObjectResponse_Status(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DeleteObjectResponse_Status(struct soap*, const enum _cwmp__DeleteObjectResponse_Status *, const char*, const char*);

inline int soap_write__cwmp__DeleteObjectResponse_Status(struct soap *soap, enum _cwmp__DeleteObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__DeleteObjectResponse_Status(soap, p, "cwmp:DeleteObjectResponse-Status", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DeleteObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DeleteObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DeleteObjectResponse_Status(soap, p, "cwmp:DeleteObjectResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DeleteObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DeleteObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DeleteObjectResponse_Status(soap, p, "cwmp:DeleteObjectResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DeleteObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DeleteObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__DeleteObjectResponse_Status(soap, p, "cwmp:DeleteObjectResponse-Status", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__DeleteObjectResponse_Status * SOAP_FMAC4 soap_get__cwmp__DeleteObjectResponse_Status(struct soap*, enum _cwmp__DeleteObjectResponse_Status *, const char*, const char*);

inline int soap_read__cwmp__DeleteObjectResponse_Status(struct soap *soap, enum _cwmp__DeleteObjectResponse_Status *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__DeleteObjectResponse_Status(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DeleteObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__DeleteObjectResponse_Status *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DeleteObjectResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DeleteObjectResponse_Status(struct soap *soap, enum _cwmp__DeleteObjectResponse_Status *p)
{
	if (::soap_read__cwmp__DeleteObjectResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AddObjectResponse_Status_DEFINED
#define SOAP_TYPE__cwmp__AddObjectResponse_Status_DEFINED

inline void soap_default__cwmp__AddObjectResponse_Status(struct soap *soap, enum _cwmp__AddObjectResponse_Status *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__AddObjectResponse_Status
	*a = SOAP_DEFAULT__cwmp__AddObjectResponse_Status;
#else
	*a = (enum _cwmp__AddObjectResponse_Status)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AddObjectResponse_Status(struct soap*, const char*, int, const enum _cwmp__AddObjectResponse_Status *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__AddObjectResponse_Status2s(struct soap*, enum _cwmp__AddObjectResponse_Status);
SOAP_FMAC3 enum _cwmp__AddObjectResponse_Status * SOAP_FMAC4 soap_in__cwmp__AddObjectResponse_Status(struct soap*, const char*, enum _cwmp__AddObjectResponse_Status *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__AddObjectResponse_Status(struct soap*, const char*, enum _cwmp__AddObjectResponse_Status *);

SOAP_FMAC3 enum _cwmp__AddObjectResponse_Status * SOAP_FMAC4 soap_new__cwmp__AddObjectResponse_Status(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AddObjectResponse_Status(struct soap*, const enum _cwmp__AddObjectResponse_Status *, const char*, const char*);

inline int soap_write__cwmp__AddObjectResponse_Status(struct soap *soap, enum _cwmp__AddObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__AddObjectResponse_Status(soap, p, "cwmp:AddObjectResponse-Status", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AddObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__AddObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__AddObjectResponse_Status(soap, p, "cwmp:AddObjectResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AddObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__AddObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__AddObjectResponse_Status(soap, p, "cwmp:AddObjectResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AddObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__AddObjectResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__AddObjectResponse_Status(soap, p, "cwmp:AddObjectResponse-Status", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__AddObjectResponse_Status * SOAP_FMAC4 soap_get__cwmp__AddObjectResponse_Status(struct soap*, enum _cwmp__AddObjectResponse_Status *, const char*, const char*);

inline int soap_read__cwmp__AddObjectResponse_Status(struct soap *soap, enum _cwmp__AddObjectResponse_Status *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__AddObjectResponse_Status(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AddObjectResponse_Status(struct soap *soap, const char *URL, enum _cwmp__AddObjectResponse_Status *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AddObjectResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AddObjectResponse_Status(struct soap *soap, enum _cwmp__AddObjectResponse_Status *p)
{
	if (::soap_read__cwmp__AddObjectResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetParameterValuesResponse_Status_DEFINED
#define SOAP_TYPE__cwmp__SetParameterValuesResponse_Status_DEFINED

inline void soap_default__cwmp__SetParameterValuesResponse_Status(struct soap *soap, enum _cwmp__SetParameterValuesResponse_Status *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__SetParameterValuesResponse_Status
	*a = SOAP_DEFAULT__cwmp__SetParameterValuesResponse_Status;
#else
	*a = (enum _cwmp__SetParameterValuesResponse_Status)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetParameterValuesResponse_Status(struct soap*, const char*, int, const enum _cwmp__SetParameterValuesResponse_Status *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__SetParameterValuesResponse_Status2s(struct soap*, enum _cwmp__SetParameterValuesResponse_Status);
SOAP_FMAC3 enum _cwmp__SetParameterValuesResponse_Status * SOAP_FMAC4 soap_in__cwmp__SetParameterValuesResponse_Status(struct soap*, const char*, enum _cwmp__SetParameterValuesResponse_Status *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__SetParameterValuesResponse_Status(struct soap*, const char*, enum _cwmp__SetParameterValuesResponse_Status *);

SOAP_FMAC3 enum _cwmp__SetParameterValuesResponse_Status * SOAP_FMAC4 soap_new__cwmp__SetParameterValuesResponse_Status(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetParameterValuesResponse_Status(struct soap*, const enum _cwmp__SetParameterValuesResponse_Status *, const char*, const char*);

inline int soap_write__cwmp__SetParameterValuesResponse_Status(struct soap *soap, enum _cwmp__SetParameterValuesResponse_Status const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__SetParameterValuesResponse_Status(soap, p, "cwmp:SetParameterValuesResponse-Status", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetParameterValuesResponse_Status(struct soap *soap, const char *URL, enum _cwmp__SetParameterValuesResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__SetParameterValuesResponse_Status(soap, p, "cwmp:SetParameterValuesResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetParameterValuesResponse_Status(struct soap *soap, const char *URL, enum _cwmp__SetParameterValuesResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__SetParameterValuesResponse_Status(soap, p, "cwmp:SetParameterValuesResponse-Status", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetParameterValuesResponse_Status(struct soap *soap, const char *URL, enum _cwmp__SetParameterValuesResponse_Status const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__SetParameterValuesResponse_Status(soap, p, "cwmp:SetParameterValuesResponse-Status", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__SetParameterValuesResponse_Status * SOAP_FMAC4 soap_get__cwmp__SetParameterValuesResponse_Status(struct soap*, enum _cwmp__SetParameterValuesResponse_Status *, const char*, const char*);

inline int soap_read__cwmp__SetParameterValuesResponse_Status(struct soap *soap, enum _cwmp__SetParameterValuesResponse_Status *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__SetParameterValuesResponse_Status(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetParameterValuesResponse_Status(struct soap *soap, const char *URL, enum _cwmp__SetParameterValuesResponse_Status *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetParameterValuesResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetParameterValuesResponse_Status(struct soap *soap, enum _cwmp__SetParameterValuesResponse_Status *p)
{
	if (::soap_read__cwmp__SetParameterValuesResponse_Status(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__OptionStruct_IsTransferable_DEFINED
#define SOAP_TYPE__cwmp__OptionStruct_IsTransferable_DEFINED

inline void soap_default__cwmp__OptionStruct_IsTransferable(struct soap *soap, enum _cwmp__OptionStruct_IsTransferable *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__OptionStruct_IsTransferable
	*a = SOAP_DEFAULT__cwmp__OptionStruct_IsTransferable;
#else
	*a = (enum _cwmp__OptionStruct_IsTransferable)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__OptionStruct_IsTransferable(struct soap*, const char*, int, const enum _cwmp__OptionStruct_IsTransferable *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__OptionStruct_IsTransferable2s(struct soap*, enum _cwmp__OptionStruct_IsTransferable);
SOAP_FMAC3 enum _cwmp__OptionStruct_IsTransferable * SOAP_FMAC4 soap_in__cwmp__OptionStruct_IsTransferable(struct soap*, const char*, enum _cwmp__OptionStruct_IsTransferable *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__OptionStruct_IsTransferable(struct soap*, const char*, enum _cwmp__OptionStruct_IsTransferable *);

SOAP_FMAC3 enum _cwmp__OptionStruct_IsTransferable * SOAP_FMAC4 soap_new__cwmp__OptionStruct_IsTransferable(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__OptionStruct_IsTransferable(struct soap*, const enum _cwmp__OptionStruct_IsTransferable *, const char*, const char*);

inline int soap_write__cwmp__OptionStruct_IsTransferable(struct soap *soap, enum _cwmp__OptionStruct_IsTransferable const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__OptionStruct_IsTransferable(soap, p, "cwmp:OptionStruct-IsTransferable", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__OptionStruct_IsTransferable(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_IsTransferable const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_IsTransferable(soap, p, "cwmp:OptionStruct-IsTransferable", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__OptionStruct_IsTransferable(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_IsTransferable const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_IsTransferable(soap, p, "cwmp:OptionStruct-IsTransferable", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__OptionStruct_IsTransferable(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_IsTransferable const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_IsTransferable(soap, p, "cwmp:OptionStruct-IsTransferable", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__OptionStruct_IsTransferable * SOAP_FMAC4 soap_get__cwmp__OptionStruct_IsTransferable(struct soap*, enum _cwmp__OptionStruct_IsTransferable *, const char*, const char*);

inline int soap_read__cwmp__OptionStruct_IsTransferable(struct soap *soap, enum _cwmp__OptionStruct_IsTransferable *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__OptionStruct_IsTransferable(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__OptionStruct_IsTransferable(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_IsTransferable *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__OptionStruct_IsTransferable(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__OptionStruct_IsTransferable(struct soap *soap, enum _cwmp__OptionStruct_IsTransferable *p)
{
	if (::soap_read__cwmp__OptionStruct_IsTransferable(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__OptionStruct_Mode_DEFINED
#define SOAP_TYPE__cwmp__OptionStruct_Mode_DEFINED

inline void soap_default__cwmp__OptionStruct_Mode(struct soap *soap, enum _cwmp__OptionStruct_Mode *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__OptionStruct_Mode
	*a = SOAP_DEFAULT__cwmp__OptionStruct_Mode;
#else
	*a = (enum _cwmp__OptionStruct_Mode)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__OptionStruct_Mode(struct soap*, const char*, int, const enum _cwmp__OptionStruct_Mode *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__OptionStruct_Mode2s(struct soap*, enum _cwmp__OptionStruct_Mode);
SOAP_FMAC3 enum _cwmp__OptionStruct_Mode * SOAP_FMAC4 soap_in__cwmp__OptionStruct_Mode(struct soap*, const char*, enum _cwmp__OptionStruct_Mode *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__OptionStruct_Mode(struct soap*, const char*, enum _cwmp__OptionStruct_Mode *);

SOAP_FMAC3 enum _cwmp__OptionStruct_Mode * SOAP_FMAC4 soap_new__cwmp__OptionStruct_Mode(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__OptionStruct_Mode(struct soap*, const enum _cwmp__OptionStruct_Mode *, const char*, const char*);

inline int soap_write__cwmp__OptionStruct_Mode(struct soap *soap, enum _cwmp__OptionStruct_Mode const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__OptionStruct_Mode(soap, p, "cwmp:OptionStruct-Mode", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__OptionStruct_Mode(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_Mode const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_Mode(soap, p, "cwmp:OptionStruct-Mode", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__OptionStruct_Mode(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_Mode const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_Mode(soap, p, "cwmp:OptionStruct-Mode", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__OptionStruct_Mode(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_Mode const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_Mode(soap, p, "cwmp:OptionStruct-Mode", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__OptionStruct_Mode * SOAP_FMAC4 soap_get__cwmp__OptionStruct_Mode(struct soap*, enum _cwmp__OptionStruct_Mode *, const char*, const char*);

inline int soap_read__cwmp__OptionStruct_Mode(struct soap *soap, enum _cwmp__OptionStruct_Mode *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__OptionStruct_Mode(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__OptionStruct_Mode(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_Mode *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__OptionStruct_Mode(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__OptionStruct_Mode(struct soap *soap, enum _cwmp__OptionStruct_Mode *p)
{
	if (::soap_read__cwmp__OptionStruct_Mode(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__OptionStruct_State_DEFINED
#define SOAP_TYPE__cwmp__OptionStruct_State_DEFINED

inline void soap_default__cwmp__OptionStruct_State(struct soap *soap, enum _cwmp__OptionStruct_State *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__cwmp__OptionStruct_State
	*a = SOAP_DEFAULT__cwmp__OptionStruct_State;
#else
	*a = (enum _cwmp__OptionStruct_State)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__OptionStruct_State(struct soap*, const char*, int, const enum _cwmp__OptionStruct_State *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap__cwmp__OptionStruct_State2s(struct soap*, enum _cwmp__OptionStruct_State);
SOAP_FMAC3 enum _cwmp__OptionStruct_State * SOAP_FMAC4 soap_in__cwmp__OptionStruct_State(struct soap*, const char*, enum _cwmp__OptionStruct_State *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2_cwmp__OptionStruct_State(struct soap*, const char*, enum _cwmp__OptionStruct_State *);

SOAP_FMAC3 enum _cwmp__OptionStruct_State * SOAP_FMAC4 soap_new__cwmp__OptionStruct_State(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__OptionStruct_State(struct soap*, const enum _cwmp__OptionStruct_State *, const char*, const char*);

inline int soap_write__cwmp__OptionStruct_State(struct soap *soap, enum _cwmp__OptionStruct_State const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__cwmp__OptionStruct_State(soap, p, "cwmp:OptionStruct-State", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__cwmp__OptionStruct_State(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_State const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_State(soap, p, "cwmp:OptionStruct-State", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__OptionStruct_State(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_State const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_State(soap, p, "cwmp:OptionStruct-State", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__OptionStruct_State(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_State const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__cwmp__OptionStruct_State(soap, p, "cwmp:OptionStruct-State", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum _cwmp__OptionStruct_State * SOAP_FMAC4 soap_get__cwmp__OptionStruct_State(struct soap*, enum _cwmp__OptionStruct_State *, const char*, const char*);

inline int soap_read__cwmp__OptionStruct_State(struct soap *soap, enum _cwmp__OptionStruct_State *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__cwmp__OptionStruct_State(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__OptionStruct_State(struct soap *soap, const char *URL, enum _cwmp__OptionStruct_State *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__OptionStruct_State(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__OptionStruct_State(struct soap *soap, enum _cwmp__OptionStruct_State *p)
{
	if (::soap_read__cwmp__OptionStruct_State(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DeploymentUnitCPEFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__DeploymentUnitCPEFaultCodeType_DEFINED

inline void soap_default_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, enum cwmp__DeploymentUnitCPEFaultCodeType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DeploymentUnitCPEFaultCodeType
	*a = SOAP_DEFAULT_cwmp__DeploymentUnitCPEFaultCodeType;
#else
	*a = (enum cwmp__DeploymentUnitCPEFaultCodeType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeploymentUnitCPEFaultCodeType(struct soap*, const char*, int, const enum cwmp__DeploymentUnitCPEFaultCodeType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__DeploymentUnitCPEFaultCodeType2s(struct soap*, enum cwmp__DeploymentUnitCPEFaultCodeType);
SOAP_FMAC3 enum cwmp__DeploymentUnitCPEFaultCodeType * SOAP_FMAC4 soap_in_cwmp__DeploymentUnitCPEFaultCodeType(struct soap*, const char*, enum cwmp__DeploymentUnitCPEFaultCodeType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__DeploymentUnitCPEFaultCodeType(struct soap*, const char*, enum cwmp__DeploymentUnitCPEFaultCodeType *);

SOAP_FMAC3 enum cwmp__DeploymentUnitCPEFaultCodeType * SOAP_FMAC4 soap_new_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeploymentUnitCPEFaultCodeType(struct soap*, const enum cwmp__DeploymentUnitCPEFaultCodeType *, const char*, const char*);

inline int soap_write_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, enum cwmp__DeploymentUnitCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DeploymentUnitCPEFaultCodeType(soap, p, "cwmp:DeploymentUnitCPEFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitCPEFaultCodeType(soap, p, "cwmp:DeploymentUnitCPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitCPEFaultCodeType(soap, p, "cwmp:DeploymentUnitCPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitCPEFaultCodeType(soap, p, "cwmp:DeploymentUnitCPEFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__DeploymentUnitCPEFaultCodeType * SOAP_FMAC4 soap_get_cwmp__DeploymentUnitCPEFaultCodeType(struct soap*, enum cwmp__DeploymentUnitCPEFaultCodeType *, const char*, const char*);

inline int soap_read_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, enum cwmp__DeploymentUnitCPEFaultCodeType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DeploymentUnitCPEFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitCPEFaultCodeType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeploymentUnitCPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeploymentUnitCPEFaultCodeType(struct soap *soap, enum cwmp__DeploymentUnitCPEFaultCodeType *p)
{
	if (::soap_read_cwmp__DeploymentUnitCPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TransferCompleteCPEFaultCodeType_DEFINED
#define SOAP_TYPE_cwmp__TransferCompleteCPEFaultCodeType_DEFINED

inline void soap_default_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, enum cwmp__TransferCompleteCPEFaultCodeType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__TransferCompleteCPEFaultCodeType
	*a = SOAP_DEFAULT_cwmp__TransferCompleteCPEFaultCodeType;
#else
	*a = (enum cwmp__TransferCompleteCPEFaultCodeType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TransferCompleteCPEFaultCodeType(struct soap*, const char*, int, const enum cwmp__TransferCompleteCPEFaultCodeType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__TransferCompleteCPEFaultCodeType2s(struct soap*, enum cwmp__TransferCompleteCPEFaultCodeType);
SOAP_FMAC3 enum cwmp__TransferCompleteCPEFaultCodeType * SOAP_FMAC4 soap_in_cwmp__TransferCompleteCPEFaultCodeType(struct soap*, const char*, enum cwmp__TransferCompleteCPEFaultCodeType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__TransferCompleteCPEFaultCodeType(struct soap*, const char*, enum cwmp__TransferCompleteCPEFaultCodeType *);

SOAP_FMAC3 enum cwmp__TransferCompleteCPEFaultCodeType * SOAP_FMAC4 soap_new_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TransferCompleteCPEFaultCodeType(struct soap*, const enum cwmp__TransferCompleteCPEFaultCodeType *, const char*, const char*);

inline int soap_write_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, enum cwmp__TransferCompleteCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__TransferCompleteCPEFaultCodeType(soap, p, "cwmp:TransferCompleteCPEFaultCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__TransferCompleteCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferCompleteCPEFaultCodeType(soap, p, "cwmp:TransferCompleteCPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__TransferCompleteCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferCompleteCPEFaultCodeType(soap, p, "cwmp:TransferCompleteCPEFaultCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__TransferCompleteCPEFaultCodeType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferCompleteCPEFaultCodeType(soap, p, "cwmp:TransferCompleteCPEFaultCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__TransferCompleteCPEFaultCodeType * SOAP_FMAC4 soap_get_cwmp__TransferCompleteCPEFaultCodeType(struct soap*, enum cwmp__TransferCompleteCPEFaultCodeType *, const char*, const char*);

inline int soap_read_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, enum cwmp__TransferCompleteCPEFaultCodeType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__TransferCompleteCPEFaultCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, const char *URL, enum cwmp__TransferCompleteCPEFaultCodeType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TransferCompleteCPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TransferCompleteCPEFaultCodeType(struct soap *soap, enum cwmp__TransferCompleteCPEFaultCodeType *p)
{
	if (::soap_read_cwmp__TransferCompleteCPEFaultCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DefaultDeploymentUnitOperationType_DEFINED
#define SOAP_TYPE_cwmp__DefaultDeploymentUnitOperationType_DEFINED

inline void soap_default_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, enum cwmp__DefaultDeploymentUnitOperationType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DefaultDeploymentUnitOperationType
	*a = SOAP_DEFAULT_cwmp__DefaultDeploymentUnitOperationType;
#else
	*a = (enum cwmp__DefaultDeploymentUnitOperationType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DefaultDeploymentUnitOperationType(struct soap*, const char*, int, const enum cwmp__DefaultDeploymentUnitOperationType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__DefaultDeploymentUnitOperationType2s(struct soap*, enum cwmp__DefaultDeploymentUnitOperationType);
SOAP_FMAC3 enum cwmp__DefaultDeploymentUnitOperationType * SOAP_FMAC4 soap_in_cwmp__DefaultDeploymentUnitOperationType(struct soap*, const char*, enum cwmp__DefaultDeploymentUnitOperationType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__DefaultDeploymentUnitOperationType(struct soap*, const char*, enum cwmp__DefaultDeploymentUnitOperationType *);

SOAP_FMAC3 enum cwmp__DefaultDeploymentUnitOperationType * SOAP_FMAC4 soap_new_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DefaultDeploymentUnitOperationType(struct soap*, const enum cwmp__DefaultDeploymentUnitOperationType *, const char*, const char*);

inline int soap_write_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, enum cwmp__DefaultDeploymentUnitOperationType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DefaultDeploymentUnitOperationType(soap, p, "cwmp:DefaultDeploymentUnitOperationType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, const char *URL, enum cwmp__DefaultDeploymentUnitOperationType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DefaultDeploymentUnitOperationType(soap, p, "cwmp:DefaultDeploymentUnitOperationType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, const char *URL, enum cwmp__DefaultDeploymentUnitOperationType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DefaultDeploymentUnitOperationType(soap, p, "cwmp:DefaultDeploymentUnitOperationType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, const char *URL, enum cwmp__DefaultDeploymentUnitOperationType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DefaultDeploymentUnitOperationType(soap, p, "cwmp:DefaultDeploymentUnitOperationType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__DefaultDeploymentUnitOperationType * SOAP_FMAC4 soap_get_cwmp__DefaultDeploymentUnitOperationType(struct soap*, enum cwmp__DefaultDeploymentUnitOperationType *, const char*, const char*);

inline int soap_read_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, enum cwmp__DefaultDeploymentUnitOperationType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DefaultDeploymentUnitOperationType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, const char *URL, enum cwmp__DefaultDeploymentUnitOperationType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DefaultDeploymentUnitOperationType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DefaultDeploymentUnitOperationType(struct soap *soap, enum cwmp__DefaultDeploymentUnitOperationType *p)
{
	if (::soap_read_cwmp__DefaultDeploymentUnitOperationType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DeploymentUnitState_DEFINED
#define SOAP_TYPE_cwmp__DeploymentUnitState_DEFINED

inline void soap_default_cwmp__DeploymentUnitState(struct soap *soap, enum cwmp__DeploymentUnitState *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DeploymentUnitState
	*a = SOAP_DEFAULT_cwmp__DeploymentUnitState;
#else
	*a = (enum cwmp__DeploymentUnitState)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeploymentUnitState(struct soap*, const char*, int, const enum cwmp__DeploymentUnitState *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__DeploymentUnitState2s(struct soap*, enum cwmp__DeploymentUnitState);
SOAP_FMAC3 enum cwmp__DeploymentUnitState * SOAP_FMAC4 soap_in_cwmp__DeploymentUnitState(struct soap*, const char*, enum cwmp__DeploymentUnitState *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__DeploymentUnitState(struct soap*, const char*, enum cwmp__DeploymentUnitState *);

SOAP_FMAC3 enum cwmp__DeploymentUnitState * SOAP_FMAC4 soap_new_cwmp__DeploymentUnitState(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeploymentUnitState(struct soap*, const enum cwmp__DeploymentUnitState *, const char*, const char*);

inline int soap_write_cwmp__DeploymentUnitState(struct soap *soap, enum cwmp__DeploymentUnitState const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DeploymentUnitState(soap, p, "cwmp:DeploymentUnitState", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeploymentUnitState(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitState const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitState(soap, p, "cwmp:DeploymentUnitState", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeploymentUnitState(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitState const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitState(soap, p, "cwmp:DeploymentUnitState", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeploymentUnitState(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitState const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitState(soap, p, "cwmp:DeploymentUnitState", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__DeploymentUnitState * SOAP_FMAC4 soap_get_cwmp__DeploymentUnitState(struct soap*, enum cwmp__DeploymentUnitState *, const char*, const char*);

inline int soap_read_cwmp__DeploymentUnitState(struct soap *soap, enum cwmp__DeploymentUnitState *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DeploymentUnitState(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeploymentUnitState(struct soap *soap, const char *URL, enum cwmp__DeploymentUnitState *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeploymentUnitState(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeploymentUnitState(struct soap *soap, enum cwmp__DeploymentUnitState *p)
{
	if (::soap_read_cwmp__DeploymentUnitState(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TransferStateType_DEFINED
#define SOAP_TYPE_cwmp__TransferStateType_DEFINED

inline void soap_default_cwmp__TransferStateType(struct soap *soap, enum cwmp__TransferStateType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__TransferStateType
	*a = SOAP_DEFAULT_cwmp__TransferStateType;
#else
	*a = (enum cwmp__TransferStateType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TransferStateType(struct soap*, const char*, int, const enum cwmp__TransferStateType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__TransferStateType2s(struct soap*, enum cwmp__TransferStateType);
SOAP_FMAC3 enum cwmp__TransferStateType * SOAP_FMAC4 soap_in_cwmp__TransferStateType(struct soap*, const char*, enum cwmp__TransferStateType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__TransferStateType(struct soap*, const char*, enum cwmp__TransferStateType *);

SOAP_FMAC3 enum cwmp__TransferStateType * SOAP_FMAC4 soap_new_cwmp__TransferStateType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TransferStateType(struct soap*, const enum cwmp__TransferStateType *, const char*, const char*);

inline int soap_write_cwmp__TransferStateType(struct soap *soap, enum cwmp__TransferStateType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__TransferStateType(soap, p, "cwmp:TransferStateType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TransferStateType(struct soap *soap, const char *URL, enum cwmp__TransferStateType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferStateType(soap, p, "cwmp:TransferStateType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TransferStateType(struct soap *soap, const char *URL, enum cwmp__TransferStateType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferStateType(soap, p, "cwmp:TransferStateType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TransferStateType(struct soap *soap, const char *URL, enum cwmp__TransferStateType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferStateType(soap, p, "cwmp:TransferStateType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__TransferStateType * SOAP_FMAC4 soap_get_cwmp__TransferStateType(struct soap*, enum cwmp__TransferStateType *, const char*, const char*);

inline int soap_read_cwmp__TransferStateType(struct soap *soap, enum cwmp__TransferStateType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__TransferStateType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TransferStateType(struct soap *soap, const char *URL, enum cwmp__TransferStateType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TransferStateType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TransferStateType(struct soap *soap, enum cwmp__TransferStateType *p)
{
	if (::soap_read_cwmp__TransferStateType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ParameterAttributeNotificationValueType_DEFINED
#define SOAP_TYPE_cwmp__ParameterAttributeNotificationValueType_DEFINED

inline void soap_default_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, enum cwmp__ParameterAttributeNotificationValueType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__ParameterAttributeNotificationValueType
	*a = SOAP_DEFAULT_cwmp__ParameterAttributeNotificationValueType;
#else
	*a = (enum cwmp__ParameterAttributeNotificationValueType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ParameterAttributeNotificationValueType(struct soap*, const char*, int, const enum cwmp__ParameterAttributeNotificationValueType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__ParameterAttributeNotificationValueType2s(struct soap*, enum cwmp__ParameterAttributeNotificationValueType);
SOAP_FMAC3 enum cwmp__ParameterAttributeNotificationValueType * SOAP_FMAC4 soap_in_cwmp__ParameterAttributeNotificationValueType(struct soap*, const char*, enum cwmp__ParameterAttributeNotificationValueType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__ParameterAttributeNotificationValueType(struct soap*, const char*, enum cwmp__ParameterAttributeNotificationValueType *);

SOAP_FMAC3 enum cwmp__ParameterAttributeNotificationValueType * SOAP_FMAC4 soap_new_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ParameterAttributeNotificationValueType(struct soap*, const enum cwmp__ParameterAttributeNotificationValueType *, const char*, const char*);

inline int soap_write_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, enum cwmp__ParameterAttributeNotificationValueType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__ParameterAttributeNotificationValueType(soap, p, "cwmp:ParameterAttributeNotificationValueType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, const char *URL, enum cwmp__ParameterAttributeNotificationValueType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterAttributeNotificationValueType(soap, p, "cwmp:ParameterAttributeNotificationValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, const char *URL, enum cwmp__ParameterAttributeNotificationValueType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterAttributeNotificationValueType(soap, p, "cwmp:ParameterAttributeNotificationValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, const char *URL, enum cwmp__ParameterAttributeNotificationValueType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterAttributeNotificationValueType(soap, p, "cwmp:ParameterAttributeNotificationValueType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__ParameterAttributeNotificationValueType * SOAP_FMAC4 soap_get_cwmp__ParameterAttributeNotificationValueType(struct soap*, enum cwmp__ParameterAttributeNotificationValueType *, const char*, const char*);

inline int soap_read_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, enum cwmp__ParameterAttributeNotificationValueType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__ParameterAttributeNotificationValueType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, const char *URL, enum cwmp__ParameterAttributeNotificationValueType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ParameterAttributeNotificationValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ParameterAttributeNotificationValueType(struct soap *soap, enum cwmp__ParameterAttributeNotificationValueType *p)
{
	if (::soap_read_cwmp__ParameterAttributeNotificationValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__AccessListValueType_DEFINED
#define SOAP_TYPE_cwmp__AccessListValueType_DEFINED

inline void soap_default_cwmp__AccessListValueType(struct soap *soap, enum cwmp__AccessListValueType *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__AccessListValueType
	*a = SOAP_DEFAULT_cwmp__AccessListValueType;
#else
	*a = (enum cwmp__AccessListValueType)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__AccessListValueType(struct soap*, const char*, int, const enum cwmp__AccessListValueType *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_cwmp__AccessListValueType2s(struct soap*, enum cwmp__AccessListValueType);
SOAP_FMAC3 enum cwmp__AccessListValueType * SOAP_FMAC4 soap_in_cwmp__AccessListValueType(struct soap*, const char*, enum cwmp__AccessListValueType *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2cwmp__AccessListValueType(struct soap*, const char*, enum cwmp__AccessListValueType *);

SOAP_FMAC3 enum cwmp__AccessListValueType * SOAP_FMAC4 soap_new_cwmp__AccessListValueType(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__AccessListValueType(struct soap*, const enum cwmp__AccessListValueType *, const char*, const char*);

inline int soap_write_cwmp__AccessListValueType(struct soap *soap, enum cwmp__AccessListValueType const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__AccessListValueType(soap, p, "cwmp:AccessListValueType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__AccessListValueType(struct soap *soap, const char *URL, enum cwmp__AccessListValueType const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__AccessListValueType(soap, p, "cwmp:AccessListValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__AccessListValueType(struct soap *soap, const char *URL, enum cwmp__AccessListValueType const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__AccessListValueType(soap, p, "cwmp:AccessListValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__AccessListValueType(struct soap *soap, const char *URL, enum cwmp__AccessListValueType const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__AccessListValueType(soap, p, "cwmp:AccessListValueType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum cwmp__AccessListValueType * SOAP_FMAC4 soap_get_cwmp__AccessListValueType(struct soap*, enum cwmp__AccessListValueType *, const char*, const char*);

inline int soap_read_cwmp__AccessListValueType(struct soap *soap, enum cwmp__AccessListValueType *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__AccessListValueType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__AccessListValueType(struct soap *soap, const char *URL, enum cwmp__AccessListValueType *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__AccessListValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__AccessListValueType(struct soap *soap, enum cwmp__AccessListValueType *p)
{
	if (::soap_read_cwmp__AccessListValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_xsd__boolean_DEFINED
#define SOAP_TYPE_xsd__boolean_DEFINED

inline void soap_default_xsd__boolean(struct soap *soap, enum xsd__boolean *a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_xsd__boolean
	*a = SOAP_DEFAULT_xsd__boolean;
#else
	*a = (enum xsd__boolean)0;
#endif
}
SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__boolean(struct soap*, const char*, int, const enum xsd__boolean *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_xsd__boolean2s(struct soap*, enum xsd__boolean);
SOAP_FMAC3 enum xsd__boolean * SOAP_FMAC4 soap_in_xsd__boolean(struct soap*, const char*, enum xsd__boolean *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2xsd__boolean(struct soap*, const char*, enum xsd__boolean *);

SOAP_FMAC3 enum xsd__boolean * SOAP_FMAC4 soap_new_xsd__boolean(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__boolean(struct soap*, const enum xsd__boolean *, const char*, const char*);

inline int soap_write_xsd__boolean(struct soap *soap, enum xsd__boolean const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_xsd__boolean(soap, p, "xsd:boolean", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_xsd__boolean(struct soap *soap, const char *URL, enum xsd__boolean const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__boolean(soap, p, "xsd:boolean", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_xsd__boolean(struct soap *soap, const char *URL, enum xsd__boolean const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__boolean(soap, p, "xsd:boolean", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_xsd__boolean(struct soap *soap, const char *URL, enum xsd__boolean const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__boolean(soap, p, "xsd:boolean", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 enum xsd__boolean * SOAP_FMAC4 soap_get_xsd__boolean(struct soap*, enum xsd__boolean *, const char*, const char*);

inline int soap_read_xsd__boolean(struct soap *soap, enum xsd__boolean *p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_xsd__boolean(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_xsd__boolean(struct soap *soap, const char *URL, enum xsd__boolean *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_xsd__boolean(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_xsd__boolean(struct soap *soap, enum xsd__boolean *p)
{
	if (::soap_read_xsd__boolean(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_SOAP_ENV__Fault_DEFINED
#define SOAP_TYPE_SOAP_ENV__Fault_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENV__Fault * soap_new_req_SOAP_ENV__Fault(
	struct soap *soap)
{
	struct SOAP_ENV__Fault *_p = ::soap_new_SOAP_ENV__Fault(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Fault(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(
	struct soap *soap,
	char *faultcode,
	char *faultstring,
	char *faultactor,
	struct SOAP_ENV__Detail *detail,
	struct SOAP_ENV__Code *SOAP_ENV__Code,
	struct SOAP_ENV__Reason *SOAP_ENV__Reason,
	char *SOAP_ENV__Node,
	char *SOAP_ENV__Role,
	struct SOAP_ENV__Detail *SOAP_ENV__Detail)
{
	struct SOAP_ENV__Fault *_p = ::soap_new_SOAP_ENV__Fault(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Fault(soap, _p);
		_p->faultcode = faultcode;
		_p->faultstring = faultstring;
		_p->faultactor = faultactor;
		_p->detail = detail;
		_p->SOAP_ENV__Code = SOAP_ENV__Code;
		_p->SOAP_ENV__Reason = SOAP_ENV__Reason;
		_p->SOAP_ENV__Node = SOAP_ENV__Node;
		_p->SOAP_ENV__Role = SOAP_ENV__Role;
		_p->SOAP_ENV__Detail = SOAP_ENV__Detail;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);

inline int soap_write_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENV__Fault(soap, p), 0) || ::soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Fault(soap, p), 0) || ::soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Fault(soap, p), 0) || ::soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Fault(soap, p), 0) || ::soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);

inline int soap_read_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p)
{
	if (p)
	{	::soap_default_SOAP_ENV__Fault(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENV__Fault(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENV__Fault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p)
{
	if (::soap_read_SOAP_ENV__Fault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_SOAP_ENV__Reason_DEFINED
#define SOAP_TYPE_SOAP_ENV__Reason_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap*, const char*, int, const struct SOAP_ENV__Reason *, const char*);
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason *, const char*);
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENV__Reason * soap_new_req_SOAP_ENV__Reason(
	struct soap *soap)
{
	struct SOAP_ENV__Reason *_p = ::soap_new_SOAP_ENV__Reason(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Reason(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENV__Reason * soap_new_set_SOAP_ENV__Reason(
	struct soap *soap,
	char *SOAP_ENV__Text)
{
	struct SOAP_ENV__Reason *_p = ::soap_new_SOAP_ENV__Reason(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Reason(soap, _p);
		_p->SOAP_ENV__Text = SOAP_ENV__Text;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *, const char*, const char*);

inline int soap_write_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENV__Reason(soap, p), 0) || ::soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Reason(soap, p), 0) || ::soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Reason(soap, p), 0) || ::soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Reason(soap, p), 0) || ::soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);

inline int soap_read_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p)
{
	if (p)
	{	::soap_default_SOAP_ENV__Reason(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENV__Reason(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENV__Reason(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p)
{
	if (::soap_read_SOAP_ENV__Reason(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_SOAP_ENV__Code_DEFINED
#define SOAP_TYPE_SOAP_ENV__Code_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENV__Code * soap_new_req_SOAP_ENV__Code(
	struct soap *soap)
{
	struct SOAP_ENV__Code *_p = ::soap_new_SOAP_ENV__Code(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Code(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(
	struct soap *soap,
	char *SOAP_ENV__Value,
	struct SOAP_ENV__Code *SOAP_ENV__Subcode)
{
	struct SOAP_ENV__Code *_p = ::soap_new_SOAP_ENV__Code(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Code(soap, _p);
		_p->SOAP_ENV__Value = SOAP_ENV__Value;
		_p->SOAP_ENV__Subcode = SOAP_ENV__Subcode;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);

inline int soap_write_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENV__Code(soap, p), 0) || ::soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Code(soap, p), 0) || ::soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Code(soap, p), 0) || ::soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Code(soap, p), 0) || ::soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);

inline int soap_read_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
{
	if (p)
	{	::soap_default_SOAP_ENV__Code(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENV__Code(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENV__Code(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
{
	if (::soap_read_SOAP_ENV__Code(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

#ifndef SOAP_TYPE___cwmp__Inform_DEFINED
#define SOAP_TYPE___cwmp__Inform_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__Inform(struct soap*, struct __cwmp__Inform *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__Inform(struct soap*, const struct __cwmp__Inform *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__Inform(struct soap*, const char*, int, const struct __cwmp__Inform *, const char*);
SOAP_FMAC3 struct __cwmp__Inform * SOAP_FMAC4 soap_in___cwmp__Inform(struct soap*, const char*, struct __cwmp__Inform *, const char*);
SOAP_FMAC1 struct __cwmp__Inform * SOAP_FMAC2 soap_instantiate___cwmp__Inform(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__Inform * soap_new___cwmp__Inform(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__Inform(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__Inform * soap_new_req___cwmp__Inform(
	struct soap *soap)
{
	struct __cwmp__Inform *_p = ::soap_new___cwmp__Inform(soap);
	if (_p)
	{	::soap_default___cwmp__Inform(soap, _p);
	}
	return _p;
}

inline struct __cwmp__Inform * soap_new_set___cwmp__Inform(
	struct soap *soap,
	struct _cwmp__Inform *cwmp__Inform)
{
	struct __cwmp__Inform *_p = ::soap_new___cwmp__Inform(soap);
	if (_p)
	{	::soap_default___cwmp__Inform(soap, _p);
		_p->cwmp__Inform = cwmp__Inform;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__Inform(struct soap*, const struct __cwmp__Inform *, const char*, const char*);

inline int soap_write___cwmp__Inform(struct soap *soap, struct __cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__Inform(soap, p), 0) || ::soap_put___cwmp__Inform(soap, p, "-cwmp:Inform", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__Inform(struct soap *soap, const char *URL, struct __cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Inform(soap, p), 0) || ::soap_put___cwmp__Inform(soap, p, "-cwmp:Inform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__Inform(struct soap *soap, const char *URL, struct __cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Inform(soap, p), 0) || ::soap_put___cwmp__Inform(soap, p, "-cwmp:Inform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__Inform(struct soap *soap, const char *URL, struct __cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Inform(soap, p), 0) || ::soap_put___cwmp__Inform(soap, p, "-cwmp:Inform", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__Inform * SOAP_FMAC4 soap_get___cwmp__Inform(struct soap*, struct __cwmp__Inform *, const char*, const char*);

inline int soap_read___cwmp__Inform(struct soap *soap, struct __cwmp__Inform *p)
{
	if (p)
	{	::soap_default___cwmp__Inform(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__Inform(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__Inform(struct soap *soap, const char *URL, struct __cwmp__Inform *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__Inform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__Inform(struct soap *soap, struct __cwmp__Inform *p)
{
	if (::soap_read___cwmp__Inform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__GetRPCMethods_DEFINED
#define SOAP_TYPE___cwmp__GetRPCMethods_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__GetRPCMethods(struct soap*, struct __cwmp__GetRPCMethods *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__GetRPCMethods(struct soap*, const struct __cwmp__GetRPCMethods *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__GetRPCMethods(struct soap*, const char*, int, const struct __cwmp__GetRPCMethods *, const char*);
SOAP_FMAC3 struct __cwmp__GetRPCMethods * SOAP_FMAC4 soap_in___cwmp__GetRPCMethods(struct soap*, const char*, struct __cwmp__GetRPCMethods *, const char*);
SOAP_FMAC1 struct __cwmp__GetRPCMethods * SOAP_FMAC2 soap_instantiate___cwmp__GetRPCMethods(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__GetRPCMethods * soap_new___cwmp__GetRPCMethods(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__GetRPCMethods(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__GetRPCMethods * soap_new_req___cwmp__GetRPCMethods(
	struct soap *soap)
{
	struct __cwmp__GetRPCMethods *_p = ::soap_new___cwmp__GetRPCMethods(soap);
	if (_p)
	{	::soap_default___cwmp__GetRPCMethods(soap, _p);
	}
	return _p;
}

inline struct __cwmp__GetRPCMethods * soap_new_set___cwmp__GetRPCMethods(
	struct soap *soap,
	struct _cwmp__GetRPCMethods *cwmp__GetRPCMethods)
{
	struct __cwmp__GetRPCMethods *_p = ::soap_new___cwmp__GetRPCMethods(soap);
	if (_p)
	{	::soap_default___cwmp__GetRPCMethods(soap, _p);
		_p->cwmp__GetRPCMethods = cwmp__GetRPCMethods;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__GetRPCMethods(struct soap*, const struct __cwmp__GetRPCMethods *, const char*, const char*);

inline int soap_write___cwmp__GetRPCMethods(struct soap *soap, struct __cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__GetRPCMethods(soap, p), 0) || ::soap_put___cwmp__GetRPCMethods(soap, p, "-cwmp:GetRPCMethods", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct __cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetRPCMethods(soap, p), 0) || ::soap_put___cwmp__GetRPCMethods(soap, p, "-cwmp:GetRPCMethods", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct __cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetRPCMethods(soap, p), 0) || ::soap_put___cwmp__GetRPCMethods(soap, p, "-cwmp:GetRPCMethods", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct __cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetRPCMethods(soap, p), 0) || ::soap_put___cwmp__GetRPCMethods(soap, p, "-cwmp:GetRPCMethods", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__GetRPCMethods * SOAP_FMAC4 soap_get___cwmp__GetRPCMethods(struct soap*, struct __cwmp__GetRPCMethods *, const char*, const char*);

inline int soap_read___cwmp__GetRPCMethods(struct soap *soap, struct __cwmp__GetRPCMethods *p)
{
	if (p)
	{	::soap_default___cwmp__GetRPCMethods(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__GetRPCMethods(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct __cwmp__GetRPCMethods *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__GetRPCMethods(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__GetRPCMethods(struct soap *soap, struct __cwmp__GetRPCMethods *p)
{
	if (::soap_read___cwmp__GetRPCMethods(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__DeleteObject_DEFINED
#define SOAP_TYPE___cwmp__DeleteObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__DeleteObject(struct soap*, struct __cwmp__DeleteObject *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__DeleteObject(struct soap*, const struct __cwmp__DeleteObject *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__DeleteObject(struct soap*, const char*, int, const struct __cwmp__DeleteObject *, const char*);
SOAP_FMAC3 struct __cwmp__DeleteObject * SOAP_FMAC4 soap_in___cwmp__DeleteObject(struct soap*, const char*, struct __cwmp__DeleteObject *, const char*);
SOAP_FMAC1 struct __cwmp__DeleteObject * SOAP_FMAC2 soap_instantiate___cwmp__DeleteObject(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__DeleteObject * soap_new___cwmp__DeleteObject(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__DeleteObject(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__DeleteObject * soap_new_req___cwmp__DeleteObject(
	struct soap *soap)
{
	struct __cwmp__DeleteObject *_p = ::soap_new___cwmp__DeleteObject(soap);
	if (_p)
	{	::soap_default___cwmp__DeleteObject(soap, _p);
	}
	return _p;
}

inline struct __cwmp__DeleteObject * soap_new_set___cwmp__DeleteObject(
	struct soap *soap,
	struct _cwmp__DeleteObject *cwmp__DeleteObject)
{
	struct __cwmp__DeleteObject *_p = ::soap_new___cwmp__DeleteObject(soap);
	if (_p)
	{	::soap_default___cwmp__DeleteObject(soap, _p);
		_p->cwmp__DeleteObject = cwmp__DeleteObject;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__DeleteObject(struct soap*, const struct __cwmp__DeleteObject *, const char*, const char*);

inline int soap_write___cwmp__DeleteObject(struct soap *soap, struct __cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__DeleteObject(soap, p), 0) || ::soap_put___cwmp__DeleteObject(soap, p, "-cwmp:DeleteObject", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__DeleteObject(struct soap *soap, const char *URL, struct __cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__DeleteObject(soap, p), 0) || ::soap_put___cwmp__DeleteObject(soap, p, "-cwmp:DeleteObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__DeleteObject(struct soap *soap, const char *URL, struct __cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__DeleteObject(soap, p), 0) || ::soap_put___cwmp__DeleteObject(soap, p, "-cwmp:DeleteObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__DeleteObject(struct soap *soap, const char *URL, struct __cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__DeleteObject(soap, p), 0) || ::soap_put___cwmp__DeleteObject(soap, p, "-cwmp:DeleteObject", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__DeleteObject * SOAP_FMAC4 soap_get___cwmp__DeleteObject(struct soap*, struct __cwmp__DeleteObject *, const char*, const char*);

inline int soap_read___cwmp__DeleteObject(struct soap *soap, struct __cwmp__DeleteObject *p)
{
	if (p)
	{	::soap_default___cwmp__DeleteObject(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__DeleteObject(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__DeleteObject(struct soap *soap, const char *URL, struct __cwmp__DeleteObject *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__DeleteObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__DeleteObject(struct soap *soap, struct __cwmp__DeleteObject *p)
{
	if (::soap_read___cwmp__DeleteObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__AddObject_DEFINED
#define SOAP_TYPE___cwmp__AddObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__AddObject(struct soap*, struct __cwmp__AddObject *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__AddObject(struct soap*, const struct __cwmp__AddObject *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__AddObject(struct soap*, const char*, int, const struct __cwmp__AddObject *, const char*);
SOAP_FMAC3 struct __cwmp__AddObject * SOAP_FMAC4 soap_in___cwmp__AddObject(struct soap*, const char*, struct __cwmp__AddObject *, const char*);
SOAP_FMAC1 struct __cwmp__AddObject * SOAP_FMAC2 soap_instantiate___cwmp__AddObject(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__AddObject * soap_new___cwmp__AddObject(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__AddObject(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__AddObject * soap_new_req___cwmp__AddObject(
	struct soap *soap)
{
	struct __cwmp__AddObject *_p = ::soap_new___cwmp__AddObject(soap);
	if (_p)
	{	::soap_default___cwmp__AddObject(soap, _p);
	}
	return _p;
}

inline struct __cwmp__AddObject * soap_new_set___cwmp__AddObject(
	struct soap *soap,
	struct _cwmp__AddObject *cwmp__AddObject)
{
	struct __cwmp__AddObject *_p = ::soap_new___cwmp__AddObject(soap);
	if (_p)
	{	::soap_default___cwmp__AddObject(soap, _p);
		_p->cwmp__AddObject = cwmp__AddObject;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__AddObject(struct soap*, const struct __cwmp__AddObject *, const char*, const char*);

inline int soap_write___cwmp__AddObject(struct soap *soap, struct __cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__AddObject(soap, p), 0) || ::soap_put___cwmp__AddObject(soap, p, "-cwmp:AddObject", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__AddObject(struct soap *soap, const char *URL, struct __cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__AddObject(soap, p), 0) || ::soap_put___cwmp__AddObject(soap, p, "-cwmp:AddObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__AddObject(struct soap *soap, const char *URL, struct __cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__AddObject(soap, p), 0) || ::soap_put___cwmp__AddObject(soap, p, "-cwmp:AddObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__AddObject(struct soap *soap, const char *URL, struct __cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__AddObject(soap, p), 0) || ::soap_put___cwmp__AddObject(soap, p, "-cwmp:AddObject", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__AddObject * SOAP_FMAC4 soap_get___cwmp__AddObject(struct soap*, struct __cwmp__AddObject *, const char*, const char*);

inline int soap_read___cwmp__AddObject(struct soap *soap, struct __cwmp__AddObject *p)
{
	if (p)
	{	::soap_default___cwmp__AddObject(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__AddObject(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__AddObject(struct soap *soap, const char *URL, struct __cwmp__AddObject *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__AddObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__AddObject(struct soap *soap, struct __cwmp__AddObject *p)
{
	if (::soap_read___cwmp__AddObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__Upload_DEFINED
#define SOAP_TYPE___cwmp__Upload_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__Upload(struct soap*, struct __cwmp__Upload *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__Upload(struct soap*, const struct __cwmp__Upload *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__Upload(struct soap*, const char*, int, const struct __cwmp__Upload *, const char*);
SOAP_FMAC3 struct __cwmp__Upload * SOAP_FMAC4 soap_in___cwmp__Upload(struct soap*, const char*, struct __cwmp__Upload *, const char*);
SOAP_FMAC1 struct __cwmp__Upload * SOAP_FMAC2 soap_instantiate___cwmp__Upload(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__Upload * soap_new___cwmp__Upload(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__Upload(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__Upload * soap_new_req___cwmp__Upload(
	struct soap *soap)
{
	struct __cwmp__Upload *_p = ::soap_new___cwmp__Upload(soap);
	if (_p)
	{	::soap_default___cwmp__Upload(soap, _p);
	}
	return _p;
}

inline struct __cwmp__Upload * soap_new_set___cwmp__Upload(
	struct soap *soap,
	struct _cwmp__Upload *cwmp__Upload)
{
	struct __cwmp__Upload *_p = ::soap_new___cwmp__Upload(soap);
	if (_p)
	{	::soap_default___cwmp__Upload(soap, _p);
		_p->cwmp__Upload = cwmp__Upload;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__Upload(struct soap*, const struct __cwmp__Upload *, const char*, const char*);

inline int soap_write___cwmp__Upload(struct soap *soap, struct __cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__Upload(soap, p), 0) || ::soap_put___cwmp__Upload(soap, p, "-cwmp:Upload", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__Upload(struct soap *soap, const char *URL, struct __cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Upload(soap, p), 0) || ::soap_put___cwmp__Upload(soap, p, "-cwmp:Upload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__Upload(struct soap *soap, const char *URL, struct __cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Upload(soap, p), 0) || ::soap_put___cwmp__Upload(soap, p, "-cwmp:Upload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__Upload(struct soap *soap, const char *URL, struct __cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Upload(soap, p), 0) || ::soap_put___cwmp__Upload(soap, p, "-cwmp:Upload", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__Upload * SOAP_FMAC4 soap_get___cwmp__Upload(struct soap*, struct __cwmp__Upload *, const char*, const char*);

inline int soap_read___cwmp__Upload(struct soap *soap, struct __cwmp__Upload *p)
{
	if (p)
	{	::soap_default___cwmp__Upload(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__Upload(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__Upload(struct soap *soap, const char *URL, struct __cwmp__Upload *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__Upload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__Upload(struct soap *soap, struct __cwmp__Upload *p)
{
	if (::soap_read___cwmp__Upload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__Download_DEFINED
#define SOAP_TYPE___cwmp__Download_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__Download(struct soap*, struct __cwmp__Download *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__Download(struct soap*, const struct __cwmp__Download *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__Download(struct soap*, const char*, int, const struct __cwmp__Download *, const char*);
SOAP_FMAC3 struct __cwmp__Download * SOAP_FMAC4 soap_in___cwmp__Download(struct soap*, const char*, struct __cwmp__Download *, const char*);
SOAP_FMAC1 struct __cwmp__Download * SOAP_FMAC2 soap_instantiate___cwmp__Download(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__Download * soap_new___cwmp__Download(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__Download(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__Download * soap_new_req___cwmp__Download(
	struct soap *soap)
{
	struct __cwmp__Download *_p = ::soap_new___cwmp__Download(soap);
	if (_p)
	{	::soap_default___cwmp__Download(soap, _p);
	}
	return _p;
}

inline struct __cwmp__Download * soap_new_set___cwmp__Download(
	struct soap *soap,
	struct _cwmp__Download *cwmp__Download)
{
	struct __cwmp__Download *_p = ::soap_new___cwmp__Download(soap);
	if (_p)
	{	::soap_default___cwmp__Download(soap, _p);
		_p->cwmp__Download = cwmp__Download;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__Download(struct soap*, const struct __cwmp__Download *, const char*, const char*);

inline int soap_write___cwmp__Download(struct soap *soap, struct __cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__Download(soap, p), 0) || ::soap_put___cwmp__Download(soap, p, "-cwmp:Download", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__Download(struct soap *soap, const char *URL, struct __cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Download(soap, p), 0) || ::soap_put___cwmp__Download(soap, p, "-cwmp:Download", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__Download(struct soap *soap, const char *URL, struct __cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Download(soap, p), 0) || ::soap_put___cwmp__Download(soap, p, "-cwmp:Download", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__Download(struct soap *soap, const char *URL, struct __cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__Download(soap, p), 0) || ::soap_put___cwmp__Download(soap, p, "-cwmp:Download", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__Download * SOAP_FMAC4 soap_get___cwmp__Download(struct soap*, struct __cwmp__Download *, const char*, const char*);

inline int soap_read___cwmp__Download(struct soap *soap, struct __cwmp__Download *p)
{
	if (p)
	{	::soap_default___cwmp__Download(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__Download(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__Download(struct soap *soap, const char *URL, struct __cwmp__Download *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__Download(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__Download(struct soap *soap, struct __cwmp__Download *p)
{
	if (::soap_read___cwmp__Download(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__SetParameterAttributes_DEFINED
#define SOAP_TYPE___cwmp__SetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__SetParameterAttributes(struct soap*, struct __cwmp__SetParameterAttributes *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__SetParameterAttributes(struct soap*, const struct __cwmp__SetParameterAttributes *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__SetParameterAttributes(struct soap*, const char*, int, const struct __cwmp__SetParameterAttributes *, const char*);
SOAP_FMAC3 struct __cwmp__SetParameterAttributes * SOAP_FMAC4 soap_in___cwmp__SetParameterAttributes(struct soap*, const char*, struct __cwmp__SetParameterAttributes *, const char*);
SOAP_FMAC1 struct __cwmp__SetParameterAttributes * SOAP_FMAC2 soap_instantiate___cwmp__SetParameterAttributes(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__SetParameterAttributes * soap_new___cwmp__SetParameterAttributes(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__SetParameterAttributes(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__SetParameterAttributes * soap_new_req___cwmp__SetParameterAttributes(
	struct soap *soap)
{
	struct __cwmp__SetParameterAttributes *_p = ::soap_new___cwmp__SetParameterAttributes(soap);
	if (_p)
	{	::soap_default___cwmp__SetParameterAttributes(soap, _p);
	}
	return _p;
}

inline struct __cwmp__SetParameterAttributes * soap_new_set___cwmp__SetParameterAttributes(
	struct soap *soap,
	struct _cwmp__SetParameterAttributes *cwmp__SetParameterAttributes)
{
	struct __cwmp__SetParameterAttributes *_p = ::soap_new___cwmp__SetParameterAttributes(soap);
	if (_p)
	{	::soap_default___cwmp__SetParameterAttributes(soap, _p);
		_p->cwmp__SetParameterAttributes = cwmp__SetParameterAttributes;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__SetParameterAttributes(struct soap*, const struct __cwmp__SetParameterAttributes *, const char*, const char*);

inline int soap_write___cwmp__SetParameterAttributes(struct soap *soap, struct __cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__SetParameterAttributes(soap, p, "-cwmp:SetParameterAttributes", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__SetParameterAttributes(soap, p, "-cwmp:SetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__SetParameterAttributes(soap, p, "-cwmp:SetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__SetParameterAttributes(soap, p, "-cwmp:SetParameterAttributes", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__SetParameterAttributes * SOAP_FMAC4 soap_get___cwmp__SetParameterAttributes(struct soap*, struct __cwmp__SetParameterAttributes *, const char*, const char*);

inline int soap_read___cwmp__SetParameterAttributes(struct soap *soap, struct __cwmp__SetParameterAttributes *p)
{
	if (p)
	{	::soap_default___cwmp__SetParameterAttributes(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__SetParameterAttributes(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__SetParameterAttributes *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__SetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__SetParameterAttributes(struct soap *soap, struct __cwmp__SetParameterAttributes *p)
{
	if (::soap_read___cwmp__SetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__GetParameterAttributes_DEFINED
#define SOAP_TYPE___cwmp__GetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__GetParameterAttributes(struct soap*, struct __cwmp__GetParameterAttributes *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__GetParameterAttributes(struct soap*, const struct __cwmp__GetParameterAttributes *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__GetParameterAttributes(struct soap*, const char*, int, const struct __cwmp__GetParameterAttributes *, const char*);
SOAP_FMAC3 struct __cwmp__GetParameterAttributes * SOAP_FMAC4 soap_in___cwmp__GetParameterAttributes(struct soap*, const char*, struct __cwmp__GetParameterAttributes *, const char*);
SOAP_FMAC1 struct __cwmp__GetParameterAttributes * SOAP_FMAC2 soap_instantiate___cwmp__GetParameterAttributes(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__GetParameterAttributes * soap_new___cwmp__GetParameterAttributes(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__GetParameterAttributes(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__GetParameterAttributes * soap_new_req___cwmp__GetParameterAttributes(
	struct soap *soap)
{
	struct __cwmp__GetParameterAttributes *_p = ::soap_new___cwmp__GetParameterAttributes(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterAttributes(soap, _p);
	}
	return _p;
}

inline struct __cwmp__GetParameterAttributes * soap_new_set___cwmp__GetParameterAttributes(
	struct soap *soap,
	struct _cwmp__GetParameterAttributes *cwmp__GetParameterAttributes)
{
	struct __cwmp__GetParameterAttributes *_p = ::soap_new___cwmp__GetParameterAttributes(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterAttributes(soap, _p);
		_p->cwmp__GetParameterAttributes = cwmp__GetParameterAttributes;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__GetParameterAttributes(struct soap*, const struct __cwmp__GetParameterAttributes *, const char*, const char*);

inline int soap_write___cwmp__GetParameterAttributes(struct soap *soap, struct __cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__GetParameterAttributes(soap, p, "-cwmp:GetParameterAttributes", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__GetParameterAttributes(soap, p, "-cwmp:GetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__GetParameterAttributes(soap, p, "-cwmp:GetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put___cwmp__GetParameterAttributes(soap, p, "-cwmp:GetParameterAttributes", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__GetParameterAttributes * SOAP_FMAC4 soap_get___cwmp__GetParameterAttributes(struct soap*, struct __cwmp__GetParameterAttributes *, const char*, const char*);

inline int soap_read___cwmp__GetParameterAttributes(struct soap *soap, struct __cwmp__GetParameterAttributes *p)
{
	if (p)
	{	::soap_default___cwmp__GetParameterAttributes(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__GetParameterAttributes(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct __cwmp__GetParameterAttributes *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__GetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__GetParameterAttributes(struct soap *soap, struct __cwmp__GetParameterAttributes *p)
{
	if (::soap_read___cwmp__GetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__SetParameterValues_DEFINED
#define SOAP_TYPE___cwmp__SetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__SetParameterValues(struct soap*, struct __cwmp__SetParameterValues *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__SetParameterValues(struct soap*, const struct __cwmp__SetParameterValues *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__SetParameterValues(struct soap*, const char*, int, const struct __cwmp__SetParameterValues *, const char*);
SOAP_FMAC3 struct __cwmp__SetParameterValues * SOAP_FMAC4 soap_in___cwmp__SetParameterValues(struct soap*, const char*, struct __cwmp__SetParameterValues *, const char*);
SOAP_FMAC1 struct __cwmp__SetParameterValues * SOAP_FMAC2 soap_instantiate___cwmp__SetParameterValues(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__SetParameterValues * soap_new___cwmp__SetParameterValues(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__SetParameterValues(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__SetParameterValues * soap_new_req___cwmp__SetParameterValues(
	struct soap *soap)
{
	struct __cwmp__SetParameterValues *_p = ::soap_new___cwmp__SetParameterValues(soap);
	if (_p)
	{	::soap_default___cwmp__SetParameterValues(soap, _p);
	}
	return _p;
}

inline struct __cwmp__SetParameterValues * soap_new_set___cwmp__SetParameterValues(
	struct soap *soap,
	struct _cwmp__SetParameterValues *cwmp__SetParameterValues)
{
	struct __cwmp__SetParameterValues *_p = ::soap_new___cwmp__SetParameterValues(soap);
	if (_p)
	{	::soap_default___cwmp__SetParameterValues(soap, _p);
		_p->cwmp__SetParameterValues = cwmp__SetParameterValues;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__SetParameterValues(struct soap*, const struct __cwmp__SetParameterValues *, const char*, const char*);

inline int soap_write___cwmp__SetParameterValues(struct soap *soap, struct __cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__SetParameterValues(soap, p), 0) || ::soap_put___cwmp__SetParameterValues(soap, p, "-cwmp:SetParameterValues", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__SetParameterValues(struct soap *soap, const char *URL, struct __cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterValues(soap, p), 0) || ::soap_put___cwmp__SetParameterValues(soap, p, "-cwmp:SetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__SetParameterValues(struct soap *soap, const char *URL, struct __cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterValues(soap, p), 0) || ::soap_put___cwmp__SetParameterValues(soap, p, "-cwmp:SetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__SetParameterValues(struct soap *soap, const char *URL, struct __cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__SetParameterValues(soap, p), 0) || ::soap_put___cwmp__SetParameterValues(soap, p, "-cwmp:SetParameterValues", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__SetParameterValues * SOAP_FMAC4 soap_get___cwmp__SetParameterValues(struct soap*, struct __cwmp__SetParameterValues *, const char*, const char*);

inline int soap_read___cwmp__SetParameterValues(struct soap *soap, struct __cwmp__SetParameterValues *p)
{
	if (p)
	{	::soap_default___cwmp__SetParameterValues(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__SetParameterValues(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__SetParameterValues(struct soap *soap, const char *URL, struct __cwmp__SetParameterValues *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__SetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__SetParameterValues(struct soap *soap, struct __cwmp__SetParameterValues *p)
{
	if (::soap_read___cwmp__SetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__GetParameterValuesResponse_DEFINED
#define SOAP_TYPE___cwmp__GetParameterValuesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__GetParameterValuesResponse(struct soap*, struct __cwmp__GetParameterValuesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__GetParameterValuesResponse(struct soap*, const struct __cwmp__GetParameterValuesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__GetParameterValuesResponse(struct soap*, const char*, int, const struct __cwmp__GetParameterValuesResponse *, const char*);
SOAP_FMAC3 struct __cwmp__GetParameterValuesResponse * SOAP_FMAC4 soap_in___cwmp__GetParameterValuesResponse(struct soap*, const char*, struct __cwmp__GetParameterValuesResponse *, const char*);
SOAP_FMAC1 struct __cwmp__GetParameterValuesResponse * SOAP_FMAC2 soap_instantiate___cwmp__GetParameterValuesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__GetParameterValuesResponse * soap_new___cwmp__GetParameterValuesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__GetParameterValuesResponse(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__GetParameterValuesResponse * soap_new_req___cwmp__GetParameterValuesResponse(
	struct soap *soap)
{
	struct __cwmp__GetParameterValuesResponse *_p = ::soap_new___cwmp__GetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterValuesResponse(soap, _p);
	}
	return _p;
}

inline struct __cwmp__GetParameterValuesResponse * soap_new_set___cwmp__GetParameterValuesResponse(
	struct soap *soap,
	struct _cwmp__GetParameterValuesResponse *cwmp__GetParameterValuesResponse)
{
	struct __cwmp__GetParameterValuesResponse *_p = ::soap_new___cwmp__GetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterValuesResponse(soap, _p);
		_p->cwmp__GetParameterValuesResponse = cwmp__GetParameterValuesResponse;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__GetParameterValuesResponse(struct soap*, const struct __cwmp__GetParameterValuesResponse *, const char*, const char*);

inline int soap_write___cwmp__GetParameterValuesResponse(struct soap *soap, struct __cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put___cwmp__GetParameterValuesResponse(soap, p, "-cwmp:GetParameterValuesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct __cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put___cwmp__GetParameterValuesResponse(soap, p, "-cwmp:GetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct __cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put___cwmp__GetParameterValuesResponse(soap, p, "-cwmp:GetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct __cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put___cwmp__GetParameterValuesResponse(soap, p, "-cwmp:GetParameterValuesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__GetParameterValuesResponse * SOAP_FMAC4 soap_get___cwmp__GetParameterValuesResponse(struct soap*, struct __cwmp__GetParameterValuesResponse *, const char*, const char*);

inline int soap_read___cwmp__GetParameterValuesResponse(struct soap *soap, struct __cwmp__GetParameterValuesResponse *p)
{
	if (p)
	{	::soap_default___cwmp__GetParameterValuesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__GetParameterValuesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct __cwmp__GetParameterValuesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__GetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__GetParameterValuesResponse(struct soap *soap, struct __cwmp__GetParameterValuesResponse *p)
{
	if (::soap_read___cwmp__GetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__GetParameterValues_DEFINED
#define SOAP_TYPE___cwmp__GetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__GetParameterValues(struct soap*, struct __cwmp__GetParameterValues *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__GetParameterValues(struct soap*, const struct __cwmp__GetParameterValues *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__GetParameterValues(struct soap*, const char*, int, const struct __cwmp__GetParameterValues *, const char*);
SOAP_FMAC3 struct __cwmp__GetParameterValues * SOAP_FMAC4 soap_in___cwmp__GetParameterValues(struct soap*, const char*, struct __cwmp__GetParameterValues *, const char*);
SOAP_FMAC1 struct __cwmp__GetParameterValues * SOAP_FMAC2 soap_instantiate___cwmp__GetParameterValues(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__GetParameterValues * soap_new___cwmp__GetParameterValues(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__GetParameterValues(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__GetParameterValues * soap_new_req___cwmp__GetParameterValues(
	struct soap *soap)
{
	struct __cwmp__GetParameterValues *_p = ::soap_new___cwmp__GetParameterValues(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterValues(soap, _p);
	}
	return _p;
}

inline struct __cwmp__GetParameterValues * soap_new_set___cwmp__GetParameterValues(
	struct soap *soap,
	struct _cwmp__GetParameterValues *cwmp__GetParameterValues)
{
	struct __cwmp__GetParameterValues *_p = ::soap_new___cwmp__GetParameterValues(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterValues(soap, _p);
		_p->cwmp__GetParameterValues = cwmp__GetParameterValues;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__GetParameterValues(struct soap*, const struct __cwmp__GetParameterValues *, const char*, const char*);

inline int soap_write___cwmp__GetParameterValues(struct soap *soap, struct __cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__GetParameterValues(soap, p), 0) || ::soap_put___cwmp__GetParameterValues(soap, p, "-cwmp:GetParameterValues", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__GetParameterValues(struct soap *soap, const char *URL, struct __cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValues(soap, p), 0) || ::soap_put___cwmp__GetParameterValues(soap, p, "-cwmp:GetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__GetParameterValues(struct soap *soap, const char *URL, struct __cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValues(soap, p), 0) || ::soap_put___cwmp__GetParameterValues(soap, p, "-cwmp:GetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__GetParameterValues(struct soap *soap, const char *URL, struct __cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterValues(soap, p), 0) || ::soap_put___cwmp__GetParameterValues(soap, p, "-cwmp:GetParameterValues", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__GetParameterValues * SOAP_FMAC4 soap_get___cwmp__GetParameterValues(struct soap*, struct __cwmp__GetParameterValues *, const char*, const char*);

inline int soap_read___cwmp__GetParameterValues(struct soap *soap, struct __cwmp__GetParameterValues *p)
{
	if (p)
	{	::soap_default___cwmp__GetParameterValues(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__GetParameterValues(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__GetParameterValues(struct soap *soap, const char *URL, struct __cwmp__GetParameterValues *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__GetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__GetParameterValues(struct soap *soap, struct __cwmp__GetParameterValues *p)
{
	if (::soap_read___cwmp__GetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE___cwmp__GetParameterNames_DEFINED
#define SOAP_TYPE___cwmp__GetParameterNames_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default___cwmp__GetParameterNames(struct soap*, struct __cwmp__GetParameterNames *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize___cwmp__GetParameterNames(struct soap*, const struct __cwmp__GetParameterNames *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out___cwmp__GetParameterNames(struct soap*, const char*, int, const struct __cwmp__GetParameterNames *, const char*);
SOAP_FMAC3 struct __cwmp__GetParameterNames * SOAP_FMAC4 soap_in___cwmp__GetParameterNames(struct soap*, const char*, struct __cwmp__GetParameterNames *, const char*);
SOAP_FMAC1 struct __cwmp__GetParameterNames * SOAP_FMAC2 soap_instantiate___cwmp__GetParameterNames(struct soap*, int, const char*, const char*, size_t*);

inline struct __cwmp__GetParameterNames * soap_new___cwmp__GetParameterNames(struct soap *soap, int n = -1)
{
	return soap_instantiate___cwmp__GetParameterNames(soap, n, NULL, NULL, NULL);
}

inline struct __cwmp__GetParameterNames * soap_new_req___cwmp__GetParameterNames(
	struct soap *soap)
{
	struct __cwmp__GetParameterNames *_p = ::soap_new___cwmp__GetParameterNames(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterNames(soap, _p);
	}
	return _p;
}

inline struct __cwmp__GetParameterNames * soap_new_set___cwmp__GetParameterNames(
	struct soap *soap,
	struct _cwmp__GetParameterNames *cwmp__GetParameterNames)
{
	struct __cwmp__GetParameterNames *_p = ::soap_new___cwmp__GetParameterNames(soap);
	if (_p)
	{	::soap_default___cwmp__GetParameterNames(soap, _p);
		_p->cwmp__GetParameterNames = cwmp__GetParameterNames;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put___cwmp__GetParameterNames(struct soap*, const struct __cwmp__GetParameterNames *, const char*, const char*);

inline int soap_write___cwmp__GetParameterNames(struct soap *soap, struct __cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize___cwmp__GetParameterNames(soap, p), 0) || ::soap_put___cwmp__GetParameterNames(soap, p, "-cwmp:GetParameterNames", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT___cwmp__GetParameterNames(struct soap *soap, const char *URL, struct __cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterNames(soap, p), 0) || ::soap_put___cwmp__GetParameterNames(soap, p, "-cwmp:GetParameterNames", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH___cwmp__GetParameterNames(struct soap *soap, const char *URL, struct __cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterNames(soap, p), 0) || ::soap_put___cwmp__GetParameterNames(soap, p, "-cwmp:GetParameterNames", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send___cwmp__GetParameterNames(struct soap *soap, const char *URL, struct __cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize___cwmp__GetParameterNames(soap, p), 0) || ::soap_put___cwmp__GetParameterNames(soap, p, "-cwmp:GetParameterNames", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct __cwmp__GetParameterNames * SOAP_FMAC4 soap_get___cwmp__GetParameterNames(struct soap*, struct __cwmp__GetParameterNames *, const char*, const char*);

inline int soap_read___cwmp__GetParameterNames(struct soap *soap, struct __cwmp__GetParameterNames *p)
{
	if (p)
	{	::soap_default___cwmp__GetParameterNames(soap, p);
		if (soap_begin_recv(soap) || ::soap_get___cwmp__GetParameterNames(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET___cwmp__GetParameterNames(struct soap *soap, const char *URL, struct __cwmp__GetParameterNames *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read___cwmp__GetParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv___cwmp__GetParameterNames(struct soap *soap, struct __cwmp__GetParameterNames *p)
{
	if (::soap_read___cwmp__GetParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_SOAP_ENV__Detail_DEFINED
#define SOAP_TYPE_SOAP_ENV__Detail_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENV__Detail * soap_new_SOAP_ENV__Detail(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(
	struct soap *soap)
{
	struct SOAP_ENV__Detail *_p = ::soap_new_SOAP_ENV__Detail(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Detail(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(
	struct soap *soap,
	struct _cwmp__Fault *cwmp__Fault,
	char *__any)
{
	struct SOAP_ENV__Detail *_p = ::soap_new_SOAP_ENV__Detail(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Detail(soap, _p);
		_p->cwmp__Fault = cwmp__Fault;
		_p->__any = __any;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);

inline int soap_write_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENV__Detail(soap, p), 0) || ::soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Detail(soap, p), 0) || ::soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Detail(soap, p), 0) || ::soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Detail(soap, p), 0) || ::soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);

inline int soap_read_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p)
{
	if (p)
	{	::soap_default_SOAP_ENV__Detail(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENV__Detail(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENV__Detail(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p)
{
	if (::soap_read_SOAP_ENV__Detail(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_SOAP_ENV__Header_DEFINED
#define SOAP_TYPE_SOAP_ENV__Header_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(
	struct soap *soap)
{
	struct SOAP_ENV__Header *_p = ::soap_new_SOAP_ENV__Header(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Header(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(
	struct soap *soap,
	struct _cwmp__SupportedCWMPVersions *cwmp__SupportedCWMPVersions,
	struct _cwmp__UseCWMPVersion *cwmp__UseCWMPVersion,
	struct _cwmp__SessionTimeout *cwmp__SessionTimeout,
	struct _cwmp__ID *cwmp__ID,
	struct _cwmp__HoldRequests *cwmp__HoldRequests)
{
	struct SOAP_ENV__Header *_p = ::soap_new_SOAP_ENV__Header(soap);
	if (_p)
	{	::soap_default_SOAP_ENV__Header(soap, _p);
		_p->cwmp__SupportedCWMPVersions = cwmp__SupportedCWMPVersions;
		_p->cwmp__UseCWMPVersion = cwmp__UseCWMPVersion;
		_p->cwmp__SessionTimeout = cwmp__SessionTimeout;
		_p->cwmp__ID = cwmp__ID;
		_p->cwmp__HoldRequests = cwmp__HoldRequests;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);

inline int soap_write_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENV__Header(soap, p), 0) || ::soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Header(soap, p), 0) || ::soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Header(soap, p), 0) || ::soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENV__Header(soap, p), 0) || ::soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);

inline int soap_read_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p)
{
	if (p)
	{	::soap_default_SOAP_ENV__Header(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENV__Header(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENV__Header(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p)
{
	if (::soap_read_SOAP_ENV__Header(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

#ifndef SOAP_TYPE__cwmp__HoldRequests_DEFINED
#define SOAP_TYPE__cwmp__HoldRequests_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__HoldRequests(struct soap*, struct _cwmp__HoldRequests *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__HoldRequests(struct soap*, const struct _cwmp__HoldRequests *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__HoldRequests(struct soap*, const char*, int, const struct _cwmp__HoldRequests *, const char*);
SOAP_FMAC3 struct _cwmp__HoldRequests * SOAP_FMAC4 soap_in__cwmp__HoldRequests(struct soap*, const char*, struct _cwmp__HoldRequests *, const char*);
SOAP_FMAC1 struct _cwmp__HoldRequests * SOAP_FMAC2 soap_instantiate__cwmp__HoldRequests(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__HoldRequests * soap_new__cwmp__HoldRequests(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__HoldRequests(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__HoldRequests * soap_new_req__cwmp__HoldRequests(
	struct soap *soap,
	enum xsd__boolean __item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__HoldRequests *_p = ::soap_new__cwmp__HoldRequests(soap);
	if (_p)
	{	::soap_default__cwmp__HoldRequests(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}

inline struct _cwmp__HoldRequests * soap_new_set__cwmp__HoldRequests(
	struct soap *soap,
	enum xsd__boolean __item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__HoldRequests *_p = ::soap_new__cwmp__HoldRequests(soap);
	if (_p)
	{	::soap_default__cwmp__HoldRequests(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__HoldRequests(struct soap*, const struct _cwmp__HoldRequests *, const char*, const char*);

inline int soap_write__cwmp__HoldRequests(struct soap *soap, struct _cwmp__HoldRequests const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__HoldRequests(soap, p), 0) || ::soap_put__cwmp__HoldRequests(soap, p, "cwmp:HoldRequests", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__HoldRequests(struct soap *soap, const char *URL, struct _cwmp__HoldRequests const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__HoldRequests(soap, p), 0) || ::soap_put__cwmp__HoldRequests(soap, p, "cwmp:HoldRequests", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__HoldRequests(struct soap *soap, const char *URL, struct _cwmp__HoldRequests const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__HoldRequests(soap, p), 0) || ::soap_put__cwmp__HoldRequests(soap, p, "cwmp:HoldRequests", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__HoldRequests(struct soap *soap, const char *URL, struct _cwmp__HoldRequests const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__HoldRequests(soap, p), 0) || ::soap_put__cwmp__HoldRequests(soap, p, "cwmp:HoldRequests", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__HoldRequests * SOAP_FMAC4 soap_get__cwmp__HoldRequests(struct soap*, struct _cwmp__HoldRequests *, const char*, const char*);

inline int soap_read__cwmp__HoldRequests(struct soap *soap, struct _cwmp__HoldRequests *p)
{
	if (p)
	{	::soap_default__cwmp__HoldRequests(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__HoldRequests(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__HoldRequests(struct soap *soap, const char *URL, struct _cwmp__HoldRequests *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__HoldRequests(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__HoldRequests(struct soap *soap, struct _cwmp__HoldRequests *p)
{
	if (::soap_read__cwmp__HoldRequests(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ID_DEFINED
#define SOAP_TYPE__cwmp__ID_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ID(struct soap*, struct _cwmp__ID *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ID(struct soap*, const struct _cwmp__ID *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ID(struct soap*, const char*, int, const struct _cwmp__ID *, const char*);
SOAP_FMAC3 struct _cwmp__ID * SOAP_FMAC4 soap_in__cwmp__ID(struct soap*, const char*, struct _cwmp__ID *, const char*);
SOAP_FMAC1 struct _cwmp__ID * SOAP_FMAC2 soap_instantiate__cwmp__ID(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ID * soap_new__cwmp__ID(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ID(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ID * soap_new_req__cwmp__ID(
	struct soap *soap,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__ID *_p = ::soap_new__cwmp__ID(soap);
	if (_p)
	{	::soap_default__cwmp__ID(soap, _p);
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}

inline struct _cwmp__ID * soap_new_set__cwmp__ID(
	struct soap *soap,
	char *__item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__ID *_p = ::soap_new__cwmp__ID(soap);
	if (_p)
	{	::soap_default__cwmp__ID(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ID(struct soap*, const struct _cwmp__ID *, const char*, const char*);

inline int soap_write__cwmp__ID(struct soap *soap, struct _cwmp__ID const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ID(soap, p), 0) || ::soap_put__cwmp__ID(soap, p, "cwmp:ID", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ID(struct soap *soap, const char *URL, struct _cwmp__ID const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ID(soap, p), 0) || ::soap_put__cwmp__ID(soap, p, "cwmp:ID", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ID(struct soap *soap, const char *URL, struct _cwmp__ID const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ID(soap, p), 0) || ::soap_put__cwmp__ID(soap, p, "cwmp:ID", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ID(struct soap *soap, const char *URL, struct _cwmp__ID const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ID(soap, p), 0) || ::soap_put__cwmp__ID(soap, p, "cwmp:ID", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ID * SOAP_FMAC4 soap_get__cwmp__ID(struct soap*, struct _cwmp__ID *, const char*, const char*);

inline int soap_read__cwmp__ID(struct soap *soap, struct _cwmp__ID *p)
{
	if (p)
	{	::soap_default__cwmp__ID(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ID(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ID(struct soap *soap, const char *URL, struct _cwmp__ID *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ID(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ID(struct soap *soap, struct _cwmp__ID *p)
{
	if (::soap_read__cwmp__ID(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SessionTimeout_DEFINED
#define SOAP_TYPE__cwmp__SessionTimeout_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SessionTimeout(struct soap*, struct _cwmp__SessionTimeout *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SessionTimeout(struct soap*, const struct _cwmp__SessionTimeout *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SessionTimeout(struct soap*, const char*, int, const struct _cwmp__SessionTimeout *, const char*);
SOAP_FMAC3 struct _cwmp__SessionTimeout * SOAP_FMAC4 soap_in__cwmp__SessionTimeout(struct soap*, const char*, struct _cwmp__SessionTimeout *, const char*);
SOAP_FMAC1 struct _cwmp__SessionTimeout * SOAP_FMAC2 soap_instantiate__cwmp__SessionTimeout(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SessionTimeout * soap_new__cwmp__SessionTimeout(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SessionTimeout(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SessionTimeout * soap_new_req__cwmp__SessionTimeout(
	struct soap *soap,
	unsigned int __item)
{
	struct _cwmp__SessionTimeout *_p = ::soap_new__cwmp__SessionTimeout(soap);
	if (_p)
	{	::soap_default__cwmp__SessionTimeout(soap, _p);
		_p->__item = __item;
	}
	return _p;
}

inline struct _cwmp__SessionTimeout * soap_new_set__cwmp__SessionTimeout(
	struct soap *soap,
	unsigned int __item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__SessionTimeout *_p = ::soap_new__cwmp__SessionTimeout(soap);
	if (_p)
	{	::soap_default__cwmp__SessionTimeout(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SessionTimeout(struct soap*, const struct _cwmp__SessionTimeout *, const char*, const char*);

inline int soap_write__cwmp__SessionTimeout(struct soap *soap, struct _cwmp__SessionTimeout const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SessionTimeout(soap, p), 0) || ::soap_put__cwmp__SessionTimeout(soap, p, "cwmp:SessionTimeout", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SessionTimeout(struct soap *soap, const char *URL, struct _cwmp__SessionTimeout const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SessionTimeout(soap, p), 0) || ::soap_put__cwmp__SessionTimeout(soap, p, "cwmp:SessionTimeout", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SessionTimeout(struct soap *soap, const char *URL, struct _cwmp__SessionTimeout const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SessionTimeout(soap, p), 0) || ::soap_put__cwmp__SessionTimeout(soap, p, "cwmp:SessionTimeout", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SessionTimeout(struct soap *soap, const char *URL, struct _cwmp__SessionTimeout const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SessionTimeout(soap, p), 0) || ::soap_put__cwmp__SessionTimeout(soap, p, "cwmp:SessionTimeout", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SessionTimeout * SOAP_FMAC4 soap_get__cwmp__SessionTimeout(struct soap*, struct _cwmp__SessionTimeout *, const char*, const char*);

inline int soap_read__cwmp__SessionTimeout(struct soap *soap, struct _cwmp__SessionTimeout *p)
{
	if (p)
	{	::soap_default__cwmp__SessionTimeout(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SessionTimeout(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SessionTimeout(struct soap *soap, const char *URL, struct _cwmp__SessionTimeout *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SessionTimeout(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SessionTimeout(struct soap *soap, struct _cwmp__SessionTimeout *p)
{
	if (::soap_read__cwmp__SessionTimeout(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__UseCWMPVersion_DEFINED
#define SOAP_TYPE__cwmp__UseCWMPVersion_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__UseCWMPVersion(struct soap*, struct _cwmp__UseCWMPVersion *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__UseCWMPVersion(struct soap*, const struct _cwmp__UseCWMPVersion *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__UseCWMPVersion(struct soap*, const char*, int, const struct _cwmp__UseCWMPVersion *, const char*);
SOAP_FMAC3 struct _cwmp__UseCWMPVersion * SOAP_FMAC4 soap_in__cwmp__UseCWMPVersion(struct soap*, const char*, struct _cwmp__UseCWMPVersion *, const char*);
SOAP_FMAC1 struct _cwmp__UseCWMPVersion * SOAP_FMAC2 soap_instantiate__cwmp__UseCWMPVersion(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__UseCWMPVersion * soap_new__cwmp__UseCWMPVersion(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__UseCWMPVersion(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__UseCWMPVersion * soap_new_req__cwmp__UseCWMPVersion(
	struct soap *soap,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__UseCWMPVersion *_p = ::soap_new__cwmp__UseCWMPVersion(soap);
	if (_p)
	{	::soap_default__cwmp__UseCWMPVersion(soap, _p);
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}

inline struct _cwmp__UseCWMPVersion * soap_new_set__cwmp__UseCWMPVersion(
	struct soap *soap,
	char *__item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__UseCWMPVersion *_p = ::soap_new__cwmp__UseCWMPVersion(soap);
	if (_p)
	{	::soap_default__cwmp__UseCWMPVersion(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__UseCWMPVersion(struct soap*, const struct _cwmp__UseCWMPVersion *, const char*, const char*);

inline int soap_write__cwmp__UseCWMPVersion(struct soap *soap, struct _cwmp__UseCWMPVersion const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__UseCWMPVersion(soap, p), 0) || ::soap_put__cwmp__UseCWMPVersion(soap, p, "cwmp:UseCWMPVersion", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__UseCWMPVersion(struct soap *soap, const char *URL, struct _cwmp__UseCWMPVersion const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UseCWMPVersion(soap, p), 0) || ::soap_put__cwmp__UseCWMPVersion(soap, p, "cwmp:UseCWMPVersion", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__UseCWMPVersion(struct soap *soap, const char *URL, struct _cwmp__UseCWMPVersion const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UseCWMPVersion(soap, p), 0) || ::soap_put__cwmp__UseCWMPVersion(soap, p, "cwmp:UseCWMPVersion", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__UseCWMPVersion(struct soap *soap, const char *URL, struct _cwmp__UseCWMPVersion const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UseCWMPVersion(soap, p), 0) || ::soap_put__cwmp__UseCWMPVersion(soap, p, "cwmp:UseCWMPVersion", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__UseCWMPVersion * SOAP_FMAC4 soap_get__cwmp__UseCWMPVersion(struct soap*, struct _cwmp__UseCWMPVersion *, const char*, const char*);

inline int soap_read__cwmp__UseCWMPVersion(struct soap *soap, struct _cwmp__UseCWMPVersion *p)
{
	if (p)
	{	::soap_default__cwmp__UseCWMPVersion(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__UseCWMPVersion(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__UseCWMPVersion(struct soap *soap, const char *URL, struct _cwmp__UseCWMPVersion *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__UseCWMPVersion(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__UseCWMPVersion(struct soap *soap, struct _cwmp__UseCWMPVersion *p)
{
	if (::soap_read__cwmp__UseCWMPVersion(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SupportedCWMPVersions_DEFINED
#define SOAP_TYPE__cwmp__SupportedCWMPVersions_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SupportedCWMPVersions(struct soap*, struct _cwmp__SupportedCWMPVersions *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SupportedCWMPVersions(struct soap*, const struct _cwmp__SupportedCWMPVersions *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SupportedCWMPVersions(struct soap*, const char*, int, const struct _cwmp__SupportedCWMPVersions *, const char*);
SOAP_FMAC3 struct _cwmp__SupportedCWMPVersions * SOAP_FMAC4 soap_in__cwmp__SupportedCWMPVersions(struct soap*, const char*, struct _cwmp__SupportedCWMPVersions *, const char*);
SOAP_FMAC1 struct _cwmp__SupportedCWMPVersions * SOAP_FMAC2 soap_instantiate__cwmp__SupportedCWMPVersions(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SupportedCWMPVersions * soap_new__cwmp__SupportedCWMPVersions(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SupportedCWMPVersions(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SupportedCWMPVersions * soap_new_req__cwmp__SupportedCWMPVersions(
	struct soap *soap)
{
	struct _cwmp__SupportedCWMPVersions *_p = ::soap_new__cwmp__SupportedCWMPVersions(soap);
	if (_p)
	{	::soap_default__cwmp__SupportedCWMPVersions(soap, _p);
	}
	return _p;
}

inline struct _cwmp__SupportedCWMPVersions * soap_new_set__cwmp__SupportedCWMPVersions(
	struct soap *soap,
	char *__item,
	char *SOAP_ENV__mustUnderstand)
{
	struct _cwmp__SupportedCWMPVersions *_p = ::soap_new__cwmp__SupportedCWMPVersions(soap);
	if (_p)
	{	::soap_default__cwmp__SupportedCWMPVersions(soap, _p);
		_p->__item = __item;
		_p->SOAP_ENV__mustUnderstand = SOAP_ENV__mustUnderstand;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SupportedCWMPVersions(struct soap*, const struct _cwmp__SupportedCWMPVersions *, const char*, const char*);

inline int soap_write__cwmp__SupportedCWMPVersions(struct soap *soap, struct _cwmp__SupportedCWMPVersions const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SupportedCWMPVersions(soap, p), 0) || ::soap_put__cwmp__SupportedCWMPVersions(soap, p, "cwmp:SupportedCWMPVersions", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SupportedCWMPVersions(struct soap *soap, const char *URL, struct _cwmp__SupportedCWMPVersions const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SupportedCWMPVersions(soap, p), 0) || ::soap_put__cwmp__SupportedCWMPVersions(soap, p, "cwmp:SupportedCWMPVersions", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SupportedCWMPVersions(struct soap *soap, const char *URL, struct _cwmp__SupportedCWMPVersions const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SupportedCWMPVersions(soap, p), 0) || ::soap_put__cwmp__SupportedCWMPVersions(soap, p, "cwmp:SupportedCWMPVersions", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SupportedCWMPVersions(struct soap *soap, const char *URL, struct _cwmp__SupportedCWMPVersions const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SupportedCWMPVersions(soap, p), 0) || ::soap_put__cwmp__SupportedCWMPVersions(soap, p, "cwmp:SupportedCWMPVersions", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SupportedCWMPVersions * SOAP_FMAC4 soap_get__cwmp__SupportedCWMPVersions(struct soap*, struct _cwmp__SupportedCWMPVersions *, const char*, const char*);

inline int soap_read__cwmp__SupportedCWMPVersions(struct soap *soap, struct _cwmp__SupportedCWMPVersions *p)
{
	if (p)
	{	::soap_default__cwmp__SupportedCWMPVersions(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SupportedCWMPVersions(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SupportedCWMPVersions(struct soap *soap, const char *URL, struct _cwmp__SupportedCWMPVersions *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SupportedCWMPVersions(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SupportedCWMPVersions(struct soap *soap, struct _cwmp__SupportedCWMPVersions *p)
{
	if (::soap_read__cwmp__SupportedCWMPVersions(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__UninstallOpStruct_DEFINED
#define SOAP_TYPE_cwmp__UninstallOpStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__UninstallOpStruct(struct soap*, struct cwmp__UninstallOpStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__UninstallOpStruct(struct soap*, const struct cwmp__UninstallOpStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__UninstallOpStruct(struct soap*, const char*, int, const struct cwmp__UninstallOpStruct *, const char*);
SOAP_FMAC3 struct cwmp__UninstallOpStruct * SOAP_FMAC4 soap_in_cwmp__UninstallOpStruct(struct soap*, const char*, struct cwmp__UninstallOpStruct *, const char*);
SOAP_FMAC1 struct cwmp__UninstallOpStruct * SOAP_FMAC2 soap_instantiate_cwmp__UninstallOpStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__UninstallOpStruct * soap_new_cwmp__UninstallOpStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__UninstallOpStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__UninstallOpStruct * soap_new_req_cwmp__UninstallOpStruct(
	struct soap *soap,
	char *UUID)
{
	struct cwmp__UninstallOpStruct *_p = ::soap_new_cwmp__UninstallOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__UninstallOpStruct(soap, _p);
		_p->UUID = UUID;
	}
	return _p;
}

inline struct cwmp__UninstallOpStruct * soap_new_set_cwmp__UninstallOpStruct(
	struct soap *soap,
	char *UUID,
	char **Version,
	char **ExecutionEnvRef)
{
	struct cwmp__UninstallOpStruct *_p = ::soap_new_cwmp__UninstallOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__UninstallOpStruct(soap, _p);
		_p->UUID = UUID;
		_p->Version = Version;
		_p->ExecutionEnvRef = ExecutionEnvRef;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__UninstallOpStruct(struct soap*, const struct cwmp__UninstallOpStruct *, const char*, const char*);

inline int soap_write_cwmp__UninstallOpStruct(struct soap *soap, struct cwmp__UninstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__UninstallOpStruct(soap, p), 0) || ::soap_put_cwmp__UninstallOpStruct(soap, p, "cwmp:UninstallOpStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__UninstallOpStruct(struct soap *soap, const char *URL, struct cwmp__UninstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UninstallOpStruct(soap, p), 0) || ::soap_put_cwmp__UninstallOpStruct(soap, p, "cwmp:UninstallOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__UninstallOpStruct(struct soap *soap, const char *URL, struct cwmp__UninstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UninstallOpStruct(soap, p), 0) || ::soap_put_cwmp__UninstallOpStruct(soap, p, "cwmp:UninstallOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__UninstallOpStruct(struct soap *soap, const char *URL, struct cwmp__UninstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UninstallOpStruct(soap, p), 0) || ::soap_put_cwmp__UninstallOpStruct(soap, p, "cwmp:UninstallOpStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__UninstallOpStruct * SOAP_FMAC4 soap_get_cwmp__UninstallOpStruct(struct soap*, struct cwmp__UninstallOpStruct *, const char*, const char*);

inline int soap_read_cwmp__UninstallOpStruct(struct soap *soap, struct cwmp__UninstallOpStruct *p)
{
	if (p)
	{	::soap_default_cwmp__UninstallOpStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__UninstallOpStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__UninstallOpStruct(struct soap *soap, const char *URL, struct cwmp__UninstallOpStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__UninstallOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__UninstallOpStruct(struct soap *soap, struct cwmp__UninstallOpStruct *p)
{
	if (::soap_read_cwmp__UninstallOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__UpdateOpStruct_DEFINED
#define SOAP_TYPE_cwmp__UpdateOpStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__UpdateOpStruct(struct soap*, struct cwmp__UpdateOpStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__UpdateOpStruct(struct soap*, const struct cwmp__UpdateOpStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__UpdateOpStruct(struct soap*, const char*, int, const struct cwmp__UpdateOpStruct *, const char*);
SOAP_FMAC3 struct cwmp__UpdateOpStruct * SOAP_FMAC4 soap_in_cwmp__UpdateOpStruct(struct soap*, const char*, struct cwmp__UpdateOpStruct *, const char*);
SOAP_FMAC1 struct cwmp__UpdateOpStruct * SOAP_FMAC2 soap_instantiate_cwmp__UpdateOpStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__UpdateOpStruct * soap_new_cwmp__UpdateOpStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__UpdateOpStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__UpdateOpStruct * soap_new_req_cwmp__UpdateOpStruct(
	struct soap *soap)
{
	struct cwmp__UpdateOpStruct *_p = ::soap_new_cwmp__UpdateOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__UpdateOpStruct(soap, _p);
	}
	return _p;
}

inline struct cwmp__UpdateOpStruct * soap_new_set_cwmp__UpdateOpStruct(
	struct soap *soap,
	char *UUID,
	char **Version,
	char **URL,
	char **Username,
	char **Password)
{
	struct cwmp__UpdateOpStruct *_p = ::soap_new_cwmp__UpdateOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__UpdateOpStruct(soap, _p);
		_p->UUID = UUID;
		_p->Version = Version;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__UpdateOpStruct(struct soap*, const struct cwmp__UpdateOpStruct *, const char*, const char*);

inline int soap_write_cwmp__UpdateOpStruct(struct soap *soap, struct cwmp__UpdateOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__UpdateOpStruct(soap, p), 0) || ::soap_put_cwmp__UpdateOpStruct(soap, p, "cwmp:UpdateOpStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__UpdateOpStruct(struct soap *soap, const char *URL, struct cwmp__UpdateOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UpdateOpStruct(soap, p), 0) || ::soap_put_cwmp__UpdateOpStruct(soap, p, "cwmp:UpdateOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__UpdateOpStruct(struct soap *soap, const char *URL, struct cwmp__UpdateOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UpdateOpStruct(soap, p), 0) || ::soap_put_cwmp__UpdateOpStruct(soap, p, "cwmp:UpdateOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__UpdateOpStruct(struct soap *soap, const char *URL, struct cwmp__UpdateOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__UpdateOpStruct(soap, p), 0) || ::soap_put_cwmp__UpdateOpStruct(soap, p, "cwmp:UpdateOpStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__UpdateOpStruct * SOAP_FMAC4 soap_get_cwmp__UpdateOpStruct(struct soap*, struct cwmp__UpdateOpStruct *, const char*, const char*);

inline int soap_read_cwmp__UpdateOpStruct(struct soap *soap, struct cwmp__UpdateOpStruct *p)
{
	if (p)
	{	::soap_default_cwmp__UpdateOpStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__UpdateOpStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__UpdateOpStruct(struct soap *soap, const char *URL, struct cwmp__UpdateOpStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__UpdateOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__UpdateOpStruct(struct soap *soap, struct cwmp__UpdateOpStruct *p)
{
	if (::soap_read_cwmp__UpdateOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__InstallOpStruct_DEFINED
#define SOAP_TYPE_cwmp__InstallOpStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__InstallOpStruct(struct soap*, struct cwmp__InstallOpStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__InstallOpStruct(struct soap*, const struct cwmp__InstallOpStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__InstallOpStruct(struct soap*, const char*, int, const struct cwmp__InstallOpStruct *, const char*);
SOAP_FMAC3 struct cwmp__InstallOpStruct * SOAP_FMAC4 soap_in_cwmp__InstallOpStruct(struct soap*, const char*, struct cwmp__InstallOpStruct *, const char*);
SOAP_FMAC1 struct cwmp__InstallOpStruct * SOAP_FMAC2 soap_instantiate_cwmp__InstallOpStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__InstallOpStruct * soap_new_cwmp__InstallOpStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__InstallOpStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__InstallOpStruct * soap_new_req_cwmp__InstallOpStruct(
	struct soap *soap,
	char *URL)
{
	struct cwmp__InstallOpStruct *_p = ::soap_new_cwmp__InstallOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__InstallOpStruct(soap, _p);
		_p->URL = URL;
	}
	return _p;
}

inline struct cwmp__InstallOpStruct * soap_new_set_cwmp__InstallOpStruct(
	struct soap *soap,
	char *URL,
	char *UUID,
	char **Username,
	char **Password,
	char **ExecutionEnvRef)
{
	struct cwmp__InstallOpStruct *_p = ::soap_new_cwmp__InstallOpStruct(soap);
	if (_p)
	{	::soap_default_cwmp__InstallOpStruct(soap, _p);
		_p->URL = URL;
		_p->UUID = UUID;
		_p->Username = Username;
		_p->Password = Password;
		_p->ExecutionEnvRef = ExecutionEnvRef;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__InstallOpStruct(struct soap*, const struct cwmp__InstallOpStruct *, const char*, const char*);

inline int soap_write_cwmp__InstallOpStruct(struct soap *soap, struct cwmp__InstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__InstallOpStruct(soap, p), 0) || ::soap_put_cwmp__InstallOpStruct(soap, p, "cwmp:InstallOpStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__InstallOpStruct(struct soap *soap, const char *URL, struct cwmp__InstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__InstallOpStruct(soap, p), 0) || ::soap_put_cwmp__InstallOpStruct(soap, p, "cwmp:InstallOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__InstallOpStruct(struct soap *soap, const char *URL, struct cwmp__InstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__InstallOpStruct(soap, p), 0) || ::soap_put_cwmp__InstallOpStruct(soap, p, "cwmp:InstallOpStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__InstallOpStruct(struct soap *soap, const char *URL, struct cwmp__InstallOpStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__InstallOpStruct(soap, p), 0) || ::soap_put_cwmp__InstallOpStruct(soap, p, "cwmp:InstallOpStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__InstallOpStruct * SOAP_FMAC4 soap_get_cwmp__InstallOpStruct(struct soap*, struct cwmp__InstallOpStruct *, const char*, const char*);

inline int soap_read_cwmp__InstallOpStruct(struct soap *soap, struct cwmp__InstallOpStruct *p)
{
	if (p)
	{	::soap_default_cwmp__InstallOpStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__InstallOpStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__InstallOpStruct(struct soap *soap, const char *URL, struct cwmp__InstallOpStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__InstallOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__InstallOpStruct(struct soap *soap, struct cwmp__InstallOpStruct *p)
{
	if (::soap_read_cwmp__InstallOpStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AutonomousDUStateChangeCompleteResponse_DEFINED
#define SOAP_TYPE__cwmp__AutonomousDUStateChangeCompleteResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, struct _cwmp__AutonomousDUStateChangeCompleteResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, const struct _cwmp__AutonomousDUStateChangeCompleteResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, const char*, int, const struct _cwmp__AutonomousDUStateChangeCompleteResponse *, const char*);
SOAP_FMAC3 struct _cwmp__AutonomousDUStateChangeCompleteResponse * SOAP_FMAC4 soap_in__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, const char*, struct _cwmp__AutonomousDUStateChangeCompleteResponse *, const char*);
SOAP_FMAC1 struct _cwmp__AutonomousDUStateChangeCompleteResponse * SOAP_FMAC2 soap_instantiate__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AutonomousDUStateChangeCompleteResponse * soap_new__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AutonomousDUStateChangeCompleteResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AutonomousDUStateChangeCompleteResponse * soap_new_req__cwmp__AutonomousDUStateChangeCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__AutonomousDUStateChangeCompleteResponse *_p = ::soap_new__cwmp__AutonomousDUStateChangeCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousDUStateChangeCompleteResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__AutonomousDUStateChangeCompleteResponse * soap_new_set__cwmp__AutonomousDUStateChangeCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__AutonomousDUStateChangeCompleteResponse *_p = ::soap_new__cwmp__AutonomousDUStateChangeCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousDUStateChangeCompleteResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, const struct _cwmp__AutonomousDUStateChangeCompleteResponse *, const char*, const char*);

inline int soap_write__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__AutonomousDUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p, "cwmp:AutonomousDUStateChangeCompleteResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p, "cwmp:AutonomousDUStateChangeCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p, "cwmp:AutonomousDUStateChangeCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p, "cwmp:AutonomousDUStateChangeCompleteResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AutonomousDUStateChangeCompleteResponse * SOAP_FMAC4 soap_get__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap*, struct _cwmp__AutonomousDUStateChangeCompleteResponse *, const char*, const char*);

inline int soap_read__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__AutonomousDUStateChangeCompleteResponse *p)
{
	if (p)
	{	::soap_default__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeCompleteResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AutonomousDUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__AutonomousDUStateChangeCompleteResponse *p)
{
	if (::soap_read__cwmp__AutonomousDUStateChangeCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__AutonOpResultStruct_DEFINED
#define SOAP_TYPE_cwmp__AutonOpResultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__AutonOpResultStruct(struct soap*, struct cwmp__AutonOpResultStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__AutonOpResultStruct(struct soap*, const struct cwmp__AutonOpResultStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__AutonOpResultStruct(struct soap*, const char*, int, const struct cwmp__AutonOpResultStruct *, const char*);
SOAP_FMAC3 struct cwmp__AutonOpResultStruct * SOAP_FMAC4 soap_in_cwmp__AutonOpResultStruct(struct soap*, const char*, struct cwmp__AutonOpResultStruct *, const char*);
SOAP_FMAC1 struct cwmp__AutonOpResultStruct * SOAP_FMAC2 soap_instantiate_cwmp__AutonOpResultStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__AutonOpResultStruct * soap_new_cwmp__AutonOpResultStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__AutonOpResultStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__AutonOpResultStruct * soap_new_req_cwmp__AutonOpResultStruct(
	struct soap *soap,
	char *UUID,
	char *DeploymentUnitRef,
	char *Version,
	enum cwmp__DeploymentUnitState CurrentState,
	enum xsd__boolean Resolved,
	char *ExecutionUnitRefList,
	time_t StartTime,
	time_t CompleteTime,
	struct cwmp__DeploymentUnitFaultStruct *Fault,
	char *OperationPerformed)
{
	struct cwmp__AutonOpResultStruct *_p = ::soap_new_cwmp__AutonOpResultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__AutonOpResultStruct(soap, _p);
		_p->UUID = UUID;
		_p->DeploymentUnitRef = DeploymentUnitRef;
		_p->Version = Version;
		_p->CurrentState = CurrentState;
		_p->Resolved = Resolved;
		_p->ExecutionUnitRefList = ExecutionUnitRefList;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
		_p->Fault = Fault;
		_p->OperationPerformed = OperationPerformed;
	}
	return _p;
}

inline struct cwmp__AutonOpResultStruct * soap_new_set_cwmp__AutonOpResultStruct(
	struct soap *soap,
	char *UUID,
	char *DeploymentUnitRef,
	char *Version,
	enum cwmp__DeploymentUnitState CurrentState,
	enum xsd__boolean Resolved,
	char *ExecutionUnitRefList,
	time_t StartTime,
	time_t CompleteTime,
	struct cwmp__DeploymentUnitFaultStruct *Fault,
	char *OperationPerformed)
{
	struct cwmp__AutonOpResultStruct *_p = ::soap_new_cwmp__AutonOpResultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__AutonOpResultStruct(soap, _p);
		_p->UUID = UUID;
		_p->DeploymentUnitRef = DeploymentUnitRef;
		_p->Version = Version;
		_p->CurrentState = CurrentState;
		_p->Resolved = Resolved;
		_p->ExecutionUnitRefList = ExecutionUnitRefList;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
		_p->Fault = Fault;
		_p->OperationPerformed = OperationPerformed;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__AutonOpResultStruct(struct soap*, const struct cwmp__AutonOpResultStruct *, const char*, const char*);

inline int soap_write_cwmp__AutonOpResultStruct(struct soap *soap, struct cwmp__AutonOpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__AutonOpResultStruct(soap, p), 0) || ::soap_put_cwmp__AutonOpResultStruct(soap, p, "cwmp:AutonOpResultStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__AutonOpResultStruct(struct soap *soap, const char *URL, struct cwmp__AutonOpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AutonOpResultStruct(soap, p), 0) || ::soap_put_cwmp__AutonOpResultStruct(soap, p, "cwmp:AutonOpResultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__AutonOpResultStruct(struct soap *soap, const char *URL, struct cwmp__AutonOpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AutonOpResultStruct(soap, p), 0) || ::soap_put_cwmp__AutonOpResultStruct(soap, p, "cwmp:AutonOpResultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__AutonOpResultStruct(struct soap *soap, const char *URL, struct cwmp__AutonOpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AutonOpResultStruct(soap, p), 0) || ::soap_put_cwmp__AutonOpResultStruct(soap, p, "cwmp:AutonOpResultStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__AutonOpResultStruct * SOAP_FMAC4 soap_get_cwmp__AutonOpResultStruct(struct soap*, struct cwmp__AutonOpResultStruct *, const char*, const char*);

inline int soap_read_cwmp__AutonOpResultStruct(struct soap *soap, struct cwmp__AutonOpResultStruct *p)
{
	if (p)
	{	::soap_default_cwmp__AutonOpResultStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__AutonOpResultStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__AutonOpResultStruct(struct soap *soap, const char *URL, struct cwmp__AutonOpResultStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__AutonOpResultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__AutonOpResultStruct(struct soap *soap, struct cwmp__AutonOpResultStruct *p)
{
	if (::soap_read_cwmp__AutonOpResultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AutonomousDUStateChangeComplete_DEFINED
#define SOAP_TYPE__cwmp__AutonomousDUStateChangeComplete_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AutonomousDUStateChangeComplete(struct soap*, struct _cwmp__AutonomousDUStateChangeComplete *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AutonomousDUStateChangeComplete(struct soap*, const struct _cwmp__AutonomousDUStateChangeComplete *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AutonomousDUStateChangeComplete(struct soap*, const char*, int, const struct _cwmp__AutonomousDUStateChangeComplete *, const char*);
SOAP_FMAC3 struct _cwmp__AutonomousDUStateChangeComplete * SOAP_FMAC4 soap_in__cwmp__AutonomousDUStateChangeComplete(struct soap*, const char*, struct _cwmp__AutonomousDUStateChangeComplete *, const char*);
SOAP_FMAC1 struct _cwmp__AutonomousDUStateChangeComplete * SOAP_FMAC2 soap_instantiate__cwmp__AutonomousDUStateChangeComplete(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AutonomousDUStateChangeComplete * soap_new__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AutonomousDUStateChangeComplete(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AutonomousDUStateChangeComplete * soap_new_req__cwmp__AutonomousDUStateChangeComplete(
	struct soap *soap,
	int __sizeResults,
	struct cwmp__AutonOpResultStruct *Results)
{
	struct _cwmp__AutonomousDUStateChangeComplete *_p = ::soap_new__cwmp__AutonomousDUStateChangeComplete(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousDUStateChangeComplete(soap, _p);
		_p->__sizeResults = __sizeResults;
		_p->Results = Results;
	}
	return _p;
}

inline struct _cwmp__AutonomousDUStateChangeComplete * soap_new_set__cwmp__AutonomousDUStateChangeComplete(
	struct soap *soap,
	int __sizeResults,
	struct cwmp__AutonOpResultStruct *Results)
{
	struct _cwmp__AutonomousDUStateChangeComplete *_p = ::soap_new__cwmp__AutonomousDUStateChangeComplete(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousDUStateChangeComplete(soap, _p);
		_p->__sizeResults = __sizeResults;
		_p->Results = Results;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AutonomousDUStateChangeComplete(struct soap*, const struct _cwmp__AutonomousDUStateChangeComplete *, const char*, const char*);

inline int soap_write__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, struct _cwmp__AutonomousDUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AutonomousDUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeComplete(soap, p, "cwmp:AutonomousDUStateChangeComplete", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeComplete(soap, p, "cwmp:AutonomousDUStateChangeComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeComplete(soap, p, "cwmp:AutonomousDUStateChangeComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousDUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousDUStateChangeComplete(soap, p, "cwmp:AutonomousDUStateChangeComplete", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AutonomousDUStateChangeComplete * SOAP_FMAC4 soap_get__cwmp__AutonomousDUStateChangeComplete(struct soap*, struct _cwmp__AutonomousDUStateChangeComplete *, const char*, const char*);

inline int soap_read__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, struct _cwmp__AutonomousDUStateChangeComplete *p)
{
	if (p)
	{	::soap_default__cwmp__AutonomousDUStateChangeComplete(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AutonomousDUStateChangeComplete(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousDUStateChangeComplete *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AutonomousDUStateChangeComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AutonomousDUStateChangeComplete(struct soap *soap, struct _cwmp__AutonomousDUStateChangeComplete *p)
{
	if (::soap_read__cwmp__AutonomousDUStateChangeComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DUStateChangeCompleteResponse_DEFINED
#define SOAP_TYPE__cwmp__DUStateChangeCompleteResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__DUStateChangeCompleteResponse(struct soap*, struct _cwmp__DUStateChangeCompleteResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__DUStateChangeCompleteResponse(struct soap*, const struct _cwmp__DUStateChangeCompleteResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DUStateChangeCompleteResponse(struct soap*, const char*, int, const struct _cwmp__DUStateChangeCompleteResponse *, const char*);
SOAP_FMAC3 struct _cwmp__DUStateChangeCompleteResponse * SOAP_FMAC4 soap_in__cwmp__DUStateChangeCompleteResponse(struct soap*, const char*, struct _cwmp__DUStateChangeCompleteResponse *, const char*);
SOAP_FMAC1 struct _cwmp__DUStateChangeCompleteResponse * SOAP_FMAC2 soap_instantiate__cwmp__DUStateChangeCompleteResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__DUStateChangeCompleteResponse * soap_new__cwmp__DUStateChangeCompleteResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__DUStateChangeCompleteResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__DUStateChangeCompleteResponse * soap_new_req__cwmp__DUStateChangeCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__DUStateChangeCompleteResponse *_p = ::soap_new__cwmp__DUStateChangeCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DUStateChangeCompleteResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__DUStateChangeCompleteResponse * soap_new_set__cwmp__DUStateChangeCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__DUStateChangeCompleteResponse *_p = ::soap_new__cwmp__DUStateChangeCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DUStateChangeCompleteResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DUStateChangeCompleteResponse(struct soap*, const struct _cwmp__DUStateChangeCompleteResponse *, const char*, const char*);

inline int soap_write__cwmp__DUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__DUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__DUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__DUStateChangeCompleteResponse(soap, p, "cwmp:DUStateChangeCompleteResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__DUStateChangeCompleteResponse(soap, p, "cwmp:DUStateChangeCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__DUStateChangeCompleteResponse(soap, p, "cwmp:DUStateChangeCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeCompleteResponse(soap, p), 0) || ::soap_put__cwmp__DUStateChangeCompleteResponse(soap, p, "cwmp:DUStateChangeCompleteResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__DUStateChangeCompleteResponse * SOAP_FMAC4 soap_get__cwmp__DUStateChangeCompleteResponse(struct soap*, struct _cwmp__DUStateChangeCompleteResponse *, const char*, const char*);

inline int soap_read__cwmp__DUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__DUStateChangeCompleteResponse *p)
{
	if (p)
	{	::soap_default__cwmp__DUStateChangeCompleteResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__DUStateChangeCompleteResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DUStateChangeCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeCompleteResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DUStateChangeCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DUStateChangeCompleteResponse(struct soap *soap, struct _cwmp__DUStateChangeCompleteResponse *p)
{
	if (::soap_read__cwmp__DUStateChangeCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DUStateChangeComplete_DEFINED
#define SOAP_TYPE__cwmp__DUStateChangeComplete_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__DUStateChangeComplete(struct soap*, struct _cwmp__DUStateChangeComplete *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__DUStateChangeComplete(struct soap*, const struct _cwmp__DUStateChangeComplete *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DUStateChangeComplete(struct soap*, const char*, int, const struct _cwmp__DUStateChangeComplete *, const char*);
SOAP_FMAC3 struct _cwmp__DUStateChangeComplete * SOAP_FMAC4 soap_in__cwmp__DUStateChangeComplete(struct soap*, const char*, struct _cwmp__DUStateChangeComplete *, const char*);
SOAP_FMAC1 struct _cwmp__DUStateChangeComplete * SOAP_FMAC2 soap_instantiate__cwmp__DUStateChangeComplete(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__DUStateChangeComplete * soap_new__cwmp__DUStateChangeComplete(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__DUStateChangeComplete(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__DUStateChangeComplete * soap_new_req__cwmp__DUStateChangeComplete(
	struct soap *soap,
	int __sizeResults,
	struct cwmp__OpResultStruct *Results)
{
	struct _cwmp__DUStateChangeComplete *_p = ::soap_new__cwmp__DUStateChangeComplete(soap);
	if (_p)
	{	::soap_default__cwmp__DUStateChangeComplete(soap, _p);
		_p->__sizeResults = __sizeResults;
		_p->Results = Results;
	}
	return _p;
}

inline struct _cwmp__DUStateChangeComplete * soap_new_set__cwmp__DUStateChangeComplete(
	struct soap *soap,
	int __sizeResults,
	struct cwmp__OpResultStruct *Results,
	char *CommandKey)
{
	struct _cwmp__DUStateChangeComplete *_p = ::soap_new__cwmp__DUStateChangeComplete(soap);
	if (_p)
	{	::soap_default__cwmp__DUStateChangeComplete(soap, _p);
		_p->__sizeResults = __sizeResults;
		_p->Results = Results;
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DUStateChangeComplete(struct soap*, const struct _cwmp__DUStateChangeComplete *, const char*, const char*);

inline int soap_write__cwmp__DUStateChangeComplete(struct soap *soap, struct _cwmp__DUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__DUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__DUStateChangeComplete(soap, p, "cwmp:DUStateChangeComplete", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__DUStateChangeComplete(soap, p, "cwmp:DUStateChangeComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__DUStateChangeComplete(soap, p, "cwmp:DUStateChangeComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeComplete const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DUStateChangeComplete(soap, p), 0) || ::soap_put__cwmp__DUStateChangeComplete(soap, p, "cwmp:DUStateChangeComplete", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__DUStateChangeComplete * SOAP_FMAC4 soap_get__cwmp__DUStateChangeComplete(struct soap*, struct _cwmp__DUStateChangeComplete *, const char*, const char*);

inline int soap_read__cwmp__DUStateChangeComplete(struct soap *soap, struct _cwmp__DUStateChangeComplete *p)
{
	if (p)
	{	::soap_default__cwmp__DUStateChangeComplete(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__DUStateChangeComplete(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DUStateChangeComplete(struct soap *soap, const char *URL, struct _cwmp__DUStateChangeComplete *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DUStateChangeComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DUStateChangeComplete(struct soap *soap, struct _cwmp__DUStateChangeComplete *p)
{
	if (::soap_read__cwmp__DUStateChangeComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__RequestDownloadResponse_DEFINED
#define SOAP_TYPE__cwmp__RequestDownloadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__RequestDownloadResponse(struct soap*, struct _cwmp__RequestDownloadResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__RequestDownloadResponse(struct soap*, const struct _cwmp__RequestDownloadResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__RequestDownloadResponse(struct soap*, const char*, int, const struct _cwmp__RequestDownloadResponse *, const char*);
SOAP_FMAC3 struct _cwmp__RequestDownloadResponse * SOAP_FMAC4 soap_in__cwmp__RequestDownloadResponse(struct soap*, const char*, struct _cwmp__RequestDownloadResponse *, const char*);
SOAP_FMAC1 struct _cwmp__RequestDownloadResponse * SOAP_FMAC2 soap_instantiate__cwmp__RequestDownloadResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__RequestDownloadResponse * soap_new__cwmp__RequestDownloadResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__RequestDownloadResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__RequestDownloadResponse * soap_new_req__cwmp__RequestDownloadResponse(
	struct soap *soap)
{
	struct _cwmp__RequestDownloadResponse *_p = ::soap_new__cwmp__RequestDownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__RequestDownloadResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__RequestDownloadResponse * soap_new_set__cwmp__RequestDownloadResponse(
	struct soap *soap)
{
	struct _cwmp__RequestDownloadResponse *_p = ::soap_new__cwmp__RequestDownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__RequestDownloadResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__RequestDownloadResponse(struct soap*, const struct _cwmp__RequestDownloadResponse *, const char*, const char*);

inline int soap_write__cwmp__RequestDownloadResponse(struct soap *soap, struct _cwmp__RequestDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__RequestDownloadResponse(soap, p), 0) || ::soap_put__cwmp__RequestDownloadResponse(soap, p, "cwmp:RequestDownloadResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__RequestDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__RequestDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownloadResponse(soap, p), 0) || ::soap_put__cwmp__RequestDownloadResponse(soap, p, "cwmp:RequestDownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__RequestDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__RequestDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownloadResponse(soap, p), 0) || ::soap_put__cwmp__RequestDownloadResponse(soap, p, "cwmp:RequestDownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__RequestDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__RequestDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownloadResponse(soap, p), 0) || ::soap_put__cwmp__RequestDownloadResponse(soap, p, "cwmp:RequestDownloadResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__RequestDownloadResponse * SOAP_FMAC4 soap_get__cwmp__RequestDownloadResponse(struct soap*, struct _cwmp__RequestDownloadResponse *, const char*, const char*);

inline int soap_read__cwmp__RequestDownloadResponse(struct soap *soap, struct _cwmp__RequestDownloadResponse *p)
{
	if (p)
	{	::soap_default__cwmp__RequestDownloadResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__RequestDownloadResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__RequestDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__RequestDownloadResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__RequestDownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__RequestDownloadResponse(struct soap *soap, struct _cwmp__RequestDownloadResponse *p)
{
	if (::soap_read__cwmp__RequestDownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_FileTypeArg_DEFINED
#define SOAP_TYPE_FileTypeArg_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_FileTypeArg(struct soap*, struct FileTypeArg *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_FileTypeArg(struct soap*, const struct FileTypeArg *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_FileTypeArg(struct soap*, const char*, int, const struct FileTypeArg *, const char*);
SOAP_FMAC3 struct FileTypeArg * SOAP_FMAC4 soap_in_FileTypeArg(struct soap*, const char*, struct FileTypeArg *, const char*);
SOAP_FMAC1 struct FileTypeArg * SOAP_FMAC2 soap_instantiate_FileTypeArg(struct soap*, int, const char*, const char*, size_t*);

inline struct FileTypeArg * soap_new_FileTypeArg(struct soap *soap, int n = -1)
{
	return soap_instantiate_FileTypeArg(soap, n, NULL, NULL, NULL);
}

inline struct FileTypeArg * soap_new_req_FileTypeArg(
	struct soap *soap)
{
	struct FileTypeArg *_p = ::soap_new_FileTypeArg(soap);
	if (_p)
	{	::soap_default_FileTypeArg(soap, _p);
	}
	return _p;
}

inline struct FileTypeArg * soap_new_set_FileTypeArg(
	struct soap *soap,
	struct cwmp__ArgStruct **__ptrArgStruct,
	int __size)
{
	struct FileTypeArg *_p = ::soap_new_FileTypeArg(soap);
	if (_p)
	{	::soap_default_FileTypeArg(soap, _p);
		_p->__ptrArgStruct = __ptrArgStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_FileTypeArg(struct soap*, const struct FileTypeArg *, const char*, const char*);

inline int soap_write_FileTypeArg(struct soap *soap, struct FileTypeArg const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_FileTypeArg(soap, p), 0) || ::soap_put_FileTypeArg(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_FileTypeArg(struct soap *soap, const char *URL, struct FileTypeArg const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_FileTypeArg(soap, p), 0) || ::soap_put_FileTypeArg(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_FileTypeArg(struct soap *soap, const char *URL, struct FileTypeArg const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_FileTypeArg(soap, p), 0) || ::soap_put_FileTypeArg(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_FileTypeArg(struct soap *soap, const char *URL, struct FileTypeArg const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_FileTypeArg(soap, p), 0) || ::soap_put_FileTypeArg(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct FileTypeArg * SOAP_FMAC4 soap_get_FileTypeArg(struct soap*, struct FileTypeArg *, const char*, const char*);

inline int soap_read_FileTypeArg(struct soap *soap, struct FileTypeArg *p)
{
	if (p)
	{	::soap_default_FileTypeArg(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_FileTypeArg(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_FileTypeArg(struct soap *soap, const char *URL, struct FileTypeArg *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_FileTypeArg(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_FileTypeArg(struct soap *soap, struct FileTypeArg *p)
{
	if (::soap_read_FileTypeArg(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__RequestDownload_DEFINED
#define SOAP_TYPE__cwmp__RequestDownload_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__RequestDownload(struct soap*, struct _cwmp__RequestDownload *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__RequestDownload(struct soap*, const struct _cwmp__RequestDownload *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__RequestDownload(struct soap*, const char*, int, const struct _cwmp__RequestDownload *, const char*);
SOAP_FMAC3 struct _cwmp__RequestDownload * SOAP_FMAC4 soap_in__cwmp__RequestDownload(struct soap*, const char*, struct _cwmp__RequestDownload *, const char*);
SOAP_FMAC1 struct _cwmp__RequestDownload * SOAP_FMAC2 soap_instantiate__cwmp__RequestDownload(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__RequestDownload * soap_new__cwmp__RequestDownload(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__RequestDownload(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__RequestDownload * soap_new_req__cwmp__RequestDownload(
	struct soap *soap,
	char *FileType,
	struct FileTypeArg *FileTypeArg)
{
	struct _cwmp__RequestDownload *_p = ::soap_new__cwmp__RequestDownload(soap);
	if (_p)
	{	::soap_default__cwmp__RequestDownload(soap, _p);
		_p->FileType = FileType;
		_p->FileTypeArg = FileTypeArg;
	}
	return _p;
}

inline struct _cwmp__RequestDownload * soap_new_set__cwmp__RequestDownload(
	struct soap *soap,
	char *FileType,
	struct FileTypeArg *FileTypeArg)
{
	struct _cwmp__RequestDownload *_p = ::soap_new__cwmp__RequestDownload(soap);
	if (_p)
	{	::soap_default__cwmp__RequestDownload(soap, _p);
		_p->FileType = FileType;
		_p->FileTypeArg = FileTypeArg;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__RequestDownload(struct soap*, const struct _cwmp__RequestDownload *, const char*, const char*);

inline int soap_write__cwmp__RequestDownload(struct soap *soap, struct _cwmp__RequestDownload const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__RequestDownload(soap, p), 0) || ::soap_put__cwmp__RequestDownload(soap, p, "cwmp:RequestDownload", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__RequestDownload(struct soap *soap, const char *URL, struct _cwmp__RequestDownload const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownload(soap, p), 0) || ::soap_put__cwmp__RequestDownload(soap, p, "cwmp:RequestDownload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__RequestDownload(struct soap *soap, const char *URL, struct _cwmp__RequestDownload const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownload(soap, p), 0) || ::soap_put__cwmp__RequestDownload(soap, p, "cwmp:RequestDownload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__RequestDownload(struct soap *soap, const char *URL, struct _cwmp__RequestDownload const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RequestDownload(soap, p), 0) || ::soap_put__cwmp__RequestDownload(soap, p, "cwmp:RequestDownload", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__RequestDownload * SOAP_FMAC4 soap_get__cwmp__RequestDownload(struct soap*, struct _cwmp__RequestDownload *, const char*, const char*);

inline int soap_read__cwmp__RequestDownload(struct soap *soap, struct _cwmp__RequestDownload *p)
{
	if (p)
	{	::soap_default__cwmp__RequestDownload(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__RequestDownload(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__RequestDownload(struct soap *soap, const char *URL, struct _cwmp__RequestDownload *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__RequestDownload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__RequestDownload(struct soap *soap, struct _cwmp__RequestDownload *p)
{
	if (::soap_read__cwmp__RequestDownload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__KickedResponse_DEFINED
#define SOAP_TYPE__cwmp__KickedResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__KickedResponse(struct soap*, struct _cwmp__KickedResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__KickedResponse(struct soap*, const struct _cwmp__KickedResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__KickedResponse(struct soap*, const char*, int, const struct _cwmp__KickedResponse *, const char*);
SOAP_FMAC3 struct _cwmp__KickedResponse * SOAP_FMAC4 soap_in__cwmp__KickedResponse(struct soap*, const char*, struct _cwmp__KickedResponse *, const char*);
SOAP_FMAC1 struct _cwmp__KickedResponse * SOAP_FMAC2 soap_instantiate__cwmp__KickedResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__KickedResponse * soap_new__cwmp__KickedResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__KickedResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__KickedResponse * soap_new_req__cwmp__KickedResponse(
	struct soap *soap,
	char *NextURL)
{
	struct _cwmp__KickedResponse *_p = ::soap_new__cwmp__KickedResponse(soap);
	if (_p)
	{	::soap_default__cwmp__KickedResponse(soap, _p);
		_p->NextURL = NextURL;
	}
	return _p;
}

inline struct _cwmp__KickedResponse * soap_new_set__cwmp__KickedResponse(
	struct soap *soap,
	char *NextURL)
{
	struct _cwmp__KickedResponse *_p = ::soap_new__cwmp__KickedResponse(soap);
	if (_p)
	{	::soap_default__cwmp__KickedResponse(soap, _p);
		_p->NextURL = NextURL;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__KickedResponse(struct soap*, const struct _cwmp__KickedResponse *, const char*, const char*);

inline int soap_write__cwmp__KickedResponse(struct soap *soap, struct _cwmp__KickedResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__KickedResponse(soap, p), 0) || ::soap_put__cwmp__KickedResponse(soap, p, "cwmp:KickedResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__KickedResponse(struct soap *soap, const char *URL, struct _cwmp__KickedResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__KickedResponse(soap, p), 0) || ::soap_put__cwmp__KickedResponse(soap, p, "cwmp:KickedResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__KickedResponse(struct soap *soap, const char *URL, struct _cwmp__KickedResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__KickedResponse(soap, p), 0) || ::soap_put__cwmp__KickedResponse(soap, p, "cwmp:KickedResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__KickedResponse(struct soap *soap, const char *URL, struct _cwmp__KickedResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__KickedResponse(soap, p), 0) || ::soap_put__cwmp__KickedResponse(soap, p, "cwmp:KickedResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__KickedResponse * SOAP_FMAC4 soap_get__cwmp__KickedResponse(struct soap*, struct _cwmp__KickedResponse *, const char*, const char*);

inline int soap_read__cwmp__KickedResponse(struct soap *soap, struct _cwmp__KickedResponse *p)
{
	if (p)
	{	::soap_default__cwmp__KickedResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__KickedResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__KickedResponse(struct soap *soap, const char *URL, struct _cwmp__KickedResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__KickedResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__KickedResponse(struct soap *soap, struct _cwmp__KickedResponse *p)
{
	if (::soap_read__cwmp__KickedResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Kicked_DEFINED
#define SOAP_TYPE__cwmp__Kicked_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Kicked(struct soap*, struct _cwmp__Kicked *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Kicked(struct soap*, const struct _cwmp__Kicked *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Kicked(struct soap*, const char*, int, const struct _cwmp__Kicked *, const char*);
SOAP_FMAC3 struct _cwmp__Kicked * SOAP_FMAC4 soap_in__cwmp__Kicked(struct soap*, const char*, struct _cwmp__Kicked *, const char*);
SOAP_FMAC1 struct _cwmp__Kicked * SOAP_FMAC2 soap_instantiate__cwmp__Kicked(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Kicked * soap_new__cwmp__Kicked(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Kicked(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Kicked * soap_new_req__cwmp__Kicked(
	struct soap *soap,
	char *Command,
	char *Referer,
	char *Arg,
	char *Next)
{
	struct _cwmp__Kicked *_p = ::soap_new__cwmp__Kicked(soap);
	if (_p)
	{	::soap_default__cwmp__Kicked(soap, _p);
		_p->Command = Command;
		_p->Referer = Referer;
		_p->Arg = Arg;
		_p->Next = Next;
	}
	return _p;
}

inline struct _cwmp__Kicked * soap_new_set__cwmp__Kicked(
	struct soap *soap,
	char *Command,
	char *Referer,
	char *Arg,
	char *Next)
{
	struct _cwmp__Kicked *_p = ::soap_new__cwmp__Kicked(soap);
	if (_p)
	{	::soap_default__cwmp__Kicked(soap, _p);
		_p->Command = Command;
		_p->Referer = Referer;
		_p->Arg = Arg;
		_p->Next = Next;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Kicked(struct soap*, const struct _cwmp__Kicked *, const char*, const char*);

inline int soap_write__cwmp__Kicked(struct soap *soap, struct _cwmp__Kicked const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Kicked(soap, p), 0) || ::soap_put__cwmp__Kicked(soap, p, "cwmp:Kicked", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Kicked(struct soap *soap, const char *URL, struct _cwmp__Kicked const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Kicked(soap, p), 0) || ::soap_put__cwmp__Kicked(soap, p, "cwmp:Kicked", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Kicked(struct soap *soap, const char *URL, struct _cwmp__Kicked const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Kicked(soap, p), 0) || ::soap_put__cwmp__Kicked(soap, p, "cwmp:Kicked", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Kicked(struct soap *soap, const char *URL, struct _cwmp__Kicked const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Kicked(soap, p), 0) || ::soap_put__cwmp__Kicked(soap, p, "cwmp:Kicked", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Kicked * SOAP_FMAC4 soap_get__cwmp__Kicked(struct soap*, struct _cwmp__Kicked *, const char*, const char*);

inline int soap_read__cwmp__Kicked(struct soap *soap, struct _cwmp__Kicked *p)
{
	if (p)
	{	::soap_default__cwmp__Kicked(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Kicked(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Kicked(struct soap *soap, const char *URL, struct _cwmp__Kicked *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Kicked(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Kicked(struct soap *soap, struct _cwmp__Kicked *p)
{
	if (::soap_read__cwmp__Kicked(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AutonomousTransferCompleteResponse_DEFINED
#define SOAP_TYPE__cwmp__AutonomousTransferCompleteResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AutonomousTransferCompleteResponse(struct soap*, struct _cwmp__AutonomousTransferCompleteResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AutonomousTransferCompleteResponse(struct soap*, const struct _cwmp__AutonomousTransferCompleteResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AutonomousTransferCompleteResponse(struct soap*, const char*, int, const struct _cwmp__AutonomousTransferCompleteResponse *, const char*);
SOAP_FMAC3 struct _cwmp__AutonomousTransferCompleteResponse * SOAP_FMAC4 soap_in__cwmp__AutonomousTransferCompleteResponse(struct soap*, const char*, struct _cwmp__AutonomousTransferCompleteResponse *, const char*);
SOAP_FMAC1 struct _cwmp__AutonomousTransferCompleteResponse * SOAP_FMAC2 soap_instantiate__cwmp__AutonomousTransferCompleteResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AutonomousTransferCompleteResponse * soap_new__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AutonomousTransferCompleteResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AutonomousTransferCompleteResponse * soap_new_req__cwmp__AutonomousTransferCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__AutonomousTransferCompleteResponse *_p = ::soap_new__cwmp__AutonomousTransferCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousTransferCompleteResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__AutonomousTransferCompleteResponse * soap_new_set__cwmp__AutonomousTransferCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__AutonomousTransferCompleteResponse *_p = ::soap_new__cwmp__AutonomousTransferCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousTransferCompleteResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AutonomousTransferCompleteResponse(struct soap*, const struct _cwmp__AutonomousTransferCompleteResponse *, const char*, const char*);

inline int soap_write__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, struct _cwmp__AutonomousTransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AutonomousTransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferCompleteResponse(soap, p, "cwmp:AutonomousTransferCompleteResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferCompleteResponse(soap, p, "cwmp:AutonomousTransferCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferCompleteResponse(soap, p, "cwmp:AutonomousTransferCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferCompleteResponse(soap, p, "cwmp:AutonomousTransferCompleteResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AutonomousTransferCompleteResponse * SOAP_FMAC4 soap_get__cwmp__AutonomousTransferCompleteResponse(struct soap*, struct _cwmp__AutonomousTransferCompleteResponse *, const char*, const char*);

inline int soap_read__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, struct _cwmp__AutonomousTransferCompleteResponse *p)
{
	if (p)
	{	::soap_default__cwmp__AutonomousTransferCompleteResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AutonomousTransferCompleteResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferCompleteResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AutonomousTransferCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AutonomousTransferCompleteResponse(struct soap *soap, struct _cwmp__AutonomousTransferCompleteResponse *p)
{
	if (::soap_read__cwmp__AutonomousTransferCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AutonomousTransferComplete_DEFINED
#define SOAP_TYPE__cwmp__AutonomousTransferComplete_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AutonomousTransferComplete(struct soap*, struct _cwmp__AutonomousTransferComplete *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AutonomousTransferComplete(struct soap*, const struct _cwmp__AutonomousTransferComplete *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AutonomousTransferComplete(struct soap*, const char*, int, const struct _cwmp__AutonomousTransferComplete *, const char*);
SOAP_FMAC3 struct _cwmp__AutonomousTransferComplete * SOAP_FMAC4 soap_in__cwmp__AutonomousTransferComplete(struct soap*, const char*, struct _cwmp__AutonomousTransferComplete *, const char*);
SOAP_FMAC1 struct _cwmp__AutonomousTransferComplete * SOAP_FMAC2 soap_instantiate__cwmp__AutonomousTransferComplete(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AutonomousTransferComplete * soap_new__cwmp__AutonomousTransferComplete(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AutonomousTransferComplete(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AutonomousTransferComplete * soap_new_req__cwmp__AutonomousTransferComplete(
	struct soap *soap,
	char *AnnounceURL,
	char *TransferURL,
	enum xsd__boolean IsDownload,
	char *FileType,
	unsigned int FileSize,
	char *TargetFileName,
	struct cwmp__TransferCompleteFaultStruct *FaultStruct,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__AutonomousTransferComplete *_p = ::soap_new__cwmp__AutonomousTransferComplete(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousTransferComplete(soap, _p);
		_p->AnnounceURL = AnnounceURL;
		_p->TransferURL = TransferURL;
		_p->IsDownload = IsDownload;
		_p->FileType = FileType;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->FaultStruct = FaultStruct;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}

inline struct _cwmp__AutonomousTransferComplete * soap_new_set__cwmp__AutonomousTransferComplete(
	struct soap *soap,
	char *AnnounceURL,
	char *TransferURL,
	enum xsd__boolean IsDownload,
	char *FileType,
	unsigned int FileSize,
	char *TargetFileName,
	struct cwmp__TransferCompleteFaultStruct *FaultStruct,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__AutonomousTransferComplete *_p = ::soap_new__cwmp__AutonomousTransferComplete(soap);
	if (_p)
	{	::soap_default__cwmp__AutonomousTransferComplete(soap, _p);
		_p->AnnounceURL = AnnounceURL;
		_p->TransferURL = TransferURL;
		_p->IsDownload = IsDownload;
		_p->FileType = FileType;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->FaultStruct = FaultStruct;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AutonomousTransferComplete(struct soap*, const struct _cwmp__AutonomousTransferComplete *, const char*, const char*);

inline int soap_write__cwmp__AutonomousTransferComplete(struct soap *soap, struct _cwmp__AutonomousTransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AutonomousTransferComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferComplete(soap, p, "cwmp:AutonomousTransferComplete", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AutonomousTransferComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferComplete(soap, p, "cwmp:AutonomousTransferComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AutonomousTransferComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferComplete(soap, p, "cwmp:AutonomousTransferComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AutonomousTransferComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AutonomousTransferComplete(soap, p), 0) || ::soap_put__cwmp__AutonomousTransferComplete(soap, p, "cwmp:AutonomousTransferComplete", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AutonomousTransferComplete * SOAP_FMAC4 soap_get__cwmp__AutonomousTransferComplete(struct soap*, struct _cwmp__AutonomousTransferComplete *, const char*, const char*);

inline int soap_read__cwmp__AutonomousTransferComplete(struct soap *soap, struct _cwmp__AutonomousTransferComplete *p)
{
	if (p)
	{	::soap_default__cwmp__AutonomousTransferComplete(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AutonomousTransferComplete(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AutonomousTransferComplete(struct soap *soap, const char *URL, struct _cwmp__AutonomousTransferComplete *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AutonomousTransferComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AutonomousTransferComplete(struct soap *soap, struct _cwmp__AutonomousTransferComplete *p)
{
	if (::soap_read__cwmp__AutonomousTransferComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__TransferCompleteResponse_DEFINED
#define SOAP_TYPE__cwmp__TransferCompleteResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__TransferCompleteResponse(struct soap*, struct _cwmp__TransferCompleteResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__TransferCompleteResponse(struct soap*, const struct _cwmp__TransferCompleteResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__TransferCompleteResponse(struct soap*, const char*, int, const struct _cwmp__TransferCompleteResponse *, const char*);
SOAP_FMAC3 struct _cwmp__TransferCompleteResponse * SOAP_FMAC4 soap_in__cwmp__TransferCompleteResponse(struct soap*, const char*, struct _cwmp__TransferCompleteResponse *, const char*);
SOAP_FMAC1 struct _cwmp__TransferCompleteResponse * SOAP_FMAC2 soap_instantiate__cwmp__TransferCompleteResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__TransferCompleteResponse * soap_new__cwmp__TransferCompleteResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__TransferCompleteResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__TransferCompleteResponse * soap_new_req__cwmp__TransferCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__TransferCompleteResponse *_p = ::soap_new__cwmp__TransferCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__TransferCompleteResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__TransferCompleteResponse * soap_new_set__cwmp__TransferCompleteResponse(
	struct soap *soap)
{
	struct _cwmp__TransferCompleteResponse *_p = ::soap_new__cwmp__TransferCompleteResponse(soap);
	if (_p)
	{	::soap_default__cwmp__TransferCompleteResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__TransferCompleteResponse(struct soap*, const struct _cwmp__TransferCompleteResponse *, const char*, const char*);

inline int soap_write__cwmp__TransferCompleteResponse(struct soap *soap, struct _cwmp__TransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__TransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__TransferCompleteResponse(soap, p, "cwmp:TransferCompleteResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__TransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__TransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__TransferCompleteResponse(soap, p, "cwmp:TransferCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__TransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__TransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__TransferCompleteResponse(soap, p, "cwmp:TransferCompleteResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__TransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__TransferCompleteResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferCompleteResponse(soap, p), 0) || ::soap_put__cwmp__TransferCompleteResponse(soap, p, "cwmp:TransferCompleteResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__TransferCompleteResponse * SOAP_FMAC4 soap_get__cwmp__TransferCompleteResponse(struct soap*, struct _cwmp__TransferCompleteResponse *, const char*, const char*);

inline int soap_read__cwmp__TransferCompleteResponse(struct soap *soap, struct _cwmp__TransferCompleteResponse *p)
{
	if (p)
	{	::soap_default__cwmp__TransferCompleteResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__TransferCompleteResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__TransferCompleteResponse(struct soap *soap, const char *URL, struct _cwmp__TransferCompleteResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__TransferCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__TransferCompleteResponse(struct soap *soap, struct _cwmp__TransferCompleteResponse *p)
{
	if (::soap_read__cwmp__TransferCompleteResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__TransferComplete_DEFINED
#define SOAP_TYPE__cwmp__TransferComplete_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__TransferComplete(struct soap*, struct _cwmp__TransferComplete *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__TransferComplete(struct soap*, const struct _cwmp__TransferComplete *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__TransferComplete(struct soap*, const char*, int, const struct _cwmp__TransferComplete *, const char*);
SOAP_FMAC3 struct _cwmp__TransferComplete * SOAP_FMAC4 soap_in__cwmp__TransferComplete(struct soap*, const char*, struct _cwmp__TransferComplete *, const char*);
SOAP_FMAC1 struct _cwmp__TransferComplete * SOAP_FMAC2 soap_instantiate__cwmp__TransferComplete(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__TransferComplete * soap_new__cwmp__TransferComplete(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__TransferComplete(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__TransferComplete * soap_new_req__cwmp__TransferComplete(
	struct soap *soap,
	char *CommandKey,
	struct cwmp__TransferCompleteFaultStruct *FaultStruct,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__TransferComplete *_p = ::soap_new__cwmp__TransferComplete(soap);
	if (_p)
	{	::soap_default__cwmp__TransferComplete(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FaultStruct = FaultStruct;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}

inline struct _cwmp__TransferComplete * soap_new_set__cwmp__TransferComplete(
	struct soap *soap,
	char *CommandKey,
	struct cwmp__TransferCompleteFaultStruct *FaultStruct,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__TransferComplete *_p = ::soap_new__cwmp__TransferComplete(soap);
	if (_p)
	{	::soap_default__cwmp__TransferComplete(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FaultStruct = FaultStruct;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__TransferComplete(struct soap*, const struct _cwmp__TransferComplete *, const char*, const char*);

inline int soap_write__cwmp__TransferComplete(struct soap *soap, struct _cwmp__TransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__TransferComplete(soap, p), 0) || ::soap_put__cwmp__TransferComplete(soap, p, "cwmp:TransferComplete", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__TransferComplete(struct soap *soap, const char *URL, struct _cwmp__TransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferComplete(soap, p), 0) || ::soap_put__cwmp__TransferComplete(soap, p, "cwmp:TransferComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__TransferComplete(struct soap *soap, const char *URL, struct _cwmp__TransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferComplete(soap, p), 0) || ::soap_put__cwmp__TransferComplete(soap, p, "cwmp:TransferComplete", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__TransferComplete(struct soap *soap, const char *URL, struct _cwmp__TransferComplete const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__TransferComplete(soap, p), 0) || ::soap_put__cwmp__TransferComplete(soap, p, "cwmp:TransferComplete", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__TransferComplete * SOAP_FMAC4 soap_get__cwmp__TransferComplete(struct soap*, struct _cwmp__TransferComplete *, const char*, const char*);

inline int soap_read__cwmp__TransferComplete(struct soap *soap, struct _cwmp__TransferComplete *p)
{
	if (p)
	{	::soap_default__cwmp__TransferComplete(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__TransferComplete(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__TransferComplete(struct soap *soap, const char *URL, struct _cwmp__TransferComplete *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__TransferComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__TransferComplete(struct soap *soap, struct _cwmp__TransferComplete *p)
{
	if (::soap_read__cwmp__TransferComplete(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__InformResponse_DEFINED
#define SOAP_TYPE__cwmp__InformResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__InformResponse(struct soap*, struct _cwmp__InformResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__InformResponse(struct soap*, const struct _cwmp__InformResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__InformResponse(struct soap*, const char*, int, const struct _cwmp__InformResponse *, const char*);
SOAP_FMAC3 struct _cwmp__InformResponse * SOAP_FMAC4 soap_in__cwmp__InformResponse(struct soap*, const char*, struct _cwmp__InformResponse *, const char*);
SOAP_FMAC1 struct _cwmp__InformResponse * SOAP_FMAC2 soap_instantiate__cwmp__InformResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__InformResponse * soap_new__cwmp__InformResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__InformResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__InformResponse * soap_new_req__cwmp__InformResponse(
	struct soap *soap,
	unsigned int MaxEnvelopes)
{
	struct _cwmp__InformResponse *_p = ::soap_new__cwmp__InformResponse(soap);
	if (_p)
	{	::soap_default__cwmp__InformResponse(soap, _p);
		_p->MaxEnvelopes = MaxEnvelopes;
	}
	return _p;
}

inline struct _cwmp__InformResponse * soap_new_set__cwmp__InformResponse(
	struct soap *soap,
	unsigned int MaxEnvelopes)
{
	struct _cwmp__InformResponse *_p = ::soap_new__cwmp__InformResponse(soap);
	if (_p)
	{	::soap_default__cwmp__InformResponse(soap, _p);
		_p->MaxEnvelopes = MaxEnvelopes;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__InformResponse(struct soap*, const struct _cwmp__InformResponse *, const char*, const char*);

inline int soap_write__cwmp__InformResponse(struct soap *soap, struct _cwmp__InformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__InformResponse(soap, p), 0) || ::soap_put__cwmp__InformResponse(soap, p, "cwmp:InformResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__InformResponse(struct soap *soap, const char *URL, struct _cwmp__InformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__InformResponse(soap, p), 0) || ::soap_put__cwmp__InformResponse(soap, p, "cwmp:InformResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__InformResponse(struct soap *soap, const char *URL, struct _cwmp__InformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__InformResponse(soap, p), 0) || ::soap_put__cwmp__InformResponse(soap, p, "cwmp:InformResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__InformResponse(struct soap *soap, const char *URL, struct _cwmp__InformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__InformResponse(soap, p), 0) || ::soap_put__cwmp__InformResponse(soap, p, "cwmp:InformResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__InformResponse * SOAP_FMAC4 soap_get__cwmp__InformResponse(struct soap*, struct _cwmp__InformResponse *, const char*, const char*);

inline int soap_read__cwmp__InformResponse(struct soap *soap, struct _cwmp__InformResponse *p)
{
	if (p)
	{	::soap_default__cwmp__InformResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__InformResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__InformResponse(struct soap *soap, const char *URL, struct _cwmp__InformResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__InformResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__InformResponse(struct soap *soap, struct _cwmp__InformResponse *p)
{
	if (::soap_read__cwmp__InformResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_EventList_DEFINED
#define SOAP_TYPE_EventList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_EventList(struct soap*, struct EventList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_EventList(struct soap*, const struct EventList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_EventList(struct soap*, const char*, int, const struct EventList *, const char*);
SOAP_FMAC3 struct EventList * SOAP_FMAC4 soap_in_EventList(struct soap*, const char*, struct EventList *, const char*);
SOAP_FMAC1 struct EventList * SOAP_FMAC2 soap_instantiate_EventList(struct soap*, int, const char*, const char*, size_t*);

inline struct EventList * soap_new_EventList(struct soap *soap, int n = -1)
{
	return soap_instantiate_EventList(soap, n, NULL, NULL, NULL);
}

inline struct EventList * soap_new_req_EventList(
	struct soap *soap)
{
	struct EventList *_p = ::soap_new_EventList(soap);
	if (_p)
	{	::soap_default_EventList(soap, _p);
	}
	return _p;
}

inline struct EventList * soap_new_set_EventList(
	struct soap *soap,
	struct cwmp__EventStruct **__ptrEventStruct,
	int __size)
{
	struct EventList *_p = ::soap_new_EventList(soap);
	if (_p)
	{	::soap_default_EventList(soap, _p);
		_p->__ptrEventStruct = __ptrEventStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_EventList(struct soap*, const struct EventList *, const char*, const char*);

inline int soap_write_EventList(struct soap *soap, struct EventList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_EventList(soap, p), 0) || ::soap_put_EventList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_EventList(struct soap *soap, const char *URL, struct EventList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_EventList(soap, p), 0) || ::soap_put_EventList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_EventList(struct soap *soap, const char *URL, struct EventList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_EventList(soap, p), 0) || ::soap_put_EventList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_EventList(struct soap *soap, const char *URL, struct EventList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_EventList(soap, p), 0) || ::soap_put_EventList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct EventList * SOAP_FMAC4 soap_get_EventList(struct soap*, struct EventList *, const char*, const char*);

inline int soap_read_EventList(struct soap *soap, struct EventList *p)
{
	if (p)
	{	::soap_default_EventList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_EventList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_EventList(struct soap *soap, const char *URL, struct EventList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_EventList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_EventList(struct soap *soap, struct EventList *p)
{
	if (::soap_read_EventList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Inform_DEFINED
#define SOAP_TYPE__cwmp__Inform_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Inform(struct soap*, struct _cwmp__Inform *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Inform(struct soap*, const struct _cwmp__Inform *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Inform(struct soap*, const char*, int, const struct _cwmp__Inform *, const char*);
SOAP_FMAC3 struct _cwmp__Inform * SOAP_FMAC4 soap_in__cwmp__Inform(struct soap*, const char*, struct _cwmp__Inform *, const char*);
SOAP_FMAC1 struct _cwmp__Inform * SOAP_FMAC2 soap_instantiate__cwmp__Inform(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Inform * soap_new__cwmp__Inform(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Inform(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Inform * soap_new_req__cwmp__Inform(
	struct soap *soap,
	struct cwmp__DeviceIdStruct *DeviceId,
	struct EventList *Event,
	unsigned int MaxEnvelopes,
	time_t CurrentTime,
	unsigned int RetryCount,
	struct ParameterValueList *ParameterList)
{
	struct _cwmp__Inform *_p = ::soap_new__cwmp__Inform(soap);
	if (_p)
	{	::soap_default__cwmp__Inform(soap, _p);
		_p->DeviceId = DeviceId;
		_p->Event = Event;
		_p->MaxEnvelopes = MaxEnvelopes;
		_p->CurrentTime = CurrentTime;
		_p->RetryCount = RetryCount;
		_p->ParameterList = ParameterList;
	}
	return _p;
}

inline struct _cwmp__Inform * soap_new_set__cwmp__Inform(
	struct soap *soap,
	struct cwmp__DeviceIdStruct *DeviceId,
	struct EventList *Event,
	unsigned int MaxEnvelopes,
	time_t CurrentTime,
	unsigned int RetryCount,
	struct ParameterValueList *ParameterList)
{
	struct _cwmp__Inform *_p = ::soap_new__cwmp__Inform(soap);
	if (_p)
	{	::soap_default__cwmp__Inform(soap, _p);
		_p->DeviceId = DeviceId;
		_p->Event = Event;
		_p->MaxEnvelopes = MaxEnvelopes;
		_p->CurrentTime = CurrentTime;
		_p->RetryCount = RetryCount;
		_p->ParameterList = ParameterList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Inform(struct soap*, const struct _cwmp__Inform *, const char*, const char*);

inline int soap_write__cwmp__Inform(struct soap *soap, struct _cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Inform(soap, p), 0) || ::soap_put__cwmp__Inform(soap, p, "cwmp:Inform", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Inform(struct soap *soap, const char *URL, struct _cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Inform(soap, p), 0) || ::soap_put__cwmp__Inform(soap, p, "cwmp:Inform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Inform(struct soap *soap, const char *URL, struct _cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Inform(soap, p), 0) || ::soap_put__cwmp__Inform(soap, p, "cwmp:Inform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Inform(struct soap *soap, const char *URL, struct _cwmp__Inform const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Inform(soap, p), 0) || ::soap_put__cwmp__Inform(soap, p, "cwmp:Inform", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Inform * SOAP_FMAC4 soap_get__cwmp__Inform(struct soap*, struct _cwmp__Inform *, const char*, const char*);

inline int soap_read__cwmp__Inform(struct soap *soap, struct _cwmp__Inform *p)
{
	if (p)
	{	::soap_default__cwmp__Inform(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Inform(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Inform(struct soap *soap, const char *URL, struct _cwmp__Inform *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Inform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Inform(struct soap *soap, struct _cwmp__Inform *p)
{
	if (::soap_read__cwmp__Inform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ChangeDUStateResponse_DEFINED
#define SOAP_TYPE__cwmp__ChangeDUStateResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ChangeDUStateResponse(struct soap*, struct _cwmp__ChangeDUStateResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ChangeDUStateResponse(struct soap*, const struct _cwmp__ChangeDUStateResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ChangeDUStateResponse(struct soap*, const char*, int, const struct _cwmp__ChangeDUStateResponse *, const char*);
SOAP_FMAC3 struct _cwmp__ChangeDUStateResponse * SOAP_FMAC4 soap_in__cwmp__ChangeDUStateResponse(struct soap*, const char*, struct _cwmp__ChangeDUStateResponse *, const char*);
SOAP_FMAC1 struct _cwmp__ChangeDUStateResponse * SOAP_FMAC2 soap_instantiate__cwmp__ChangeDUStateResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ChangeDUStateResponse * soap_new__cwmp__ChangeDUStateResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ChangeDUStateResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ChangeDUStateResponse * soap_new_req__cwmp__ChangeDUStateResponse(
	struct soap *soap)
{
	struct _cwmp__ChangeDUStateResponse *_p = ::soap_new__cwmp__ChangeDUStateResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ChangeDUStateResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__ChangeDUStateResponse * soap_new_set__cwmp__ChangeDUStateResponse(
	struct soap *soap)
{
	struct _cwmp__ChangeDUStateResponse *_p = ::soap_new__cwmp__ChangeDUStateResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ChangeDUStateResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ChangeDUStateResponse(struct soap*, const struct _cwmp__ChangeDUStateResponse *, const char*, const char*);

inline int soap_write__cwmp__ChangeDUStateResponse(struct soap *soap, struct _cwmp__ChangeDUStateResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ChangeDUStateResponse(soap, p), 0) || ::soap_put__cwmp__ChangeDUStateResponse(soap, p, "cwmp:ChangeDUStateResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ChangeDUStateResponse(struct soap *soap, const char *URL, struct _cwmp__ChangeDUStateResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUStateResponse(soap, p), 0) || ::soap_put__cwmp__ChangeDUStateResponse(soap, p, "cwmp:ChangeDUStateResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ChangeDUStateResponse(struct soap *soap, const char *URL, struct _cwmp__ChangeDUStateResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUStateResponse(soap, p), 0) || ::soap_put__cwmp__ChangeDUStateResponse(soap, p, "cwmp:ChangeDUStateResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ChangeDUStateResponse(struct soap *soap, const char *URL, struct _cwmp__ChangeDUStateResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUStateResponse(soap, p), 0) || ::soap_put__cwmp__ChangeDUStateResponse(soap, p, "cwmp:ChangeDUStateResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ChangeDUStateResponse * SOAP_FMAC4 soap_get__cwmp__ChangeDUStateResponse(struct soap*, struct _cwmp__ChangeDUStateResponse *, const char*, const char*);

inline int soap_read__cwmp__ChangeDUStateResponse(struct soap *soap, struct _cwmp__ChangeDUStateResponse *p)
{
	if (p)
	{	::soap_default__cwmp__ChangeDUStateResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ChangeDUStateResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ChangeDUStateResponse(struct soap *soap, const char *URL, struct _cwmp__ChangeDUStateResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ChangeDUStateResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ChangeDUStateResponse(struct soap *soap, struct _cwmp__ChangeDUStateResponse *p)
{
	if (::soap_read__cwmp__ChangeDUStateResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ChangeDUState_DEFINED
#define SOAP_TYPE__cwmp__ChangeDUState_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ChangeDUState(struct soap*, struct _cwmp__ChangeDUState *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ChangeDUState(struct soap*, const struct _cwmp__ChangeDUState *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ChangeDUState(struct soap*, const char*, int, const struct _cwmp__ChangeDUState *, const char*);
SOAP_FMAC3 struct _cwmp__ChangeDUState * SOAP_FMAC4 soap_in__cwmp__ChangeDUState(struct soap*, const char*, struct _cwmp__ChangeDUState *, const char*);
SOAP_FMAC1 struct _cwmp__ChangeDUState * SOAP_FMAC2 soap_instantiate__cwmp__ChangeDUState(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ChangeDUState * soap_new__cwmp__ChangeDUState(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ChangeDUState(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ChangeDUState * soap_new_req__cwmp__ChangeDUState(
	struct soap *soap,
	int __sizeOperations,
	struct cwmp__OperationStruct *Operations)
{
	struct _cwmp__ChangeDUState *_p = ::soap_new__cwmp__ChangeDUState(soap);
	if (_p)
	{	::soap_default__cwmp__ChangeDUState(soap, _p);
		_p->__sizeOperations = __sizeOperations;
		_p->Operations = Operations;
	}
	return _p;
}

inline struct _cwmp__ChangeDUState * soap_new_set__cwmp__ChangeDUState(
	struct soap *soap,
	int __sizeOperations,
	struct cwmp__OperationStruct *Operations,
	char *CommandKey)
{
	struct _cwmp__ChangeDUState *_p = ::soap_new__cwmp__ChangeDUState(soap);
	if (_p)
	{	::soap_default__cwmp__ChangeDUState(soap, _p);
		_p->__sizeOperations = __sizeOperations;
		_p->Operations = Operations;
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ChangeDUState(struct soap*, const struct _cwmp__ChangeDUState *, const char*, const char*);

inline int soap_write__cwmp__ChangeDUState(struct soap *soap, struct _cwmp__ChangeDUState const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ChangeDUState(soap, p), 0) || ::soap_put__cwmp__ChangeDUState(soap, p, "cwmp:ChangeDUState", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ChangeDUState(struct soap *soap, const char *URL, struct _cwmp__ChangeDUState const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUState(soap, p), 0) || ::soap_put__cwmp__ChangeDUState(soap, p, "cwmp:ChangeDUState", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ChangeDUState(struct soap *soap, const char *URL, struct _cwmp__ChangeDUState const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUState(soap, p), 0) || ::soap_put__cwmp__ChangeDUState(soap, p, "cwmp:ChangeDUState", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ChangeDUState(struct soap *soap, const char *URL, struct _cwmp__ChangeDUState const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ChangeDUState(soap, p), 0) || ::soap_put__cwmp__ChangeDUState(soap, p, "cwmp:ChangeDUState", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ChangeDUState * SOAP_FMAC4 soap_get__cwmp__ChangeDUState(struct soap*, struct _cwmp__ChangeDUState *, const char*, const char*);

inline int soap_read__cwmp__ChangeDUState(struct soap *soap, struct _cwmp__ChangeDUState *p)
{
	if (p)
	{	::soap_default__cwmp__ChangeDUState(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ChangeDUState(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ChangeDUState(struct soap *soap, const char *URL, struct _cwmp__ChangeDUState *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ChangeDUState(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ChangeDUState(struct soap *soap, struct _cwmp__ChangeDUState *p)
{
	if (::soap_read__cwmp__ChangeDUState(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__CancelTransferResponse_DEFINED
#define SOAP_TYPE__cwmp__CancelTransferResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__CancelTransferResponse(struct soap*, struct _cwmp__CancelTransferResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__CancelTransferResponse(struct soap*, const struct _cwmp__CancelTransferResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__CancelTransferResponse(struct soap*, const char*, int, const struct _cwmp__CancelTransferResponse *, const char*);
SOAP_FMAC3 struct _cwmp__CancelTransferResponse * SOAP_FMAC4 soap_in__cwmp__CancelTransferResponse(struct soap*, const char*, struct _cwmp__CancelTransferResponse *, const char*);
SOAP_FMAC1 struct _cwmp__CancelTransferResponse * SOAP_FMAC2 soap_instantiate__cwmp__CancelTransferResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__CancelTransferResponse * soap_new__cwmp__CancelTransferResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__CancelTransferResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__CancelTransferResponse * soap_new_req__cwmp__CancelTransferResponse(
	struct soap *soap)
{
	struct _cwmp__CancelTransferResponse *_p = ::soap_new__cwmp__CancelTransferResponse(soap);
	if (_p)
	{	::soap_default__cwmp__CancelTransferResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__CancelTransferResponse * soap_new_set__cwmp__CancelTransferResponse(
	struct soap *soap)
{
	struct _cwmp__CancelTransferResponse *_p = ::soap_new__cwmp__CancelTransferResponse(soap);
	if (_p)
	{	::soap_default__cwmp__CancelTransferResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__CancelTransferResponse(struct soap*, const struct _cwmp__CancelTransferResponse *, const char*, const char*);

inline int soap_write__cwmp__CancelTransferResponse(struct soap *soap, struct _cwmp__CancelTransferResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__CancelTransferResponse(soap, p), 0) || ::soap_put__cwmp__CancelTransferResponse(soap, p, "cwmp:CancelTransferResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__CancelTransferResponse(struct soap *soap, const char *URL, struct _cwmp__CancelTransferResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransferResponse(soap, p), 0) || ::soap_put__cwmp__CancelTransferResponse(soap, p, "cwmp:CancelTransferResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__CancelTransferResponse(struct soap *soap, const char *URL, struct _cwmp__CancelTransferResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransferResponse(soap, p), 0) || ::soap_put__cwmp__CancelTransferResponse(soap, p, "cwmp:CancelTransferResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__CancelTransferResponse(struct soap *soap, const char *URL, struct _cwmp__CancelTransferResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransferResponse(soap, p), 0) || ::soap_put__cwmp__CancelTransferResponse(soap, p, "cwmp:CancelTransferResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__CancelTransferResponse * SOAP_FMAC4 soap_get__cwmp__CancelTransferResponse(struct soap*, struct _cwmp__CancelTransferResponse *, const char*, const char*);

inline int soap_read__cwmp__CancelTransferResponse(struct soap *soap, struct _cwmp__CancelTransferResponse *p)
{
	if (p)
	{	::soap_default__cwmp__CancelTransferResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__CancelTransferResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__CancelTransferResponse(struct soap *soap, const char *URL, struct _cwmp__CancelTransferResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__CancelTransferResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__CancelTransferResponse(struct soap *soap, struct _cwmp__CancelTransferResponse *p)
{
	if (::soap_read__cwmp__CancelTransferResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__CancelTransfer_DEFINED
#define SOAP_TYPE__cwmp__CancelTransfer_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__CancelTransfer(struct soap*, struct _cwmp__CancelTransfer *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__CancelTransfer(struct soap*, const struct _cwmp__CancelTransfer *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__CancelTransfer(struct soap*, const char*, int, const struct _cwmp__CancelTransfer *, const char*);
SOAP_FMAC3 struct _cwmp__CancelTransfer * SOAP_FMAC4 soap_in__cwmp__CancelTransfer(struct soap*, const char*, struct _cwmp__CancelTransfer *, const char*);
SOAP_FMAC1 struct _cwmp__CancelTransfer * SOAP_FMAC2 soap_instantiate__cwmp__CancelTransfer(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__CancelTransfer * soap_new__cwmp__CancelTransfer(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__CancelTransfer(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__CancelTransfer * soap_new_req__cwmp__CancelTransfer(
	struct soap *soap,
	char *CommandKey)
{
	struct _cwmp__CancelTransfer *_p = ::soap_new__cwmp__CancelTransfer(soap);
	if (_p)
	{	::soap_default__cwmp__CancelTransfer(soap, _p);
		_p->CommandKey = CommandKey;
	}
	return _p;
}

inline struct _cwmp__CancelTransfer * soap_new_set__cwmp__CancelTransfer(
	struct soap *soap,
	char *CommandKey)
{
	struct _cwmp__CancelTransfer *_p = ::soap_new__cwmp__CancelTransfer(soap);
	if (_p)
	{	::soap_default__cwmp__CancelTransfer(soap, _p);
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__CancelTransfer(struct soap*, const struct _cwmp__CancelTransfer *, const char*, const char*);

inline int soap_write__cwmp__CancelTransfer(struct soap *soap, struct _cwmp__CancelTransfer const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__CancelTransfer(soap, p), 0) || ::soap_put__cwmp__CancelTransfer(soap, p, "cwmp:CancelTransfer", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__CancelTransfer(struct soap *soap, const char *URL, struct _cwmp__CancelTransfer const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransfer(soap, p), 0) || ::soap_put__cwmp__CancelTransfer(soap, p, "cwmp:CancelTransfer", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__CancelTransfer(struct soap *soap, const char *URL, struct _cwmp__CancelTransfer const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransfer(soap, p), 0) || ::soap_put__cwmp__CancelTransfer(soap, p, "cwmp:CancelTransfer", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__CancelTransfer(struct soap *soap, const char *URL, struct _cwmp__CancelTransfer const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__CancelTransfer(soap, p), 0) || ::soap_put__cwmp__CancelTransfer(soap, p, "cwmp:CancelTransfer", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__CancelTransfer * SOAP_FMAC4 soap_get__cwmp__CancelTransfer(struct soap*, struct _cwmp__CancelTransfer *, const char*, const char*);

inline int soap_read__cwmp__CancelTransfer(struct soap *soap, struct _cwmp__CancelTransfer *p)
{
	if (p)
	{	::soap_default__cwmp__CancelTransfer(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__CancelTransfer(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__CancelTransfer(struct soap *soap, const char *URL, struct _cwmp__CancelTransfer *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__CancelTransfer(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__CancelTransfer(struct soap *soap, struct _cwmp__CancelTransfer *p)
{
	if (::soap_read__cwmp__CancelTransfer(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ScheduleDownloadResponse_DEFINED
#define SOAP_TYPE__cwmp__ScheduleDownloadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ScheduleDownloadResponse(struct soap*, struct _cwmp__ScheduleDownloadResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ScheduleDownloadResponse(struct soap*, const struct _cwmp__ScheduleDownloadResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ScheduleDownloadResponse(struct soap*, const char*, int, const struct _cwmp__ScheduleDownloadResponse *, const char*);
SOAP_FMAC3 struct _cwmp__ScheduleDownloadResponse * SOAP_FMAC4 soap_in__cwmp__ScheduleDownloadResponse(struct soap*, const char*, struct _cwmp__ScheduleDownloadResponse *, const char*);
SOAP_FMAC1 struct _cwmp__ScheduleDownloadResponse * SOAP_FMAC2 soap_instantiate__cwmp__ScheduleDownloadResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ScheduleDownloadResponse * soap_new__cwmp__ScheduleDownloadResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ScheduleDownloadResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ScheduleDownloadResponse * soap_new_req__cwmp__ScheduleDownloadResponse(
	struct soap *soap)
{
	struct _cwmp__ScheduleDownloadResponse *_p = ::soap_new__cwmp__ScheduleDownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleDownloadResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__ScheduleDownloadResponse * soap_new_set__cwmp__ScheduleDownloadResponse(
	struct soap *soap)
{
	struct _cwmp__ScheduleDownloadResponse *_p = ::soap_new__cwmp__ScheduleDownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleDownloadResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ScheduleDownloadResponse(struct soap*, const struct _cwmp__ScheduleDownloadResponse *, const char*, const char*);

inline int soap_write__cwmp__ScheduleDownloadResponse(struct soap *soap, struct _cwmp__ScheduleDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ScheduleDownloadResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleDownloadResponse(soap, p, "cwmp:ScheduleDownloadResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ScheduleDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownloadResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleDownloadResponse(soap, p, "cwmp:ScheduleDownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ScheduleDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownloadResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleDownloadResponse(soap, p, "cwmp:ScheduleDownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ScheduleDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownloadResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleDownloadResponse(soap, p, "cwmp:ScheduleDownloadResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ScheduleDownloadResponse * SOAP_FMAC4 soap_get__cwmp__ScheduleDownloadResponse(struct soap*, struct _cwmp__ScheduleDownloadResponse *, const char*, const char*);

inline int soap_read__cwmp__ScheduleDownloadResponse(struct soap *soap, struct _cwmp__ScheduleDownloadResponse *p)
{
	if (p)
	{	::soap_default__cwmp__ScheduleDownloadResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ScheduleDownloadResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ScheduleDownloadResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownloadResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ScheduleDownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ScheduleDownloadResponse(struct soap *soap, struct _cwmp__ScheduleDownloadResponse *p)
{
	if (::soap_read__cwmp__ScheduleDownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_TimeWindowList_DEFINED
#define SOAP_TYPE_TimeWindowList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_TimeWindowList(struct soap*, struct TimeWindowList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_TimeWindowList(struct soap*, const struct TimeWindowList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_TimeWindowList(struct soap*, const char*, int, const struct TimeWindowList *, const char*);
SOAP_FMAC3 struct TimeWindowList * SOAP_FMAC4 soap_in_TimeWindowList(struct soap*, const char*, struct TimeWindowList *, const char*);
SOAP_FMAC1 struct TimeWindowList * SOAP_FMAC2 soap_instantiate_TimeWindowList(struct soap*, int, const char*, const char*, size_t*);

inline struct TimeWindowList * soap_new_TimeWindowList(struct soap *soap, int n = -1)
{
	return soap_instantiate_TimeWindowList(soap, n, NULL, NULL, NULL);
}

inline struct TimeWindowList * soap_new_req_TimeWindowList(
	struct soap *soap)
{
	struct TimeWindowList *_p = ::soap_new_TimeWindowList(soap);
	if (_p)
	{	::soap_default_TimeWindowList(soap, _p);
	}
	return _p;
}

inline struct TimeWindowList * soap_new_set_TimeWindowList(
	struct soap *soap,
	struct cwmp__TimeWindowStruct **__ptrTimeWindowStruct,
	int __size)
{
	struct TimeWindowList *_p = ::soap_new_TimeWindowList(soap);
	if (_p)
	{	::soap_default_TimeWindowList(soap, _p);
		_p->__ptrTimeWindowStruct = __ptrTimeWindowStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_TimeWindowList(struct soap*, const struct TimeWindowList *, const char*, const char*);

inline int soap_write_TimeWindowList(struct soap *soap, struct TimeWindowList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_TimeWindowList(soap, p), 0) || ::soap_put_TimeWindowList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_TimeWindowList(struct soap *soap, const char *URL, struct TimeWindowList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TimeWindowList(soap, p), 0) || ::soap_put_TimeWindowList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_TimeWindowList(struct soap *soap, const char *URL, struct TimeWindowList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TimeWindowList(soap, p), 0) || ::soap_put_TimeWindowList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_TimeWindowList(struct soap *soap, const char *URL, struct TimeWindowList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TimeWindowList(soap, p), 0) || ::soap_put_TimeWindowList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct TimeWindowList * SOAP_FMAC4 soap_get_TimeWindowList(struct soap*, struct TimeWindowList *, const char*, const char*);

inline int soap_read_TimeWindowList(struct soap *soap, struct TimeWindowList *p)
{
	if (p)
	{	::soap_default_TimeWindowList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_TimeWindowList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_TimeWindowList(struct soap *soap, const char *URL, struct TimeWindowList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_TimeWindowList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_TimeWindowList(struct soap *soap, struct TimeWindowList *p)
{
	if (::soap_read_TimeWindowList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ScheduleDownload_DEFINED
#define SOAP_TYPE__cwmp__ScheduleDownload_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ScheduleDownload(struct soap*, struct _cwmp__ScheduleDownload *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ScheduleDownload(struct soap*, const struct _cwmp__ScheduleDownload *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ScheduleDownload(struct soap*, const char*, int, const struct _cwmp__ScheduleDownload *, const char*);
SOAP_FMAC3 struct _cwmp__ScheduleDownload * SOAP_FMAC4 soap_in__cwmp__ScheduleDownload(struct soap*, const char*, struct _cwmp__ScheduleDownload *, const char*);
SOAP_FMAC1 struct _cwmp__ScheduleDownload * SOAP_FMAC2 soap_instantiate__cwmp__ScheduleDownload(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ScheduleDownload * soap_new__cwmp__ScheduleDownload(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ScheduleDownload(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ScheduleDownload * soap_new_req__cwmp__ScheduleDownload(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int FileSize,
	char *TargetFileName,
	struct TimeWindowList *TimeWindowList)
{
	struct _cwmp__ScheduleDownload *_p = ::soap_new__cwmp__ScheduleDownload(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleDownload(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->TimeWindowList = TimeWindowList;
	}
	return _p;
}

inline struct _cwmp__ScheduleDownload * soap_new_set__cwmp__ScheduleDownload(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int FileSize,
	char *TargetFileName,
	struct TimeWindowList *TimeWindowList)
{
	struct _cwmp__ScheduleDownload *_p = ::soap_new__cwmp__ScheduleDownload(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleDownload(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->TimeWindowList = TimeWindowList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ScheduleDownload(struct soap*, const struct _cwmp__ScheduleDownload *, const char*, const char*);

inline int soap_write__cwmp__ScheduleDownload(struct soap *soap, struct _cwmp__ScheduleDownload const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ScheduleDownload(soap, p), 0) || ::soap_put__cwmp__ScheduleDownload(soap, p, "cwmp:ScheduleDownload", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ScheduleDownload(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownload const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownload(soap, p), 0) || ::soap_put__cwmp__ScheduleDownload(soap, p, "cwmp:ScheduleDownload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ScheduleDownload(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownload const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownload(soap, p), 0) || ::soap_put__cwmp__ScheduleDownload(soap, p, "cwmp:ScheduleDownload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ScheduleDownload(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownload const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleDownload(soap, p), 0) || ::soap_put__cwmp__ScheduleDownload(soap, p, "cwmp:ScheduleDownload", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ScheduleDownload * SOAP_FMAC4 soap_get__cwmp__ScheduleDownload(struct soap*, struct _cwmp__ScheduleDownload *, const char*, const char*);

inline int soap_read__cwmp__ScheduleDownload(struct soap *soap, struct _cwmp__ScheduleDownload *p)
{
	if (p)
	{	::soap_default__cwmp__ScheduleDownload(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ScheduleDownload(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ScheduleDownload(struct soap *soap, const char *URL, struct _cwmp__ScheduleDownload *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ScheduleDownload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ScheduleDownload(struct soap *soap, struct _cwmp__ScheduleDownload *p)
{
	if (::soap_read__cwmp__ScheduleDownload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_AllTransferList_DEFINED
#define SOAP_TYPE_AllTransferList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_AllTransferList(struct soap*, struct AllTransferList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_AllTransferList(struct soap*, const struct AllTransferList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_AllTransferList(struct soap*, const char*, int, const struct AllTransferList *, const char*);
SOAP_FMAC3 struct AllTransferList * SOAP_FMAC4 soap_in_AllTransferList(struct soap*, const char*, struct AllTransferList *, const char*);
SOAP_FMAC1 struct AllTransferList * SOAP_FMAC2 soap_instantiate_AllTransferList(struct soap*, int, const char*, const char*, size_t*);

inline struct AllTransferList * soap_new_AllTransferList(struct soap *soap, int n = -1)
{
	return soap_instantiate_AllTransferList(soap, n, NULL, NULL, NULL);
}

inline struct AllTransferList * soap_new_req_AllTransferList(
	struct soap *soap)
{
	struct AllTransferList *_p = ::soap_new_AllTransferList(soap);
	if (_p)
	{	::soap_default_AllTransferList(soap, _p);
	}
	return _p;
}

inline struct AllTransferList * soap_new_set_AllTransferList(
	struct soap *soap,
	struct cwmp__AllQueuedTransferStruct **__ptrAllQueuedTransferStruct,
	int __size)
{
	struct AllTransferList *_p = ::soap_new_AllTransferList(soap);
	if (_p)
	{	::soap_default_AllTransferList(soap, _p);
		_p->__ptrAllQueuedTransferStruct = __ptrAllQueuedTransferStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_AllTransferList(struct soap*, const struct AllTransferList *, const char*, const char*);

inline int soap_write_AllTransferList(struct soap *soap, struct AllTransferList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_AllTransferList(soap, p), 0) || ::soap_put_AllTransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_AllTransferList(struct soap *soap, const char *URL, struct AllTransferList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AllTransferList(soap, p), 0) || ::soap_put_AllTransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_AllTransferList(struct soap *soap, const char *URL, struct AllTransferList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AllTransferList(soap, p), 0) || ::soap_put_AllTransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_AllTransferList(struct soap *soap, const char *URL, struct AllTransferList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AllTransferList(soap, p), 0) || ::soap_put_AllTransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct AllTransferList * SOAP_FMAC4 soap_get_AllTransferList(struct soap*, struct AllTransferList *, const char*, const char*);

inline int soap_read_AllTransferList(struct soap *soap, struct AllTransferList *p)
{
	if (p)
	{	::soap_default_AllTransferList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_AllTransferList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_AllTransferList(struct soap *soap, const char *URL, struct AllTransferList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_AllTransferList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_AllTransferList(struct soap *soap, struct AllTransferList *p)
{
	if (::soap_read_AllTransferList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetAllQueuedTransfersResponse_DEFINED
#define SOAP_TYPE__cwmp__GetAllQueuedTransfersResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetAllQueuedTransfersResponse(struct soap*, struct _cwmp__GetAllQueuedTransfersResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetAllQueuedTransfersResponse(struct soap*, const struct _cwmp__GetAllQueuedTransfersResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetAllQueuedTransfersResponse(struct soap*, const char*, int, const struct _cwmp__GetAllQueuedTransfersResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetAllQueuedTransfersResponse * SOAP_FMAC4 soap_in__cwmp__GetAllQueuedTransfersResponse(struct soap*, const char*, struct _cwmp__GetAllQueuedTransfersResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetAllQueuedTransfersResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetAllQueuedTransfersResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetAllQueuedTransfersResponse * soap_new__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetAllQueuedTransfersResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetAllQueuedTransfersResponse * soap_new_req__cwmp__GetAllQueuedTransfersResponse(
	struct soap *soap,
	struct AllTransferList *TransferList)
{
	struct _cwmp__GetAllQueuedTransfersResponse *_p = ::soap_new__cwmp__GetAllQueuedTransfersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetAllQueuedTransfersResponse(soap, _p);
		_p->TransferList = TransferList;
	}
	return _p;
}

inline struct _cwmp__GetAllQueuedTransfersResponse * soap_new_set__cwmp__GetAllQueuedTransfersResponse(
	struct soap *soap,
	struct AllTransferList *TransferList)
{
	struct _cwmp__GetAllQueuedTransfersResponse *_p = ::soap_new__cwmp__GetAllQueuedTransfersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetAllQueuedTransfersResponse(soap, _p);
		_p->TransferList = TransferList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetAllQueuedTransfersResponse(struct soap*, const struct _cwmp__GetAllQueuedTransfersResponse *, const char*, const char*);

inline int soap_write__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetAllQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetAllQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfersResponse(soap, p, "cwmp:GetAllQueuedTransfersResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfersResponse(soap, p, "cwmp:GetAllQueuedTransfersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfersResponse(soap, p, "cwmp:GetAllQueuedTransfersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfersResponse(soap, p, "cwmp:GetAllQueuedTransfersResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetAllQueuedTransfersResponse * SOAP_FMAC4 soap_get__cwmp__GetAllQueuedTransfersResponse(struct soap*, struct _cwmp__GetAllQueuedTransfersResponse *, const char*, const char*);

inline int soap_read__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetAllQueuedTransfersResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetAllQueuedTransfersResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetAllQueuedTransfersResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfersResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetAllQueuedTransfersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetAllQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetAllQueuedTransfersResponse *p)
{
	if (::soap_read__cwmp__GetAllQueuedTransfersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetAllQueuedTransfers_DEFINED
#define SOAP_TYPE__cwmp__GetAllQueuedTransfers_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetAllQueuedTransfers(struct soap*, struct _cwmp__GetAllQueuedTransfers *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetAllQueuedTransfers(struct soap*, const struct _cwmp__GetAllQueuedTransfers *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetAllQueuedTransfers(struct soap*, const char*, int, const struct _cwmp__GetAllQueuedTransfers *, const char*);
SOAP_FMAC3 struct _cwmp__GetAllQueuedTransfers * SOAP_FMAC4 soap_in__cwmp__GetAllQueuedTransfers(struct soap*, const char*, struct _cwmp__GetAllQueuedTransfers *, const char*);
SOAP_FMAC1 struct _cwmp__GetAllQueuedTransfers * SOAP_FMAC2 soap_instantiate__cwmp__GetAllQueuedTransfers(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetAllQueuedTransfers * soap_new__cwmp__GetAllQueuedTransfers(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetAllQueuedTransfers(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetAllQueuedTransfers * soap_new_req__cwmp__GetAllQueuedTransfers(
	struct soap *soap)
{
	struct _cwmp__GetAllQueuedTransfers *_p = ::soap_new__cwmp__GetAllQueuedTransfers(soap);
	if (_p)
	{	::soap_default__cwmp__GetAllQueuedTransfers(soap, _p);
	}
	return _p;
}

inline struct _cwmp__GetAllQueuedTransfers * soap_new_set__cwmp__GetAllQueuedTransfers(
	struct soap *soap)
{
	struct _cwmp__GetAllQueuedTransfers *_p = ::soap_new__cwmp__GetAllQueuedTransfers(soap);
	if (_p)
	{	::soap_default__cwmp__GetAllQueuedTransfers(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetAllQueuedTransfers(struct soap*, const struct _cwmp__GetAllQueuedTransfers *, const char*, const char*);

inline int soap_write__cwmp__GetAllQueuedTransfers(struct soap *soap, struct _cwmp__GetAllQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetAllQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfers(soap, p, "cwmp:GetAllQueuedTransfers", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetAllQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfers(soap, p, "cwmp:GetAllQueuedTransfers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetAllQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfers(soap, p, "cwmp:GetAllQueuedTransfers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetAllQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetAllQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetAllQueuedTransfers(soap, p, "cwmp:GetAllQueuedTransfers", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetAllQueuedTransfers * SOAP_FMAC4 soap_get__cwmp__GetAllQueuedTransfers(struct soap*, struct _cwmp__GetAllQueuedTransfers *, const char*, const char*);

inline int soap_read__cwmp__GetAllQueuedTransfers(struct soap *soap, struct _cwmp__GetAllQueuedTransfers *p)
{
	if (p)
	{	::soap_default__cwmp__GetAllQueuedTransfers(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetAllQueuedTransfers(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetAllQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetAllQueuedTransfers *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetAllQueuedTransfers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetAllQueuedTransfers(struct soap *soap, struct _cwmp__GetAllQueuedTransfers *p)
{
	if (::soap_read__cwmp__GetAllQueuedTransfers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__FactoryResetResponse_DEFINED
#define SOAP_TYPE__cwmp__FactoryResetResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__FactoryResetResponse(struct soap*, struct _cwmp__FactoryResetResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__FactoryResetResponse(struct soap*, const struct _cwmp__FactoryResetResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__FactoryResetResponse(struct soap*, const char*, int, const struct _cwmp__FactoryResetResponse *, const char*);
SOAP_FMAC3 struct _cwmp__FactoryResetResponse * SOAP_FMAC4 soap_in__cwmp__FactoryResetResponse(struct soap*, const char*, struct _cwmp__FactoryResetResponse *, const char*);
SOAP_FMAC1 struct _cwmp__FactoryResetResponse * SOAP_FMAC2 soap_instantiate__cwmp__FactoryResetResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__FactoryResetResponse * soap_new__cwmp__FactoryResetResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__FactoryResetResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__FactoryResetResponse * soap_new_req__cwmp__FactoryResetResponse(
	struct soap *soap)
{
	struct _cwmp__FactoryResetResponse *_p = ::soap_new__cwmp__FactoryResetResponse(soap);
	if (_p)
	{	::soap_default__cwmp__FactoryResetResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__FactoryResetResponse * soap_new_set__cwmp__FactoryResetResponse(
	struct soap *soap)
{
	struct _cwmp__FactoryResetResponse *_p = ::soap_new__cwmp__FactoryResetResponse(soap);
	if (_p)
	{	::soap_default__cwmp__FactoryResetResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__FactoryResetResponse(struct soap*, const struct _cwmp__FactoryResetResponse *, const char*, const char*);

inline int soap_write__cwmp__FactoryResetResponse(struct soap *soap, struct _cwmp__FactoryResetResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__FactoryResetResponse(soap, p), 0) || ::soap_put__cwmp__FactoryResetResponse(soap, p, "cwmp:FactoryResetResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__FactoryResetResponse(struct soap *soap, const char *URL, struct _cwmp__FactoryResetResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryResetResponse(soap, p), 0) || ::soap_put__cwmp__FactoryResetResponse(soap, p, "cwmp:FactoryResetResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__FactoryResetResponse(struct soap *soap, const char *URL, struct _cwmp__FactoryResetResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryResetResponse(soap, p), 0) || ::soap_put__cwmp__FactoryResetResponse(soap, p, "cwmp:FactoryResetResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__FactoryResetResponse(struct soap *soap, const char *URL, struct _cwmp__FactoryResetResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryResetResponse(soap, p), 0) || ::soap_put__cwmp__FactoryResetResponse(soap, p, "cwmp:FactoryResetResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__FactoryResetResponse * SOAP_FMAC4 soap_get__cwmp__FactoryResetResponse(struct soap*, struct _cwmp__FactoryResetResponse *, const char*, const char*);

inline int soap_read__cwmp__FactoryResetResponse(struct soap *soap, struct _cwmp__FactoryResetResponse *p)
{
	if (p)
	{	::soap_default__cwmp__FactoryResetResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__FactoryResetResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__FactoryResetResponse(struct soap *soap, const char *URL, struct _cwmp__FactoryResetResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__FactoryResetResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__FactoryResetResponse(struct soap *soap, struct _cwmp__FactoryResetResponse *p)
{
	if (::soap_read__cwmp__FactoryResetResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__FactoryReset_DEFINED
#define SOAP_TYPE__cwmp__FactoryReset_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__FactoryReset(struct soap*, struct _cwmp__FactoryReset *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__FactoryReset(struct soap*, const struct _cwmp__FactoryReset *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__FactoryReset(struct soap*, const char*, int, const struct _cwmp__FactoryReset *, const char*);
SOAP_FMAC3 struct _cwmp__FactoryReset * SOAP_FMAC4 soap_in__cwmp__FactoryReset(struct soap*, const char*, struct _cwmp__FactoryReset *, const char*);
SOAP_FMAC1 struct _cwmp__FactoryReset * SOAP_FMAC2 soap_instantiate__cwmp__FactoryReset(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__FactoryReset * soap_new__cwmp__FactoryReset(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__FactoryReset(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__FactoryReset * soap_new_req__cwmp__FactoryReset(
	struct soap *soap)
{
	struct _cwmp__FactoryReset *_p = ::soap_new__cwmp__FactoryReset(soap);
	if (_p)
	{	::soap_default__cwmp__FactoryReset(soap, _p);
	}
	return _p;
}

inline struct _cwmp__FactoryReset * soap_new_set__cwmp__FactoryReset(
	struct soap *soap)
{
	struct _cwmp__FactoryReset *_p = ::soap_new__cwmp__FactoryReset(soap);
	if (_p)
	{	::soap_default__cwmp__FactoryReset(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__FactoryReset(struct soap*, const struct _cwmp__FactoryReset *, const char*, const char*);

inline int soap_write__cwmp__FactoryReset(struct soap *soap, struct _cwmp__FactoryReset const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__FactoryReset(soap, p), 0) || ::soap_put__cwmp__FactoryReset(soap, p, "cwmp:FactoryReset", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__FactoryReset(struct soap *soap, const char *URL, struct _cwmp__FactoryReset const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryReset(soap, p), 0) || ::soap_put__cwmp__FactoryReset(soap, p, "cwmp:FactoryReset", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__FactoryReset(struct soap *soap, const char *URL, struct _cwmp__FactoryReset const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryReset(soap, p), 0) || ::soap_put__cwmp__FactoryReset(soap, p, "cwmp:FactoryReset", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__FactoryReset(struct soap *soap, const char *URL, struct _cwmp__FactoryReset const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__FactoryReset(soap, p), 0) || ::soap_put__cwmp__FactoryReset(soap, p, "cwmp:FactoryReset", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__FactoryReset * SOAP_FMAC4 soap_get__cwmp__FactoryReset(struct soap*, struct _cwmp__FactoryReset *, const char*, const char*);

inline int soap_read__cwmp__FactoryReset(struct soap *soap, struct _cwmp__FactoryReset *p)
{
	if (p)
	{	::soap_default__cwmp__FactoryReset(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__FactoryReset(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__FactoryReset(struct soap *soap, const char *URL, struct _cwmp__FactoryReset *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__FactoryReset(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__FactoryReset(struct soap *soap, struct _cwmp__FactoryReset *p)
{
	if (::soap_read__cwmp__FactoryReset(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__UploadResponse_DEFINED
#define SOAP_TYPE__cwmp__UploadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__UploadResponse(struct soap*, struct _cwmp__UploadResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__UploadResponse(struct soap*, const struct _cwmp__UploadResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__UploadResponse(struct soap*, const char*, int, const struct _cwmp__UploadResponse *, const char*);
SOAP_FMAC3 struct _cwmp__UploadResponse * SOAP_FMAC4 soap_in__cwmp__UploadResponse(struct soap*, const char*, struct _cwmp__UploadResponse *, const char*);
SOAP_FMAC1 struct _cwmp__UploadResponse * SOAP_FMAC2 soap_instantiate__cwmp__UploadResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__UploadResponse * soap_new__cwmp__UploadResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__UploadResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__UploadResponse * soap_new_req__cwmp__UploadResponse(
	struct soap *soap,
	enum _cwmp__UploadResponse_Status Status,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__UploadResponse *_p = ::soap_new__cwmp__UploadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__UploadResponse(soap, _p);
		_p->Status = Status;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}

inline struct _cwmp__UploadResponse * soap_new_set__cwmp__UploadResponse(
	struct soap *soap,
	enum _cwmp__UploadResponse_Status Status,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__UploadResponse *_p = ::soap_new__cwmp__UploadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__UploadResponse(soap, _p);
		_p->Status = Status;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__UploadResponse(struct soap*, const struct _cwmp__UploadResponse *, const char*, const char*);

inline int soap_write__cwmp__UploadResponse(struct soap *soap, struct _cwmp__UploadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__UploadResponse(soap, p), 0) || ::soap_put__cwmp__UploadResponse(soap, p, "cwmp:UploadResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__UploadResponse(struct soap *soap, const char *URL, struct _cwmp__UploadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UploadResponse(soap, p), 0) || ::soap_put__cwmp__UploadResponse(soap, p, "cwmp:UploadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__UploadResponse(struct soap *soap, const char *URL, struct _cwmp__UploadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UploadResponse(soap, p), 0) || ::soap_put__cwmp__UploadResponse(soap, p, "cwmp:UploadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__UploadResponse(struct soap *soap, const char *URL, struct _cwmp__UploadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__UploadResponse(soap, p), 0) || ::soap_put__cwmp__UploadResponse(soap, p, "cwmp:UploadResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__UploadResponse * SOAP_FMAC4 soap_get__cwmp__UploadResponse(struct soap*, struct _cwmp__UploadResponse *, const char*, const char*);

inline int soap_read__cwmp__UploadResponse(struct soap *soap, struct _cwmp__UploadResponse *p)
{
	if (p)
	{	::soap_default__cwmp__UploadResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__UploadResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__UploadResponse(struct soap *soap, const char *URL, struct _cwmp__UploadResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__UploadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__UploadResponse(struct soap *soap, struct _cwmp__UploadResponse *p)
{
	if (::soap_read__cwmp__UploadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Upload_DEFINED
#define SOAP_TYPE__cwmp__Upload_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Upload(struct soap*, struct _cwmp__Upload *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Upload(struct soap*, const struct _cwmp__Upload *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Upload(struct soap*, const char*, int, const struct _cwmp__Upload *, const char*);
SOAP_FMAC3 struct _cwmp__Upload * SOAP_FMAC4 soap_in__cwmp__Upload(struct soap*, const char*, struct _cwmp__Upload *, const char*);
SOAP_FMAC1 struct _cwmp__Upload * SOAP_FMAC2 soap_instantiate__cwmp__Upload(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Upload * soap_new__cwmp__Upload(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Upload(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Upload * soap_new_req__cwmp__Upload(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int DelaySeconds)
{
	struct _cwmp__Upload *_p = ::soap_new__cwmp__Upload(soap);
	if (_p)
	{	::soap_default__cwmp__Upload(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->DelaySeconds = DelaySeconds;
	}
	return _p;
}

inline struct _cwmp__Upload * soap_new_set__cwmp__Upload(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int DelaySeconds)
{
	struct _cwmp__Upload *_p = ::soap_new__cwmp__Upload(soap);
	if (_p)
	{	::soap_default__cwmp__Upload(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->DelaySeconds = DelaySeconds;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Upload(struct soap*, const struct _cwmp__Upload *, const char*, const char*);

inline int soap_write__cwmp__Upload(struct soap *soap, struct _cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Upload(soap, p), 0) || ::soap_put__cwmp__Upload(soap, p, "cwmp:Upload", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Upload(struct soap *soap, const char *URL, struct _cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Upload(soap, p), 0) || ::soap_put__cwmp__Upload(soap, p, "cwmp:Upload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Upload(struct soap *soap, const char *URL, struct _cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Upload(soap, p), 0) || ::soap_put__cwmp__Upload(soap, p, "cwmp:Upload", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Upload(struct soap *soap, const char *URL, struct _cwmp__Upload const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Upload(soap, p), 0) || ::soap_put__cwmp__Upload(soap, p, "cwmp:Upload", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Upload * SOAP_FMAC4 soap_get__cwmp__Upload(struct soap*, struct _cwmp__Upload *, const char*, const char*);

inline int soap_read__cwmp__Upload(struct soap *soap, struct _cwmp__Upload *p)
{
	if (p)
	{	::soap_default__cwmp__Upload(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Upload(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Upload(struct soap *soap, const char *URL, struct _cwmp__Upload *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Upload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Upload(struct soap *soap, struct _cwmp__Upload *p)
{
	if (::soap_read__cwmp__Upload(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_OptionList_DEFINED
#define SOAP_TYPE_OptionList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_OptionList(struct soap*, struct OptionList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_OptionList(struct soap*, const struct OptionList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_OptionList(struct soap*, const char*, int, const struct OptionList *, const char*);
SOAP_FMAC3 struct OptionList * SOAP_FMAC4 soap_in_OptionList(struct soap*, const char*, struct OptionList *, const char*);
SOAP_FMAC1 struct OptionList * SOAP_FMAC2 soap_instantiate_OptionList(struct soap*, int, const char*, const char*, size_t*);

inline struct OptionList * soap_new_OptionList(struct soap *soap, int n = -1)
{
	return soap_instantiate_OptionList(soap, n, NULL, NULL, NULL);
}

inline struct OptionList * soap_new_req_OptionList(
	struct soap *soap)
{
	struct OptionList *_p = ::soap_new_OptionList(soap);
	if (_p)
	{	::soap_default_OptionList(soap, _p);
	}
	return _p;
}

inline struct OptionList * soap_new_set_OptionList(
	struct soap *soap,
	struct cwmp__OptionStruct **__ptrOptionStruct,
	int __size)
{
	struct OptionList *_p = ::soap_new_OptionList(soap);
	if (_p)
	{	::soap_default_OptionList(soap, _p);
		_p->__ptrOptionStruct = __ptrOptionStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_OptionList(struct soap*, const struct OptionList *, const char*, const char*);

inline int soap_write_OptionList(struct soap *soap, struct OptionList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_OptionList(soap, p), 0) || ::soap_put_OptionList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_OptionList(struct soap *soap, const char *URL, struct OptionList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_OptionList(soap, p), 0) || ::soap_put_OptionList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_OptionList(struct soap *soap, const char *URL, struct OptionList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_OptionList(soap, p), 0) || ::soap_put_OptionList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_OptionList(struct soap *soap, const char *URL, struct OptionList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_OptionList(soap, p), 0) || ::soap_put_OptionList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct OptionList * SOAP_FMAC4 soap_get_OptionList(struct soap*, struct OptionList *, const char*, const char*);

inline int soap_read_OptionList(struct soap *soap, struct OptionList *p)
{
	if (p)
	{	::soap_default_OptionList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_OptionList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_OptionList(struct soap *soap, const char *URL, struct OptionList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_OptionList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_OptionList(struct soap *soap, struct OptionList *p)
{
	if (::soap_read_OptionList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetOptionsResponse_DEFINED
#define SOAP_TYPE__cwmp__GetOptionsResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetOptionsResponse(struct soap*, struct _cwmp__GetOptionsResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetOptionsResponse(struct soap*, const struct _cwmp__GetOptionsResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetOptionsResponse(struct soap*, const char*, int, const struct _cwmp__GetOptionsResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetOptionsResponse * SOAP_FMAC4 soap_in__cwmp__GetOptionsResponse(struct soap*, const char*, struct _cwmp__GetOptionsResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetOptionsResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetOptionsResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetOptionsResponse * soap_new__cwmp__GetOptionsResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetOptionsResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetOptionsResponse * soap_new_req__cwmp__GetOptionsResponse(
	struct soap *soap,
	struct OptionList *OptionList)
{
	struct _cwmp__GetOptionsResponse *_p = ::soap_new__cwmp__GetOptionsResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetOptionsResponse(soap, _p);
		_p->OptionList = OptionList;
	}
	return _p;
}

inline struct _cwmp__GetOptionsResponse * soap_new_set__cwmp__GetOptionsResponse(
	struct soap *soap,
	struct OptionList *OptionList)
{
	struct _cwmp__GetOptionsResponse *_p = ::soap_new__cwmp__GetOptionsResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetOptionsResponse(soap, _p);
		_p->OptionList = OptionList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetOptionsResponse(struct soap*, const struct _cwmp__GetOptionsResponse *, const char*, const char*);

inline int soap_write__cwmp__GetOptionsResponse(struct soap *soap, struct _cwmp__GetOptionsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetOptionsResponse(soap, p), 0) || ::soap_put__cwmp__GetOptionsResponse(soap, p, "cwmp:GetOptionsResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetOptionsResponse(struct soap *soap, const char *URL, struct _cwmp__GetOptionsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptionsResponse(soap, p), 0) || ::soap_put__cwmp__GetOptionsResponse(soap, p, "cwmp:GetOptionsResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetOptionsResponse(struct soap *soap, const char *URL, struct _cwmp__GetOptionsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptionsResponse(soap, p), 0) || ::soap_put__cwmp__GetOptionsResponse(soap, p, "cwmp:GetOptionsResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetOptionsResponse(struct soap *soap, const char *URL, struct _cwmp__GetOptionsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptionsResponse(soap, p), 0) || ::soap_put__cwmp__GetOptionsResponse(soap, p, "cwmp:GetOptionsResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetOptionsResponse * SOAP_FMAC4 soap_get__cwmp__GetOptionsResponse(struct soap*, struct _cwmp__GetOptionsResponse *, const char*, const char*);

inline int soap_read__cwmp__GetOptionsResponse(struct soap *soap, struct _cwmp__GetOptionsResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetOptionsResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetOptionsResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetOptionsResponse(struct soap *soap, const char *URL, struct _cwmp__GetOptionsResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetOptionsResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetOptionsResponse(struct soap *soap, struct _cwmp__GetOptionsResponse *p)
{
	if (::soap_read__cwmp__GetOptionsResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetOptions_DEFINED
#define SOAP_TYPE__cwmp__GetOptions_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetOptions(struct soap*, struct _cwmp__GetOptions *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetOptions(struct soap*, const struct _cwmp__GetOptions *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetOptions(struct soap*, const char*, int, const struct _cwmp__GetOptions *, const char*);
SOAP_FMAC3 struct _cwmp__GetOptions * SOAP_FMAC4 soap_in__cwmp__GetOptions(struct soap*, const char*, struct _cwmp__GetOptions *, const char*);
SOAP_FMAC1 struct _cwmp__GetOptions * SOAP_FMAC2 soap_instantiate__cwmp__GetOptions(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetOptions * soap_new__cwmp__GetOptions(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetOptions(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetOptions * soap_new_req__cwmp__GetOptions(
	struct soap *soap,
	char *OptionName)
{
	struct _cwmp__GetOptions *_p = ::soap_new__cwmp__GetOptions(soap);
	if (_p)
	{	::soap_default__cwmp__GetOptions(soap, _p);
		_p->OptionName = OptionName;
	}
	return _p;
}

inline struct _cwmp__GetOptions * soap_new_set__cwmp__GetOptions(
	struct soap *soap,
	char *OptionName)
{
	struct _cwmp__GetOptions *_p = ::soap_new__cwmp__GetOptions(soap);
	if (_p)
	{	::soap_default__cwmp__GetOptions(soap, _p);
		_p->OptionName = OptionName;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetOptions(struct soap*, const struct _cwmp__GetOptions *, const char*, const char*);

inline int soap_write__cwmp__GetOptions(struct soap *soap, struct _cwmp__GetOptions const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetOptions(soap, p), 0) || ::soap_put__cwmp__GetOptions(soap, p, "cwmp:GetOptions", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetOptions(struct soap *soap, const char *URL, struct _cwmp__GetOptions const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptions(soap, p), 0) || ::soap_put__cwmp__GetOptions(soap, p, "cwmp:GetOptions", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetOptions(struct soap *soap, const char *URL, struct _cwmp__GetOptions const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptions(soap, p), 0) || ::soap_put__cwmp__GetOptions(soap, p, "cwmp:GetOptions", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetOptions(struct soap *soap, const char *URL, struct _cwmp__GetOptions const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetOptions(soap, p), 0) || ::soap_put__cwmp__GetOptions(soap, p, "cwmp:GetOptions", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetOptions * SOAP_FMAC4 soap_get__cwmp__GetOptions(struct soap*, struct _cwmp__GetOptions *, const char*, const char*);

inline int soap_read__cwmp__GetOptions(struct soap *soap, struct _cwmp__GetOptions *p)
{
	if (p)
	{	::soap_default__cwmp__GetOptions(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetOptions(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetOptions(struct soap *soap, const char *URL, struct _cwmp__GetOptions *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetOptions(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetOptions(struct soap *soap, struct _cwmp__GetOptions *p)
{
	if (::soap_read__cwmp__GetOptions(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetVouchersResponse_DEFINED
#define SOAP_TYPE__cwmp__SetVouchersResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetVouchersResponse(struct soap*, struct _cwmp__SetVouchersResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetVouchersResponse(struct soap*, const struct _cwmp__SetVouchersResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetVouchersResponse(struct soap*, const char*, int, const struct _cwmp__SetVouchersResponse *, const char*);
SOAP_FMAC3 struct _cwmp__SetVouchersResponse * SOAP_FMAC4 soap_in__cwmp__SetVouchersResponse(struct soap*, const char*, struct _cwmp__SetVouchersResponse *, const char*);
SOAP_FMAC1 struct _cwmp__SetVouchersResponse * SOAP_FMAC2 soap_instantiate__cwmp__SetVouchersResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetVouchersResponse * soap_new__cwmp__SetVouchersResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetVouchersResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetVouchersResponse * soap_new_req__cwmp__SetVouchersResponse(
	struct soap *soap)
{
	struct _cwmp__SetVouchersResponse *_p = ::soap_new__cwmp__SetVouchersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetVouchersResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__SetVouchersResponse * soap_new_set__cwmp__SetVouchersResponse(
	struct soap *soap)
{
	struct _cwmp__SetVouchersResponse *_p = ::soap_new__cwmp__SetVouchersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetVouchersResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetVouchersResponse(struct soap*, const struct _cwmp__SetVouchersResponse *, const char*, const char*);

inline int soap_write__cwmp__SetVouchersResponse(struct soap *soap, struct _cwmp__SetVouchersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetVouchersResponse(soap, p), 0) || ::soap_put__cwmp__SetVouchersResponse(soap, p, "cwmp:SetVouchersResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetVouchersResponse(struct soap *soap, const char *URL, struct _cwmp__SetVouchersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchersResponse(soap, p), 0) || ::soap_put__cwmp__SetVouchersResponse(soap, p, "cwmp:SetVouchersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetVouchersResponse(struct soap *soap, const char *URL, struct _cwmp__SetVouchersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchersResponse(soap, p), 0) || ::soap_put__cwmp__SetVouchersResponse(soap, p, "cwmp:SetVouchersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetVouchersResponse(struct soap *soap, const char *URL, struct _cwmp__SetVouchersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchersResponse(soap, p), 0) || ::soap_put__cwmp__SetVouchersResponse(soap, p, "cwmp:SetVouchersResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetVouchersResponse * SOAP_FMAC4 soap_get__cwmp__SetVouchersResponse(struct soap*, struct _cwmp__SetVouchersResponse *, const char*, const char*);

inline int soap_read__cwmp__SetVouchersResponse(struct soap *soap, struct _cwmp__SetVouchersResponse *p)
{
	if (p)
	{	::soap_default__cwmp__SetVouchersResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetVouchersResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetVouchersResponse(struct soap *soap, const char *URL, struct _cwmp__SetVouchersResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetVouchersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetVouchersResponse(struct soap *soap, struct _cwmp__SetVouchersResponse *p)
{
	if (::soap_read__cwmp__SetVouchersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_VoucherList_DEFINED
#define SOAP_TYPE_VoucherList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_VoucherList(struct soap*, struct VoucherList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_VoucherList(struct soap*, const struct VoucherList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_VoucherList(struct soap*, const char*, int, const struct VoucherList *, const char*);
SOAP_FMAC3 struct VoucherList * SOAP_FMAC4 soap_in_VoucherList(struct soap*, const char*, struct VoucherList *, const char*);
SOAP_FMAC1 struct VoucherList * SOAP_FMAC2 soap_instantiate_VoucherList(struct soap*, int, const char*, const char*, size_t*);

inline struct VoucherList * soap_new_VoucherList(struct soap *soap, int n = -1)
{
	return soap_instantiate_VoucherList(soap, n, NULL, NULL, NULL);
}

inline struct VoucherList * soap_new_req_VoucherList(
	struct soap *soap)
{
	struct VoucherList *_p = ::soap_new_VoucherList(soap);
	if (_p)
	{	::soap_default_VoucherList(soap, _p);
	}
	return _p;
}

inline struct VoucherList * soap_new_set_VoucherList(
	struct soap *soap,
	struct SOAP_ENC__base64 *__ptrbase64,
	int __size)
{
	struct VoucherList *_p = ::soap_new_VoucherList(soap);
	if (_p)
	{	::soap_default_VoucherList(soap, _p);
		_p->__ptrbase64 = __ptrbase64;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_VoucherList(struct soap*, const struct VoucherList *, const char*, const char*);

inline int soap_write_VoucherList(struct soap *soap, struct VoucherList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_VoucherList(soap, p), 0) || ::soap_put_VoucherList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_VoucherList(struct soap *soap, const char *URL, struct VoucherList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_VoucherList(soap, p), 0) || ::soap_put_VoucherList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_VoucherList(struct soap *soap, const char *URL, struct VoucherList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_VoucherList(soap, p), 0) || ::soap_put_VoucherList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_VoucherList(struct soap *soap, const char *URL, struct VoucherList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_VoucherList(soap, p), 0) || ::soap_put_VoucherList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct VoucherList * SOAP_FMAC4 soap_get_VoucherList(struct soap*, struct VoucherList *, const char*, const char*);

inline int soap_read_VoucherList(struct soap *soap, struct VoucherList *p)
{
	if (p)
	{	::soap_default_VoucherList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_VoucherList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_VoucherList(struct soap *soap, const char *URL, struct VoucherList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_VoucherList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_VoucherList(struct soap *soap, struct VoucherList *p)
{
	if (::soap_read_VoucherList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetVouchers_DEFINED
#define SOAP_TYPE__cwmp__SetVouchers_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetVouchers(struct soap*, struct _cwmp__SetVouchers *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetVouchers(struct soap*, const struct _cwmp__SetVouchers *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetVouchers(struct soap*, const char*, int, const struct _cwmp__SetVouchers *, const char*);
SOAP_FMAC3 struct _cwmp__SetVouchers * SOAP_FMAC4 soap_in__cwmp__SetVouchers(struct soap*, const char*, struct _cwmp__SetVouchers *, const char*);
SOAP_FMAC1 struct _cwmp__SetVouchers * SOAP_FMAC2 soap_instantiate__cwmp__SetVouchers(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetVouchers * soap_new__cwmp__SetVouchers(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetVouchers(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetVouchers * soap_new_req__cwmp__SetVouchers(
	struct soap *soap,
	struct VoucherList *VoucherList)
{
	struct _cwmp__SetVouchers *_p = ::soap_new__cwmp__SetVouchers(soap);
	if (_p)
	{	::soap_default__cwmp__SetVouchers(soap, _p);
		_p->VoucherList = VoucherList;
	}
	return _p;
}

inline struct _cwmp__SetVouchers * soap_new_set__cwmp__SetVouchers(
	struct soap *soap,
	struct VoucherList *VoucherList)
{
	struct _cwmp__SetVouchers *_p = ::soap_new__cwmp__SetVouchers(soap);
	if (_p)
	{	::soap_default__cwmp__SetVouchers(soap, _p);
		_p->VoucherList = VoucherList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetVouchers(struct soap*, const struct _cwmp__SetVouchers *, const char*, const char*);

inline int soap_write__cwmp__SetVouchers(struct soap *soap, struct _cwmp__SetVouchers const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetVouchers(soap, p), 0) || ::soap_put__cwmp__SetVouchers(soap, p, "cwmp:SetVouchers", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetVouchers(struct soap *soap, const char *URL, struct _cwmp__SetVouchers const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchers(soap, p), 0) || ::soap_put__cwmp__SetVouchers(soap, p, "cwmp:SetVouchers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetVouchers(struct soap *soap, const char *URL, struct _cwmp__SetVouchers const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchers(soap, p), 0) || ::soap_put__cwmp__SetVouchers(soap, p, "cwmp:SetVouchers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetVouchers(struct soap *soap, const char *URL, struct _cwmp__SetVouchers const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetVouchers(soap, p), 0) || ::soap_put__cwmp__SetVouchers(soap, p, "cwmp:SetVouchers", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetVouchers * SOAP_FMAC4 soap_get__cwmp__SetVouchers(struct soap*, struct _cwmp__SetVouchers *, const char*, const char*);

inline int soap_read__cwmp__SetVouchers(struct soap *soap, struct _cwmp__SetVouchers *p)
{
	if (p)
	{	::soap_default__cwmp__SetVouchers(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetVouchers(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetVouchers(struct soap *soap, const char *URL, struct _cwmp__SetVouchers *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetVouchers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetVouchers(struct soap *soap, struct _cwmp__SetVouchers *p)
{
	if (::soap_read__cwmp__SetVouchers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ScheduleInformResponse_DEFINED
#define SOAP_TYPE__cwmp__ScheduleInformResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ScheduleInformResponse(struct soap*, struct _cwmp__ScheduleInformResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ScheduleInformResponse(struct soap*, const struct _cwmp__ScheduleInformResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ScheduleInformResponse(struct soap*, const char*, int, const struct _cwmp__ScheduleInformResponse *, const char*);
SOAP_FMAC3 struct _cwmp__ScheduleInformResponse * SOAP_FMAC4 soap_in__cwmp__ScheduleInformResponse(struct soap*, const char*, struct _cwmp__ScheduleInformResponse *, const char*);
SOAP_FMAC1 struct _cwmp__ScheduleInformResponse * SOAP_FMAC2 soap_instantiate__cwmp__ScheduleInformResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ScheduleInformResponse * soap_new__cwmp__ScheduleInformResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ScheduleInformResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ScheduleInformResponse * soap_new_req__cwmp__ScheduleInformResponse(
	struct soap *soap)
{
	struct _cwmp__ScheduleInformResponse *_p = ::soap_new__cwmp__ScheduleInformResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleInformResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__ScheduleInformResponse * soap_new_set__cwmp__ScheduleInformResponse(
	struct soap *soap)
{
	struct _cwmp__ScheduleInformResponse *_p = ::soap_new__cwmp__ScheduleInformResponse(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleInformResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ScheduleInformResponse(struct soap*, const struct _cwmp__ScheduleInformResponse *, const char*, const char*);

inline int soap_write__cwmp__ScheduleInformResponse(struct soap *soap, struct _cwmp__ScheduleInformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ScheduleInformResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleInformResponse(soap, p, "cwmp:ScheduleInformResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ScheduleInformResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleInformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInformResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleInformResponse(soap, p, "cwmp:ScheduleInformResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ScheduleInformResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleInformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInformResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleInformResponse(soap, p, "cwmp:ScheduleInformResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ScheduleInformResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleInformResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInformResponse(soap, p), 0) || ::soap_put__cwmp__ScheduleInformResponse(soap, p, "cwmp:ScheduleInformResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ScheduleInformResponse * SOAP_FMAC4 soap_get__cwmp__ScheduleInformResponse(struct soap*, struct _cwmp__ScheduleInformResponse *, const char*, const char*);

inline int soap_read__cwmp__ScheduleInformResponse(struct soap *soap, struct _cwmp__ScheduleInformResponse *p)
{
	if (p)
	{	::soap_default__cwmp__ScheduleInformResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ScheduleInformResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ScheduleInformResponse(struct soap *soap, const char *URL, struct _cwmp__ScheduleInformResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ScheduleInformResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ScheduleInformResponse(struct soap *soap, struct _cwmp__ScheduleInformResponse *p)
{
	if (::soap_read__cwmp__ScheduleInformResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__ScheduleInform_DEFINED
#define SOAP_TYPE__cwmp__ScheduleInform_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__ScheduleInform(struct soap*, struct _cwmp__ScheduleInform *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__ScheduleInform(struct soap*, const struct _cwmp__ScheduleInform *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__ScheduleInform(struct soap*, const char*, int, const struct _cwmp__ScheduleInform *, const char*);
SOAP_FMAC3 struct _cwmp__ScheduleInform * SOAP_FMAC4 soap_in__cwmp__ScheduleInform(struct soap*, const char*, struct _cwmp__ScheduleInform *, const char*);
SOAP_FMAC1 struct _cwmp__ScheduleInform * SOAP_FMAC2 soap_instantiate__cwmp__ScheduleInform(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__ScheduleInform * soap_new__cwmp__ScheduleInform(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__ScheduleInform(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__ScheduleInform * soap_new_req__cwmp__ScheduleInform(
	struct soap *soap,
	unsigned int DelaySeconds,
	char *CommandKey)
{
	struct _cwmp__ScheduleInform *_p = ::soap_new__cwmp__ScheduleInform(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleInform(soap, _p);
		_p->DelaySeconds = DelaySeconds;
		_p->CommandKey = CommandKey;
	}
	return _p;
}

inline struct _cwmp__ScheduleInform * soap_new_set__cwmp__ScheduleInform(
	struct soap *soap,
	unsigned int DelaySeconds,
	char *CommandKey)
{
	struct _cwmp__ScheduleInform *_p = ::soap_new__cwmp__ScheduleInform(soap);
	if (_p)
	{	::soap_default__cwmp__ScheduleInform(soap, _p);
		_p->DelaySeconds = DelaySeconds;
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__ScheduleInform(struct soap*, const struct _cwmp__ScheduleInform *, const char*, const char*);

inline int soap_write__cwmp__ScheduleInform(struct soap *soap, struct _cwmp__ScheduleInform const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__ScheduleInform(soap, p), 0) || ::soap_put__cwmp__ScheduleInform(soap, p, "cwmp:ScheduleInform", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__ScheduleInform(struct soap *soap, const char *URL, struct _cwmp__ScheduleInform const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInform(soap, p), 0) || ::soap_put__cwmp__ScheduleInform(soap, p, "cwmp:ScheduleInform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__ScheduleInform(struct soap *soap, const char *URL, struct _cwmp__ScheduleInform const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInform(soap, p), 0) || ::soap_put__cwmp__ScheduleInform(soap, p, "cwmp:ScheduleInform", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__ScheduleInform(struct soap *soap, const char *URL, struct _cwmp__ScheduleInform const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__ScheduleInform(soap, p), 0) || ::soap_put__cwmp__ScheduleInform(soap, p, "cwmp:ScheduleInform", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__ScheduleInform * SOAP_FMAC4 soap_get__cwmp__ScheduleInform(struct soap*, struct _cwmp__ScheduleInform *, const char*, const char*);

inline int soap_read__cwmp__ScheduleInform(struct soap *soap, struct _cwmp__ScheduleInform *p)
{
	if (p)
	{	::soap_default__cwmp__ScheduleInform(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__ScheduleInform(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__ScheduleInform(struct soap *soap, const char *URL, struct _cwmp__ScheduleInform *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__ScheduleInform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__ScheduleInform(struct soap *soap, struct _cwmp__ScheduleInform *p)
{
	if (::soap_read__cwmp__ScheduleInform(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_TransferList_DEFINED
#define SOAP_TYPE_TransferList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_TransferList(struct soap*, struct TransferList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_TransferList(struct soap*, const struct TransferList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_TransferList(struct soap*, const char*, int, const struct TransferList *, const char*);
SOAP_FMAC3 struct TransferList * SOAP_FMAC4 soap_in_TransferList(struct soap*, const char*, struct TransferList *, const char*);
SOAP_FMAC1 struct TransferList * SOAP_FMAC2 soap_instantiate_TransferList(struct soap*, int, const char*, const char*, size_t*);

inline struct TransferList * soap_new_TransferList(struct soap *soap, int n = -1)
{
	return soap_instantiate_TransferList(soap, n, NULL, NULL, NULL);
}

inline struct TransferList * soap_new_req_TransferList(
	struct soap *soap)
{
	struct TransferList *_p = ::soap_new_TransferList(soap);
	if (_p)
	{	::soap_default_TransferList(soap, _p);
	}
	return _p;
}

inline struct TransferList * soap_new_set_TransferList(
	struct soap *soap,
	struct cwmp__QueuedTransferStruct **__ptrQueuedTransferStruct,
	int __size)
{
	struct TransferList *_p = ::soap_new_TransferList(soap);
	if (_p)
	{	::soap_default_TransferList(soap, _p);
		_p->__ptrQueuedTransferStruct = __ptrQueuedTransferStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_TransferList(struct soap*, const struct TransferList *, const char*, const char*);

inline int soap_write_TransferList(struct soap *soap, struct TransferList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_TransferList(soap, p), 0) || ::soap_put_TransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_TransferList(struct soap *soap, const char *URL, struct TransferList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TransferList(soap, p), 0) || ::soap_put_TransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_TransferList(struct soap *soap, const char *URL, struct TransferList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TransferList(soap, p), 0) || ::soap_put_TransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_TransferList(struct soap *soap, const char *URL, struct TransferList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_TransferList(soap, p), 0) || ::soap_put_TransferList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct TransferList * SOAP_FMAC4 soap_get_TransferList(struct soap*, struct TransferList *, const char*, const char*);

inline int soap_read_TransferList(struct soap *soap, struct TransferList *p)
{
	if (p)
	{	::soap_default_TransferList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_TransferList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_TransferList(struct soap *soap, const char *URL, struct TransferList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_TransferList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_TransferList(struct soap *soap, struct TransferList *p)
{
	if (::soap_read_TransferList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetQueuedTransfersResponse_DEFINED
#define SOAP_TYPE__cwmp__GetQueuedTransfersResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetQueuedTransfersResponse(struct soap*, struct _cwmp__GetQueuedTransfersResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetQueuedTransfersResponse(struct soap*, const struct _cwmp__GetQueuedTransfersResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetQueuedTransfersResponse(struct soap*, const char*, int, const struct _cwmp__GetQueuedTransfersResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetQueuedTransfersResponse * SOAP_FMAC4 soap_in__cwmp__GetQueuedTransfersResponse(struct soap*, const char*, struct _cwmp__GetQueuedTransfersResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetQueuedTransfersResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetQueuedTransfersResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetQueuedTransfersResponse * soap_new__cwmp__GetQueuedTransfersResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetQueuedTransfersResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetQueuedTransfersResponse * soap_new_req__cwmp__GetQueuedTransfersResponse(
	struct soap *soap,
	struct TransferList *TransferList)
{
	struct _cwmp__GetQueuedTransfersResponse *_p = ::soap_new__cwmp__GetQueuedTransfersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetQueuedTransfersResponse(soap, _p);
		_p->TransferList = TransferList;
	}
	return _p;
}

inline struct _cwmp__GetQueuedTransfersResponse * soap_new_set__cwmp__GetQueuedTransfersResponse(
	struct soap *soap,
	struct TransferList *TransferList)
{
	struct _cwmp__GetQueuedTransfersResponse *_p = ::soap_new__cwmp__GetQueuedTransfersResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetQueuedTransfersResponse(soap, _p);
		_p->TransferList = TransferList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetQueuedTransfersResponse(struct soap*, const struct _cwmp__GetQueuedTransfersResponse *, const char*, const char*);

inline int soap_write__cwmp__GetQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfersResponse(soap, p, "cwmp:GetQueuedTransfersResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfersResponse(soap, p, "cwmp:GetQueuedTransfersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfersResponse(soap, p, "cwmp:GetQueuedTransfersResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfersResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfersResponse(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfersResponse(soap, p, "cwmp:GetQueuedTransfersResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetQueuedTransfersResponse * SOAP_FMAC4 soap_get__cwmp__GetQueuedTransfersResponse(struct soap*, struct _cwmp__GetQueuedTransfersResponse *, const char*, const char*);

inline int soap_read__cwmp__GetQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetQueuedTransfersResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetQueuedTransfersResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetQueuedTransfersResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetQueuedTransfersResponse(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfersResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetQueuedTransfersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetQueuedTransfersResponse(struct soap *soap, struct _cwmp__GetQueuedTransfersResponse *p)
{
	if (::soap_read__cwmp__GetQueuedTransfersResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetQueuedTransfers_DEFINED
#define SOAP_TYPE__cwmp__GetQueuedTransfers_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetQueuedTransfers(struct soap*, struct _cwmp__GetQueuedTransfers *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetQueuedTransfers(struct soap*, const struct _cwmp__GetQueuedTransfers *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetQueuedTransfers(struct soap*, const char*, int, const struct _cwmp__GetQueuedTransfers *, const char*);
SOAP_FMAC3 struct _cwmp__GetQueuedTransfers * SOAP_FMAC4 soap_in__cwmp__GetQueuedTransfers(struct soap*, const char*, struct _cwmp__GetQueuedTransfers *, const char*);
SOAP_FMAC1 struct _cwmp__GetQueuedTransfers * SOAP_FMAC2 soap_instantiate__cwmp__GetQueuedTransfers(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetQueuedTransfers * soap_new__cwmp__GetQueuedTransfers(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetQueuedTransfers(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetQueuedTransfers * soap_new_req__cwmp__GetQueuedTransfers(
	struct soap *soap)
{
	struct _cwmp__GetQueuedTransfers *_p = ::soap_new__cwmp__GetQueuedTransfers(soap);
	if (_p)
	{	::soap_default__cwmp__GetQueuedTransfers(soap, _p);
	}
	return _p;
}

inline struct _cwmp__GetQueuedTransfers * soap_new_set__cwmp__GetQueuedTransfers(
	struct soap *soap)
{
	struct _cwmp__GetQueuedTransfers *_p = ::soap_new__cwmp__GetQueuedTransfers(soap);
	if (_p)
	{	::soap_default__cwmp__GetQueuedTransfers(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetQueuedTransfers(struct soap*, const struct _cwmp__GetQueuedTransfers *, const char*, const char*);

inline int soap_write__cwmp__GetQueuedTransfers(struct soap *soap, struct _cwmp__GetQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfers(soap, p, "cwmp:GetQueuedTransfers", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfers(soap, p, "cwmp:GetQueuedTransfers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfers(soap, p, "cwmp:GetQueuedTransfers", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfers const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetQueuedTransfers(soap, p), 0) || ::soap_put__cwmp__GetQueuedTransfers(soap, p, "cwmp:GetQueuedTransfers", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetQueuedTransfers * SOAP_FMAC4 soap_get__cwmp__GetQueuedTransfers(struct soap*, struct _cwmp__GetQueuedTransfers *, const char*, const char*);

inline int soap_read__cwmp__GetQueuedTransfers(struct soap *soap, struct _cwmp__GetQueuedTransfers *p)
{
	if (p)
	{	::soap_default__cwmp__GetQueuedTransfers(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetQueuedTransfers(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetQueuedTransfers(struct soap *soap, const char *URL, struct _cwmp__GetQueuedTransfers *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetQueuedTransfers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetQueuedTransfers(struct soap *soap, struct _cwmp__GetQueuedTransfers *p)
{
	if (::soap_read__cwmp__GetQueuedTransfers(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__RebootResponse_DEFINED
#define SOAP_TYPE__cwmp__RebootResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__RebootResponse(struct soap*, struct _cwmp__RebootResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__RebootResponse(struct soap*, const struct _cwmp__RebootResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__RebootResponse(struct soap*, const char*, int, const struct _cwmp__RebootResponse *, const char*);
SOAP_FMAC3 struct _cwmp__RebootResponse * SOAP_FMAC4 soap_in__cwmp__RebootResponse(struct soap*, const char*, struct _cwmp__RebootResponse *, const char*);
SOAP_FMAC1 struct _cwmp__RebootResponse * SOAP_FMAC2 soap_instantiate__cwmp__RebootResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__RebootResponse * soap_new__cwmp__RebootResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__RebootResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__RebootResponse * soap_new_req__cwmp__RebootResponse(
	struct soap *soap)
{
	struct _cwmp__RebootResponse *_p = ::soap_new__cwmp__RebootResponse(soap);
	if (_p)
	{	::soap_default__cwmp__RebootResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__RebootResponse * soap_new_set__cwmp__RebootResponse(
	struct soap *soap)
{
	struct _cwmp__RebootResponse *_p = ::soap_new__cwmp__RebootResponse(soap);
	if (_p)
	{	::soap_default__cwmp__RebootResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__RebootResponse(struct soap*, const struct _cwmp__RebootResponse *, const char*, const char*);

inline int soap_write__cwmp__RebootResponse(struct soap *soap, struct _cwmp__RebootResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__RebootResponse(soap, p), 0) || ::soap_put__cwmp__RebootResponse(soap, p, "cwmp:RebootResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__RebootResponse(struct soap *soap, const char *URL, struct _cwmp__RebootResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RebootResponse(soap, p), 0) || ::soap_put__cwmp__RebootResponse(soap, p, "cwmp:RebootResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__RebootResponse(struct soap *soap, const char *URL, struct _cwmp__RebootResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RebootResponse(soap, p), 0) || ::soap_put__cwmp__RebootResponse(soap, p, "cwmp:RebootResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__RebootResponse(struct soap *soap, const char *URL, struct _cwmp__RebootResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__RebootResponse(soap, p), 0) || ::soap_put__cwmp__RebootResponse(soap, p, "cwmp:RebootResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__RebootResponse * SOAP_FMAC4 soap_get__cwmp__RebootResponse(struct soap*, struct _cwmp__RebootResponse *, const char*, const char*);

inline int soap_read__cwmp__RebootResponse(struct soap *soap, struct _cwmp__RebootResponse *p)
{
	if (p)
	{	::soap_default__cwmp__RebootResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__RebootResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__RebootResponse(struct soap *soap, const char *URL, struct _cwmp__RebootResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__RebootResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__RebootResponse(struct soap *soap, struct _cwmp__RebootResponse *p)
{
	if (::soap_read__cwmp__RebootResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Reboot_DEFINED
#define SOAP_TYPE__cwmp__Reboot_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Reboot(struct soap*, struct _cwmp__Reboot *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Reboot(struct soap*, const struct _cwmp__Reboot *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Reboot(struct soap*, const char*, int, const struct _cwmp__Reboot *, const char*);
SOAP_FMAC3 struct _cwmp__Reboot * SOAP_FMAC4 soap_in__cwmp__Reboot(struct soap*, const char*, struct _cwmp__Reboot *, const char*);
SOAP_FMAC1 struct _cwmp__Reboot * SOAP_FMAC2 soap_instantiate__cwmp__Reboot(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Reboot * soap_new__cwmp__Reboot(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Reboot(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Reboot * soap_new_req__cwmp__Reboot(
	struct soap *soap,
	char *CommandKey)
{
	struct _cwmp__Reboot *_p = ::soap_new__cwmp__Reboot(soap);
	if (_p)
	{	::soap_default__cwmp__Reboot(soap, _p);
		_p->CommandKey = CommandKey;
	}
	return _p;
}

inline struct _cwmp__Reboot * soap_new_set__cwmp__Reboot(
	struct soap *soap,
	char *CommandKey)
{
	struct _cwmp__Reboot *_p = ::soap_new__cwmp__Reboot(soap);
	if (_p)
	{	::soap_default__cwmp__Reboot(soap, _p);
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Reboot(struct soap*, const struct _cwmp__Reboot *, const char*, const char*);

inline int soap_write__cwmp__Reboot(struct soap *soap, struct _cwmp__Reboot const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Reboot(soap, p), 0) || ::soap_put__cwmp__Reboot(soap, p, "cwmp:Reboot", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Reboot(struct soap *soap, const char *URL, struct _cwmp__Reboot const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Reboot(soap, p), 0) || ::soap_put__cwmp__Reboot(soap, p, "cwmp:Reboot", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Reboot(struct soap *soap, const char *URL, struct _cwmp__Reboot const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Reboot(soap, p), 0) || ::soap_put__cwmp__Reboot(soap, p, "cwmp:Reboot", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Reboot(struct soap *soap, const char *URL, struct _cwmp__Reboot const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Reboot(soap, p), 0) || ::soap_put__cwmp__Reboot(soap, p, "cwmp:Reboot", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Reboot * SOAP_FMAC4 soap_get__cwmp__Reboot(struct soap*, struct _cwmp__Reboot *, const char*, const char*);

inline int soap_read__cwmp__Reboot(struct soap *soap, struct _cwmp__Reboot *p)
{
	if (p)
	{	::soap_default__cwmp__Reboot(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Reboot(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Reboot(struct soap *soap, const char *URL, struct _cwmp__Reboot *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Reboot(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Reboot(struct soap *soap, struct _cwmp__Reboot *p)
{
	if (::soap_read__cwmp__Reboot(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DownloadResponse_DEFINED
#define SOAP_TYPE__cwmp__DownloadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__DownloadResponse(struct soap*, struct _cwmp__DownloadResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__DownloadResponse(struct soap*, const struct _cwmp__DownloadResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DownloadResponse(struct soap*, const char*, int, const struct _cwmp__DownloadResponse *, const char*);
SOAP_FMAC3 struct _cwmp__DownloadResponse * SOAP_FMAC4 soap_in__cwmp__DownloadResponse(struct soap*, const char*, struct _cwmp__DownloadResponse *, const char*);
SOAP_FMAC1 struct _cwmp__DownloadResponse * SOAP_FMAC2 soap_instantiate__cwmp__DownloadResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__DownloadResponse * soap_new__cwmp__DownloadResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__DownloadResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__DownloadResponse * soap_new_req__cwmp__DownloadResponse(
	struct soap *soap,
	enum _cwmp__DownloadResponse_Status Status,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__DownloadResponse *_p = ::soap_new__cwmp__DownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DownloadResponse(soap, _p);
		_p->Status = Status;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}

inline struct _cwmp__DownloadResponse * soap_new_set__cwmp__DownloadResponse(
	struct soap *soap,
	enum _cwmp__DownloadResponse_Status Status,
	time_t StartTime,
	time_t CompleteTime)
{
	struct _cwmp__DownloadResponse *_p = ::soap_new__cwmp__DownloadResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DownloadResponse(soap, _p);
		_p->Status = Status;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DownloadResponse(struct soap*, const struct _cwmp__DownloadResponse *, const char*, const char*);

inline int soap_write__cwmp__DownloadResponse(struct soap *soap, struct _cwmp__DownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__DownloadResponse(soap, p), 0) || ::soap_put__cwmp__DownloadResponse(soap, p, "cwmp:DownloadResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DownloadResponse(struct soap *soap, const char *URL, struct _cwmp__DownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DownloadResponse(soap, p), 0) || ::soap_put__cwmp__DownloadResponse(soap, p, "cwmp:DownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DownloadResponse(struct soap *soap, const char *URL, struct _cwmp__DownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DownloadResponse(soap, p), 0) || ::soap_put__cwmp__DownloadResponse(soap, p, "cwmp:DownloadResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DownloadResponse(struct soap *soap, const char *URL, struct _cwmp__DownloadResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DownloadResponse(soap, p), 0) || ::soap_put__cwmp__DownloadResponse(soap, p, "cwmp:DownloadResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__DownloadResponse * SOAP_FMAC4 soap_get__cwmp__DownloadResponse(struct soap*, struct _cwmp__DownloadResponse *, const char*, const char*);

inline int soap_read__cwmp__DownloadResponse(struct soap *soap, struct _cwmp__DownloadResponse *p)
{
	if (p)
	{	::soap_default__cwmp__DownloadResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__DownloadResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DownloadResponse(struct soap *soap, const char *URL, struct _cwmp__DownloadResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DownloadResponse(struct soap *soap, struct _cwmp__DownloadResponse *p)
{
	if (::soap_read__cwmp__DownloadResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Download_DEFINED
#define SOAP_TYPE__cwmp__Download_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Download(struct soap*, struct _cwmp__Download *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Download(struct soap*, const struct _cwmp__Download *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Download(struct soap*, const char*, int, const struct _cwmp__Download *, const char*);
SOAP_FMAC3 struct _cwmp__Download * SOAP_FMAC4 soap_in__cwmp__Download(struct soap*, const char*, struct _cwmp__Download *, const char*);
SOAP_FMAC1 struct _cwmp__Download * SOAP_FMAC2 soap_instantiate__cwmp__Download(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Download * soap_new__cwmp__Download(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Download(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Download * soap_new_req__cwmp__Download(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int FileSize,
	char *TargetFileName,
	unsigned int DelaySeconds,
	char *SuccessURL,
	char *FailureURL)
{
	struct _cwmp__Download *_p = ::soap_new__cwmp__Download(soap);
	if (_p)
	{	::soap_default__cwmp__Download(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->DelaySeconds = DelaySeconds;
		_p->SuccessURL = SuccessURL;
		_p->FailureURL = FailureURL;
	}
	return _p;
}

inline struct _cwmp__Download * soap_new_set__cwmp__Download(
	struct soap *soap,
	char *CommandKey,
	char *FileType,
	char *URL,
	char *Username,
	char *Password,
	unsigned int FileSize,
	char *TargetFileName,
	unsigned int DelaySeconds,
	char *SuccessURL,
	char *FailureURL)
{
	struct _cwmp__Download *_p = ::soap_new__cwmp__Download(soap);
	if (_p)
	{	::soap_default__cwmp__Download(soap, _p);
		_p->CommandKey = CommandKey;
		_p->FileType = FileType;
		_p->URL = URL;
		_p->Username = Username;
		_p->Password = Password;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
		_p->DelaySeconds = DelaySeconds;
		_p->SuccessURL = SuccessURL;
		_p->FailureURL = FailureURL;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Download(struct soap*, const struct _cwmp__Download *, const char*, const char*);

inline int soap_write__cwmp__Download(struct soap *soap, struct _cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Download(soap, p), 0) || ::soap_put__cwmp__Download(soap, p, "cwmp:Download", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Download(struct soap *soap, const char *URL, struct _cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Download(soap, p), 0) || ::soap_put__cwmp__Download(soap, p, "cwmp:Download", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Download(struct soap *soap, const char *URL, struct _cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Download(soap, p), 0) || ::soap_put__cwmp__Download(soap, p, "cwmp:Download", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Download(struct soap *soap, const char *URL, struct _cwmp__Download const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Download(soap, p), 0) || ::soap_put__cwmp__Download(soap, p, "cwmp:Download", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Download * SOAP_FMAC4 soap_get__cwmp__Download(struct soap*, struct _cwmp__Download *, const char*, const char*);

inline int soap_read__cwmp__Download(struct soap *soap, struct _cwmp__Download *p)
{
	if (p)
	{	::soap_default__cwmp__Download(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Download(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Download(struct soap *soap, const char *URL, struct _cwmp__Download *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Download(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Download(struct soap *soap, struct _cwmp__Download *p)
{
	if (::soap_read__cwmp__Download(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DeleteObjectResponse_DEFINED
#define SOAP_TYPE__cwmp__DeleteObjectResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__DeleteObjectResponse(struct soap*, struct _cwmp__DeleteObjectResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__DeleteObjectResponse(struct soap*, const struct _cwmp__DeleteObjectResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DeleteObjectResponse(struct soap*, const char*, int, const struct _cwmp__DeleteObjectResponse *, const char*);
SOAP_FMAC3 struct _cwmp__DeleteObjectResponse * SOAP_FMAC4 soap_in__cwmp__DeleteObjectResponse(struct soap*, const char*, struct _cwmp__DeleteObjectResponse *, const char*);
SOAP_FMAC1 struct _cwmp__DeleteObjectResponse * SOAP_FMAC2 soap_instantiate__cwmp__DeleteObjectResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__DeleteObjectResponse * soap_new__cwmp__DeleteObjectResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__DeleteObjectResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__DeleteObjectResponse * soap_new_req__cwmp__DeleteObjectResponse(
	struct soap *soap,
	enum _cwmp__DeleteObjectResponse_Status Status)
{
	struct _cwmp__DeleteObjectResponse *_p = ::soap_new__cwmp__DeleteObjectResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DeleteObjectResponse(soap, _p);
		_p->Status = Status;
	}
	return _p;
}

inline struct _cwmp__DeleteObjectResponse * soap_new_set__cwmp__DeleteObjectResponse(
	struct soap *soap,
	enum _cwmp__DeleteObjectResponse_Status Status)
{
	struct _cwmp__DeleteObjectResponse *_p = ::soap_new__cwmp__DeleteObjectResponse(soap);
	if (_p)
	{	::soap_default__cwmp__DeleteObjectResponse(soap, _p);
		_p->Status = Status;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DeleteObjectResponse(struct soap*, const struct _cwmp__DeleteObjectResponse *, const char*, const char*);

inline int soap_write__cwmp__DeleteObjectResponse(struct soap *soap, struct _cwmp__DeleteObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__DeleteObjectResponse(soap, p), 0) || ::soap_put__cwmp__DeleteObjectResponse(soap, p, "cwmp:DeleteObjectResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DeleteObjectResponse(struct soap *soap, const char *URL, struct _cwmp__DeleteObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObjectResponse(soap, p), 0) || ::soap_put__cwmp__DeleteObjectResponse(soap, p, "cwmp:DeleteObjectResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DeleteObjectResponse(struct soap *soap, const char *URL, struct _cwmp__DeleteObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObjectResponse(soap, p), 0) || ::soap_put__cwmp__DeleteObjectResponse(soap, p, "cwmp:DeleteObjectResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DeleteObjectResponse(struct soap *soap, const char *URL, struct _cwmp__DeleteObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObjectResponse(soap, p), 0) || ::soap_put__cwmp__DeleteObjectResponse(soap, p, "cwmp:DeleteObjectResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__DeleteObjectResponse * SOAP_FMAC4 soap_get__cwmp__DeleteObjectResponse(struct soap*, struct _cwmp__DeleteObjectResponse *, const char*, const char*);

inline int soap_read__cwmp__DeleteObjectResponse(struct soap *soap, struct _cwmp__DeleteObjectResponse *p)
{
	if (p)
	{	::soap_default__cwmp__DeleteObjectResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__DeleteObjectResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DeleteObjectResponse(struct soap *soap, const char *URL, struct _cwmp__DeleteObjectResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DeleteObjectResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DeleteObjectResponse(struct soap *soap, struct _cwmp__DeleteObjectResponse *p)
{
	if (::soap_read__cwmp__DeleteObjectResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__DeleteObject_DEFINED
#define SOAP_TYPE__cwmp__DeleteObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__DeleteObject(struct soap*, struct _cwmp__DeleteObject *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__DeleteObject(struct soap*, const struct _cwmp__DeleteObject *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__DeleteObject(struct soap*, const char*, int, const struct _cwmp__DeleteObject *, const char*);
SOAP_FMAC3 struct _cwmp__DeleteObject * SOAP_FMAC4 soap_in__cwmp__DeleteObject(struct soap*, const char*, struct _cwmp__DeleteObject *, const char*);
SOAP_FMAC1 struct _cwmp__DeleteObject * SOAP_FMAC2 soap_instantiate__cwmp__DeleteObject(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__DeleteObject * soap_new__cwmp__DeleteObject(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__DeleteObject(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__DeleteObject * soap_new_req__cwmp__DeleteObject(
	struct soap *soap,
	char *ObjectName,
	char *ParameterKey)
{
	struct _cwmp__DeleteObject *_p = ::soap_new__cwmp__DeleteObject(soap);
	if (_p)
	{	::soap_default__cwmp__DeleteObject(soap, _p);
		_p->ObjectName = ObjectName;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}

inline struct _cwmp__DeleteObject * soap_new_set__cwmp__DeleteObject(
	struct soap *soap,
	char *ObjectName,
	char *ParameterKey)
{
	struct _cwmp__DeleteObject *_p = ::soap_new__cwmp__DeleteObject(soap);
	if (_p)
	{	::soap_default__cwmp__DeleteObject(soap, _p);
		_p->ObjectName = ObjectName;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__DeleteObject(struct soap*, const struct _cwmp__DeleteObject *, const char*, const char*);

inline int soap_write__cwmp__DeleteObject(struct soap *soap, struct _cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__DeleteObject(soap, p), 0) || ::soap_put__cwmp__DeleteObject(soap, p, "cwmp:DeleteObject", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__DeleteObject(struct soap *soap, const char *URL, struct _cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObject(soap, p), 0) || ::soap_put__cwmp__DeleteObject(soap, p, "cwmp:DeleteObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__DeleteObject(struct soap *soap, const char *URL, struct _cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObject(soap, p), 0) || ::soap_put__cwmp__DeleteObject(soap, p, "cwmp:DeleteObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__DeleteObject(struct soap *soap, const char *URL, struct _cwmp__DeleteObject const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__DeleteObject(soap, p), 0) || ::soap_put__cwmp__DeleteObject(soap, p, "cwmp:DeleteObject", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__DeleteObject * SOAP_FMAC4 soap_get__cwmp__DeleteObject(struct soap*, struct _cwmp__DeleteObject *, const char*, const char*);

inline int soap_read__cwmp__DeleteObject(struct soap *soap, struct _cwmp__DeleteObject *p)
{
	if (p)
	{	::soap_default__cwmp__DeleteObject(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__DeleteObject(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__DeleteObject(struct soap *soap, const char *URL, struct _cwmp__DeleteObject *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__DeleteObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__DeleteObject(struct soap *soap, struct _cwmp__DeleteObject *p)
{
	if (::soap_read__cwmp__DeleteObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AddObjectResponse_DEFINED
#define SOAP_TYPE__cwmp__AddObjectResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AddObjectResponse(struct soap*, struct _cwmp__AddObjectResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AddObjectResponse(struct soap*, const struct _cwmp__AddObjectResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AddObjectResponse(struct soap*, const char*, int, const struct _cwmp__AddObjectResponse *, const char*);
SOAP_FMAC3 struct _cwmp__AddObjectResponse * SOAP_FMAC4 soap_in__cwmp__AddObjectResponse(struct soap*, const char*, struct _cwmp__AddObjectResponse *, const char*);
SOAP_FMAC1 struct _cwmp__AddObjectResponse * SOAP_FMAC2 soap_instantiate__cwmp__AddObjectResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AddObjectResponse * soap_new__cwmp__AddObjectResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AddObjectResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AddObjectResponse * soap_new_req__cwmp__AddObjectResponse(
	struct soap *soap,
	unsigned int InstanceNumber,
	enum _cwmp__AddObjectResponse_Status Status)
{
	struct _cwmp__AddObjectResponse *_p = ::soap_new__cwmp__AddObjectResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AddObjectResponse(soap, _p);
		_p->InstanceNumber = InstanceNumber;
		_p->Status = Status;
	}
	return _p;
}

inline struct _cwmp__AddObjectResponse * soap_new_set__cwmp__AddObjectResponse(
	struct soap *soap,
	unsigned int InstanceNumber,
	enum _cwmp__AddObjectResponse_Status Status)
{
	struct _cwmp__AddObjectResponse *_p = ::soap_new__cwmp__AddObjectResponse(soap);
	if (_p)
	{	::soap_default__cwmp__AddObjectResponse(soap, _p);
		_p->InstanceNumber = InstanceNumber;
		_p->Status = Status;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AddObjectResponse(struct soap*, const struct _cwmp__AddObjectResponse *, const char*, const char*);

inline int soap_write__cwmp__AddObjectResponse(struct soap *soap, struct _cwmp__AddObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AddObjectResponse(soap, p), 0) || ::soap_put__cwmp__AddObjectResponse(soap, p, "cwmp:AddObjectResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AddObjectResponse(struct soap *soap, const char *URL, struct _cwmp__AddObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObjectResponse(soap, p), 0) || ::soap_put__cwmp__AddObjectResponse(soap, p, "cwmp:AddObjectResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AddObjectResponse(struct soap *soap, const char *URL, struct _cwmp__AddObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObjectResponse(soap, p), 0) || ::soap_put__cwmp__AddObjectResponse(soap, p, "cwmp:AddObjectResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AddObjectResponse(struct soap *soap, const char *URL, struct _cwmp__AddObjectResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObjectResponse(soap, p), 0) || ::soap_put__cwmp__AddObjectResponse(soap, p, "cwmp:AddObjectResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AddObjectResponse * SOAP_FMAC4 soap_get__cwmp__AddObjectResponse(struct soap*, struct _cwmp__AddObjectResponse *, const char*, const char*);

inline int soap_read__cwmp__AddObjectResponse(struct soap *soap, struct _cwmp__AddObjectResponse *p)
{
	if (p)
	{	::soap_default__cwmp__AddObjectResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AddObjectResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AddObjectResponse(struct soap *soap, const char *URL, struct _cwmp__AddObjectResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AddObjectResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AddObjectResponse(struct soap *soap, struct _cwmp__AddObjectResponse *p)
{
	if (::soap_read__cwmp__AddObjectResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__AddObject_DEFINED
#define SOAP_TYPE__cwmp__AddObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__AddObject(struct soap*, struct _cwmp__AddObject *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__AddObject(struct soap*, const struct _cwmp__AddObject *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__AddObject(struct soap*, const char*, int, const struct _cwmp__AddObject *, const char*);
SOAP_FMAC3 struct _cwmp__AddObject * SOAP_FMAC4 soap_in__cwmp__AddObject(struct soap*, const char*, struct _cwmp__AddObject *, const char*);
SOAP_FMAC1 struct _cwmp__AddObject * SOAP_FMAC2 soap_instantiate__cwmp__AddObject(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__AddObject * soap_new__cwmp__AddObject(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__AddObject(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__AddObject * soap_new_req__cwmp__AddObject(
	struct soap *soap,
	char *ObjectName,
	char *ParameterKey)
{
	struct _cwmp__AddObject *_p = ::soap_new__cwmp__AddObject(soap);
	if (_p)
	{	::soap_default__cwmp__AddObject(soap, _p);
		_p->ObjectName = ObjectName;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}

inline struct _cwmp__AddObject * soap_new_set__cwmp__AddObject(
	struct soap *soap,
	char *ObjectName,
	char *ParameterKey)
{
	struct _cwmp__AddObject *_p = ::soap_new__cwmp__AddObject(soap);
	if (_p)
	{	::soap_default__cwmp__AddObject(soap, _p);
		_p->ObjectName = ObjectName;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__AddObject(struct soap*, const struct _cwmp__AddObject *, const char*, const char*);

inline int soap_write__cwmp__AddObject(struct soap *soap, struct _cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__AddObject(soap, p), 0) || ::soap_put__cwmp__AddObject(soap, p, "cwmp:AddObject", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__AddObject(struct soap *soap, const char *URL, struct _cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObject(soap, p), 0) || ::soap_put__cwmp__AddObject(soap, p, "cwmp:AddObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__AddObject(struct soap *soap, const char *URL, struct _cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObject(soap, p), 0) || ::soap_put__cwmp__AddObject(soap, p, "cwmp:AddObject", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__AddObject(struct soap *soap, const char *URL, struct _cwmp__AddObject const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__AddObject(soap, p), 0) || ::soap_put__cwmp__AddObject(soap, p, "cwmp:AddObject", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__AddObject * SOAP_FMAC4 soap_get__cwmp__AddObject(struct soap*, struct _cwmp__AddObject *, const char*, const char*);

inline int soap_read__cwmp__AddObject(struct soap *soap, struct _cwmp__AddObject *p)
{
	if (p)
	{	::soap_default__cwmp__AddObject(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__AddObject(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__AddObject(struct soap *soap, const char *URL, struct _cwmp__AddObject *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__AddObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__AddObject(struct soap *soap, struct _cwmp__AddObject *p)
{
	if (::soap_read__cwmp__AddObject(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_ParameterAttributeList_DEFINED
#define SOAP_TYPE_ParameterAttributeList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ParameterAttributeList(struct soap*, struct ParameterAttributeList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ParameterAttributeList(struct soap*, const struct ParameterAttributeList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ParameterAttributeList(struct soap*, const char*, int, const struct ParameterAttributeList *, const char*);
SOAP_FMAC3 struct ParameterAttributeList * SOAP_FMAC4 soap_in_ParameterAttributeList(struct soap*, const char*, struct ParameterAttributeList *, const char*);
SOAP_FMAC1 struct ParameterAttributeList * SOAP_FMAC2 soap_instantiate_ParameterAttributeList(struct soap*, int, const char*, const char*, size_t*);

inline struct ParameterAttributeList * soap_new_ParameterAttributeList(struct soap *soap, int n = -1)
{
	return soap_instantiate_ParameterAttributeList(soap, n, NULL, NULL, NULL);
}

inline struct ParameterAttributeList * soap_new_req_ParameterAttributeList(
	struct soap *soap)
{
	struct ParameterAttributeList *_p = ::soap_new_ParameterAttributeList(soap);
	if (_p)
	{	::soap_default_ParameterAttributeList(soap, _p);
	}
	return _p;
}

inline struct ParameterAttributeList * soap_new_set_ParameterAttributeList(
	struct soap *soap,
	struct cwmp__ParameterAttributeStruct **__ptrParameterAttributeStruct,
	int __size)
{
	struct ParameterAttributeList *_p = ::soap_new_ParameterAttributeList(soap);
	if (_p)
	{	::soap_default_ParameterAttributeList(soap, _p);
		_p->__ptrParameterAttributeStruct = __ptrParameterAttributeStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ParameterAttributeList(struct soap*, const struct ParameterAttributeList *, const char*, const char*);

inline int soap_write_ParameterAttributeList(struct soap *soap, struct ParameterAttributeList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_ParameterAttributeList(soap, p), 0) || ::soap_put_ParameterAttributeList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_ParameterAttributeList(struct soap *soap, const char *URL, struct ParameterAttributeList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterAttributeList(soap, p), 0) || ::soap_put_ParameterAttributeList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_ParameterAttributeList(struct soap *soap, const char *URL, struct ParameterAttributeList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterAttributeList(soap, p), 0) || ::soap_put_ParameterAttributeList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_ParameterAttributeList(struct soap *soap, const char *URL, struct ParameterAttributeList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterAttributeList(soap, p), 0) || ::soap_put_ParameterAttributeList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct ParameterAttributeList * SOAP_FMAC4 soap_get_ParameterAttributeList(struct soap*, struct ParameterAttributeList *, const char*, const char*);

inline int soap_read_ParameterAttributeList(struct soap *soap, struct ParameterAttributeList *p)
{
	if (p)
	{	::soap_default_ParameterAttributeList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_ParameterAttributeList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_ParameterAttributeList(struct soap *soap, const char *URL, struct ParameterAttributeList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_ParameterAttributeList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_ParameterAttributeList(struct soap *soap, struct ParameterAttributeList *p)
{
	if (::soap_read_ParameterAttributeList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterAttributesResponse_DEFINED
#define SOAP_TYPE__cwmp__GetParameterAttributesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterAttributesResponse(struct soap*, struct _cwmp__GetParameterAttributesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterAttributesResponse(struct soap*, const struct _cwmp__GetParameterAttributesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterAttributesResponse(struct soap*, const char*, int, const struct _cwmp__GetParameterAttributesResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterAttributesResponse * SOAP_FMAC4 soap_in__cwmp__GetParameterAttributesResponse(struct soap*, const char*, struct _cwmp__GetParameterAttributesResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterAttributesResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterAttributesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterAttributesResponse * soap_new__cwmp__GetParameterAttributesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterAttributesResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterAttributesResponse * soap_new_req__cwmp__GetParameterAttributesResponse(
	struct soap *soap,
	struct ParameterAttributeList *ParameterList)
{
	struct _cwmp__GetParameterAttributesResponse *_p = ::soap_new__cwmp__GetParameterAttributesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterAttributesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}

inline struct _cwmp__GetParameterAttributesResponse * soap_new_set__cwmp__GetParameterAttributesResponse(
	struct soap *soap,
	struct ParameterAttributeList *ParameterList)
{
	struct _cwmp__GetParameterAttributesResponse *_p = ::soap_new__cwmp__GetParameterAttributesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterAttributesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterAttributesResponse(struct soap*, const struct _cwmp__GetParameterAttributesResponse *, const char*, const char*);

inline int soap_write__cwmp__GetParameterAttributesResponse(struct soap *soap, struct _cwmp__GetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributesResponse(soap, p, "cwmp:GetParameterAttributesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributesResponse(soap, p, "cwmp:GetParameterAttributesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributesResponse(soap, p, "cwmp:GetParameterAttributesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributesResponse(soap, p, "cwmp:GetParameterAttributesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterAttributesResponse * SOAP_FMAC4 soap_get__cwmp__GetParameterAttributesResponse(struct soap*, struct _cwmp__GetParameterAttributesResponse *, const char*, const char*);

inline int soap_read__cwmp__GetParameterAttributesResponse(struct soap *soap, struct _cwmp__GetParameterAttributesResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterAttributesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterAttributesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterAttributesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterAttributesResponse(struct soap *soap, struct _cwmp__GetParameterAttributesResponse *p)
{
	if (::soap_read__cwmp__GetParameterAttributesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterAttributes_DEFINED
#define SOAP_TYPE__cwmp__GetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterAttributes(struct soap*, struct _cwmp__GetParameterAttributes *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterAttributes(struct soap*, const struct _cwmp__GetParameterAttributes *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterAttributes(struct soap*, const char*, int, const struct _cwmp__GetParameterAttributes *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterAttributes * SOAP_FMAC4 soap_in__cwmp__GetParameterAttributes(struct soap*, const char*, struct _cwmp__GetParameterAttributes *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterAttributes * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterAttributes(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterAttributes * soap_new__cwmp__GetParameterAttributes(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterAttributes(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterAttributes * soap_new_req__cwmp__GetParameterAttributes(
	struct soap *soap,
	struct ParameterNames *ParameterNames)
{
	struct _cwmp__GetParameterAttributes *_p = ::soap_new__cwmp__GetParameterAttributes(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterAttributes(soap, _p);
		_p->ParameterNames = ParameterNames;
	}
	return _p;
}

inline struct _cwmp__GetParameterAttributes * soap_new_set__cwmp__GetParameterAttributes(
	struct soap *soap,
	struct ParameterNames *ParameterNames)
{
	struct _cwmp__GetParameterAttributes *_p = ::soap_new__cwmp__GetParameterAttributes(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterAttributes(soap, _p);
		_p->ParameterNames = ParameterNames;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterAttributes(struct soap*, const struct _cwmp__GetParameterAttributes *, const char*, const char*);

inline int soap_write__cwmp__GetParameterAttributes(struct soap *soap, struct _cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributes(soap, p, "cwmp:GetParameterAttributes", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributes(soap, p, "cwmp:GetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributes(soap, p, "cwmp:GetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__GetParameterAttributes(soap, p, "cwmp:GetParameterAttributes", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterAttributes * SOAP_FMAC4 soap_get__cwmp__GetParameterAttributes(struct soap*, struct _cwmp__GetParameterAttributes *, const char*, const char*);

inline int soap_read__cwmp__GetParameterAttributes(struct soap *soap, struct _cwmp__GetParameterAttributes *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterAttributes(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterAttributes(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__GetParameterAttributes *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterAttributes(struct soap *soap, struct _cwmp__GetParameterAttributes *p)
{
	if (::soap_read__cwmp__GetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetParameterAttributesResponse_DEFINED
#define SOAP_TYPE__cwmp__SetParameterAttributesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetParameterAttributesResponse(struct soap*, struct _cwmp__SetParameterAttributesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetParameterAttributesResponse(struct soap*, const struct _cwmp__SetParameterAttributesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetParameterAttributesResponse(struct soap*, const char*, int, const struct _cwmp__SetParameterAttributesResponse *, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterAttributesResponse * SOAP_FMAC4 soap_in__cwmp__SetParameterAttributesResponse(struct soap*, const char*, struct _cwmp__SetParameterAttributesResponse *, const char*);
SOAP_FMAC1 struct _cwmp__SetParameterAttributesResponse * SOAP_FMAC2 soap_instantiate__cwmp__SetParameterAttributesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetParameterAttributesResponse * soap_new__cwmp__SetParameterAttributesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetParameterAttributesResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetParameterAttributesResponse * soap_new_req__cwmp__SetParameterAttributesResponse(
	struct soap *soap)
{
	struct _cwmp__SetParameterAttributesResponse *_p = ::soap_new__cwmp__SetParameterAttributesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterAttributesResponse(soap, _p);
	}
	return _p;
}

inline struct _cwmp__SetParameterAttributesResponse * soap_new_set__cwmp__SetParameterAttributesResponse(
	struct soap *soap)
{
	struct _cwmp__SetParameterAttributesResponse *_p = ::soap_new__cwmp__SetParameterAttributesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterAttributesResponse(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetParameterAttributesResponse(struct soap*, const struct _cwmp__SetParameterAttributesResponse *, const char*, const char*);

inline int soap_write__cwmp__SetParameterAttributesResponse(struct soap *soap, struct _cwmp__SetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributesResponse(soap, p, "cwmp:SetParameterAttributesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributesResponse(soap, p, "cwmp:SetParameterAttributesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributesResponse(soap, p, "cwmp:SetParameterAttributesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributesResponse(soap, p, "cwmp:SetParameterAttributesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetParameterAttributesResponse * SOAP_FMAC4 soap_get__cwmp__SetParameterAttributesResponse(struct soap*, struct _cwmp__SetParameterAttributesResponse *, const char*, const char*);

inline int soap_read__cwmp__SetParameterAttributesResponse(struct soap *soap, struct _cwmp__SetParameterAttributesResponse *p)
{
	if (p)
	{	::soap_default__cwmp__SetParameterAttributesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetParameterAttributesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetParameterAttributesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetParameterAttributesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetParameterAttributesResponse(struct soap *soap, struct _cwmp__SetParameterAttributesResponse *p)
{
	if (::soap_read__cwmp__SetParameterAttributesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_SetParameterAttributesList_DEFINED
#define SOAP_TYPE_SetParameterAttributesList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SetParameterAttributesList(struct soap*, struct SetParameterAttributesList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SetParameterAttributesList(struct soap*, const struct SetParameterAttributesList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SetParameterAttributesList(struct soap*, const char*, int, const struct SetParameterAttributesList *, const char*);
SOAP_FMAC3 struct SetParameterAttributesList * SOAP_FMAC4 soap_in_SetParameterAttributesList(struct soap*, const char*, struct SetParameterAttributesList *, const char*);
SOAP_FMAC1 struct SetParameterAttributesList * SOAP_FMAC2 soap_instantiate_SetParameterAttributesList(struct soap*, int, const char*, const char*, size_t*);

inline struct SetParameterAttributesList * soap_new_SetParameterAttributesList(struct soap *soap, int n = -1)
{
	return soap_instantiate_SetParameterAttributesList(soap, n, NULL, NULL, NULL);
}

inline struct SetParameterAttributesList * soap_new_req_SetParameterAttributesList(
	struct soap *soap)
{
	struct SetParameterAttributesList *_p = ::soap_new_SetParameterAttributesList(soap);
	if (_p)
	{	::soap_default_SetParameterAttributesList(soap, _p);
	}
	return _p;
}

inline struct SetParameterAttributesList * soap_new_set_SetParameterAttributesList(
	struct soap *soap,
	struct cwmp__SetParameterAttributesStruct **__ptrSetParameterAttributesStruct,
	int __size)
{
	struct SetParameterAttributesList *_p = ::soap_new_SetParameterAttributesList(soap);
	if (_p)
	{	::soap_default_SetParameterAttributesList(soap, _p);
		_p->__ptrSetParameterAttributesStruct = __ptrSetParameterAttributesStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SetParameterAttributesList(struct soap*, const struct SetParameterAttributesList *, const char*, const char*);

inline int soap_write_SetParameterAttributesList(struct soap *soap, struct SetParameterAttributesList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SetParameterAttributesList(soap, p), 0) || ::soap_put_SetParameterAttributesList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SetParameterAttributesList(struct soap *soap, const char *URL, struct SetParameterAttributesList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SetParameterAttributesList(soap, p), 0) || ::soap_put_SetParameterAttributesList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SetParameterAttributesList(struct soap *soap, const char *URL, struct SetParameterAttributesList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SetParameterAttributesList(soap, p), 0) || ::soap_put_SetParameterAttributesList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SetParameterAttributesList(struct soap *soap, const char *URL, struct SetParameterAttributesList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SetParameterAttributesList(soap, p), 0) || ::soap_put_SetParameterAttributesList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SetParameterAttributesList * SOAP_FMAC4 soap_get_SetParameterAttributesList(struct soap*, struct SetParameterAttributesList *, const char*, const char*);

inline int soap_read_SetParameterAttributesList(struct soap *soap, struct SetParameterAttributesList *p)
{
	if (p)
	{	::soap_default_SetParameterAttributesList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SetParameterAttributesList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SetParameterAttributesList(struct soap *soap, const char *URL, struct SetParameterAttributesList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SetParameterAttributesList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SetParameterAttributesList(struct soap *soap, struct SetParameterAttributesList *p)
{
	if (::soap_read_SetParameterAttributesList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetParameterAttributes_DEFINED
#define SOAP_TYPE__cwmp__SetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetParameterAttributes(struct soap*, struct _cwmp__SetParameterAttributes *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetParameterAttributes(struct soap*, const struct _cwmp__SetParameterAttributes *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetParameterAttributes(struct soap*, const char*, int, const struct _cwmp__SetParameterAttributes *, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterAttributes * SOAP_FMAC4 soap_in__cwmp__SetParameterAttributes(struct soap*, const char*, struct _cwmp__SetParameterAttributes *, const char*);
SOAP_FMAC1 struct _cwmp__SetParameterAttributes * SOAP_FMAC2 soap_instantiate__cwmp__SetParameterAttributes(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetParameterAttributes * soap_new__cwmp__SetParameterAttributes(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetParameterAttributes(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetParameterAttributes * soap_new_req__cwmp__SetParameterAttributes(
	struct soap *soap,
	struct SetParameterAttributesList *ParameterList)
{
	struct _cwmp__SetParameterAttributes *_p = ::soap_new__cwmp__SetParameterAttributes(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterAttributes(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}

inline struct _cwmp__SetParameterAttributes * soap_new_set__cwmp__SetParameterAttributes(
	struct soap *soap,
	struct SetParameterAttributesList *ParameterList)
{
	struct _cwmp__SetParameterAttributes *_p = ::soap_new__cwmp__SetParameterAttributes(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterAttributes(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetParameterAttributes(struct soap*, const struct _cwmp__SetParameterAttributes *, const char*, const char*);

inline int soap_write__cwmp__SetParameterAttributes(struct soap *soap, struct _cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributes(soap, p, "cwmp:SetParameterAttributes", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributes(soap, p, "cwmp:SetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributes(soap, p, "cwmp:SetParameterAttributes", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributes const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterAttributes(soap, p), 0) || ::soap_put__cwmp__SetParameterAttributes(soap, p, "cwmp:SetParameterAttributes", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetParameterAttributes * SOAP_FMAC4 soap_get__cwmp__SetParameterAttributes(struct soap*, struct _cwmp__SetParameterAttributes *, const char*, const char*);

inline int soap_read__cwmp__SetParameterAttributes(struct soap *soap, struct _cwmp__SetParameterAttributes *p)
{
	if (p)
	{	::soap_default__cwmp__SetParameterAttributes(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetParameterAttributes(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetParameterAttributes(struct soap *soap, const char *URL, struct _cwmp__SetParameterAttributes *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetParameterAttributes(struct soap *soap, struct _cwmp__SetParameterAttributes *p)
{
	if (::soap_read__cwmp__SetParameterAttributes(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_ParameterInfoList_DEFINED
#define SOAP_TYPE_ParameterInfoList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ParameterInfoList(struct soap*, struct ParameterInfoList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ParameterInfoList(struct soap*, const struct ParameterInfoList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ParameterInfoList(struct soap*, const char*, int, const struct ParameterInfoList *, const char*);
SOAP_FMAC3 struct ParameterInfoList * SOAP_FMAC4 soap_in_ParameterInfoList(struct soap*, const char*, struct ParameterInfoList *, const char*);
SOAP_FMAC1 struct ParameterInfoList * SOAP_FMAC2 soap_instantiate_ParameterInfoList(struct soap*, int, const char*, const char*, size_t*);

inline struct ParameterInfoList * soap_new_ParameterInfoList(struct soap *soap, int n = -1)
{
	return soap_instantiate_ParameterInfoList(soap, n, NULL, NULL, NULL);
}

inline struct ParameterInfoList * soap_new_req_ParameterInfoList(
	struct soap *soap)
{
	struct ParameterInfoList *_p = ::soap_new_ParameterInfoList(soap);
	if (_p)
	{	::soap_default_ParameterInfoList(soap, _p);
	}
	return _p;
}

inline struct ParameterInfoList * soap_new_set_ParameterInfoList(
	struct soap *soap,
	struct cwmp__ParameterInfoStruct **__ptrParameterInfoStruct,
	int __size)
{
	struct ParameterInfoList *_p = ::soap_new_ParameterInfoList(soap);
	if (_p)
	{	::soap_default_ParameterInfoList(soap, _p);
		_p->__ptrParameterInfoStruct = __ptrParameterInfoStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ParameterInfoList(struct soap*, const struct ParameterInfoList *, const char*, const char*);

inline int soap_write_ParameterInfoList(struct soap *soap, struct ParameterInfoList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_ParameterInfoList(soap, p), 0) || ::soap_put_ParameterInfoList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_ParameterInfoList(struct soap *soap, const char *URL, struct ParameterInfoList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterInfoList(soap, p), 0) || ::soap_put_ParameterInfoList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_ParameterInfoList(struct soap *soap, const char *URL, struct ParameterInfoList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterInfoList(soap, p), 0) || ::soap_put_ParameterInfoList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_ParameterInfoList(struct soap *soap, const char *URL, struct ParameterInfoList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterInfoList(soap, p), 0) || ::soap_put_ParameterInfoList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct ParameterInfoList * SOAP_FMAC4 soap_get_ParameterInfoList(struct soap*, struct ParameterInfoList *, const char*, const char*);

inline int soap_read_ParameterInfoList(struct soap *soap, struct ParameterInfoList *p)
{
	if (p)
	{	::soap_default_ParameterInfoList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_ParameterInfoList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_ParameterInfoList(struct soap *soap, const char *URL, struct ParameterInfoList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_ParameterInfoList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_ParameterInfoList(struct soap *soap, struct ParameterInfoList *p)
{
	if (::soap_read_ParameterInfoList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterNamesResponse_DEFINED
#define SOAP_TYPE__cwmp__GetParameterNamesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterNamesResponse(struct soap*, struct _cwmp__GetParameterNamesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterNamesResponse(struct soap*, const struct _cwmp__GetParameterNamesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterNamesResponse(struct soap*, const char*, int, const struct _cwmp__GetParameterNamesResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterNamesResponse * SOAP_FMAC4 soap_in__cwmp__GetParameterNamesResponse(struct soap*, const char*, struct _cwmp__GetParameterNamesResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterNamesResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterNamesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterNamesResponse * soap_new__cwmp__GetParameterNamesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterNamesResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterNamesResponse * soap_new_req__cwmp__GetParameterNamesResponse(
	struct soap *soap,
	struct ParameterInfoList *ParameterList)
{
	struct _cwmp__GetParameterNamesResponse *_p = ::soap_new__cwmp__GetParameterNamesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterNamesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}

inline struct _cwmp__GetParameterNamesResponse * soap_new_set__cwmp__GetParameterNamesResponse(
	struct soap *soap,
	struct ParameterInfoList *ParameterList)
{
	struct _cwmp__GetParameterNamesResponse *_p = ::soap_new__cwmp__GetParameterNamesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterNamesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterNamesResponse(struct soap*, const struct _cwmp__GetParameterNamesResponse *, const char*, const char*);

inline int soap_write__cwmp__GetParameterNamesResponse(struct soap *soap, struct _cwmp__GetParameterNamesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterNamesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterNamesResponse(soap, p, "cwmp:GetParameterNamesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterNamesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterNamesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNamesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterNamesResponse(soap, p, "cwmp:GetParameterNamesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterNamesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterNamesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNamesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterNamesResponse(soap, p, "cwmp:GetParameterNamesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterNamesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterNamesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNamesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterNamesResponse(soap, p, "cwmp:GetParameterNamesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterNamesResponse * SOAP_FMAC4 soap_get__cwmp__GetParameterNamesResponse(struct soap*, struct _cwmp__GetParameterNamesResponse *, const char*, const char*);

inline int soap_read__cwmp__GetParameterNamesResponse(struct soap *soap, struct _cwmp__GetParameterNamesResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterNamesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterNamesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterNamesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterNamesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterNamesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterNamesResponse(struct soap *soap, struct _cwmp__GetParameterNamesResponse *p)
{
	if (::soap_read__cwmp__GetParameterNamesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterNames_DEFINED
#define SOAP_TYPE__cwmp__GetParameterNames_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterNames(struct soap*, struct _cwmp__GetParameterNames *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterNames(struct soap*, const struct _cwmp__GetParameterNames *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterNames(struct soap*, const char*, int, const struct _cwmp__GetParameterNames *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterNames * SOAP_FMAC4 soap_in__cwmp__GetParameterNames(struct soap*, const char*, struct _cwmp__GetParameterNames *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterNames * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterNames(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterNames * soap_new__cwmp__GetParameterNames(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterNames(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterNames * soap_new_req__cwmp__GetParameterNames(
	struct soap *soap,
	char *ParameterPath,
	enum xsd__boolean NextLevel)
{
	struct _cwmp__GetParameterNames *_p = ::soap_new__cwmp__GetParameterNames(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterNames(soap, _p);
		_p->ParameterPath = ParameterPath;
		_p->NextLevel = NextLevel;
	}
	return _p;
}

inline struct _cwmp__GetParameterNames * soap_new_set__cwmp__GetParameterNames(
	struct soap *soap,
	char *ParameterPath,
	enum xsd__boolean NextLevel)
{
	struct _cwmp__GetParameterNames *_p = ::soap_new__cwmp__GetParameterNames(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterNames(soap, _p);
		_p->ParameterPath = ParameterPath;
		_p->NextLevel = NextLevel;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterNames(struct soap*, const struct _cwmp__GetParameterNames *, const char*, const char*);

inline int soap_write__cwmp__GetParameterNames(struct soap *soap, struct _cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterNames(soap, p), 0) || ::soap_put__cwmp__GetParameterNames(soap, p, "cwmp:GetParameterNames", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterNames(struct soap *soap, const char *URL, struct _cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNames(soap, p), 0) || ::soap_put__cwmp__GetParameterNames(soap, p, "cwmp:GetParameterNames", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterNames(struct soap *soap, const char *URL, struct _cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNames(soap, p), 0) || ::soap_put__cwmp__GetParameterNames(soap, p, "cwmp:GetParameterNames", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterNames(struct soap *soap, const char *URL, struct _cwmp__GetParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterNames(soap, p), 0) || ::soap_put__cwmp__GetParameterNames(soap, p, "cwmp:GetParameterNames", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterNames * SOAP_FMAC4 soap_get__cwmp__GetParameterNames(struct soap*, struct _cwmp__GetParameterNames *, const char*, const char*);

inline int soap_read__cwmp__GetParameterNames(struct soap *soap, struct _cwmp__GetParameterNames *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterNames(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterNames(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterNames(struct soap *soap, const char *URL, struct _cwmp__GetParameterNames *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterNames(struct soap *soap, struct _cwmp__GetParameterNames *p)
{
	if (::soap_read__cwmp__GetParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterValuesResponse_DEFINED
#define SOAP_TYPE__cwmp__GetParameterValuesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterValuesResponse(struct soap*, struct _cwmp__GetParameterValuesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterValuesResponse(struct soap*, const struct _cwmp__GetParameterValuesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterValuesResponse(struct soap*, const char*, int, const struct _cwmp__GetParameterValuesResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterValuesResponse * SOAP_FMAC4 soap_in__cwmp__GetParameterValuesResponse(struct soap*, const char*, struct _cwmp__GetParameterValuesResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterValuesResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterValuesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterValuesResponse * soap_new__cwmp__GetParameterValuesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterValuesResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterValuesResponse * soap_new_req__cwmp__GetParameterValuesResponse(
	struct soap *soap,
	struct ParameterValueList *ParameterList)
{
	struct _cwmp__GetParameterValuesResponse *_p = ::soap_new__cwmp__GetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterValuesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}

inline struct _cwmp__GetParameterValuesResponse * soap_new_set__cwmp__GetParameterValuesResponse(
	struct soap *soap,
	struct ParameterValueList *ParameterList)
{
	struct _cwmp__GetParameterValuesResponse *_p = ::soap_new__cwmp__GetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterValuesResponse(soap, _p);
		_p->ParameterList = ParameterList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterValuesResponse(struct soap*, const struct _cwmp__GetParameterValuesResponse *, const char*, const char*);

inline int soap_write__cwmp__GetParameterValuesResponse(struct soap *soap, struct _cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterValuesResponse(soap, p, "cwmp:GetParameterValuesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterValuesResponse(soap, p, "cwmp:GetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterValuesResponse(soap, p, "cwmp:GetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__GetParameterValuesResponse(soap, p, "cwmp:GetParameterValuesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterValuesResponse * SOAP_FMAC4 soap_get__cwmp__GetParameterValuesResponse(struct soap*, struct _cwmp__GetParameterValuesResponse *, const char*, const char*);

inline int soap_read__cwmp__GetParameterValuesResponse(struct soap *soap, struct _cwmp__GetParameterValuesResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterValuesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterValuesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__GetParameterValuesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterValuesResponse(struct soap *soap, struct _cwmp__GetParameterValuesResponse *p)
{
	if (::soap_read__cwmp__GetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_ParameterNames_DEFINED
#define SOAP_TYPE_ParameterNames_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ParameterNames(struct soap*, struct ParameterNames *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ParameterNames(struct soap*, const struct ParameterNames *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ParameterNames(struct soap*, const char*, int, const struct ParameterNames *, const char*);
SOAP_FMAC3 struct ParameterNames * SOAP_FMAC4 soap_in_ParameterNames(struct soap*, const char*, struct ParameterNames *, const char*);
SOAP_FMAC1 struct ParameterNames * SOAP_FMAC2 soap_instantiate_ParameterNames(struct soap*, int, const char*, const char*, size_t*);

inline struct ParameterNames * soap_new_ParameterNames(struct soap *soap, int n = -1)
{
	return soap_instantiate_ParameterNames(soap, n, NULL, NULL, NULL);
}

inline struct ParameterNames * soap_new_req_ParameterNames(
	struct soap *soap)
{
	struct ParameterNames *_p = ::soap_new_ParameterNames(soap);
	if (_p)
	{	::soap_default_ParameterNames(soap, _p);
	}
	return _p;
}

inline struct ParameterNames * soap_new_set_ParameterNames(
	struct soap *soap,
	char **__ptrstring,
	int __size)
{
	struct ParameterNames *_p = ::soap_new_ParameterNames(soap);
	if (_p)
	{	::soap_default_ParameterNames(soap, _p);
		_p->__ptrstring = __ptrstring;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ParameterNames(struct soap*, const struct ParameterNames *, const char*, const char*);

inline int soap_write_ParameterNames(struct soap *soap, struct ParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_ParameterNames(soap, p), 0) || ::soap_put_ParameterNames(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_ParameterNames(struct soap *soap, const char *URL, struct ParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterNames(soap, p), 0) || ::soap_put_ParameterNames(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_ParameterNames(struct soap *soap, const char *URL, struct ParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterNames(soap, p), 0) || ::soap_put_ParameterNames(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_ParameterNames(struct soap *soap, const char *URL, struct ParameterNames const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterNames(soap, p), 0) || ::soap_put_ParameterNames(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct ParameterNames * SOAP_FMAC4 soap_get_ParameterNames(struct soap*, struct ParameterNames *, const char*, const char*);

inline int soap_read_ParameterNames(struct soap *soap, struct ParameterNames *p)
{
	if (p)
	{	::soap_default_ParameterNames(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_ParameterNames(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_ParameterNames(struct soap *soap, const char *URL, struct ParameterNames *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_ParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_ParameterNames(struct soap *soap, struct ParameterNames *p)
{
	if (::soap_read_ParameterNames(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetParameterValues_DEFINED
#define SOAP_TYPE__cwmp__GetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetParameterValues(struct soap*, struct _cwmp__GetParameterValues *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetParameterValues(struct soap*, const struct _cwmp__GetParameterValues *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetParameterValues(struct soap*, const char*, int, const struct _cwmp__GetParameterValues *, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterValues * SOAP_FMAC4 soap_in__cwmp__GetParameterValues(struct soap*, const char*, struct _cwmp__GetParameterValues *, const char*);
SOAP_FMAC1 struct _cwmp__GetParameterValues * SOAP_FMAC2 soap_instantiate__cwmp__GetParameterValues(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetParameterValues * soap_new__cwmp__GetParameterValues(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetParameterValues(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetParameterValues * soap_new_req__cwmp__GetParameterValues(
	struct soap *soap,
	struct ParameterNames *ParameterNames)
{
	struct _cwmp__GetParameterValues *_p = ::soap_new__cwmp__GetParameterValues(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterValues(soap, _p);
		_p->ParameterNames = ParameterNames;
	}
	return _p;
}

inline struct _cwmp__GetParameterValues * soap_new_set__cwmp__GetParameterValues(
	struct soap *soap,
	struct ParameterNames *ParameterNames)
{
	struct _cwmp__GetParameterValues *_p = ::soap_new__cwmp__GetParameterValues(soap);
	if (_p)
	{	::soap_default__cwmp__GetParameterValues(soap, _p);
		_p->ParameterNames = ParameterNames;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetParameterValues(struct soap*, const struct _cwmp__GetParameterValues *, const char*, const char*);

inline int soap_write__cwmp__GetParameterValues(struct soap *soap, struct _cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetParameterValues(soap, p), 0) || ::soap_put__cwmp__GetParameterValues(soap, p, "cwmp:GetParameterValues", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetParameterValues(struct soap *soap, const char *URL, struct _cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValues(soap, p), 0) || ::soap_put__cwmp__GetParameterValues(soap, p, "cwmp:GetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetParameterValues(struct soap *soap, const char *URL, struct _cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValues(soap, p), 0) || ::soap_put__cwmp__GetParameterValues(soap, p, "cwmp:GetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetParameterValues(struct soap *soap, const char *URL, struct _cwmp__GetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetParameterValues(soap, p), 0) || ::soap_put__cwmp__GetParameterValues(soap, p, "cwmp:GetParameterValues", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetParameterValues * SOAP_FMAC4 soap_get__cwmp__GetParameterValues(struct soap*, struct _cwmp__GetParameterValues *, const char*, const char*);

inline int soap_read__cwmp__GetParameterValues(struct soap *soap, struct _cwmp__GetParameterValues *p)
{
	if (p)
	{	::soap_default__cwmp__GetParameterValues(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetParameterValues(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetParameterValues(struct soap *soap, const char *URL, struct _cwmp__GetParameterValues *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetParameterValues(struct soap *soap, struct _cwmp__GetParameterValues *p)
{
	if (::soap_read__cwmp__GetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetParameterValuesResponse_DEFINED
#define SOAP_TYPE__cwmp__SetParameterValuesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetParameterValuesResponse(struct soap*, struct _cwmp__SetParameterValuesResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetParameterValuesResponse(struct soap*, const struct _cwmp__SetParameterValuesResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetParameterValuesResponse(struct soap*, const char*, int, const struct _cwmp__SetParameterValuesResponse *, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterValuesResponse * SOAP_FMAC4 soap_in__cwmp__SetParameterValuesResponse(struct soap*, const char*, struct _cwmp__SetParameterValuesResponse *, const char*);
SOAP_FMAC1 struct _cwmp__SetParameterValuesResponse * SOAP_FMAC2 soap_instantiate__cwmp__SetParameterValuesResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetParameterValuesResponse * soap_new__cwmp__SetParameterValuesResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetParameterValuesResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetParameterValuesResponse * soap_new_req__cwmp__SetParameterValuesResponse(
	struct soap *soap,
	enum _cwmp__SetParameterValuesResponse_Status Status)
{
	struct _cwmp__SetParameterValuesResponse *_p = ::soap_new__cwmp__SetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterValuesResponse(soap, _p);
		_p->Status = Status;
	}
	return _p;
}

inline struct _cwmp__SetParameterValuesResponse * soap_new_set__cwmp__SetParameterValuesResponse(
	struct soap *soap,
	enum _cwmp__SetParameterValuesResponse_Status Status)
{
	struct _cwmp__SetParameterValuesResponse *_p = ::soap_new__cwmp__SetParameterValuesResponse(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterValuesResponse(soap, _p);
		_p->Status = Status;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetParameterValuesResponse(struct soap*, const struct _cwmp__SetParameterValuesResponse *, const char*, const char*);

inline int soap_write__cwmp__SetParameterValuesResponse(struct soap *soap, struct _cwmp__SetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterValuesResponse(soap, p, "cwmp:SetParameterValuesResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterValuesResponse(soap, p, "cwmp:SetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterValuesResponse(soap, p, "cwmp:SetParameterValuesResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterValuesResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValuesResponse(soap, p), 0) || ::soap_put__cwmp__SetParameterValuesResponse(soap, p, "cwmp:SetParameterValuesResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetParameterValuesResponse * SOAP_FMAC4 soap_get__cwmp__SetParameterValuesResponse(struct soap*, struct _cwmp__SetParameterValuesResponse *, const char*, const char*);

inline int soap_read__cwmp__SetParameterValuesResponse(struct soap *soap, struct _cwmp__SetParameterValuesResponse *p)
{
	if (p)
	{	::soap_default__cwmp__SetParameterValuesResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetParameterValuesResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetParameterValuesResponse(struct soap *soap, const char *URL, struct _cwmp__SetParameterValuesResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetParameterValuesResponse(struct soap *soap, struct _cwmp__SetParameterValuesResponse *p)
{
	if (::soap_read__cwmp__SetParameterValuesResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_ParameterValueList_DEFINED
#define SOAP_TYPE_ParameterValueList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ParameterValueList(struct soap*, struct ParameterValueList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ParameterValueList(struct soap*, const struct ParameterValueList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ParameterValueList(struct soap*, const char*, int, const struct ParameterValueList *, const char*);
SOAP_FMAC3 struct ParameterValueList * SOAP_FMAC4 soap_in_ParameterValueList(struct soap*, const char*, struct ParameterValueList *, const char*);
SOAP_FMAC1 struct ParameterValueList * SOAP_FMAC2 soap_instantiate_ParameterValueList(struct soap*, int, const char*, const char*, size_t*);

inline struct ParameterValueList * soap_new_ParameterValueList(struct soap *soap, int n = -1)
{
	return soap_instantiate_ParameterValueList(soap, n, NULL, NULL, NULL);
}

inline struct ParameterValueList * soap_new_req_ParameterValueList(
	struct soap *soap)
{
	struct ParameterValueList *_p = ::soap_new_ParameterValueList(soap);
	if (_p)
	{	::soap_default_ParameterValueList(soap, _p);
	}
	return _p;
}

inline struct ParameterValueList * soap_new_set_ParameterValueList(
	struct soap *soap,
	struct cwmp__ParameterValueStruct **__ptrParameterValueStruct,
	int __size)
{
	struct ParameterValueList *_p = ::soap_new_ParameterValueList(soap);
	if (_p)
	{	::soap_default_ParameterValueList(soap, _p);
		_p->__ptrParameterValueStruct = __ptrParameterValueStruct;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ParameterValueList(struct soap*, const struct ParameterValueList *, const char*, const char*);

inline int soap_write_ParameterValueList(struct soap *soap, struct ParameterValueList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_ParameterValueList(soap, p), 0) || ::soap_put_ParameterValueList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_ParameterValueList(struct soap *soap, const char *URL, struct ParameterValueList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterValueList(soap, p), 0) || ::soap_put_ParameterValueList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_ParameterValueList(struct soap *soap, const char *URL, struct ParameterValueList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterValueList(soap, p), 0) || ::soap_put_ParameterValueList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_ParameterValueList(struct soap *soap, const char *URL, struct ParameterValueList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ParameterValueList(soap, p), 0) || ::soap_put_ParameterValueList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct ParameterValueList * SOAP_FMAC4 soap_get_ParameterValueList(struct soap*, struct ParameterValueList *, const char*, const char*);

inline int soap_read_ParameterValueList(struct soap *soap, struct ParameterValueList *p)
{
	if (p)
	{	::soap_default_ParameterValueList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_ParameterValueList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_ParameterValueList(struct soap *soap, const char *URL, struct ParameterValueList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_ParameterValueList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_ParameterValueList(struct soap *soap, struct ParameterValueList *p)
{
	if (::soap_read_ParameterValueList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__SetParameterValues_DEFINED
#define SOAP_TYPE__cwmp__SetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__SetParameterValues(struct soap*, struct _cwmp__SetParameterValues *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__SetParameterValues(struct soap*, const struct _cwmp__SetParameterValues *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__SetParameterValues(struct soap*, const char*, int, const struct _cwmp__SetParameterValues *, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterValues * SOAP_FMAC4 soap_in__cwmp__SetParameterValues(struct soap*, const char*, struct _cwmp__SetParameterValues *, const char*);
SOAP_FMAC1 struct _cwmp__SetParameterValues * SOAP_FMAC2 soap_instantiate__cwmp__SetParameterValues(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__SetParameterValues * soap_new__cwmp__SetParameterValues(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__SetParameterValues(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__SetParameterValues * soap_new_req__cwmp__SetParameterValues(
	struct soap *soap,
	struct ParameterValueList *ParameterList,
	char *ParameterKey)
{
	struct _cwmp__SetParameterValues *_p = ::soap_new__cwmp__SetParameterValues(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterValues(soap, _p);
		_p->ParameterList = ParameterList;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}

inline struct _cwmp__SetParameterValues * soap_new_set__cwmp__SetParameterValues(
	struct soap *soap,
	struct ParameterValueList *ParameterList,
	char *ParameterKey)
{
	struct _cwmp__SetParameterValues *_p = ::soap_new__cwmp__SetParameterValues(soap);
	if (_p)
	{	::soap_default__cwmp__SetParameterValues(soap, _p);
		_p->ParameterList = ParameterList;
		_p->ParameterKey = ParameterKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__SetParameterValues(struct soap*, const struct _cwmp__SetParameterValues *, const char*, const char*);

inline int soap_write__cwmp__SetParameterValues(struct soap *soap, struct _cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__SetParameterValues(soap, p), 0) || ::soap_put__cwmp__SetParameterValues(soap, p, "cwmp:SetParameterValues", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__SetParameterValues(struct soap *soap, const char *URL, struct _cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValues(soap, p), 0) || ::soap_put__cwmp__SetParameterValues(soap, p, "cwmp:SetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__SetParameterValues(struct soap *soap, const char *URL, struct _cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValues(soap, p), 0) || ::soap_put__cwmp__SetParameterValues(soap, p, "cwmp:SetParameterValues", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__SetParameterValues(struct soap *soap, const char *URL, struct _cwmp__SetParameterValues const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__SetParameterValues(soap, p), 0) || ::soap_put__cwmp__SetParameterValues(soap, p, "cwmp:SetParameterValues", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__SetParameterValues * SOAP_FMAC4 soap_get__cwmp__SetParameterValues(struct soap*, struct _cwmp__SetParameterValues *, const char*, const char*);

inline int soap_read__cwmp__SetParameterValues(struct soap *soap, struct _cwmp__SetParameterValues *p)
{
	if (p)
	{	::soap_default__cwmp__SetParameterValues(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__SetParameterValues(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__SetParameterValues(struct soap *soap, const char *URL, struct _cwmp__SetParameterValues *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__SetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__SetParameterValues(struct soap *soap, struct _cwmp__SetParameterValues *p)
{
	if (::soap_read__cwmp__SetParameterValues(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_MethodList_DEFINED
#define SOAP_TYPE_MethodList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_MethodList(struct soap*, struct MethodList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_MethodList(struct soap*, const struct MethodList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_MethodList(struct soap*, const char*, int, const struct MethodList *, const char*);
SOAP_FMAC3 struct MethodList * SOAP_FMAC4 soap_in_MethodList(struct soap*, const char*, struct MethodList *, const char*);
SOAP_FMAC1 struct MethodList * SOAP_FMAC2 soap_instantiate_MethodList(struct soap*, int, const char*, const char*, size_t*);

inline struct MethodList * soap_new_MethodList(struct soap *soap, int n = -1)
{
	return soap_instantiate_MethodList(soap, n, NULL, NULL, NULL);
}

inline struct MethodList * soap_new_req_MethodList(
	struct soap *soap)
{
	struct MethodList *_p = ::soap_new_MethodList(soap);
	if (_p)
	{	::soap_default_MethodList(soap, _p);
	}
	return _p;
}

inline struct MethodList * soap_new_set_MethodList(
	struct soap *soap,
	char **__ptrstring,
	int __size)
{
	struct MethodList *_p = ::soap_new_MethodList(soap);
	if (_p)
	{	::soap_default_MethodList(soap, _p);
		_p->__ptrstring = __ptrstring;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_MethodList(struct soap*, const struct MethodList *, const char*, const char*);

inline int soap_write_MethodList(struct soap *soap, struct MethodList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_MethodList(soap, p), 0) || ::soap_put_MethodList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_MethodList(struct soap *soap, const char *URL, struct MethodList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_MethodList(soap, p), 0) || ::soap_put_MethodList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_MethodList(struct soap *soap, const char *URL, struct MethodList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_MethodList(soap, p), 0) || ::soap_put_MethodList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_MethodList(struct soap *soap, const char *URL, struct MethodList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_MethodList(soap, p), 0) || ::soap_put_MethodList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct MethodList * SOAP_FMAC4 soap_get_MethodList(struct soap*, struct MethodList *, const char*, const char*);

inline int soap_read_MethodList(struct soap *soap, struct MethodList *p)
{
	if (p)
	{	::soap_default_MethodList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_MethodList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_MethodList(struct soap *soap, const char *URL, struct MethodList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_MethodList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_MethodList(struct soap *soap, struct MethodList *p)
{
	if (::soap_read_MethodList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetRPCMethodsResponse_DEFINED
#define SOAP_TYPE__cwmp__GetRPCMethodsResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetRPCMethodsResponse(struct soap*, struct _cwmp__GetRPCMethodsResponse *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetRPCMethodsResponse(struct soap*, const struct _cwmp__GetRPCMethodsResponse *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetRPCMethodsResponse(struct soap*, const char*, int, const struct _cwmp__GetRPCMethodsResponse *, const char*);
SOAP_FMAC3 struct _cwmp__GetRPCMethodsResponse * SOAP_FMAC4 soap_in__cwmp__GetRPCMethodsResponse(struct soap*, const char*, struct _cwmp__GetRPCMethodsResponse *, const char*);
SOAP_FMAC1 struct _cwmp__GetRPCMethodsResponse * SOAP_FMAC2 soap_instantiate__cwmp__GetRPCMethodsResponse(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetRPCMethodsResponse * soap_new__cwmp__GetRPCMethodsResponse(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetRPCMethodsResponse(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetRPCMethodsResponse * soap_new_req__cwmp__GetRPCMethodsResponse(
	struct soap *soap,
	struct MethodList *MethodList)
{
	struct _cwmp__GetRPCMethodsResponse *_p = ::soap_new__cwmp__GetRPCMethodsResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetRPCMethodsResponse(soap, _p);
		_p->MethodList = MethodList;
	}
	return _p;
}

inline struct _cwmp__GetRPCMethodsResponse * soap_new_set__cwmp__GetRPCMethodsResponse(
	struct soap *soap,
	struct MethodList *MethodList)
{
	struct _cwmp__GetRPCMethodsResponse *_p = ::soap_new__cwmp__GetRPCMethodsResponse(soap);
	if (_p)
	{	::soap_default__cwmp__GetRPCMethodsResponse(soap, _p);
		_p->MethodList = MethodList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetRPCMethodsResponse(struct soap*, const struct _cwmp__GetRPCMethodsResponse *, const char*, const char*);

inline int soap_write__cwmp__GetRPCMethodsResponse(struct soap *soap, struct _cwmp__GetRPCMethodsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetRPCMethodsResponse(soap, p), 0) || ::soap_put__cwmp__GetRPCMethodsResponse(soap, p, "cwmp:GetRPCMethodsResponse", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetRPCMethodsResponse(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethodsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethodsResponse(soap, p), 0) || ::soap_put__cwmp__GetRPCMethodsResponse(soap, p, "cwmp:GetRPCMethodsResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetRPCMethodsResponse(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethodsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethodsResponse(soap, p), 0) || ::soap_put__cwmp__GetRPCMethodsResponse(soap, p, "cwmp:GetRPCMethodsResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetRPCMethodsResponse(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethodsResponse const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethodsResponse(soap, p), 0) || ::soap_put__cwmp__GetRPCMethodsResponse(soap, p, "cwmp:GetRPCMethodsResponse", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetRPCMethodsResponse * SOAP_FMAC4 soap_get__cwmp__GetRPCMethodsResponse(struct soap*, struct _cwmp__GetRPCMethodsResponse *, const char*, const char*);

inline int soap_read__cwmp__GetRPCMethodsResponse(struct soap *soap, struct _cwmp__GetRPCMethodsResponse *p)
{
	if (p)
	{	::soap_default__cwmp__GetRPCMethodsResponse(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetRPCMethodsResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetRPCMethodsResponse(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethodsResponse *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetRPCMethodsResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetRPCMethodsResponse(struct soap *soap, struct _cwmp__GetRPCMethodsResponse *p)
{
	if (::soap_read__cwmp__GetRPCMethodsResponse(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__GetRPCMethods_DEFINED
#define SOAP_TYPE__cwmp__GetRPCMethods_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__GetRPCMethods(struct soap*, struct _cwmp__GetRPCMethods *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__GetRPCMethods(struct soap*, const struct _cwmp__GetRPCMethods *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__GetRPCMethods(struct soap*, const char*, int, const struct _cwmp__GetRPCMethods *, const char*);
SOAP_FMAC3 struct _cwmp__GetRPCMethods * SOAP_FMAC4 soap_in__cwmp__GetRPCMethods(struct soap*, const char*, struct _cwmp__GetRPCMethods *, const char*);
SOAP_FMAC1 struct _cwmp__GetRPCMethods * SOAP_FMAC2 soap_instantiate__cwmp__GetRPCMethods(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__GetRPCMethods * soap_new__cwmp__GetRPCMethods(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__GetRPCMethods(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__GetRPCMethods * soap_new_req__cwmp__GetRPCMethods(
	struct soap *soap)
{
	struct _cwmp__GetRPCMethods *_p = ::soap_new__cwmp__GetRPCMethods(soap);
	if (_p)
	{	::soap_default__cwmp__GetRPCMethods(soap, _p);
	}
	return _p;
}

inline struct _cwmp__GetRPCMethods * soap_new_set__cwmp__GetRPCMethods(
	struct soap *soap)
{
	struct _cwmp__GetRPCMethods *_p = ::soap_new__cwmp__GetRPCMethods(soap);
	if (_p)
	{	::soap_default__cwmp__GetRPCMethods(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__GetRPCMethods(struct soap*, const struct _cwmp__GetRPCMethods *, const char*, const char*);

inline int soap_write__cwmp__GetRPCMethods(struct soap *soap, struct _cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__GetRPCMethods(soap, p), 0) || ::soap_put__cwmp__GetRPCMethods(soap, p, "cwmp:GetRPCMethods", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethods(soap, p), 0) || ::soap_put__cwmp__GetRPCMethods(soap, p, "cwmp:GetRPCMethods", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethods(soap, p), 0) || ::soap_put__cwmp__GetRPCMethods(soap, p, "cwmp:GetRPCMethods", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethods const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__GetRPCMethods(soap, p), 0) || ::soap_put__cwmp__GetRPCMethods(soap, p, "cwmp:GetRPCMethods", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__GetRPCMethods * SOAP_FMAC4 soap_get__cwmp__GetRPCMethods(struct soap*, struct _cwmp__GetRPCMethods *, const char*, const char*);

inline int soap_read__cwmp__GetRPCMethods(struct soap *soap, struct _cwmp__GetRPCMethods *p)
{
	if (p)
	{	::soap_default__cwmp__GetRPCMethods(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__GetRPCMethods(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__GetRPCMethods(struct soap *soap, const char *URL, struct _cwmp__GetRPCMethods *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__GetRPCMethods(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__GetRPCMethods(struct soap *soap, struct _cwmp__GetRPCMethods *p)
{
	if (::soap_read__cwmp__GetRPCMethods(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Fault_SetParameterValuesFault_DEFINED
#define SOAP_TYPE__cwmp__Fault_SetParameterValuesFault_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Fault_SetParameterValuesFault(struct soap*, struct _cwmp__Fault_SetParameterValuesFault *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Fault_SetParameterValuesFault(struct soap*, const struct _cwmp__Fault_SetParameterValuesFault *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Fault_SetParameterValuesFault(struct soap*, const char*, int, const struct _cwmp__Fault_SetParameterValuesFault *, const char*);
SOAP_FMAC3 struct _cwmp__Fault_SetParameterValuesFault * SOAP_FMAC4 soap_in__cwmp__Fault_SetParameterValuesFault(struct soap*, const char*, struct _cwmp__Fault_SetParameterValuesFault *, const char*);
SOAP_FMAC1 struct _cwmp__Fault_SetParameterValuesFault * SOAP_FMAC2 soap_instantiate__cwmp__Fault_SetParameterValuesFault(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Fault_SetParameterValuesFault * soap_new__cwmp__Fault_SetParameterValuesFault(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Fault_SetParameterValuesFault(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Fault_SetParameterValuesFault * soap_new_req__cwmp__Fault_SetParameterValuesFault(
	struct soap *soap,
	char *ParameterName,
	char *FaultCode)
{
	struct _cwmp__Fault_SetParameterValuesFault *_p = ::soap_new__cwmp__Fault_SetParameterValuesFault(soap);
	if (_p)
	{	::soap_default__cwmp__Fault_SetParameterValuesFault(soap, _p);
		_p->ParameterName = ParameterName;
		_p->FaultCode = FaultCode;
	}
	return _p;
}

inline struct _cwmp__Fault_SetParameterValuesFault * soap_new_set__cwmp__Fault_SetParameterValuesFault(
	struct soap *soap,
	char *ParameterName,
	char *FaultCode,
	char *FaultString)
{
	struct _cwmp__Fault_SetParameterValuesFault *_p = ::soap_new__cwmp__Fault_SetParameterValuesFault(soap);
	if (_p)
	{	::soap_default__cwmp__Fault_SetParameterValuesFault(soap, _p);
		_p->ParameterName = ParameterName;
		_p->FaultCode = FaultCode;
		_p->FaultString = FaultString;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Fault_SetParameterValuesFault(struct soap*, const struct _cwmp__Fault_SetParameterValuesFault *, const char*, const char*);

inline int soap_write__cwmp__Fault_SetParameterValuesFault(struct soap *soap, struct _cwmp__Fault_SetParameterValuesFault const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Fault_SetParameterValuesFault(soap, p), 0) || ::soap_put__cwmp__Fault_SetParameterValuesFault(soap, p, "cwmp:Fault-SetParameterValuesFault", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Fault_SetParameterValuesFault(struct soap *soap, const char *URL, struct _cwmp__Fault_SetParameterValuesFault const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault_SetParameterValuesFault(soap, p), 0) || ::soap_put__cwmp__Fault_SetParameterValuesFault(soap, p, "cwmp:Fault-SetParameterValuesFault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Fault_SetParameterValuesFault(struct soap *soap, const char *URL, struct _cwmp__Fault_SetParameterValuesFault const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault_SetParameterValuesFault(soap, p), 0) || ::soap_put__cwmp__Fault_SetParameterValuesFault(soap, p, "cwmp:Fault-SetParameterValuesFault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Fault_SetParameterValuesFault(struct soap *soap, const char *URL, struct _cwmp__Fault_SetParameterValuesFault const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault_SetParameterValuesFault(soap, p), 0) || ::soap_put__cwmp__Fault_SetParameterValuesFault(soap, p, "cwmp:Fault-SetParameterValuesFault", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Fault_SetParameterValuesFault * SOAP_FMAC4 soap_get__cwmp__Fault_SetParameterValuesFault(struct soap*, struct _cwmp__Fault_SetParameterValuesFault *, const char*, const char*);

inline int soap_read__cwmp__Fault_SetParameterValuesFault(struct soap *soap, struct _cwmp__Fault_SetParameterValuesFault *p)
{
	if (p)
	{	::soap_default__cwmp__Fault_SetParameterValuesFault(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Fault_SetParameterValuesFault(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Fault_SetParameterValuesFault(struct soap *soap, const char *URL, struct _cwmp__Fault_SetParameterValuesFault *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Fault_SetParameterValuesFault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Fault_SetParameterValuesFault(struct soap *soap, struct _cwmp__Fault_SetParameterValuesFault *p)
{
	if (::soap_read__cwmp__Fault_SetParameterValuesFault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__cwmp__Fault_DEFINED
#define SOAP_TYPE__cwmp__Fault_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default__cwmp__Fault(struct soap*, struct _cwmp__Fault *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__cwmp__Fault(struct soap*, const struct _cwmp__Fault *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out__cwmp__Fault(struct soap*, const char*, int, const struct _cwmp__Fault *, const char*);
SOAP_FMAC3 struct _cwmp__Fault * SOAP_FMAC4 soap_in__cwmp__Fault(struct soap*, const char*, struct _cwmp__Fault *, const char*);
SOAP_FMAC1 struct _cwmp__Fault * SOAP_FMAC2 soap_instantiate__cwmp__Fault(struct soap*, int, const char*, const char*, size_t*);

inline struct _cwmp__Fault * soap_new__cwmp__Fault(struct soap *soap, int n = -1)
{
	return soap_instantiate__cwmp__Fault(soap, n, NULL, NULL, NULL);
}

inline struct _cwmp__Fault * soap_new_req__cwmp__Fault(
	struct soap *soap,
	char *FaultCode,
	int __sizeSetParameterValuesFault,
	struct _cwmp__Fault_SetParameterValuesFault *SetParameterValuesFault)
{
	struct _cwmp__Fault *_p = ::soap_new__cwmp__Fault(soap);
	if (_p)
	{	::soap_default__cwmp__Fault(soap, _p);
		_p->FaultCode = FaultCode;
		_p->__sizeSetParameterValuesFault = __sizeSetParameterValuesFault;
		_p->SetParameterValuesFault = SetParameterValuesFault;
	}
	return _p;
}

inline struct _cwmp__Fault * soap_new_set__cwmp__Fault(
	struct soap *soap,
	char *FaultCode,
	char *FaultString,
	int __sizeSetParameterValuesFault,
	struct _cwmp__Fault_SetParameterValuesFault *SetParameterValuesFault)
{
	struct _cwmp__Fault *_p = ::soap_new__cwmp__Fault(soap);
	if (_p)
	{	::soap_default__cwmp__Fault(soap, _p);
		_p->FaultCode = FaultCode;
		_p->FaultString = FaultString;
		_p->__sizeSetParameterValuesFault = __sizeSetParameterValuesFault;
		_p->SetParameterValuesFault = SetParameterValuesFault;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put__cwmp__Fault(struct soap*, const struct _cwmp__Fault *, const char*, const char*);

inline int soap_write__cwmp__Fault(struct soap *soap, struct _cwmp__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize__cwmp__Fault(soap, p), 0) || ::soap_put__cwmp__Fault(soap, p, "cwmp:Fault", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT__cwmp__Fault(struct soap *soap, const char *URL, struct _cwmp__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault(soap, p), 0) || ::soap_put__cwmp__Fault(soap, p, "cwmp:Fault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__cwmp__Fault(struct soap *soap, const char *URL, struct _cwmp__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault(soap, p), 0) || ::soap_put__cwmp__Fault(soap, p, "cwmp:Fault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__cwmp__Fault(struct soap *soap, const char *URL, struct _cwmp__Fault const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize__cwmp__Fault(soap, p), 0) || ::soap_put__cwmp__Fault(soap, p, "cwmp:Fault", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct _cwmp__Fault * SOAP_FMAC4 soap_get__cwmp__Fault(struct soap*, struct _cwmp__Fault *, const char*, const char*);

inline int soap_read__cwmp__Fault(struct soap *soap, struct _cwmp__Fault *p)
{
	if (p)
	{	::soap_default__cwmp__Fault(soap, p);
		if (soap_begin_recv(soap) || ::soap_get__cwmp__Fault(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__cwmp__Fault(struct soap *soap, const char *URL, struct _cwmp__Fault *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__cwmp__Fault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__cwmp__Fault(struct soap *soap, struct _cwmp__Fault *p)
{
	if (::soap_read__cwmp__Fault(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ArgStruct_DEFINED
#define SOAP_TYPE_cwmp__ArgStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ArgStruct(struct soap*, const struct cwmp__ArgStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ArgStruct(struct soap*, const char*, int, const struct cwmp__ArgStruct *, const char*);
SOAP_FMAC3 struct cwmp__ArgStruct * SOAP_FMAC4 soap_in_cwmp__ArgStruct(struct soap*, const char*, struct cwmp__ArgStruct *, const char*);
SOAP_FMAC1 struct cwmp__ArgStruct * SOAP_FMAC2 soap_instantiate_cwmp__ArgStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__ArgStruct * soap_new_cwmp__ArgStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__ArgStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__ArgStruct * soap_new_req_cwmp__ArgStruct(
	struct soap *soap,
	char *Name,
	char *Value)
{
	struct cwmp__ArgStruct *_p = ::soap_new_cwmp__ArgStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ArgStruct(soap, _p);
		_p->Name = Name;
		_p->Value = Value;
	}
	return _p;
}

inline struct cwmp__ArgStruct * soap_new_set_cwmp__ArgStruct(
	struct soap *soap,
	char *Name,
	char *Value)
{
	struct cwmp__ArgStruct *_p = ::soap_new_cwmp__ArgStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ArgStruct(soap, _p);
		_p->Name = Name;
		_p->Value = Value;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ArgStruct(struct soap*, const struct cwmp__ArgStruct *, const char*, const char*);

inline int soap_write_cwmp__ArgStruct(struct soap *soap, struct cwmp__ArgStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__ArgStruct(soap, p), 0) || ::soap_put_cwmp__ArgStruct(soap, p, "cwmp:ArgStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ArgStruct(struct soap *soap, const char *URL, struct cwmp__ArgStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ArgStruct(soap, p), 0) || ::soap_put_cwmp__ArgStruct(soap, p, "cwmp:ArgStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ArgStruct(struct soap *soap, const char *URL, struct cwmp__ArgStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ArgStruct(soap, p), 0) || ::soap_put_cwmp__ArgStruct(soap, p, "cwmp:ArgStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ArgStruct(struct soap *soap, const char *URL, struct cwmp__ArgStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ArgStruct(soap, p), 0) || ::soap_put_cwmp__ArgStruct(soap, p, "cwmp:ArgStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__ArgStruct * SOAP_FMAC4 soap_get_cwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct *, const char*, const char*);

inline int soap_read_cwmp__ArgStruct(struct soap *soap, struct cwmp__ArgStruct *p)
{
	if (p)
	{	::soap_default_cwmp__ArgStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__ArgStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ArgStruct(struct soap *soap, const char *URL, struct cwmp__ArgStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ArgStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ArgStruct(struct soap *soap, struct cwmp__ArgStruct *p)
{
	if (::soap_read_cwmp__ArgStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__OptionStruct_DEFINED
#define SOAP_TYPE_cwmp__OptionStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__OptionStruct(struct soap*, const struct cwmp__OptionStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__OptionStruct(struct soap*, const char*, int, const struct cwmp__OptionStruct *, const char*);
SOAP_FMAC3 struct cwmp__OptionStruct * SOAP_FMAC4 soap_in_cwmp__OptionStruct(struct soap*, const char*, struct cwmp__OptionStruct *, const char*);
SOAP_FMAC1 struct cwmp__OptionStruct * SOAP_FMAC2 soap_instantiate_cwmp__OptionStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__OptionStruct * soap_new_cwmp__OptionStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__OptionStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__OptionStruct * soap_new_req_cwmp__OptionStruct(
	struct soap *soap,
	char *OptionName,
	unsigned int VoucherSN,
	enum _cwmp__OptionStruct_State State,
	enum _cwmp__OptionStruct_Mode Mode,
	time_t StartDate,
	enum _cwmp__OptionStruct_IsTransferable IsTransferable)
{
	struct cwmp__OptionStruct *_p = ::soap_new_cwmp__OptionStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OptionStruct(soap, _p);
		_p->OptionName = OptionName;
		_p->VoucherSN = VoucherSN;
		_p->State = State;
		_p->Mode = Mode;
		_p->StartDate = StartDate;
		_p->IsTransferable = IsTransferable;
	}
	return _p;
}

inline struct cwmp__OptionStruct * soap_new_set_cwmp__OptionStruct(
	struct soap *soap,
	char *OptionName,
	unsigned int VoucherSN,
	enum _cwmp__OptionStruct_State State,
	enum _cwmp__OptionStruct_Mode Mode,
	time_t StartDate,
	time_t *ExpirationDate,
	enum _cwmp__OptionStruct_IsTransferable IsTransferable)
{
	struct cwmp__OptionStruct *_p = ::soap_new_cwmp__OptionStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OptionStruct(soap, _p);
		_p->OptionName = OptionName;
		_p->VoucherSN = VoucherSN;
		_p->State = State;
		_p->Mode = Mode;
		_p->StartDate = StartDate;
		_p->ExpirationDate = ExpirationDate;
		_p->IsTransferable = IsTransferable;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__OptionStruct(struct soap*, const struct cwmp__OptionStruct *, const char*, const char*);

inline int soap_write_cwmp__OptionStruct(struct soap *soap, struct cwmp__OptionStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__OptionStruct(soap, p), 0) || ::soap_put_cwmp__OptionStruct(soap, p, "cwmp:OptionStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__OptionStruct(struct soap *soap, const char *URL, struct cwmp__OptionStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OptionStruct(soap, p), 0) || ::soap_put_cwmp__OptionStruct(soap, p, "cwmp:OptionStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__OptionStruct(struct soap *soap, const char *URL, struct cwmp__OptionStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OptionStruct(soap, p), 0) || ::soap_put_cwmp__OptionStruct(soap, p, "cwmp:OptionStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__OptionStruct(struct soap *soap, const char *URL, struct cwmp__OptionStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OptionStruct(soap, p), 0) || ::soap_put_cwmp__OptionStruct(soap, p, "cwmp:OptionStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__OptionStruct * SOAP_FMAC4 soap_get_cwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct *, const char*, const char*);

inline int soap_read_cwmp__OptionStruct(struct soap *soap, struct cwmp__OptionStruct *p)
{
	if (p)
	{	::soap_default_cwmp__OptionStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__OptionStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__OptionStruct(struct soap *soap, const char *URL, struct cwmp__OptionStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__OptionStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__OptionStruct(struct soap *soap, struct cwmp__OptionStruct *p)
{
	if (::soap_read_cwmp__OptionStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__OpResultStruct_DEFINED
#define SOAP_TYPE_cwmp__OpResultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__OpResultStruct(struct soap*, struct cwmp__OpResultStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__OpResultStruct(struct soap*, const struct cwmp__OpResultStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__OpResultStruct(struct soap*, const char*, int, const struct cwmp__OpResultStruct *, const char*);
SOAP_FMAC3 struct cwmp__OpResultStruct * SOAP_FMAC4 soap_in_cwmp__OpResultStruct(struct soap*, const char*, struct cwmp__OpResultStruct *, const char*);
SOAP_FMAC1 struct cwmp__OpResultStruct * SOAP_FMAC2 soap_instantiate_cwmp__OpResultStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__OpResultStruct * soap_new_cwmp__OpResultStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__OpResultStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__OpResultStruct * soap_new_req_cwmp__OpResultStruct(
	struct soap *soap,
	char *UUID,
	char *DeploymentUnitRef,
	char *Version,
	enum cwmp__DeploymentUnitState CurrentState,
	enum xsd__boolean Resolved,
	char *ExecutionUnitRefList,
	time_t StartTime,
	time_t CompleteTime,
	struct cwmp__DeploymentUnitFaultStruct *Fault)
{
	struct cwmp__OpResultStruct *_p = ::soap_new_cwmp__OpResultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OpResultStruct(soap, _p);
		_p->UUID = UUID;
		_p->DeploymentUnitRef = DeploymentUnitRef;
		_p->Version = Version;
		_p->CurrentState = CurrentState;
		_p->Resolved = Resolved;
		_p->ExecutionUnitRefList = ExecutionUnitRefList;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
		_p->Fault = Fault;
	}
	return _p;
}

inline struct cwmp__OpResultStruct * soap_new_set_cwmp__OpResultStruct(
	struct soap *soap,
	char *UUID,
	char *DeploymentUnitRef,
	char *Version,
	enum cwmp__DeploymentUnitState CurrentState,
	enum xsd__boolean Resolved,
	char *ExecutionUnitRefList,
	time_t StartTime,
	time_t CompleteTime,
	struct cwmp__DeploymentUnitFaultStruct *Fault)
{
	struct cwmp__OpResultStruct *_p = ::soap_new_cwmp__OpResultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OpResultStruct(soap, _p);
		_p->UUID = UUID;
		_p->DeploymentUnitRef = DeploymentUnitRef;
		_p->Version = Version;
		_p->CurrentState = CurrentState;
		_p->Resolved = Resolved;
		_p->ExecutionUnitRefList = ExecutionUnitRefList;
		_p->StartTime = StartTime;
		_p->CompleteTime = CompleteTime;
		_p->Fault = Fault;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__OpResultStruct(struct soap*, const struct cwmp__OpResultStruct *, const char*, const char*);

inline int soap_write_cwmp__OpResultStruct(struct soap *soap, struct cwmp__OpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__OpResultStruct(soap, p), 0) || ::soap_put_cwmp__OpResultStruct(soap, p, "cwmp:OpResultStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__OpResultStruct(struct soap *soap, const char *URL, struct cwmp__OpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OpResultStruct(soap, p), 0) || ::soap_put_cwmp__OpResultStruct(soap, p, "cwmp:OpResultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__OpResultStruct(struct soap *soap, const char *URL, struct cwmp__OpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OpResultStruct(soap, p), 0) || ::soap_put_cwmp__OpResultStruct(soap, p, "cwmp:OpResultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__OpResultStruct(struct soap *soap, const char *URL, struct cwmp__OpResultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OpResultStruct(soap, p), 0) || ::soap_put_cwmp__OpResultStruct(soap, p, "cwmp:OpResultStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__OpResultStruct * SOAP_FMAC4 soap_get_cwmp__OpResultStruct(struct soap*, struct cwmp__OpResultStruct *, const char*, const char*);

inline int soap_read_cwmp__OpResultStruct(struct soap *soap, struct cwmp__OpResultStruct *p)
{
	if (p)
	{	::soap_default_cwmp__OpResultStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__OpResultStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__OpResultStruct(struct soap *soap, const char *URL, struct cwmp__OpResultStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__OpResultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__OpResultStruct(struct soap *soap, struct cwmp__OpResultStruct *p)
{
	if (::soap_read_cwmp__OpResultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__OperationStruct_DEFINED
#define SOAP_TYPE_cwmp__OperationStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__OperationStruct(struct soap*, struct cwmp__OperationStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__OperationStruct(struct soap*, const struct cwmp__OperationStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__OperationStruct(struct soap*, const char*, int, const struct cwmp__OperationStruct *, const char*);
SOAP_FMAC3 struct cwmp__OperationStruct * SOAP_FMAC4 soap_in_cwmp__OperationStruct(struct soap*, const char*, struct cwmp__OperationStruct *, const char*);
SOAP_FMAC1 struct cwmp__OperationStruct * SOAP_FMAC2 soap_instantiate_cwmp__OperationStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__OperationStruct * soap_new_cwmp__OperationStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__OperationStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__OperationStruct * soap_new_req_cwmp__OperationStruct(
	struct soap *soap)
{
	struct cwmp__OperationStruct *_p = ::soap_new_cwmp__OperationStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OperationStruct(soap, _p);
	}
	return _p;
}

inline struct cwmp__OperationStruct * soap_new_set_cwmp__OperationStruct(
	struct soap *soap)
{
	struct cwmp__OperationStruct *_p = ::soap_new_cwmp__OperationStruct(soap);
	if (_p)
	{	::soap_default_cwmp__OperationStruct(soap, _p);
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__OperationStruct(struct soap*, const struct cwmp__OperationStruct *, const char*, const char*);

inline int soap_write_cwmp__OperationStruct(struct soap *soap, struct cwmp__OperationStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__OperationStruct(soap, p), 0) || ::soap_put_cwmp__OperationStruct(soap, p, "cwmp:OperationStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__OperationStruct(struct soap *soap, const char *URL, struct cwmp__OperationStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OperationStruct(soap, p), 0) || ::soap_put_cwmp__OperationStruct(soap, p, "cwmp:OperationStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__OperationStruct(struct soap *soap, const char *URL, struct cwmp__OperationStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OperationStruct(soap, p), 0) || ::soap_put_cwmp__OperationStruct(soap, p, "cwmp:OperationStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__OperationStruct(struct soap *soap, const char *URL, struct cwmp__OperationStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__OperationStruct(soap, p), 0) || ::soap_put_cwmp__OperationStruct(soap, p, "cwmp:OperationStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__OperationStruct * SOAP_FMAC4 soap_get_cwmp__OperationStruct(struct soap*, struct cwmp__OperationStruct *, const char*, const char*);

inline int soap_read_cwmp__OperationStruct(struct soap *soap, struct cwmp__OperationStruct *p)
{
	if (p)
	{	::soap_default_cwmp__OperationStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__OperationStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__OperationStruct(struct soap *soap, const char *URL, struct cwmp__OperationStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__OperationStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__OperationStruct(struct soap *soap, struct cwmp__OperationStruct *p)
{
	if (::soap_read_cwmp__OperationStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__AllQueuedTransferStruct_DEFINED
#define SOAP_TYPE_cwmp__AllQueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__AllQueuedTransferStruct(struct soap*, const struct cwmp__AllQueuedTransferStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__AllQueuedTransferStruct(struct soap*, const char*, int, const struct cwmp__AllQueuedTransferStruct *, const char*);
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct * SOAP_FMAC4 soap_in_cwmp__AllQueuedTransferStruct(struct soap*, const char*, struct cwmp__AllQueuedTransferStruct *, const char*);
SOAP_FMAC1 struct cwmp__AllQueuedTransferStruct * SOAP_FMAC2 soap_instantiate_cwmp__AllQueuedTransferStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__AllQueuedTransferStruct * soap_new_cwmp__AllQueuedTransferStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__AllQueuedTransferStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__AllQueuedTransferStruct * soap_new_req_cwmp__AllQueuedTransferStruct(
	struct soap *soap,
	char *CommandKey,
	enum cwmp__TransferStateType State,
	enum xsd__boolean IsDownload,
	char *FileType,
	unsigned int FileSize,
	char *TargetFileName)
{
	struct cwmp__AllQueuedTransferStruct *_p = ::soap_new_cwmp__AllQueuedTransferStruct(soap);
	if (_p)
	{	::soap_default_cwmp__AllQueuedTransferStruct(soap, _p);
		_p->CommandKey = CommandKey;
		_p->State = State;
		_p->IsDownload = IsDownload;
		_p->FileType = FileType;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
	}
	return _p;
}

inline struct cwmp__AllQueuedTransferStruct * soap_new_set_cwmp__AllQueuedTransferStruct(
	struct soap *soap,
	char *CommandKey,
	enum cwmp__TransferStateType State,
	enum xsd__boolean IsDownload,
	char *FileType,
	unsigned int FileSize,
	char *TargetFileName)
{
	struct cwmp__AllQueuedTransferStruct *_p = ::soap_new_cwmp__AllQueuedTransferStruct(soap);
	if (_p)
	{	::soap_default_cwmp__AllQueuedTransferStruct(soap, _p);
		_p->CommandKey = CommandKey;
		_p->State = State;
		_p->IsDownload = IsDownload;
		_p->FileType = FileType;
		_p->FileSize = FileSize;
		_p->TargetFileName = TargetFileName;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__AllQueuedTransferStruct(struct soap*, const struct cwmp__AllQueuedTransferStruct *, const char*, const char*);

inline int soap_write_cwmp__AllQueuedTransferStruct(struct soap *soap, struct cwmp__AllQueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__AllQueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__AllQueuedTransferStruct(soap, p, "cwmp:AllQueuedTransferStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__AllQueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__AllQueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AllQueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__AllQueuedTransferStruct(soap, p, "cwmp:AllQueuedTransferStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__AllQueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__AllQueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AllQueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__AllQueuedTransferStruct(soap, p, "cwmp:AllQueuedTransferStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__AllQueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__AllQueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__AllQueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__AllQueuedTransferStruct(soap, p, "cwmp:AllQueuedTransferStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct * SOAP_FMAC4 soap_get_cwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct *, const char*, const char*);

inline int soap_read_cwmp__AllQueuedTransferStruct(struct soap *soap, struct cwmp__AllQueuedTransferStruct *p)
{
	if (p)
	{	::soap_default_cwmp__AllQueuedTransferStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__AllQueuedTransferStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__AllQueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__AllQueuedTransferStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__AllQueuedTransferStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__AllQueuedTransferStruct(struct soap *soap, struct cwmp__AllQueuedTransferStruct *p)
{
	if (::soap_read_cwmp__AllQueuedTransferStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__QueuedTransferStruct_DEFINED
#define SOAP_TYPE_cwmp__QueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__QueuedTransferStruct(struct soap*, const struct cwmp__QueuedTransferStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__QueuedTransferStruct(struct soap*, const char*, int, const struct cwmp__QueuedTransferStruct *, const char*);
SOAP_FMAC3 struct cwmp__QueuedTransferStruct * SOAP_FMAC4 soap_in_cwmp__QueuedTransferStruct(struct soap*, const char*, struct cwmp__QueuedTransferStruct *, const char*);
SOAP_FMAC1 struct cwmp__QueuedTransferStruct * SOAP_FMAC2 soap_instantiate_cwmp__QueuedTransferStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__QueuedTransferStruct * soap_new_cwmp__QueuedTransferStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__QueuedTransferStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__QueuedTransferStruct * soap_new_req_cwmp__QueuedTransferStruct(
	struct soap *soap,
	char *CommandKey,
	enum cwmp__TransferStateType State)
{
	struct cwmp__QueuedTransferStruct *_p = ::soap_new_cwmp__QueuedTransferStruct(soap);
	if (_p)
	{	::soap_default_cwmp__QueuedTransferStruct(soap, _p);
		_p->CommandKey = CommandKey;
		_p->State = State;
	}
	return _p;
}

inline struct cwmp__QueuedTransferStruct * soap_new_set_cwmp__QueuedTransferStruct(
	struct soap *soap,
	char *CommandKey,
	enum cwmp__TransferStateType State)
{
	struct cwmp__QueuedTransferStruct *_p = ::soap_new_cwmp__QueuedTransferStruct(soap);
	if (_p)
	{	::soap_default_cwmp__QueuedTransferStruct(soap, _p);
		_p->CommandKey = CommandKey;
		_p->State = State;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__QueuedTransferStruct(struct soap*, const struct cwmp__QueuedTransferStruct *, const char*, const char*);

inline int soap_write_cwmp__QueuedTransferStruct(struct soap *soap, struct cwmp__QueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__QueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__QueuedTransferStruct(soap, p, "cwmp:QueuedTransferStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__QueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__QueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__QueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__QueuedTransferStruct(soap, p, "cwmp:QueuedTransferStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__QueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__QueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__QueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__QueuedTransferStruct(soap, p, "cwmp:QueuedTransferStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__QueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__QueuedTransferStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__QueuedTransferStruct(soap, p), 0) || ::soap_put_cwmp__QueuedTransferStruct(soap, p, "cwmp:QueuedTransferStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__QueuedTransferStruct * SOAP_FMAC4 soap_get_cwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct *, const char*, const char*);

inline int soap_read_cwmp__QueuedTransferStruct(struct soap *soap, struct cwmp__QueuedTransferStruct *p)
{
	if (p)
	{	::soap_default_cwmp__QueuedTransferStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__QueuedTransferStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__QueuedTransferStruct(struct soap *soap, const char *URL, struct cwmp__QueuedTransferStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__QueuedTransferStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__QueuedTransferStruct(struct soap *soap, struct cwmp__QueuedTransferStruct *p)
{
	if (::soap_read_cwmp__QueuedTransferStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TimeWindowStruct_DEFINED
#define SOAP_TYPE_cwmp__TimeWindowStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__TimeWindowStruct(struct soap*, const struct cwmp__TimeWindowStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TimeWindowStruct(struct soap*, const char*, int, const struct cwmp__TimeWindowStruct *, const char*);
SOAP_FMAC3 struct cwmp__TimeWindowStruct * SOAP_FMAC4 soap_in_cwmp__TimeWindowStruct(struct soap*, const char*, struct cwmp__TimeWindowStruct *, const char*);
SOAP_FMAC1 struct cwmp__TimeWindowStruct * SOAP_FMAC2 soap_instantiate_cwmp__TimeWindowStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__TimeWindowStruct * soap_new_cwmp__TimeWindowStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__TimeWindowStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__TimeWindowStruct * soap_new_req_cwmp__TimeWindowStruct(
	struct soap *soap,
	unsigned int WindowStart,
	unsigned int WindowEnd,
	char *WindowMode,
	char *UserMessage,
	int MaxRetries)
{
	struct cwmp__TimeWindowStruct *_p = ::soap_new_cwmp__TimeWindowStruct(soap);
	if (_p)
	{	::soap_default_cwmp__TimeWindowStruct(soap, _p);
		_p->WindowStart = WindowStart;
		_p->WindowEnd = WindowEnd;
		_p->WindowMode = WindowMode;
		_p->UserMessage = UserMessage;
		_p->MaxRetries = MaxRetries;
	}
	return _p;
}

inline struct cwmp__TimeWindowStruct * soap_new_set_cwmp__TimeWindowStruct(
	struct soap *soap,
	unsigned int WindowStart,
	unsigned int WindowEnd,
	char *WindowMode,
	char *UserMessage,
	int MaxRetries)
{
	struct cwmp__TimeWindowStruct *_p = ::soap_new_cwmp__TimeWindowStruct(soap);
	if (_p)
	{	::soap_default_cwmp__TimeWindowStruct(soap, _p);
		_p->WindowStart = WindowStart;
		_p->WindowEnd = WindowEnd;
		_p->WindowMode = WindowMode;
		_p->UserMessage = UserMessage;
		_p->MaxRetries = MaxRetries;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TimeWindowStruct(struct soap*, const struct cwmp__TimeWindowStruct *, const char*, const char*);

inline int soap_write_cwmp__TimeWindowStruct(struct soap *soap, struct cwmp__TimeWindowStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__TimeWindowStruct(soap, p), 0) || ::soap_put_cwmp__TimeWindowStruct(soap, p, "cwmp:TimeWindowStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TimeWindowStruct(struct soap *soap, const char *URL, struct cwmp__TimeWindowStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TimeWindowStruct(soap, p), 0) || ::soap_put_cwmp__TimeWindowStruct(soap, p, "cwmp:TimeWindowStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TimeWindowStruct(struct soap *soap, const char *URL, struct cwmp__TimeWindowStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TimeWindowStruct(soap, p), 0) || ::soap_put_cwmp__TimeWindowStruct(soap, p, "cwmp:TimeWindowStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TimeWindowStruct(struct soap *soap, const char *URL, struct cwmp__TimeWindowStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TimeWindowStruct(soap, p), 0) || ::soap_put_cwmp__TimeWindowStruct(soap, p, "cwmp:TimeWindowStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__TimeWindowStruct * SOAP_FMAC4 soap_get_cwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct *, const char*, const char*);

inline int soap_read_cwmp__TimeWindowStruct(struct soap *soap, struct cwmp__TimeWindowStruct *p)
{
	if (p)
	{	::soap_default_cwmp__TimeWindowStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__TimeWindowStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TimeWindowStruct(struct soap *soap, const char *URL, struct cwmp__TimeWindowStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TimeWindowStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TimeWindowStruct(struct soap *soap, struct cwmp__TimeWindowStruct *p)
{
	if (::soap_read_cwmp__TimeWindowStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ParameterAttributeStruct_DEFINED
#define SOAP_TYPE_cwmp__ParameterAttributeStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ParameterAttributeStruct(struct soap*, const struct cwmp__ParameterAttributeStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ParameterAttributeStruct(struct soap*, const char*, int, const struct cwmp__ParameterAttributeStruct *, const char*);
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct * SOAP_FMAC4 soap_in_cwmp__ParameterAttributeStruct(struct soap*, const char*, struct cwmp__ParameterAttributeStruct *, const char*);
SOAP_FMAC1 struct cwmp__ParameterAttributeStruct * SOAP_FMAC2 soap_instantiate_cwmp__ParameterAttributeStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__ParameterAttributeStruct * soap_new_cwmp__ParameterAttributeStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__ParameterAttributeStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__ParameterAttributeStruct * soap_new_req_cwmp__ParameterAttributeStruct(
	struct soap *soap,
	char *Name,
	enum cwmp__ParameterAttributeNotificationValueType Notification,
	struct AccessList *AccessList)
{
	struct cwmp__ParameterAttributeStruct *_p = ::soap_new_cwmp__ParameterAttributeStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterAttributeStruct(soap, _p);
		_p->Name = Name;
		_p->Notification = Notification;
		_p->AccessList = AccessList;
	}
	return _p;
}

inline struct cwmp__ParameterAttributeStruct * soap_new_set_cwmp__ParameterAttributeStruct(
	struct soap *soap,
	char *Name,
	enum cwmp__ParameterAttributeNotificationValueType Notification,
	struct AccessList *AccessList)
{
	struct cwmp__ParameterAttributeStruct *_p = ::soap_new_cwmp__ParameterAttributeStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterAttributeStruct(soap, _p);
		_p->Name = Name;
		_p->Notification = Notification;
		_p->AccessList = AccessList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ParameterAttributeStruct(struct soap*, const struct cwmp__ParameterAttributeStruct *, const char*, const char*);

inline int soap_write_cwmp__ParameterAttributeStruct(struct soap *soap, struct cwmp__ParameterAttributeStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__ParameterAttributeStruct(soap, p), 0) || ::soap_put_cwmp__ParameterAttributeStruct(soap, p, "cwmp:ParameterAttributeStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ParameterAttributeStruct(struct soap *soap, const char *URL, struct cwmp__ParameterAttributeStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterAttributeStruct(soap, p), 0) || ::soap_put_cwmp__ParameterAttributeStruct(soap, p, "cwmp:ParameterAttributeStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ParameterAttributeStruct(struct soap *soap, const char *URL, struct cwmp__ParameterAttributeStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterAttributeStruct(soap, p), 0) || ::soap_put_cwmp__ParameterAttributeStruct(soap, p, "cwmp:ParameterAttributeStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ParameterAttributeStruct(struct soap *soap, const char *URL, struct cwmp__ParameterAttributeStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterAttributeStruct(soap, p), 0) || ::soap_put_cwmp__ParameterAttributeStruct(soap, p, "cwmp:ParameterAttributeStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct * SOAP_FMAC4 soap_get_cwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct *, const char*, const char*);

inline int soap_read_cwmp__ParameterAttributeStruct(struct soap *soap, struct cwmp__ParameterAttributeStruct *p)
{
	if (p)
	{	::soap_default_cwmp__ParameterAttributeStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__ParameterAttributeStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ParameterAttributeStruct(struct soap *soap, const char *URL, struct cwmp__ParameterAttributeStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ParameterAttributeStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ParameterAttributeStruct(struct soap *soap, struct cwmp__ParameterAttributeStruct *p)
{
	if (::soap_read_cwmp__ParameterAttributeStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_AccessList_DEFINED
#define SOAP_TYPE_AccessList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_AccessList(struct soap*, struct AccessList *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_AccessList(struct soap*, const struct AccessList *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_AccessList(struct soap*, const char*, int, const struct AccessList *, const char*);
SOAP_FMAC3 struct AccessList * SOAP_FMAC4 soap_in_AccessList(struct soap*, const char*, struct AccessList *, const char*);
SOAP_FMAC1 struct AccessList * SOAP_FMAC2 soap_instantiate_AccessList(struct soap*, int, const char*, const char*, size_t*);

inline struct AccessList * soap_new_AccessList(struct soap *soap, int n = -1)
{
	return soap_instantiate_AccessList(soap, n, NULL, NULL, NULL);
}

inline struct AccessList * soap_new_req_AccessList(
	struct soap *soap)
{
	struct AccessList *_p = ::soap_new_AccessList(soap);
	if (_p)
	{	::soap_default_AccessList(soap, _p);
	}
	return _p;
}

inline struct AccessList * soap_new_set_AccessList(
	struct soap *soap,
	enum cwmp__AccessListValueType *__ptrstring,
	int __size)
{
	struct AccessList *_p = ::soap_new_AccessList(soap);
	if (_p)
	{	::soap_default_AccessList(soap, _p);
		_p->__ptrstring = __ptrstring;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_AccessList(struct soap*, const struct AccessList *, const char*, const char*);

inline int soap_write_AccessList(struct soap *soap, struct AccessList const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_AccessList(soap, p), 0) || ::soap_put_AccessList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_AccessList(struct soap *soap, const char *URL, struct AccessList const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AccessList(soap, p), 0) || ::soap_put_AccessList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_AccessList(struct soap *soap, const char *URL, struct AccessList const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AccessList(soap, p), 0) || ::soap_put_AccessList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_AccessList(struct soap *soap, const char *URL, struct AccessList const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_AccessList(soap, p), 0) || ::soap_put_AccessList(soap, p, "SOAP-ENC:Array", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct AccessList * SOAP_FMAC4 soap_get_AccessList(struct soap*, struct AccessList *, const char*, const char*);

inline int soap_read_AccessList(struct soap *soap, struct AccessList *p)
{
	if (p)
	{	::soap_default_AccessList(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_AccessList(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_AccessList(struct soap *soap, const char *URL, struct AccessList *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_AccessList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_AccessList(struct soap *soap, struct AccessList *p)
{
	if (::soap_read_AccessList(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__SetParameterAttributesStruct_DEFINED
#define SOAP_TYPE_cwmp__SetParameterAttributesStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__SetParameterAttributesStruct(struct soap*, const struct cwmp__SetParameterAttributesStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__SetParameterAttributesStruct(struct soap*, const char*, int, const struct cwmp__SetParameterAttributesStruct *, const char*);
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct * SOAP_FMAC4 soap_in_cwmp__SetParameterAttributesStruct(struct soap*, const char*, struct cwmp__SetParameterAttributesStruct *, const char*);
SOAP_FMAC1 struct cwmp__SetParameterAttributesStruct * SOAP_FMAC2 soap_instantiate_cwmp__SetParameterAttributesStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__SetParameterAttributesStruct * soap_new_cwmp__SetParameterAttributesStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__SetParameterAttributesStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__SetParameterAttributesStruct * soap_new_req_cwmp__SetParameterAttributesStruct(
	struct soap *soap,
	char *Name,
	enum xsd__boolean NotificationChange,
	enum cwmp__ParameterAttributeNotificationValueType Notification,
	enum xsd__boolean AccessListChange,
	struct AccessList *AccessList)
{
	struct cwmp__SetParameterAttributesStruct *_p = ::soap_new_cwmp__SetParameterAttributesStruct(soap);
	if (_p)
	{	::soap_default_cwmp__SetParameterAttributesStruct(soap, _p);
		_p->Name = Name;
		_p->NotificationChange = NotificationChange;
		_p->Notification = Notification;
		_p->AccessListChange = AccessListChange;
		_p->AccessList = AccessList;
	}
	return _p;
}

inline struct cwmp__SetParameterAttributesStruct * soap_new_set_cwmp__SetParameterAttributesStruct(
	struct soap *soap,
	char *Name,
	enum xsd__boolean NotificationChange,
	enum cwmp__ParameterAttributeNotificationValueType Notification,
	enum xsd__boolean AccessListChange,
	struct AccessList *AccessList)
{
	struct cwmp__SetParameterAttributesStruct *_p = ::soap_new_cwmp__SetParameterAttributesStruct(soap);
	if (_p)
	{	::soap_default_cwmp__SetParameterAttributesStruct(soap, _p);
		_p->Name = Name;
		_p->NotificationChange = NotificationChange;
		_p->Notification = Notification;
		_p->AccessListChange = AccessListChange;
		_p->AccessList = AccessList;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__SetParameterAttributesStruct(struct soap*, const struct cwmp__SetParameterAttributesStruct *, const char*, const char*);

inline int soap_write_cwmp__SetParameterAttributesStruct(struct soap *soap, struct cwmp__SetParameterAttributesStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__SetParameterAttributesStruct(soap, p), 0) || ::soap_put_cwmp__SetParameterAttributesStruct(soap, p, "cwmp:SetParameterAttributesStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__SetParameterAttributesStruct(struct soap *soap, const char *URL, struct cwmp__SetParameterAttributesStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__SetParameterAttributesStruct(soap, p), 0) || ::soap_put_cwmp__SetParameterAttributesStruct(soap, p, "cwmp:SetParameterAttributesStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__SetParameterAttributesStruct(struct soap *soap, const char *URL, struct cwmp__SetParameterAttributesStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__SetParameterAttributesStruct(soap, p), 0) || ::soap_put_cwmp__SetParameterAttributesStruct(soap, p, "cwmp:SetParameterAttributesStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__SetParameterAttributesStruct(struct soap *soap, const char *URL, struct cwmp__SetParameterAttributesStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__SetParameterAttributesStruct(soap, p), 0) || ::soap_put_cwmp__SetParameterAttributesStruct(soap, p, "cwmp:SetParameterAttributesStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct * SOAP_FMAC4 soap_get_cwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct *, const char*, const char*);

inline int soap_read_cwmp__SetParameterAttributesStruct(struct soap *soap, struct cwmp__SetParameterAttributesStruct *p)
{
	if (p)
	{	::soap_default_cwmp__SetParameterAttributesStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__SetParameterAttributesStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__SetParameterAttributesStruct(struct soap *soap, const char *URL, struct cwmp__SetParameterAttributesStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__SetParameterAttributesStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__SetParameterAttributesStruct(struct soap *soap, struct cwmp__SetParameterAttributesStruct *p)
{
	if (::soap_read_cwmp__SetParameterAttributesStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ParameterInfoStruct_DEFINED
#define SOAP_TYPE_cwmp__ParameterInfoStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ParameterInfoStruct(struct soap*, const struct cwmp__ParameterInfoStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ParameterInfoStruct(struct soap*, const char*, int, const struct cwmp__ParameterInfoStruct *, const char*);
SOAP_FMAC3 struct cwmp__ParameterInfoStruct * SOAP_FMAC4 soap_in_cwmp__ParameterInfoStruct(struct soap*, const char*, struct cwmp__ParameterInfoStruct *, const char*);
SOAP_FMAC1 struct cwmp__ParameterInfoStruct * SOAP_FMAC2 soap_instantiate_cwmp__ParameterInfoStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__ParameterInfoStruct * soap_new_cwmp__ParameterInfoStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__ParameterInfoStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__ParameterInfoStruct * soap_new_req_cwmp__ParameterInfoStruct(
	struct soap *soap,
	char *Name,
	enum xsd__boolean Writable)
{
	struct cwmp__ParameterInfoStruct *_p = ::soap_new_cwmp__ParameterInfoStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterInfoStruct(soap, _p);
		_p->Name = Name;
		_p->Writable = Writable;
	}
	return _p;
}

inline struct cwmp__ParameterInfoStruct * soap_new_set_cwmp__ParameterInfoStruct(
	struct soap *soap,
	char *Name,
	enum xsd__boolean Writable)
{
	struct cwmp__ParameterInfoStruct *_p = ::soap_new_cwmp__ParameterInfoStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterInfoStruct(soap, _p);
		_p->Name = Name;
		_p->Writable = Writable;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ParameterInfoStruct(struct soap*, const struct cwmp__ParameterInfoStruct *, const char*, const char*);

inline int soap_write_cwmp__ParameterInfoStruct(struct soap *soap, struct cwmp__ParameterInfoStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__ParameterInfoStruct(soap, p), 0) || ::soap_put_cwmp__ParameterInfoStruct(soap, p, "cwmp:ParameterInfoStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ParameterInfoStruct(struct soap *soap, const char *URL, struct cwmp__ParameterInfoStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterInfoStruct(soap, p), 0) || ::soap_put_cwmp__ParameterInfoStruct(soap, p, "cwmp:ParameterInfoStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ParameterInfoStruct(struct soap *soap, const char *URL, struct cwmp__ParameterInfoStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterInfoStruct(soap, p), 0) || ::soap_put_cwmp__ParameterInfoStruct(soap, p, "cwmp:ParameterInfoStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ParameterInfoStruct(struct soap *soap, const char *URL, struct cwmp__ParameterInfoStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterInfoStruct(soap, p), 0) || ::soap_put_cwmp__ParameterInfoStruct(soap, p, "cwmp:ParameterInfoStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__ParameterInfoStruct * SOAP_FMAC4 soap_get_cwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct *, const char*, const char*);

inline int soap_read_cwmp__ParameterInfoStruct(struct soap *soap, struct cwmp__ParameterInfoStruct *p)
{
	if (p)
	{	::soap_default_cwmp__ParameterInfoStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__ParameterInfoStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ParameterInfoStruct(struct soap *soap, const char *URL, struct cwmp__ParameterInfoStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ParameterInfoStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ParameterInfoStruct(struct soap *soap, struct cwmp__ParameterInfoStruct *p)
{
	if (::soap_read_cwmp__ParameterInfoStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__EventStruct_DEFINED
#define SOAP_TYPE_cwmp__EventStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__EventStruct(struct soap*, struct cwmp__EventStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__EventStruct(struct soap*, const struct cwmp__EventStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__EventStruct(struct soap*, const char*, int, const struct cwmp__EventStruct *, const char*);
SOAP_FMAC3 struct cwmp__EventStruct * SOAP_FMAC4 soap_in_cwmp__EventStruct(struct soap*, const char*, struct cwmp__EventStruct *, const char*);
SOAP_FMAC1 struct cwmp__EventStruct * SOAP_FMAC2 soap_instantiate_cwmp__EventStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__EventStruct * soap_new_cwmp__EventStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__EventStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__EventStruct * soap_new_req_cwmp__EventStruct(
	struct soap *soap,
	char *EventCode,
	char *CommandKey)
{
	struct cwmp__EventStruct *_p = ::soap_new_cwmp__EventStruct(soap);
	if (_p)
	{	::soap_default_cwmp__EventStruct(soap, _p);
		_p->EventCode = EventCode;
		_p->CommandKey = CommandKey;
	}
	return _p;
}

inline struct cwmp__EventStruct * soap_new_set_cwmp__EventStruct(
	struct soap *soap,
	char *EventCode,
	char *CommandKey)
{
	struct cwmp__EventStruct *_p = ::soap_new_cwmp__EventStruct(soap);
	if (_p)
	{	::soap_default_cwmp__EventStruct(soap, _p);
		_p->EventCode = EventCode;
		_p->CommandKey = CommandKey;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__EventStruct(struct soap*, const struct cwmp__EventStruct *, const char*, const char*);

inline int soap_write_cwmp__EventStruct(struct soap *soap, struct cwmp__EventStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__EventStruct(soap, p), 0) || ::soap_put_cwmp__EventStruct(soap, p, "cwmp:EventStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__EventStruct(struct soap *soap, const char *URL, struct cwmp__EventStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__EventStruct(soap, p), 0) || ::soap_put_cwmp__EventStruct(soap, p, "cwmp:EventStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__EventStruct(struct soap *soap, const char *URL, struct cwmp__EventStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__EventStruct(soap, p), 0) || ::soap_put_cwmp__EventStruct(soap, p, "cwmp:EventStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__EventStruct(struct soap *soap, const char *URL, struct cwmp__EventStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__EventStruct(soap, p), 0) || ::soap_put_cwmp__EventStruct(soap, p, "cwmp:EventStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__EventStruct * SOAP_FMAC4 soap_get_cwmp__EventStruct(struct soap*, struct cwmp__EventStruct *, const char*, const char*);

inline int soap_read_cwmp__EventStruct(struct soap *soap, struct cwmp__EventStruct *p)
{
	if (p)
	{	::soap_default_cwmp__EventStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__EventStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__EventStruct(struct soap *soap, const char *URL, struct cwmp__EventStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__EventStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__EventStruct(struct soap *soap, struct cwmp__EventStruct *p)
{
	if (::soap_read_cwmp__EventStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DeviceIdStruct_DEFINED
#define SOAP_TYPE_cwmp__DeviceIdStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__DeviceIdStruct(struct soap*, struct cwmp__DeviceIdStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__DeviceIdStruct(struct soap*, const struct cwmp__DeviceIdStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeviceIdStruct(struct soap*, const char*, int, const struct cwmp__DeviceIdStruct *, const char*);
SOAP_FMAC3 struct cwmp__DeviceIdStruct * SOAP_FMAC4 soap_in_cwmp__DeviceIdStruct(struct soap*, const char*, struct cwmp__DeviceIdStruct *, const char*);
SOAP_FMAC1 struct cwmp__DeviceIdStruct * SOAP_FMAC2 soap_instantiate_cwmp__DeviceIdStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__DeviceIdStruct * soap_new_cwmp__DeviceIdStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__DeviceIdStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__DeviceIdStruct * soap_new_req_cwmp__DeviceIdStruct(
	struct soap *soap,
	char *Manufacturer,
	char *OUI,
	char *ProductClass,
	char *SerialNumber)
{
	struct cwmp__DeviceIdStruct *_p = ::soap_new_cwmp__DeviceIdStruct(soap);
	if (_p)
	{	::soap_default_cwmp__DeviceIdStruct(soap, _p);
		_p->Manufacturer = Manufacturer;
		_p->OUI = OUI;
		_p->ProductClass = ProductClass;
		_p->SerialNumber = SerialNumber;
	}
	return _p;
}

inline struct cwmp__DeviceIdStruct * soap_new_set_cwmp__DeviceIdStruct(
	struct soap *soap,
	char *Manufacturer,
	char *OUI,
	char *ProductClass,
	char *SerialNumber)
{
	struct cwmp__DeviceIdStruct *_p = ::soap_new_cwmp__DeviceIdStruct(soap);
	if (_p)
	{	::soap_default_cwmp__DeviceIdStruct(soap, _p);
		_p->Manufacturer = Manufacturer;
		_p->OUI = OUI;
		_p->ProductClass = ProductClass;
		_p->SerialNumber = SerialNumber;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeviceIdStruct(struct soap*, const struct cwmp__DeviceIdStruct *, const char*, const char*);

inline int soap_write_cwmp__DeviceIdStruct(struct soap *soap, struct cwmp__DeviceIdStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__DeviceIdStruct(soap, p), 0) || ::soap_put_cwmp__DeviceIdStruct(soap, p, "cwmp:DeviceIdStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeviceIdStruct(struct soap *soap, const char *URL, struct cwmp__DeviceIdStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeviceIdStruct(soap, p), 0) || ::soap_put_cwmp__DeviceIdStruct(soap, p, "cwmp:DeviceIdStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeviceIdStruct(struct soap *soap, const char *URL, struct cwmp__DeviceIdStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeviceIdStruct(soap, p), 0) || ::soap_put_cwmp__DeviceIdStruct(soap, p, "cwmp:DeviceIdStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeviceIdStruct(struct soap *soap, const char *URL, struct cwmp__DeviceIdStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeviceIdStruct(soap, p), 0) || ::soap_put_cwmp__DeviceIdStruct(soap, p, "cwmp:DeviceIdStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__DeviceIdStruct * SOAP_FMAC4 soap_get_cwmp__DeviceIdStruct(struct soap*, struct cwmp__DeviceIdStruct *, const char*, const char*);

inline int soap_read_cwmp__DeviceIdStruct(struct soap *soap, struct cwmp__DeviceIdStruct *p)
{
	if (p)
	{	::soap_default_cwmp__DeviceIdStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__DeviceIdStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeviceIdStruct(struct soap *soap, const char *URL, struct cwmp__DeviceIdStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeviceIdStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeviceIdStruct(struct soap *soap, struct cwmp__DeviceIdStruct *p)
{
	if (::soap_read_cwmp__DeviceIdStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ParameterValueStruct_DEFINED
#define SOAP_TYPE_cwmp__ParameterValueStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ParameterValueStruct(struct soap*, const struct cwmp__ParameterValueStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ParameterValueStruct(struct soap*, const char*, int, const struct cwmp__ParameterValueStruct *, const char*);
SOAP_FMAC3 struct cwmp__ParameterValueStruct * SOAP_FMAC4 soap_in_cwmp__ParameterValueStruct(struct soap*, const char*, struct cwmp__ParameterValueStruct *, const char*);
SOAP_FMAC1 struct cwmp__ParameterValueStruct * SOAP_FMAC2 soap_instantiate_cwmp__ParameterValueStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__ParameterValueStruct * soap_new_cwmp__ParameterValueStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__ParameterValueStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__ParameterValueStruct * soap_new_req_cwmp__ParameterValueStruct(
	struct soap *soap,
	char *Name,
	char *Value)
{
	struct cwmp__ParameterValueStruct *_p = ::soap_new_cwmp__ParameterValueStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterValueStruct(soap, _p);
		_p->Name = Name;
		_p->Value = Value;
	}
	return _p;
}

inline struct cwmp__ParameterValueStruct * soap_new_set_cwmp__ParameterValueStruct(
	struct soap *soap,
	char *Name,
	char *Value)
{
	struct cwmp__ParameterValueStruct *_p = ::soap_new_cwmp__ParameterValueStruct(soap);
	if (_p)
	{	::soap_default_cwmp__ParameterValueStruct(soap, _p);
		_p->Name = Name;
		_p->Value = Value;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ParameterValueStruct(struct soap*, const struct cwmp__ParameterValueStruct *, const char*, const char*);

inline int soap_write_cwmp__ParameterValueStruct(struct soap *soap, struct cwmp__ParameterValueStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__ParameterValueStruct(soap, p), 0) || ::soap_put_cwmp__ParameterValueStruct(soap, p, "cwmp:ParameterValueStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ParameterValueStruct(struct soap *soap, const char *URL, struct cwmp__ParameterValueStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterValueStruct(soap, p), 0) || ::soap_put_cwmp__ParameterValueStruct(soap, p, "cwmp:ParameterValueStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ParameterValueStruct(struct soap *soap, const char *URL, struct cwmp__ParameterValueStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterValueStruct(soap, p), 0) || ::soap_put_cwmp__ParameterValueStruct(soap, p, "cwmp:ParameterValueStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ParameterValueStruct(struct soap *soap, const char *URL, struct cwmp__ParameterValueStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__ParameterValueStruct(soap, p), 0) || ::soap_put_cwmp__ParameterValueStruct(soap, p, "cwmp:ParameterValueStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__ParameterValueStruct * SOAP_FMAC4 soap_get_cwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct *, const char*, const char*);

inline int soap_read_cwmp__ParameterValueStruct(struct soap *soap, struct cwmp__ParameterValueStruct *p)
{
	if (p)
	{	::soap_default_cwmp__ParameterValueStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__ParameterValueStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ParameterValueStruct(struct soap *soap, const char *URL, struct cwmp__ParameterValueStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ParameterValueStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ParameterValueStruct(struct soap *soap, struct cwmp__ParameterValueStruct *p)
{
	if (::soap_read_cwmp__ParameterValueStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DeploymentUnitFaultStruct_DEFINED
#define SOAP_TYPE_cwmp__DeploymentUnitFaultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__DeploymentUnitFaultStruct(struct soap*, struct cwmp__DeploymentUnitFaultStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__DeploymentUnitFaultStruct(struct soap*, const struct cwmp__DeploymentUnitFaultStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeploymentUnitFaultStruct(struct soap*, const char*, int, const struct cwmp__DeploymentUnitFaultStruct *, const char*);
SOAP_FMAC3 struct cwmp__DeploymentUnitFaultStruct * SOAP_FMAC4 soap_in_cwmp__DeploymentUnitFaultStruct(struct soap*, const char*, struct cwmp__DeploymentUnitFaultStruct *, const char*);
SOAP_FMAC1 struct cwmp__DeploymentUnitFaultStruct * SOAP_FMAC2 soap_instantiate_cwmp__DeploymentUnitFaultStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__DeploymentUnitFaultStruct * soap_new_cwmp__DeploymentUnitFaultStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__DeploymentUnitFaultStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__DeploymentUnitFaultStruct * soap_new_req_cwmp__DeploymentUnitFaultStruct(
	struct soap *soap,
	char *FaultCode)
{
	struct cwmp__DeploymentUnitFaultStruct *_p = ::soap_new_cwmp__DeploymentUnitFaultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__DeploymentUnitFaultStruct(soap, _p);
		_p->FaultCode = FaultCode;
	}
	return _p;
}

inline struct cwmp__DeploymentUnitFaultStruct * soap_new_set_cwmp__DeploymentUnitFaultStruct(
	struct soap *soap,
	char *FaultCode,
	char *FaultString)
{
	struct cwmp__DeploymentUnitFaultStruct *_p = ::soap_new_cwmp__DeploymentUnitFaultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__DeploymentUnitFaultStruct(soap, _p);
		_p->FaultCode = FaultCode;
		_p->FaultString = FaultString;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeploymentUnitFaultStruct(struct soap*, const struct cwmp__DeploymentUnitFaultStruct *, const char*, const char*);

inline int soap_write_cwmp__DeploymentUnitFaultStruct(struct soap *soap, struct cwmp__DeploymentUnitFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__DeploymentUnitFaultStruct(soap, p), 0) || ::soap_put_cwmp__DeploymentUnitFaultStruct(soap, p, "cwmp:DeploymentUnitFaultStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeploymentUnitFaultStruct(struct soap *soap, const char *URL, struct cwmp__DeploymentUnitFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeploymentUnitFaultStruct(soap, p), 0) || ::soap_put_cwmp__DeploymentUnitFaultStruct(soap, p, "cwmp:DeploymentUnitFaultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeploymentUnitFaultStruct(struct soap *soap, const char *URL, struct cwmp__DeploymentUnitFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeploymentUnitFaultStruct(soap, p), 0) || ::soap_put_cwmp__DeploymentUnitFaultStruct(soap, p, "cwmp:DeploymentUnitFaultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeploymentUnitFaultStruct(struct soap *soap, const char *URL, struct cwmp__DeploymentUnitFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__DeploymentUnitFaultStruct(soap, p), 0) || ::soap_put_cwmp__DeploymentUnitFaultStruct(soap, p, "cwmp:DeploymentUnitFaultStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__DeploymentUnitFaultStruct * SOAP_FMAC4 soap_get_cwmp__DeploymentUnitFaultStruct(struct soap*, struct cwmp__DeploymentUnitFaultStruct *, const char*, const char*);

inline int soap_read_cwmp__DeploymentUnitFaultStruct(struct soap *soap, struct cwmp__DeploymentUnitFaultStruct *p)
{
	if (p)
	{	::soap_default_cwmp__DeploymentUnitFaultStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__DeploymentUnitFaultStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeploymentUnitFaultStruct(struct soap *soap, const char *URL, struct cwmp__DeploymentUnitFaultStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeploymentUnitFaultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeploymentUnitFaultStruct(struct soap *soap, struct cwmp__DeploymentUnitFaultStruct *p)
{
	if (::soap_read_cwmp__DeploymentUnitFaultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TransferCompleteFaultStruct_DEFINED
#define SOAP_TYPE_cwmp__TransferCompleteFaultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_cwmp__TransferCompleteFaultStruct(struct soap*, struct cwmp__TransferCompleteFaultStruct *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__TransferCompleteFaultStruct(struct soap*, const struct cwmp__TransferCompleteFaultStruct *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TransferCompleteFaultStruct(struct soap*, const char*, int, const struct cwmp__TransferCompleteFaultStruct *, const char*);
SOAP_FMAC3 struct cwmp__TransferCompleteFaultStruct * SOAP_FMAC4 soap_in_cwmp__TransferCompleteFaultStruct(struct soap*, const char*, struct cwmp__TransferCompleteFaultStruct *, const char*);
SOAP_FMAC1 struct cwmp__TransferCompleteFaultStruct * SOAP_FMAC2 soap_instantiate_cwmp__TransferCompleteFaultStruct(struct soap*, int, const char*, const char*, size_t*);

inline struct cwmp__TransferCompleteFaultStruct * soap_new_cwmp__TransferCompleteFaultStruct(struct soap *soap, int n = -1)
{
	return soap_instantiate_cwmp__TransferCompleteFaultStruct(soap, n, NULL, NULL, NULL);
}

inline struct cwmp__TransferCompleteFaultStruct * soap_new_req_cwmp__TransferCompleteFaultStruct(
	struct soap *soap,
	char *FaultCode,
	char *FaultString)
{
	struct cwmp__TransferCompleteFaultStruct *_p = ::soap_new_cwmp__TransferCompleteFaultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__TransferCompleteFaultStruct(soap, _p);
		_p->FaultCode = FaultCode;
		_p->FaultString = FaultString;
	}
	return _p;
}

inline struct cwmp__TransferCompleteFaultStruct * soap_new_set_cwmp__TransferCompleteFaultStruct(
	struct soap *soap,
	char *FaultCode,
	char *FaultString)
{
	struct cwmp__TransferCompleteFaultStruct *_p = ::soap_new_cwmp__TransferCompleteFaultStruct(soap);
	if (_p)
	{	::soap_default_cwmp__TransferCompleteFaultStruct(soap, _p);
		_p->FaultCode = FaultCode;
		_p->FaultString = FaultString;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TransferCompleteFaultStruct(struct soap*, const struct cwmp__TransferCompleteFaultStruct *, const char*, const char*);

inline int soap_write_cwmp__TransferCompleteFaultStruct(struct soap *soap, struct cwmp__TransferCompleteFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_cwmp__TransferCompleteFaultStruct(soap, p), 0) || ::soap_put_cwmp__TransferCompleteFaultStruct(soap, p, "cwmp:TransferCompleteFaultStruct", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TransferCompleteFaultStruct(struct soap *soap, const char *URL, struct cwmp__TransferCompleteFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TransferCompleteFaultStruct(soap, p), 0) || ::soap_put_cwmp__TransferCompleteFaultStruct(soap, p, "cwmp:TransferCompleteFaultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TransferCompleteFaultStruct(struct soap *soap, const char *URL, struct cwmp__TransferCompleteFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TransferCompleteFaultStruct(soap, p), 0) || ::soap_put_cwmp__TransferCompleteFaultStruct(soap, p, "cwmp:TransferCompleteFaultStruct", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TransferCompleteFaultStruct(struct soap *soap, const char *URL, struct cwmp__TransferCompleteFaultStruct const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_cwmp__TransferCompleteFaultStruct(soap, p), 0) || ::soap_put_cwmp__TransferCompleteFaultStruct(soap, p, "cwmp:TransferCompleteFaultStruct", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct cwmp__TransferCompleteFaultStruct * SOAP_FMAC4 soap_get_cwmp__TransferCompleteFaultStruct(struct soap*, struct cwmp__TransferCompleteFaultStruct *, const char*, const char*);

inline int soap_read_cwmp__TransferCompleteFaultStruct(struct soap *soap, struct cwmp__TransferCompleteFaultStruct *p)
{
	if (p)
	{	::soap_default_cwmp__TransferCompleteFaultStruct(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_cwmp__TransferCompleteFaultStruct(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TransferCompleteFaultStruct(struct soap *soap, const char *URL, struct cwmp__TransferCompleteFaultStruct *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TransferCompleteFaultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TransferCompleteFaultStruct(struct soap *soap, struct cwmp__TransferCompleteFaultStruct *p)
{
	if (::soap_read_cwmp__TransferCompleteFaultStruct(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_SOAP_ENC__base64_DEFINED
#define SOAP_TYPE_SOAP_ENC__base64_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENC__base64(struct soap*, struct SOAP_ENC__base64 *);
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENC__base64(struct soap*, const struct SOAP_ENC__base64 *);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENC__base64(struct soap*, const char*, int, const struct SOAP_ENC__base64 *, const char*);
SOAP_FMAC3S const char* SOAP_FMAC4S soap_SOAP_ENC__base642s(struct soap*, struct SOAP_ENC__base64);
SOAP_FMAC3 struct SOAP_ENC__base64 * SOAP_FMAC4 soap_in_SOAP_ENC__base64(struct soap*, const char*, struct SOAP_ENC__base64 *, const char*);
SOAP_FMAC3S int SOAP_FMAC4S soap_s2SOAP_ENC__base64(struct soap*, const char*, struct SOAP_ENC__base64 *);
SOAP_FMAC1 struct SOAP_ENC__base64 * SOAP_FMAC2 soap_instantiate_SOAP_ENC__base64(struct soap*, int, const char*, const char*, size_t*);

inline struct SOAP_ENC__base64 * soap_new_SOAP_ENC__base64(struct soap *soap, int n = -1)
{
	return soap_instantiate_SOAP_ENC__base64(soap, n, NULL, NULL, NULL);
}

inline struct SOAP_ENC__base64 * soap_new_req_SOAP_ENC__base64(
	struct soap *soap)
{
	struct SOAP_ENC__base64 *_p = ::soap_new_SOAP_ENC__base64(soap);
	if (_p)
	{	::soap_default_SOAP_ENC__base64(soap, _p);
	}
	return _p;
}

inline struct SOAP_ENC__base64 * soap_new_set_SOAP_ENC__base64(
	struct soap *soap,
	unsigned char *__ptr,
	int __size)
{
	struct SOAP_ENC__base64 *_p = ::soap_new_SOAP_ENC__base64(soap);
	if (_p)
	{	::soap_default_SOAP_ENC__base64(soap, _p);
		_p->__ptr = __ptr;
		_p->__size = __size;
	}
	return _p;
}
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENC__base64(struct soap*, const struct SOAP_ENC__base64 *, const char*, const char*);

inline int soap_write_SOAP_ENC__base64(struct soap *soap, struct SOAP_ENC__base64 const*p)
{
	soap_free_temp(soap);
	if (soap_begin_send(soap) || (::soap_serialize_SOAP_ENC__base64(soap, p), 0) || ::soap_put_SOAP_ENC__base64(soap, p, "SOAP-ENC:base64", "") || soap_end_send(soap))
			return soap->error;
	return SOAP_OK;
}

inline int soap_PUT_SOAP_ENC__base64(struct soap *soap, const char *URL, struct SOAP_ENC__base64 const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENC__base64(soap, p), 0) || ::soap_put_SOAP_ENC__base64(soap, p, "SOAP-ENC:base64", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_SOAP_ENC__base64(struct soap *soap, const char *URL, struct SOAP_ENC__base64 const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENC__base64(soap, p), 0) || ::soap_put_SOAP_ENC__base64(soap, p, "SOAP-ENC:base64", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_SOAP_ENC__base64(struct soap *soap, const char *URL, struct SOAP_ENC__base64 const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_SOAP_ENC__base64(soap, p), 0) || ::soap_put_SOAP_ENC__base64(soap, p, "SOAP-ENC:base64", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 struct SOAP_ENC__base64 * SOAP_FMAC4 soap_get_SOAP_ENC__base64(struct soap*, struct SOAP_ENC__base64 *, const char*, const char*);

inline int soap_read_SOAP_ENC__base64(struct soap *soap, struct SOAP_ENC__base64 *p)
{
	if (p)
	{	::soap_default_SOAP_ENC__base64(soap, p);
		if (soap_begin_recv(soap) || ::soap_get_SOAP_ENC__base64(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_SOAP_ENC__base64(struct soap *soap, const char *URL, struct SOAP_ENC__base64 *p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_SOAP_ENC__base64(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_SOAP_ENC__base64(struct soap *soap, struct SOAP_ENC__base64 *p)
{
	if (::soap_read_SOAP_ENC__base64(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason_DEFINED
#define SOAP_TYPE_PointerToSOAP_ENV__Reason_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap*, const char *, int, struct SOAP_ENV__Reason *const*, const char *);
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*, const char*, const char*);
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason **, const char*, const char*);
#endif

#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail_DEFINED
#define SOAP_TYPE_PointerToSOAP_ENV__Detail_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
#endif

#endif

#ifndef WITH_NOGLOBAL

#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code_DEFINED
#define SOAP_TYPE_PointerToSOAP_ENV__Code_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
#endif

#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__InformResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__InformResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__InformResponse(struct soap*, struct _cwmp__InformResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__InformResponse(struct soap*, const char *, int, struct _cwmp__InformResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__InformResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__InformResponse(struct soap*, const char*, struct _cwmp__InformResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__InformResponse(struct soap*, struct _cwmp__InformResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__InformResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__InformResponse(struct soap*, struct _cwmp__InformResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__Inform_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__Inform_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__Inform(struct soap*, struct _cwmp__Inform *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__Inform(struct soap*, const char *, int, struct _cwmp__Inform *const*, const char *);
SOAP_FMAC3 struct _cwmp__Inform ** SOAP_FMAC4 soap_in_PointerTo_cwmp__Inform(struct soap*, const char*, struct _cwmp__Inform **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__Inform(struct soap*, struct _cwmp__Inform *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__Inform ** SOAP_FMAC4 soap_get_PointerTo_cwmp__Inform(struct soap*, struct _cwmp__Inform **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetRPCMethodsResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetRPCMethodsResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetRPCMethodsResponse(struct soap*, struct _cwmp__GetRPCMethodsResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetRPCMethodsResponse(struct soap*, const char *, int, struct _cwmp__GetRPCMethodsResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetRPCMethodsResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetRPCMethodsResponse(struct soap*, const char*, struct _cwmp__GetRPCMethodsResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetRPCMethodsResponse(struct soap*, struct _cwmp__GetRPCMethodsResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetRPCMethodsResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetRPCMethodsResponse(struct soap*, struct _cwmp__GetRPCMethodsResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetRPCMethods_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetRPCMethods_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetRPCMethods(struct soap*, struct _cwmp__GetRPCMethods *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetRPCMethods(struct soap*, const char *, int, struct _cwmp__GetRPCMethods *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetRPCMethods ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetRPCMethods(struct soap*, const char*, struct _cwmp__GetRPCMethods **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetRPCMethods(struct soap*, struct _cwmp__GetRPCMethods *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetRPCMethods ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetRPCMethods(struct soap*, struct _cwmp__GetRPCMethods **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__DeleteObjectResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__DeleteObjectResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__DeleteObjectResponse(struct soap*, struct _cwmp__DeleteObjectResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__DeleteObjectResponse(struct soap*, const char *, int, struct _cwmp__DeleteObjectResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__DeleteObjectResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__DeleteObjectResponse(struct soap*, const char*, struct _cwmp__DeleteObjectResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__DeleteObjectResponse(struct soap*, struct _cwmp__DeleteObjectResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__DeleteObjectResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__DeleteObjectResponse(struct soap*, struct _cwmp__DeleteObjectResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__DeleteObject_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__DeleteObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__DeleteObject(struct soap*, struct _cwmp__DeleteObject *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__DeleteObject(struct soap*, const char *, int, struct _cwmp__DeleteObject *const*, const char *);
SOAP_FMAC3 struct _cwmp__DeleteObject ** SOAP_FMAC4 soap_in_PointerTo_cwmp__DeleteObject(struct soap*, const char*, struct _cwmp__DeleteObject **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__DeleteObject(struct soap*, struct _cwmp__DeleteObject *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__DeleteObject ** SOAP_FMAC4 soap_get_PointerTo_cwmp__DeleteObject(struct soap*, struct _cwmp__DeleteObject **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__AddObjectResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__AddObjectResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__AddObjectResponse(struct soap*, struct _cwmp__AddObjectResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__AddObjectResponse(struct soap*, const char *, int, struct _cwmp__AddObjectResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__AddObjectResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__AddObjectResponse(struct soap*, const char*, struct _cwmp__AddObjectResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__AddObjectResponse(struct soap*, struct _cwmp__AddObjectResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__AddObjectResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__AddObjectResponse(struct soap*, struct _cwmp__AddObjectResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__AddObject_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__AddObject_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__AddObject(struct soap*, struct _cwmp__AddObject *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__AddObject(struct soap*, const char *, int, struct _cwmp__AddObject *const*, const char *);
SOAP_FMAC3 struct _cwmp__AddObject ** SOAP_FMAC4 soap_in_PointerTo_cwmp__AddObject(struct soap*, const char*, struct _cwmp__AddObject **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__AddObject(struct soap*, struct _cwmp__AddObject *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__AddObject ** SOAP_FMAC4 soap_get_PointerTo_cwmp__AddObject(struct soap*, struct _cwmp__AddObject **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__UploadResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__UploadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__UploadResponse(struct soap*, struct _cwmp__UploadResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__UploadResponse(struct soap*, const char *, int, struct _cwmp__UploadResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__UploadResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__UploadResponse(struct soap*, const char*, struct _cwmp__UploadResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__UploadResponse(struct soap*, struct _cwmp__UploadResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__UploadResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__UploadResponse(struct soap*, struct _cwmp__UploadResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__Upload_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__Upload_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__Upload(struct soap*, struct _cwmp__Upload *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__Upload(struct soap*, const char *, int, struct _cwmp__Upload *const*, const char *);
SOAP_FMAC3 struct _cwmp__Upload ** SOAP_FMAC4 soap_in_PointerTo_cwmp__Upload(struct soap*, const char*, struct _cwmp__Upload **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__Upload(struct soap*, struct _cwmp__Upload *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__Upload ** SOAP_FMAC4 soap_get_PointerTo_cwmp__Upload(struct soap*, struct _cwmp__Upload **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__DownloadResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__DownloadResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__DownloadResponse(struct soap*, struct _cwmp__DownloadResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__DownloadResponse(struct soap*, const char *, int, struct _cwmp__DownloadResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__DownloadResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__DownloadResponse(struct soap*, const char*, struct _cwmp__DownloadResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__DownloadResponse(struct soap*, struct _cwmp__DownloadResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__DownloadResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__DownloadResponse(struct soap*, struct _cwmp__DownloadResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__Download_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__Download_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__Download(struct soap*, struct _cwmp__Download *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__Download(struct soap*, const char *, int, struct _cwmp__Download *const*, const char *);
SOAP_FMAC3 struct _cwmp__Download ** SOAP_FMAC4 soap_in_PointerTo_cwmp__Download(struct soap*, const char*, struct _cwmp__Download **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__Download(struct soap*, struct _cwmp__Download *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__Download ** SOAP_FMAC4 soap_get_PointerTo_cwmp__Download(struct soap*, struct _cwmp__Download **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SetParameterAttributesResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SetParameterAttributesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SetParameterAttributesResponse(struct soap*, struct _cwmp__SetParameterAttributesResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SetParameterAttributesResponse(struct soap*, const char *, int, struct _cwmp__SetParameterAttributesResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__SetParameterAttributesResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SetParameterAttributesResponse(struct soap*, const char*, struct _cwmp__SetParameterAttributesResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SetParameterAttributesResponse(struct soap*, struct _cwmp__SetParameterAttributesResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterAttributesResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SetParameterAttributesResponse(struct soap*, struct _cwmp__SetParameterAttributesResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SetParameterAttributes_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SetParameterAttributes(struct soap*, struct _cwmp__SetParameterAttributes *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SetParameterAttributes(struct soap*, const char *, int, struct _cwmp__SetParameterAttributes *const*, const char *);
SOAP_FMAC3 struct _cwmp__SetParameterAttributes ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SetParameterAttributes(struct soap*, const char*, struct _cwmp__SetParameterAttributes **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SetParameterAttributes(struct soap*, struct _cwmp__SetParameterAttributes *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterAttributes ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SetParameterAttributes(struct soap*, struct _cwmp__SetParameterAttributes **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterAttributesResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterAttributesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterAttributesResponse(struct soap*, struct _cwmp__GetParameterAttributesResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterAttributesResponse(struct soap*, const char *, int, struct _cwmp__GetParameterAttributesResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterAttributesResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterAttributesResponse(struct soap*, const char*, struct _cwmp__GetParameterAttributesResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterAttributesResponse(struct soap*, struct _cwmp__GetParameterAttributesResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterAttributesResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterAttributesResponse(struct soap*, struct _cwmp__GetParameterAttributesResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterAttributes_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterAttributes_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterAttributes(struct soap*, struct _cwmp__GetParameterAttributes *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterAttributes(struct soap*, const char *, int, struct _cwmp__GetParameterAttributes *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterAttributes ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterAttributes(struct soap*, const char*, struct _cwmp__GetParameterAttributes **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterAttributes(struct soap*, struct _cwmp__GetParameterAttributes *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterAttributes ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterAttributes(struct soap*, struct _cwmp__GetParameterAttributes **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SetParameterValuesResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SetParameterValuesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SetParameterValuesResponse(struct soap*, struct _cwmp__SetParameterValuesResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SetParameterValuesResponse(struct soap*, const char *, int, struct _cwmp__SetParameterValuesResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__SetParameterValuesResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SetParameterValuesResponse(struct soap*, const char*, struct _cwmp__SetParameterValuesResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SetParameterValuesResponse(struct soap*, struct _cwmp__SetParameterValuesResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterValuesResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SetParameterValuesResponse(struct soap*, struct _cwmp__SetParameterValuesResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SetParameterValues_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SetParameterValues(struct soap*, struct _cwmp__SetParameterValues *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SetParameterValues(struct soap*, const char *, int, struct _cwmp__SetParameterValues *const*, const char *);
SOAP_FMAC3 struct _cwmp__SetParameterValues ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SetParameterValues(struct soap*, const char*, struct _cwmp__SetParameterValues **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SetParameterValues(struct soap*, struct _cwmp__SetParameterValues *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SetParameterValues ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SetParameterValues(struct soap*, struct _cwmp__SetParameterValues **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterValuesResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterValuesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterValuesResponse(struct soap*, struct _cwmp__GetParameterValuesResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterValuesResponse(struct soap*, const char *, int, struct _cwmp__GetParameterValuesResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterValuesResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterValuesResponse(struct soap*, const char*, struct _cwmp__GetParameterValuesResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterValuesResponse(struct soap*, struct _cwmp__GetParameterValuesResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterValuesResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterValuesResponse(struct soap*, struct _cwmp__GetParameterValuesResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterValues_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterValues_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterValues(struct soap*, struct _cwmp__GetParameterValues *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterValues(struct soap*, const char *, int, struct _cwmp__GetParameterValues *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterValues ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterValues(struct soap*, const char*, struct _cwmp__GetParameterValues **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterValues(struct soap*, struct _cwmp__GetParameterValues *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterValues ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterValues(struct soap*, struct _cwmp__GetParameterValues **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterNamesResponse_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterNamesResponse_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterNamesResponse(struct soap*, struct _cwmp__GetParameterNamesResponse *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterNamesResponse(struct soap*, const char *, int, struct _cwmp__GetParameterNamesResponse *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterNamesResponse ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterNamesResponse(struct soap*, const char*, struct _cwmp__GetParameterNamesResponse **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterNamesResponse(struct soap*, struct _cwmp__GetParameterNamesResponse *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterNamesResponse ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterNamesResponse(struct soap*, struct _cwmp__GetParameterNamesResponse **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__GetParameterNames_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__GetParameterNames_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__GetParameterNames(struct soap*, struct _cwmp__GetParameterNames *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__GetParameterNames(struct soap*, const char *, int, struct _cwmp__GetParameterNames *const*, const char *);
SOAP_FMAC3 struct _cwmp__GetParameterNames ** SOAP_FMAC4 soap_in_PointerTo_cwmp__GetParameterNames(struct soap*, const char*, struct _cwmp__GetParameterNames **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__GetParameterNames(struct soap*, struct _cwmp__GetParameterNames *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__GetParameterNames ** SOAP_FMAC4 soap_get_PointerTo_cwmp__GetParameterNames(struct soap*, struct _cwmp__GetParameterNames **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__Fault_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__Fault_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__Fault(struct soap*, struct _cwmp__Fault *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__Fault(struct soap*, const char *, int, struct _cwmp__Fault *const*, const char *);
SOAP_FMAC3 struct _cwmp__Fault ** SOAP_FMAC4 soap_in_PointerTo_cwmp__Fault(struct soap*, const char*, struct _cwmp__Fault **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__Fault(struct soap*, struct _cwmp__Fault *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__Fault ** SOAP_FMAC4 soap_get_PointerTo_cwmp__Fault(struct soap*, struct _cwmp__Fault **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__HoldRequests_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__HoldRequests_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__HoldRequests(struct soap*, struct _cwmp__HoldRequests *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__HoldRequests(struct soap*, const char *, int, struct _cwmp__HoldRequests *const*, const char *);
SOAP_FMAC3 struct _cwmp__HoldRequests ** SOAP_FMAC4 soap_in_PointerTo_cwmp__HoldRequests(struct soap*, const char*, struct _cwmp__HoldRequests **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__HoldRequests(struct soap*, struct _cwmp__HoldRequests *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__HoldRequests ** SOAP_FMAC4 soap_get_PointerTo_cwmp__HoldRequests(struct soap*, struct _cwmp__HoldRequests **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__ID_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__ID_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__ID(struct soap*, struct _cwmp__ID *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__ID(struct soap*, const char *, int, struct _cwmp__ID *const*, const char *);
SOAP_FMAC3 struct _cwmp__ID ** SOAP_FMAC4 soap_in_PointerTo_cwmp__ID(struct soap*, const char*, struct _cwmp__ID **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__ID(struct soap*, struct _cwmp__ID *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__ID ** SOAP_FMAC4 soap_get_PointerTo_cwmp__ID(struct soap*, struct _cwmp__ID **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SessionTimeout_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SessionTimeout_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SessionTimeout(struct soap*, struct _cwmp__SessionTimeout *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SessionTimeout(struct soap*, const char *, int, struct _cwmp__SessionTimeout *const*, const char *);
SOAP_FMAC3 struct _cwmp__SessionTimeout ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SessionTimeout(struct soap*, const char*, struct _cwmp__SessionTimeout **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SessionTimeout(struct soap*, struct _cwmp__SessionTimeout *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SessionTimeout ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SessionTimeout(struct soap*, struct _cwmp__SessionTimeout **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__UseCWMPVersion_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__UseCWMPVersion_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__UseCWMPVersion(struct soap*, struct _cwmp__UseCWMPVersion *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__UseCWMPVersion(struct soap*, const char *, int, struct _cwmp__UseCWMPVersion *const*, const char *);
SOAP_FMAC3 struct _cwmp__UseCWMPVersion ** SOAP_FMAC4 soap_in_PointerTo_cwmp__UseCWMPVersion(struct soap*, const char*, struct _cwmp__UseCWMPVersion **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__UseCWMPVersion(struct soap*, struct _cwmp__UseCWMPVersion *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__UseCWMPVersion ** SOAP_FMAC4 soap_get_PointerTo_cwmp__UseCWMPVersion(struct soap*, struct _cwmp__UseCWMPVersion **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__SupportedCWMPVersions_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__SupportedCWMPVersions_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__SupportedCWMPVersions(struct soap*, struct _cwmp__SupportedCWMPVersions *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__SupportedCWMPVersions(struct soap*, const char *, int, struct _cwmp__SupportedCWMPVersions *const*, const char *);
SOAP_FMAC3 struct _cwmp__SupportedCWMPVersions ** SOAP_FMAC4 soap_in_PointerTo_cwmp__SupportedCWMPVersions(struct soap*, const char*, struct _cwmp__SupportedCWMPVersions **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__SupportedCWMPVersions(struct soap*, struct _cwmp__SupportedCWMPVersions *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__SupportedCWMPVersions ** SOAP_FMAC4 soap_get_PointerTo_cwmp__SupportedCWMPVersions(struct soap*, struct _cwmp__SupportedCWMPVersions **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__ArgStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__ArgStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__ArgStruct(struct soap*, const char *, int, struct cwmp__ArgStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__ArgStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__ArgStruct(struct soap*, const char*, struct cwmp__ArgStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ArgStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__ArgStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__ArgStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__ArgStruct(struct soap*, const char *, int, struct cwmp__ArgStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__ArgStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__ArgStruct(struct soap*, const char*, struct cwmp__ArgStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ArgStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__ArgStruct(struct soap*, struct cwmp__ArgStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__OptionStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__OptionStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__OptionStruct(struct soap*, const char *, int, struct cwmp__OptionStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__OptionStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__OptionStruct(struct soap*, const char*, struct cwmp__OptionStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__OptionStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__OptionStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__OptionStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__OptionStruct(struct soap*, const char *, int, struct cwmp__OptionStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__OptionStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__OptionStruct(struct soap*, const char*, struct cwmp__OptionStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__OptionStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__OptionStruct(struct soap*, struct cwmp__OptionStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToSOAP_ENC__base64_DEFINED
#define SOAP_TYPE_PointerToSOAP_ENC__base64_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENC__base64(struct soap*, struct SOAP_ENC__base64 *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENC__base64(struct soap*, const char *, int, struct SOAP_ENC__base64 *const*, const char *);
SOAP_FMAC3 struct SOAP_ENC__base64 ** SOAP_FMAC4 soap_in_PointerToSOAP_ENC__base64(struct soap*, const char*, struct SOAP_ENC__base64 **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENC__base64(struct soap*, struct SOAP_ENC__base64 *const*, const char*, const char*);
SOAP_FMAC3 struct SOAP_ENC__base64 ** SOAP_FMAC4 soap_get_PointerToSOAP_ENC__base64(struct soap*, struct SOAP_ENC__base64 **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToxsd__anyURI_DEFINED
#define SOAP_TYPE_PointerToxsd__anyURI_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToxsd__anyURI(struct soap*, char **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToxsd__anyURI(struct soap*, const char *, int, char **const*, const char *);
SOAP_FMAC3 char *** SOAP_FMAC4 soap_in_PointerToxsd__anyURI(struct soap*, const char*, char ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToxsd__anyURI(struct soap*, char **const*, const char*, const char*);
SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerToxsd__anyURI(struct soap*, char ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__AllQueuedTransferStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__AllQueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__AllQueuedTransferStruct(struct soap*, const char *, int, struct cwmp__AllQueuedTransferStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__AllQueuedTransferStruct(struct soap*, const char*, struct cwmp__AllQueuedTransferStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__AllQueuedTransferStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__AllQueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__AllQueuedTransferStruct(struct soap*, const char *, int, struct cwmp__AllQueuedTransferStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__AllQueuedTransferStruct(struct soap*, const char*, struct cwmp__AllQueuedTransferStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__AllQueuedTransferStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__AllQueuedTransferStruct(struct soap*, struct cwmp__AllQueuedTransferStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__QueuedTransferStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__QueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__QueuedTransferStruct(struct soap*, const char *, int, struct cwmp__QueuedTransferStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__QueuedTransferStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__QueuedTransferStruct(struct soap*, const char*, struct cwmp__QueuedTransferStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__QueuedTransferStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__QueuedTransferStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__QueuedTransferStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__QueuedTransferStruct(struct soap*, const char *, int, struct cwmp__QueuedTransferStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__QueuedTransferStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__QueuedTransferStruct(struct soap*, const char*, struct cwmp__QueuedTransferStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__QueuedTransferStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__QueuedTransferStruct(struct soap*, struct cwmp__QueuedTransferStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__TimeWindowStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__TimeWindowStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__TimeWindowStruct(struct soap*, const char *, int, struct cwmp__TimeWindowStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__TimeWindowStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__TimeWindowStruct(struct soap*, const char*, struct cwmp__TimeWindowStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__TimeWindowStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__TimeWindowStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__TimeWindowStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__TimeWindowStruct(struct soap*, const char *, int, struct cwmp__TimeWindowStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__TimeWindowStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__TimeWindowStruct(struct soap*, const char*, struct cwmp__TimeWindowStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__TimeWindowStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__TimeWindowStruct(struct soap*, struct cwmp__TimeWindowStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__ParameterAttributeStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__ParameterAttributeStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__ParameterAttributeStruct(struct soap*, const char *, int, struct cwmp__ParameterAttributeStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__ParameterAttributeStruct(struct soap*, const char*, struct cwmp__ParameterAttributeStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__ParameterAttributeStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__ParameterAttributeStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__ParameterAttributeStruct(struct soap*, const char *, int, struct cwmp__ParameterAttributeStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__ParameterAttributeStruct(struct soap*, const char*, struct cwmp__ParameterAttributeStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterAttributeStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__ParameterAttributeStruct(struct soap*, struct cwmp__ParameterAttributeStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__SetParameterAttributesStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__SetParameterAttributesStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__SetParameterAttributesStruct(struct soap*, const char *, int, struct cwmp__SetParameterAttributesStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__SetParameterAttributesStruct(struct soap*, const char*, struct cwmp__SetParameterAttributesStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__SetParameterAttributesStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__SetParameterAttributesStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__SetParameterAttributesStruct(struct soap*, const char *, int, struct cwmp__SetParameterAttributesStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__SetParameterAttributesStruct(struct soap*, const char*, struct cwmp__SetParameterAttributesStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__SetParameterAttributesStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__SetParameterAttributesStruct(struct soap*, struct cwmp__SetParameterAttributesStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__AccessListValueType_DEFINED
#define SOAP_TYPE_PointerTocwmp__AccessListValueType_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__AccessListValueType(struct soap*, enum cwmp__AccessListValueType *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__AccessListValueType(struct soap*, const char *, int, enum cwmp__AccessListValueType *const*, const char *);
SOAP_FMAC3 enum cwmp__AccessListValueType ** SOAP_FMAC4 soap_in_PointerTocwmp__AccessListValueType(struct soap*, const char*, enum cwmp__AccessListValueType **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__AccessListValueType(struct soap*, enum cwmp__AccessListValueType *const*, const char*, const char*);
SOAP_FMAC3 enum cwmp__AccessListValueType ** SOAP_FMAC4 soap_get_PointerTocwmp__AccessListValueType(struct soap*, enum cwmp__AccessListValueType **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__ParameterInfoStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__ParameterInfoStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__ParameterInfoStruct(struct soap*, const char *, int, struct cwmp__ParameterInfoStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterInfoStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__ParameterInfoStruct(struct soap*, const char*, struct cwmp__ParameterInfoStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterInfoStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__ParameterInfoStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__ParameterInfoStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__ParameterInfoStruct(struct soap*, const char *, int, struct cwmp__ParameterInfoStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterInfoStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__ParameterInfoStruct(struct soap*, const char*, struct cwmp__ParameterInfoStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterInfoStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__ParameterInfoStruct(struct soap*, struct cwmp__ParameterInfoStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__EventStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__EventStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__EventStruct(struct soap*, const char *, int, struct cwmp__EventStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__EventStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__EventStruct(struct soap*, const char*, struct cwmp__EventStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__EventStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__EventStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__EventStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__EventStruct(struct soap*, const char *, int, struct cwmp__EventStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__EventStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__EventStruct(struct soap*, const char*, struct cwmp__EventStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__EventStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__EventStruct(struct soap*, struct cwmp__EventStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToPointerTocwmp__ParameterValueStruct_DEFINED
#define SOAP_TYPE_PointerToPointerTocwmp__ParameterValueStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToPointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToPointerTocwmp__ParameterValueStruct(struct soap*, const char *, int, struct cwmp__ParameterValueStruct **const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterValueStruct *** SOAP_FMAC4 soap_in_PointerToPointerTocwmp__ParameterValueStruct(struct soap*, const char*, struct cwmp__ParameterValueStruct ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToPointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct **const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterValueStruct *** SOAP_FMAC4 soap_get_PointerToPointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__ParameterValueStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__ParameterValueStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__ParameterValueStruct(struct soap*, const char *, int, struct cwmp__ParameterValueStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__ParameterValueStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__ParameterValueStruct(struct soap*, const char*, struct cwmp__ParameterValueStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__ParameterValueStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__ParameterValueStruct(struct soap*, struct cwmp__ParameterValueStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTostring_DEFINED
#define SOAP_TYPE_PointerTostring_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostring(struct soap*, char **const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostring(struct soap*, const char *, int, char **const*, const char *);
SOAP_FMAC3 char *** SOAP_FMAC4 soap_in_PointerTostring(struct soap*, const char*, char ***, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostring(struct soap*, char **const*, const char*, const char*);
SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerTostring(struct soap*, char ***, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__AutonOpResultStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__AutonOpResultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__AutonOpResultStruct(struct soap*, struct cwmp__AutonOpResultStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__AutonOpResultStruct(struct soap*, const char *, int, struct cwmp__AutonOpResultStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__AutonOpResultStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__AutonOpResultStruct(struct soap*, const char*, struct cwmp__AutonOpResultStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__AutonOpResultStruct(struct soap*, struct cwmp__AutonOpResultStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__AutonOpResultStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__AutonOpResultStruct(struct soap*, struct cwmp__AutonOpResultStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__OpResultStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__OpResultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__OpResultStruct(struct soap*, struct cwmp__OpResultStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__OpResultStruct(struct soap*, const char *, int, struct cwmp__OpResultStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__OpResultStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__OpResultStruct(struct soap*, const char*, struct cwmp__OpResultStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__OpResultStruct(struct soap*, struct cwmp__OpResultStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__OpResultStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__OpResultStruct(struct soap*, struct cwmp__OpResultStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToFileTypeArg_DEFINED
#define SOAP_TYPE_PointerToFileTypeArg_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToFileTypeArg(struct soap*, struct FileTypeArg *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToFileTypeArg(struct soap*, const char *, int, struct FileTypeArg *const*, const char *);
SOAP_FMAC3 struct FileTypeArg ** SOAP_FMAC4 soap_in_PointerToFileTypeArg(struct soap*, const char*, struct FileTypeArg **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToFileTypeArg(struct soap*, struct FileTypeArg *const*, const char*, const char*);
SOAP_FMAC3 struct FileTypeArg ** SOAP_FMAC4 soap_get_PointerToFileTypeArg(struct soap*, struct FileTypeArg **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__TransferCompleteFaultStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__TransferCompleteFaultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__TransferCompleteFaultStruct(struct soap*, struct cwmp__TransferCompleteFaultStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__TransferCompleteFaultStruct(struct soap*, const char *, int, struct cwmp__TransferCompleteFaultStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__TransferCompleteFaultStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__TransferCompleteFaultStruct(struct soap*, const char*, struct cwmp__TransferCompleteFaultStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__TransferCompleteFaultStruct(struct soap*, struct cwmp__TransferCompleteFaultStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__TransferCompleteFaultStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__TransferCompleteFaultStruct(struct soap*, struct cwmp__TransferCompleteFaultStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToEventList_DEFINED
#define SOAP_TYPE_PointerToEventList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToEventList(struct soap*, struct EventList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToEventList(struct soap*, const char *, int, struct EventList *const*, const char *);
SOAP_FMAC3 struct EventList ** SOAP_FMAC4 soap_in_PointerToEventList(struct soap*, const char*, struct EventList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToEventList(struct soap*, struct EventList *const*, const char*, const char*);
SOAP_FMAC3 struct EventList ** SOAP_FMAC4 soap_get_PointerToEventList(struct soap*, struct EventList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__DeviceIdStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__DeviceIdStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__DeviceIdStruct(struct soap*, struct cwmp__DeviceIdStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__DeviceIdStruct(struct soap*, const char *, int, struct cwmp__DeviceIdStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__DeviceIdStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__DeviceIdStruct(struct soap*, const char*, struct cwmp__DeviceIdStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__DeviceIdStruct(struct soap*, struct cwmp__DeviceIdStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__DeviceIdStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__DeviceIdStruct(struct soap*, struct cwmp__DeviceIdStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__OperationStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__OperationStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__OperationStruct(struct soap*, struct cwmp__OperationStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__OperationStruct(struct soap*, const char *, int, struct cwmp__OperationStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__OperationStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__OperationStruct(struct soap*, const char*, struct cwmp__OperationStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__OperationStruct(struct soap*, struct cwmp__OperationStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__OperationStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__OperationStruct(struct soap*, struct cwmp__OperationStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToTimeWindowList_DEFINED
#define SOAP_TYPE_PointerToTimeWindowList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToTimeWindowList(struct soap*, struct TimeWindowList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToTimeWindowList(struct soap*, const char *, int, struct TimeWindowList *const*, const char *);
SOAP_FMAC3 struct TimeWindowList ** SOAP_FMAC4 soap_in_PointerToTimeWindowList(struct soap*, const char*, struct TimeWindowList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToTimeWindowList(struct soap*, struct TimeWindowList *const*, const char*, const char*);
SOAP_FMAC3 struct TimeWindowList ** SOAP_FMAC4 soap_get_PointerToTimeWindowList(struct soap*, struct TimeWindowList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToAllTransferList_DEFINED
#define SOAP_TYPE_PointerToAllTransferList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToAllTransferList(struct soap*, struct AllTransferList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToAllTransferList(struct soap*, const char *, int, struct AllTransferList *const*, const char *);
SOAP_FMAC3 struct AllTransferList ** SOAP_FMAC4 soap_in_PointerToAllTransferList(struct soap*, const char*, struct AllTransferList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToAllTransferList(struct soap*, struct AllTransferList *const*, const char*, const char*);
SOAP_FMAC3 struct AllTransferList ** SOAP_FMAC4 soap_get_PointerToAllTransferList(struct soap*, struct AllTransferList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToOptionList_DEFINED
#define SOAP_TYPE_PointerToOptionList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToOptionList(struct soap*, struct OptionList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToOptionList(struct soap*, const char *, int, struct OptionList *const*, const char *);
SOAP_FMAC3 struct OptionList ** SOAP_FMAC4 soap_in_PointerToOptionList(struct soap*, const char*, struct OptionList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToOptionList(struct soap*, struct OptionList *const*, const char*, const char*);
SOAP_FMAC3 struct OptionList ** SOAP_FMAC4 soap_get_PointerToOptionList(struct soap*, struct OptionList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToVoucherList_DEFINED
#define SOAP_TYPE_PointerToVoucherList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToVoucherList(struct soap*, struct VoucherList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToVoucherList(struct soap*, const char *, int, struct VoucherList *const*, const char *);
SOAP_FMAC3 struct VoucherList ** SOAP_FMAC4 soap_in_PointerToVoucherList(struct soap*, const char*, struct VoucherList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToVoucherList(struct soap*, struct VoucherList *const*, const char*, const char*);
SOAP_FMAC3 struct VoucherList ** SOAP_FMAC4 soap_get_PointerToVoucherList(struct soap*, struct VoucherList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToTransferList_DEFINED
#define SOAP_TYPE_PointerToTransferList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToTransferList(struct soap*, struct TransferList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToTransferList(struct soap*, const char *, int, struct TransferList *const*, const char *);
SOAP_FMAC3 struct TransferList ** SOAP_FMAC4 soap_in_PointerToTransferList(struct soap*, const char*, struct TransferList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToTransferList(struct soap*, struct TransferList *const*, const char*, const char*);
SOAP_FMAC3 struct TransferList ** SOAP_FMAC4 soap_get_PointerToTransferList(struct soap*, struct TransferList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToParameterAttributeList_DEFINED
#define SOAP_TYPE_PointerToParameterAttributeList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToParameterAttributeList(struct soap*, struct ParameterAttributeList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToParameterAttributeList(struct soap*, const char *, int, struct ParameterAttributeList *const*, const char *);
SOAP_FMAC3 struct ParameterAttributeList ** SOAP_FMAC4 soap_in_PointerToParameterAttributeList(struct soap*, const char*, struct ParameterAttributeList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToParameterAttributeList(struct soap*, struct ParameterAttributeList *const*, const char*, const char*);
SOAP_FMAC3 struct ParameterAttributeList ** SOAP_FMAC4 soap_get_PointerToParameterAttributeList(struct soap*, struct ParameterAttributeList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToSetParameterAttributesList_DEFINED
#define SOAP_TYPE_PointerToSetParameterAttributesList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSetParameterAttributesList(struct soap*, struct SetParameterAttributesList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSetParameterAttributesList(struct soap*, const char *, int, struct SetParameterAttributesList *const*, const char *);
SOAP_FMAC3 struct SetParameterAttributesList ** SOAP_FMAC4 soap_in_PointerToSetParameterAttributesList(struct soap*, const char*, struct SetParameterAttributesList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSetParameterAttributesList(struct soap*, struct SetParameterAttributesList *const*, const char*, const char*);
SOAP_FMAC3 struct SetParameterAttributesList ** SOAP_FMAC4 soap_get_PointerToSetParameterAttributesList(struct soap*, struct SetParameterAttributesList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToParameterInfoList_DEFINED
#define SOAP_TYPE_PointerToParameterInfoList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToParameterInfoList(struct soap*, struct ParameterInfoList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToParameterInfoList(struct soap*, const char *, int, struct ParameterInfoList *const*, const char *);
SOAP_FMAC3 struct ParameterInfoList ** SOAP_FMAC4 soap_in_PointerToParameterInfoList(struct soap*, const char*, struct ParameterInfoList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToParameterInfoList(struct soap*, struct ParameterInfoList *const*, const char*, const char*);
SOAP_FMAC3 struct ParameterInfoList ** SOAP_FMAC4 soap_get_PointerToParameterInfoList(struct soap*, struct ParameterInfoList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToParameterNames_DEFINED
#define SOAP_TYPE_PointerToParameterNames_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToParameterNames(struct soap*, struct ParameterNames *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToParameterNames(struct soap*, const char *, int, struct ParameterNames *const*, const char *);
SOAP_FMAC3 struct ParameterNames ** SOAP_FMAC4 soap_in_PointerToParameterNames(struct soap*, const char*, struct ParameterNames **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToParameterNames(struct soap*, struct ParameterNames *const*, const char*, const char*);
SOAP_FMAC3 struct ParameterNames ** SOAP_FMAC4 soap_get_PointerToParameterNames(struct soap*, struct ParameterNames **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToParameterValueList_DEFINED
#define SOAP_TYPE_PointerToParameterValueList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToParameterValueList(struct soap*, struct ParameterValueList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToParameterValueList(struct soap*, const char *, int, struct ParameterValueList *const*, const char *);
SOAP_FMAC3 struct ParameterValueList ** SOAP_FMAC4 soap_in_PointerToParameterValueList(struct soap*, const char*, struct ParameterValueList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToParameterValueList(struct soap*, struct ParameterValueList *const*, const char*, const char*);
SOAP_FMAC3 struct ParameterValueList ** SOAP_FMAC4 soap_get_PointerToParameterValueList(struct soap*, struct ParameterValueList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToMethodList_DEFINED
#define SOAP_TYPE_PointerToMethodList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToMethodList(struct soap*, struct MethodList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToMethodList(struct soap*, const char *, int, struct MethodList *const*, const char *);
SOAP_FMAC3 struct MethodList ** SOAP_FMAC4 soap_in_PointerToMethodList(struct soap*, const char*, struct MethodList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToMethodList(struct soap*, struct MethodList *const*, const char*, const char*);
SOAP_FMAC3 struct MethodList ** SOAP_FMAC4 soap_get_PointerToMethodList(struct soap*, struct MethodList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTo_cwmp__Fault_SetParameterValuesFault_DEFINED
#define SOAP_TYPE_PointerTo_cwmp__Fault_SetParameterValuesFault_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTo_cwmp__Fault_SetParameterValuesFault(struct soap*, struct _cwmp__Fault_SetParameterValuesFault *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTo_cwmp__Fault_SetParameterValuesFault(struct soap*, const char *, int, struct _cwmp__Fault_SetParameterValuesFault *const*, const char *);
SOAP_FMAC3 struct _cwmp__Fault_SetParameterValuesFault ** SOAP_FMAC4 soap_in_PointerTo_cwmp__Fault_SetParameterValuesFault(struct soap*, const char*, struct _cwmp__Fault_SetParameterValuesFault **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTo_cwmp__Fault_SetParameterValuesFault(struct soap*, struct _cwmp__Fault_SetParameterValuesFault *const*, const char*, const char*);
SOAP_FMAC3 struct _cwmp__Fault_SetParameterValuesFault ** SOAP_FMAC4 soap_get_PointerTo_cwmp__Fault_SetParameterValuesFault(struct soap*, struct _cwmp__Fault_SetParameterValuesFault **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTodateTime_DEFINED
#define SOAP_TYPE_PointerTodateTime_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTodateTime(struct soap*, time_t *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTodateTime(struct soap*, const char *, int, time_t *const*, const char *);
SOAP_FMAC3 time_t ** SOAP_FMAC4 soap_in_PointerTodateTime(struct soap*, const char*, time_t **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTodateTime(struct soap*, time_t *const*, const char*, const char*);
SOAP_FMAC3 time_t ** SOAP_FMAC4 soap_get_PointerTodateTime(struct soap*, time_t **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerTocwmp__DeploymentUnitFaultStruct_DEFINED
#define SOAP_TYPE_PointerTocwmp__DeploymentUnitFaultStruct_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTocwmp__DeploymentUnitFaultStruct(struct soap*, struct cwmp__DeploymentUnitFaultStruct *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTocwmp__DeploymentUnitFaultStruct(struct soap*, const char *, int, struct cwmp__DeploymentUnitFaultStruct *const*, const char *);
SOAP_FMAC3 struct cwmp__DeploymentUnitFaultStruct ** SOAP_FMAC4 soap_in_PointerTocwmp__DeploymentUnitFaultStruct(struct soap*, const char*, struct cwmp__DeploymentUnitFaultStruct **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTocwmp__DeploymentUnitFaultStruct(struct soap*, struct cwmp__DeploymentUnitFaultStruct *const*, const char*, const char*);
SOAP_FMAC3 struct cwmp__DeploymentUnitFaultStruct ** SOAP_FMAC4 soap_get_PointerTocwmp__DeploymentUnitFaultStruct(struct soap*, struct cwmp__DeploymentUnitFaultStruct **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_PointerToAccessList_DEFINED
#define SOAP_TYPE_PointerToAccessList_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToAccessList(struct soap*, struct AccessList *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToAccessList(struct soap*, const char *, int, struct AccessList *const*, const char *);
SOAP_FMAC3 struct AccessList ** SOAP_FMAC4 soap_in_PointerToAccessList(struct soap*, const char*, struct AccessList **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToAccessList(struct soap*, struct AccessList *const*, const char*, const char*);
SOAP_FMAC3 struct AccessList ** SOAP_FMAC4 soap_get_PointerToAccessList(struct soap*, struct AccessList **, const char*, const char*);
#endif

#ifndef SOAP_TYPE_cwmp__DeploymentUnitUUID_DEFINED
#define SOAP_TYPE_cwmp__DeploymentUnitUUID_DEFINED

inline void soap_default_cwmp__DeploymentUnitUUID(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DeploymentUnitUUID
	*a = SOAP_DEFAULT_cwmp__DeploymentUnitUUID;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__DeploymentUnitUUID(struct soap*, char *const*);

#define soap_cwmp__DeploymentUnitUUID2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeploymentUnitUUID(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__DeploymentUnitUUID(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, -1, "[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__DeploymentUnitUUID(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__DeploymentUnitUUID soap_instantiate_string


#define soap_new_cwmp__DeploymentUnitUUID soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeploymentUnitUUID(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__DeploymentUnitUUID(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DeploymentUnitUUID(soap, p, "cwmp:DeploymentUnitUUID", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeploymentUnitUUID(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitUUID(soap, p, "cwmp:DeploymentUnitUUID", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeploymentUnitUUID(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitUUID(soap, p, "cwmp:DeploymentUnitUUID", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeploymentUnitUUID(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitUUID(soap, p, "cwmp:DeploymentUnitUUID", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__DeploymentUnitUUID(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__DeploymentUnitUUID(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DeploymentUnitUUID(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeploymentUnitUUID(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeploymentUnitUUID(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeploymentUnitUUID(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__DeploymentUnitUUID(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ParameterKeyType_DEFINED
#define SOAP_TYPE_cwmp__ParameterKeyType_DEFINED

inline void soap_default_cwmp__ParameterKeyType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__ParameterKeyType
	*a = SOAP_DEFAULT_cwmp__ParameterKeyType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ParameterKeyType(struct soap*, char *const*);

#define soap_cwmp__ParameterKeyType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ParameterKeyType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__ParameterKeyType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 32, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__ParameterKeyType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__ParameterKeyType soap_instantiate_string


#define soap_new_cwmp__ParameterKeyType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ParameterKeyType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__ParameterKeyType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__ParameterKeyType(soap, p, "cwmp:ParameterKeyType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ParameterKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterKeyType(soap, p, "cwmp:ParameterKeyType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ParameterKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterKeyType(soap, p, "cwmp:ParameterKeyType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ParameterKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ParameterKeyType(soap, p, "cwmp:ParameterKeyType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__ParameterKeyType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__ParameterKeyType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__ParameterKeyType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ParameterKeyType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ParameterKeyType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ParameterKeyType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__ParameterKeyType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__ObjectNameType_DEFINED
#define SOAP_TYPE_cwmp__ObjectNameType_DEFINED

inline void soap_default_cwmp__ObjectNameType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__ObjectNameType
	*a = SOAP_DEFAULT_cwmp__ObjectNameType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__ObjectNameType(struct soap*, char *const*);

#define soap_cwmp__ObjectNameType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__ObjectNameType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__ObjectNameType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 256, ".*\\.")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__ObjectNameType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__ObjectNameType soap_instantiate_string


#define soap_new_cwmp__ObjectNameType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__ObjectNameType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__ObjectNameType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__ObjectNameType(soap, p, "cwmp:ObjectNameType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__ObjectNameType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ObjectNameType(soap, p, "cwmp:ObjectNameType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__ObjectNameType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ObjectNameType(soap, p, "cwmp:ObjectNameType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__ObjectNameType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__ObjectNameType(soap, p, "cwmp:ObjectNameType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__ObjectNameType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__ObjectNameType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__ObjectNameType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__ObjectNameType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__ObjectNameType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__ObjectNameType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__ObjectNameType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__CommandKeyType_DEFINED
#define SOAP_TYPE_cwmp__CommandKeyType_DEFINED

inline void soap_default_cwmp__CommandKeyType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__CommandKeyType
	*a = SOAP_DEFAULT_cwmp__CommandKeyType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__CommandKeyType(struct soap*, char *const*);

#define soap_cwmp__CommandKeyType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__CommandKeyType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__CommandKeyType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 32, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__CommandKeyType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__CommandKeyType soap_instantiate_string


#define soap_new_cwmp__CommandKeyType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__CommandKeyType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__CommandKeyType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__CommandKeyType(soap, p, "cwmp:CommandKeyType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__CommandKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CommandKeyType(soap, p, "cwmp:CommandKeyType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__CommandKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CommandKeyType(soap, p, "cwmp:CommandKeyType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__CommandKeyType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__CommandKeyType(soap, p, "cwmp:CommandKeyType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__CommandKeyType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__CommandKeyType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__CommandKeyType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__CommandKeyType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__CommandKeyType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__CommandKeyType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__CommandKeyType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TimeWindowModeValueType_DEFINED
#define SOAP_TYPE_cwmp__TimeWindowModeValueType_DEFINED

inline void soap_default_cwmp__TimeWindowModeValueType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__TimeWindowModeValueType
	*a = SOAP_DEFAULT_cwmp__TimeWindowModeValueType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__TimeWindowModeValueType(struct soap*, char *const*);

#define soap_cwmp__TimeWindowModeValueType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TimeWindowModeValueType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__TimeWindowModeValueType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 64, "[1-9]\\d*( \\S+)+|X [0-9A-F]{6} .+|X \\S+ .+")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__TimeWindowModeValueType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__TimeWindowModeValueType soap_instantiate_string


#define soap_new_cwmp__TimeWindowModeValueType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TimeWindowModeValueType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__TimeWindowModeValueType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__TimeWindowModeValueType(soap, p, "cwmp:TimeWindowModeValueType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TimeWindowModeValueType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TimeWindowModeValueType(soap, p, "cwmp:TimeWindowModeValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TimeWindowModeValueType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TimeWindowModeValueType(soap, p, "cwmp:TimeWindowModeValueType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TimeWindowModeValueType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TimeWindowModeValueType(soap, p, "cwmp:TimeWindowModeValueType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__TimeWindowModeValueType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__TimeWindowModeValueType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__TimeWindowModeValueType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TimeWindowModeValueType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TimeWindowModeValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TimeWindowModeValueType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__TimeWindowModeValueType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__EventCodeType_DEFINED
#define SOAP_TYPE_cwmp__EventCodeType_DEFINED

inline void soap_default_cwmp__EventCodeType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__EventCodeType
	*a = SOAP_DEFAULT_cwmp__EventCodeType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__EventCodeType(struct soap*, char *const*);

#define soap_cwmp__EventCodeType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__EventCodeType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__EventCodeType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 64, "\\d+( \\S+)+|M \\S+|M X_\\S+|X [0-9A-F]{6} .+|X \\S+ .+")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__EventCodeType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__EventCodeType soap_instantiate_string


#define soap_new_cwmp__EventCodeType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__EventCodeType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__EventCodeType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__EventCodeType(soap, p, "cwmp:EventCodeType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__EventCodeType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__EventCodeType(soap, p, "cwmp:EventCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__EventCodeType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__EventCodeType(soap, p, "cwmp:EventCodeType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__EventCodeType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__EventCodeType(soap, p, "cwmp:EventCodeType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__EventCodeType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__EventCodeType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__EventCodeType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__EventCodeType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__EventCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__EventCodeType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__EventCodeType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__UploadFileType_DEFINED
#define SOAP_TYPE_cwmp__UploadFileType_DEFINED

inline void soap_default_cwmp__UploadFileType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__UploadFileType
	*a = SOAP_DEFAULT_cwmp__UploadFileType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__UploadFileType(struct soap*, char *const*);

#define soap_cwmp__UploadFileType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__UploadFileType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__UploadFileType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 64, "[1-9]\\d*( \\S+)+|[1-9]\\d*( \\S+)+ [1-9]\\d*|X [0-9A-F]{6} .+|X \\S+ .+")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__UploadFileType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__UploadFileType soap_instantiate_string


#define soap_new_cwmp__UploadFileType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__UploadFileType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__UploadFileType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__UploadFileType(soap, p, "cwmp:UploadFileType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__UploadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__UploadFileType(soap, p, "cwmp:UploadFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__UploadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__UploadFileType(soap, p, "cwmp:UploadFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__UploadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__UploadFileType(soap, p, "cwmp:UploadFileType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__UploadFileType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__UploadFileType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__UploadFileType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__UploadFileType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__UploadFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__UploadFileType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__UploadFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DownloadFileType_DEFINED
#define SOAP_TYPE_cwmp__DownloadFileType_DEFINED

inline void soap_default_cwmp__DownloadFileType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DownloadFileType
	*a = SOAP_DEFAULT_cwmp__DownloadFileType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__DownloadFileType(struct soap*, char *const*);

#define soap_cwmp__DownloadFileType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DownloadFileType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__DownloadFileType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 64, "[1-9]\\d*( \\S+)+|X [0-9A-F]{6} .+|X \\S+ .+")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__DownloadFileType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__DownloadFileType soap_instantiate_string


#define soap_new_cwmp__DownloadFileType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DownloadFileType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__DownloadFileType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DownloadFileType(soap, p, "cwmp:DownloadFileType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DownloadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DownloadFileType(soap, p, "cwmp:DownloadFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DownloadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DownloadFileType(soap, p, "cwmp:DownloadFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DownloadFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DownloadFileType(soap, p, "cwmp:DownloadFileType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__DownloadFileType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__DownloadFileType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DownloadFileType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DownloadFileType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DownloadFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DownloadFileType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__DownloadFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__TransferFileType_DEFINED
#define SOAP_TYPE_cwmp__TransferFileType_DEFINED

inline void soap_default_cwmp__TransferFileType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__TransferFileType
	*a = SOAP_DEFAULT_cwmp__TransferFileType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__TransferFileType(struct soap*, char *const*);

#define soap_cwmp__TransferFileType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__TransferFileType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__TransferFileType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, 64, "[1-9]\\d*( \\S+)+|[1-9]\\d*( \\S+)+ [1-9]\\d*|X [0-9A-F]{6} .+|X \\S+ .+")
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__TransferFileType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__TransferFileType soap_instantiate_string


#define soap_new_cwmp__TransferFileType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__TransferFileType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__TransferFileType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__TransferFileType(soap, p, "cwmp:TransferFileType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__TransferFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferFileType(soap, p, "cwmp:TransferFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__TransferFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferFileType(soap, p, "cwmp:TransferFileType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__TransferFileType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__TransferFileType(soap, p, "cwmp:TransferFileType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__TransferFileType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__TransferFileType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__TransferFileType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__TransferFileType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__TransferFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__TransferFileType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__TransferFileType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_cwmp__DeploymentUnitOperationType_DEFINED
#define SOAP_TYPE_cwmp__DeploymentUnitOperationType_DEFINED

inline void soap_default_cwmp__DeploymentUnitOperationType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_cwmp__DeploymentUnitOperationType
	*a = SOAP_DEFAULT_cwmp__DeploymentUnitOperationType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_cwmp__DeploymentUnitOperationType(struct soap*, char *const*);

#define soap_cwmp__DeploymentUnitOperationType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_cwmp__DeploymentUnitOperationType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2cwmp__DeploymentUnitOperationType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, -1, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_cwmp__DeploymentUnitOperationType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_cwmp__DeploymentUnitOperationType soap_instantiate_string


#define soap_new_cwmp__DeploymentUnitOperationType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_cwmp__DeploymentUnitOperationType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_cwmp__DeploymentUnitOperationType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_cwmp__DeploymentUnitOperationType(soap, p, "cwmp:DeploymentUnitOperationType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_cwmp__DeploymentUnitOperationType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitOperationType(soap, p, "cwmp:DeploymentUnitOperationType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_cwmp__DeploymentUnitOperationType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitOperationType(soap, p, "cwmp:DeploymentUnitOperationType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_cwmp__DeploymentUnitOperationType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_cwmp__DeploymentUnitOperationType(soap, p, "cwmp:DeploymentUnitOperationType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_cwmp__DeploymentUnitOperationType(struct soap*, char **, const char*, const char*);

inline int soap_read_cwmp__DeploymentUnitOperationType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_cwmp__DeploymentUnitOperationType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_cwmp__DeploymentUnitOperationType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_cwmp__DeploymentUnitOperationType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_cwmp__DeploymentUnitOperationType(struct soap *soap, char **p)
{
	if (::soap_read_cwmp__DeploymentUnitOperationType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_xsd__anyURI_DEFINED
#define SOAP_TYPE_xsd__anyURI_DEFINED

inline void soap_default_xsd__anyURI(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_xsd__anyURI
	*a = SOAP_DEFAULT_xsd__anyURI;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__anyURI(struct soap*, char *const*);

#define soap_xsd__anyURI2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__anyURI(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2xsd__anyURI(soap, s, a) soap_s2char((soap), (s), (char**)(a), 4, 0, -1, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_xsd__anyURI(struct soap*, const char*, char **, const char*);

#define soap_instantiate_xsd__anyURI soap_instantiate_string


#define soap_new_xsd__anyURI soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__anyURI(struct soap*, char *const*, const char*, const char*);

inline int soap_write_xsd__anyURI(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_xsd__anyURI(soap, p, "xsd:anyURI", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_xsd__anyURI(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anyURI(soap, p, "xsd:anyURI", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_xsd__anyURI(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anyURI(soap, p, "xsd:anyURI", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_xsd__anyURI(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anyURI(soap, p, "xsd:anyURI", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_xsd__anyURI(struct soap*, char **, const char*, const char*);

inline int soap_read_xsd__anyURI(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_xsd__anyURI(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_xsd__anyURI(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_xsd__anyURI(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_xsd__anyURI(struct soap *soap, char **p)
{
	if (::soap_read_xsd__anyURI(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_xsd__anySimpleType_DEFINED
#define SOAP_TYPE_xsd__anySimpleType_DEFINED

inline void soap_default_xsd__anySimpleType(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_xsd__anySimpleType
	*a = SOAP_DEFAULT_xsd__anySimpleType;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_xsd__anySimpleType(struct soap*, char *const*);

#define soap_xsd__anySimpleType2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__anySimpleType(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2xsd__anySimpleType(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, -1, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_xsd__anySimpleType(struct soap*, const char*, char **, const char*);

#define soap_instantiate_xsd__anySimpleType soap_instantiate_string


#define soap_new_xsd__anySimpleType soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__anySimpleType(struct soap*, char *const*, const char*, const char*);

inline int soap_write_xsd__anySimpleType(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_xsd__anySimpleType(soap, p, "xsd:anySimpleType", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_xsd__anySimpleType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anySimpleType(soap, p, "xsd:anySimpleType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_xsd__anySimpleType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anySimpleType(soap, p, "xsd:anySimpleType", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_xsd__anySimpleType(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_xsd__anySimpleType(soap, p, "xsd:anySimpleType", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_xsd__anySimpleType(struct soap*, char **, const char*, const char*);

inline int soap_read_xsd__anySimpleType(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_xsd__anySimpleType(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_xsd__anySimpleType(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_xsd__anySimpleType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_xsd__anySimpleType(struct soap *soap, char **p)
{
	if (::soap_read_xsd__anySimpleType(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE_PointerTounsignedByte_DEFINED
#define SOAP_TYPE_PointerTounsignedByte_DEFINED
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTounsignedByte(struct soap*, unsigned char *const*);
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTounsignedByte(struct soap*, const char *, int, unsigned char *const*, const char *);
SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_in_PointerTounsignedByte(struct soap*, const char*, unsigned char **, const char*);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTounsignedByte(struct soap*, unsigned char *const*, const char*, const char*);
SOAP_FMAC3 unsigned char ** SOAP_FMAC4 soap_get_PointerTounsignedByte(struct soap*, unsigned char **, const char*, const char*);
#endif

#ifndef SOAP_TYPE__QName_DEFINED
#define SOAP_TYPE__QName_DEFINED

inline void soap_default__QName(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT__QName
	*a = SOAP_DEFAULT__QName;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);

#define soap__QName2s(soap, a) soap_QName2s(soap, (a))
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2_QName(soap, s, a) soap_s2QName((soap), (s), (char**)(a), 0, -1, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);

#define soap_instantiate__QName soap_instantiate_string


#define soap_new__QName soap_new_string

SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);

inline int soap_write__QName(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT__QName(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__QName(soap, p, "QName", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH__QName(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__QName(soap, p, "QName", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send__QName(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);

inline int soap_read__QName(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get__QName(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET__QName(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read__QName(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv__QName(struct soap *soap, char **p)
{
	if (::soap_read__QName(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#ifndef SOAP_TYPE__XML_DEFINED
#define SOAP_TYPE__XML_DEFINED
#endif

#ifndef SOAP_TYPE_string_DEFINED
#define SOAP_TYPE_string_DEFINED

inline void soap_default_string(struct soap *soap, char **a)
{
	(void)soap; /* appease -Wall -Werror */
#ifdef SOAP_DEFAULT_string
	*a = SOAP_DEFAULT_string;
#else
	*a = (char *)0;
#endif
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);

#define soap_string2s(soap, a) (a)
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);

#define soap_s2string(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, -1, NULL)
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);

SOAP_FMAC3 char * * SOAP_FMAC4 soap_new_string(struct soap *soap, int n = -1);
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);

inline int soap_write_string(struct soap *soap, char *const*p)
{
	soap_free_temp(soap);
	if (p)
	{	if (soap_begin_send(soap) || ::soap_put_string(soap, p, "string", "") || soap_end_send(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_PUT_string(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_string(soap, p, "string", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_PATCH_string(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_string(soap, p, "string", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}

inline int soap_POST_send_string(struct soap *soap, const char *URL, char *const*p)
{
	soap_free_temp(soap);
	if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || ::soap_put_string(soap, p, "string", "") || soap_end_send(soap))
		return soap_closesock(soap);
	return SOAP_OK;
}
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);

inline int soap_read_string(struct soap *soap, char **p)
{
	if (p)
	{	if (soap_begin_recv(soap) || ::soap_get_string(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
			return soap->error;
	}
	return SOAP_OK;
}

inline int soap_GET_string(struct soap *soap, const char *URL, char **p)
{
	if (soap_GET(soap, URL, NULL) || ::soap_read_string(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

inline int soap_POST_recv_string(struct soap *soap, char **p)
{
	if (::soap_read_string(soap, p))
		return soap_closesock(soap);
	return soap_closesock(soap);
}
#endif

#endif

/* End of soapH.h */
