mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
chore(deps): update gsoap to version 2.8.105 (#3316)
This commit is contained in:
284
deps/gsoap/soapC.cpp
vendored
284
deps/gsoap/soapC.cpp
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapC.cpp
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2020, 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.
|
||||
@@ -18,7 +18,7 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.49 2017-07-19 15:45:31 GMT")
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.105 2020-08-19 11:37:43 GMT")
|
||||
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
@@ -59,24 +59,18 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
|
||||
{
|
||||
if (soap->fault == NULL)
|
||||
{ soap->fault = soap_new_SOAP_ENV__Fault(soap);
|
||||
{ soap->fault = soap_new_SOAP_ENV__Fault(soap, -1);
|
||||
if (soap->fault == NULL)
|
||||
return;
|
||||
soap_default_SOAP_ENV__Fault(soap, soap->fault);
|
||||
}
|
||||
if (soap->version == 2 && !soap->fault->SOAP_ENV__Code)
|
||||
{ soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap);
|
||||
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code);
|
||||
}
|
||||
if (soap->version == 2 && !soap->fault->SOAP_ENV__Reason)
|
||||
{ soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap);
|
||||
soap_default_SOAP_ENV__Reason(soap, soap->fault->SOAP_ENV__Reason);
|
||||
}
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Code == NULL)
|
||||
soap->fault->SOAP_ENV__Code = soap_new_SOAP_ENV__Code(soap, -1);
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Reason == NULL)
|
||||
soap->fault->SOAP_ENV__Reason = soap_new_SOAP_ENV__Reason(soap, -1);
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->fault)
|
||||
soap_serialize_SOAP_ENV__Fault(soap, soap->fault);
|
||||
}
|
||||
@@ -96,6 +90,8 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap *soap)
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->fault == NULL)
|
||||
return NULL;
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Code)
|
||||
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Value;
|
||||
return (const char**)(void*)&soap->fault->faultcode;
|
||||
@@ -104,60 +100,60 @@ SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *soap)
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 2)
|
||||
if (soap->fault == NULL)
|
||||
return NULL;
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Code)
|
||||
{ if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
|
||||
{ soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap);
|
||||
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode);
|
||||
{ soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap, -1);
|
||||
if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
|
||||
return NULL;
|
||||
}
|
||||
return (const char**)(void*)&soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
|
||||
}
|
||||
return (const char**)(void*)&soap->fault->faultcode;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultsubcode(struct soap *soap)
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_subcode(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 2)
|
||||
{ if (soap->fault->SOAP_ENV__Code && soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode)
|
||||
return soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode->SOAP_ENV__Value;
|
||||
return NULL;
|
||||
}
|
||||
return soap->fault->faultcode;
|
||||
const char **s = soap_faultsubcode(soap);
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 2)
|
||||
if (soap->fault == NULL)
|
||||
return NULL;
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Reason)
|
||||
return (const char**)(void*)&soap->fault->SOAP_ENV__Reason->SOAP_ENV__Text;
|
||||
return (const char**)(void*)&soap->fault->faultstring;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_string(struct soap *soap)
|
||||
{
|
||||
const char **s = soap_faultstring(soap);
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->fault == NULL)
|
||||
return NULL;
|
||||
if (soap->version == 2)
|
||||
{ if (soap->fault->SOAP_ENV__Detail == NULL)
|
||||
{ soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap);
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
|
||||
}
|
||||
soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
||||
return (const char**)(void*)&soap->fault->SOAP_ENV__Detail->__any;
|
||||
}
|
||||
if (soap->fault->detail == NULL)
|
||||
{ soap->fault->detail = soap_new_SOAP_ENV__Detail(soap);
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
|
||||
}
|
||||
soap->fault->detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
||||
return (const char**)(void*)&soap->fault->detail->__any;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultdetail(struct soap *soap)
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_fault_detail(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 2 && soap->fault->SOAP_ENV__Detail)
|
||||
return soap->fault->SOAP_ENV__Detail->__any;
|
||||
if (soap->fault->detail)
|
||||
return soap->fault->detail->__any;
|
||||
return NULL;
|
||||
const char **s = soap_faultdetail(soap);
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -168,7 +164,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
|
||||
int t;
|
||||
if (soap->version == 1)
|
||||
{ for (;;)
|
||||
{ if (!soap_getelement(soap, &t))
|
||||
{ if (!soap_getelement(soap, NULL, &t))
|
||||
if ((soap->error && soap->error != SOAP_TAG_MISMATCH) || soap_ignore_element(soap))
|
||||
break;
|
||||
}
|
||||
@@ -182,7 +178,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, const char *tag, int *type)
|
||||
{ (void)type;
|
||||
if (soap_peek_element(soap))
|
||||
return NULL;
|
||||
@@ -192,23 +188,23 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
switch (*type)
|
||||
{
|
||||
case SOAP_TYPE_byte:
|
||||
return soap_in_byte(soap, NULL, NULL, "xsd:byte");
|
||||
return soap_in_byte(soap, tag, NULL, "xsd:byte");
|
||||
case SOAP_TYPE_int:
|
||||
return soap_in_int(soap, NULL, NULL, "xsd:int");
|
||||
return soap_in_int(soap, tag, NULL, "xsd:int");
|
||||
case SOAP_TYPE_ns1__executeCommand:
|
||||
return soap_in_ns1__executeCommand(soap, NULL, NULL, "ns1:executeCommand");
|
||||
return soap_in_ns1__executeCommand(soap, tag, NULL, "ns1:executeCommand");
|
||||
case SOAP_TYPE_ns1__executeCommandResponse:
|
||||
return soap_in_ns1__executeCommandResponse(soap, NULL, NULL, "ns1:executeCommandResponse");
|
||||
return soap_in_ns1__executeCommandResponse(soap, tag, NULL, "ns1:executeCommandResponse");
|
||||
case SOAP_TYPE_PointerTostring:
|
||||
return soap_in_PointerTostring(soap, NULL, NULL, "xsd:string");
|
||||
return soap_in_PointerTostring(soap, tag, NULL, "xsd:string");
|
||||
case SOAP_TYPE__QName:
|
||||
{ char **s;
|
||||
s = soap_in__QName(soap, NULL, NULL, "xsd:QName");
|
||||
s = soap_in__QName(soap, tag, NULL, "xsd:QName");
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
case SOAP_TYPE_string:
|
||||
{ char **s;
|
||||
s = soap_in_string(soap, NULL, NULL, "xsd:string");
|
||||
s = soap_in_string(soap, tag, NULL, "xsd:string");
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
default:
|
||||
@@ -220,30 +216,30 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
t = soap->tag;
|
||||
if (!soap_match_tag(soap, t, "xsd:byte"))
|
||||
{ *type = SOAP_TYPE_byte;
|
||||
return soap_in_byte(soap, NULL, NULL, NULL);
|
||||
return soap_in_byte(soap, tag, NULL, NULL);
|
||||
}
|
||||
if (!soap_match_tag(soap, t, "xsd:int"))
|
||||
{ *type = SOAP_TYPE_int;
|
||||
return soap_in_int(soap, NULL, NULL, NULL);
|
||||
return soap_in_int(soap, tag, NULL, NULL);
|
||||
}
|
||||
if (!soap_match_tag(soap, t, "ns1:executeCommand"))
|
||||
{ *type = SOAP_TYPE_ns1__executeCommand;
|
||||
return soap_in_ns1__executeCommand(soap, NULL, NULL, NULL);
|
||||
return soap_in_ns1__executeCommand(soap, tag, NULL, NULL);
|
||||
}
|
||||
if (!soap_match_tag(soap, t, "ns1:executeCommandResponse"))
|
||||
{ *type = SOAP_TYPE_ns1__executeCommandResponse;
|
||||
return soap_in_ns1__executeCommandResponse(soap, NULL, NULL, NULL);
|
||||
return soap_in_ns1__executeCommandResponse(soap, tag, NULL, NULL);
|
||||
}
|
||||
if (!soap_match_tag(soap, t, "xsd:QName"))
|
||||
{ char **s;
|
||||
*type = SOAP_TYPE__QName;
|
||||
s = soap_in__QName(soap, NULL, NULL, NULL);
|
||||
s = soap_in__QName(soap, tag, NULL, NULL);
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
if (!soap_match_tag(soap, t, "xsd:string"))
|
||||
{ char **s;
|
||||
*type = SOAP_TYPE_string;
|
||||
s = soap_in_string(soap, NULL, NULL, NULL);
|
||||
s = soap_in_string(soap, tag, NULL, NULL);
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
t = soap->tag;
|
||||
@@ -263,27 +259,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap)
|
||||
{
|
||||
if (!soap_peek_element(soap))
|
||||
{ int t;
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input (level = %u, %d)\n", soap->tag, soap->level, soap->body));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unexpected element '%s' in input at level = %u body = %d)\n", soap->tag, soap->level, soap->body));
|
||||
if (soap->mustUnderstand && !soap->other && !soap->fignore)
|
||||
return soap->error = SOAP_MUSTUNDERSTAND;
|
||||
if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:"))
|
||||
if (((soap->mode & SOAP_XML_STRICT) && !soap->fignore && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:"))
|
||||
{ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag));
|
||||
return soap->error = SOAP_TAG_MISMATCH;
|
||||
}
|
||||
if (!*soap->id || !soap_getelement(soap, &t))
|
||||
if (!*soap->id || !soap_getelement(soap, NULL, &t))
|
||||
{ soap->peeked = 0;
|
||||
if (soap->fignore)
|
||||
soap->error = soap->fignore(soap, soap->tag);
|
||||
else
|
||||
soap->error = SOAP_OK;
|
||||
DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag));
|
||||
if (!soap->error && soap->body)
|
||||
{ soap->level++;
|
||||
if (soap_ignore(soap) || soap_element_end_in(soap, NULL))
|
||||
if (!soap->error && soap->body && soap_ignore(soap))
|
||||
return soap->error;
|
||||
}
|
||||
}
|
||||
}
|
||||
return soap->error;
|
||||
}
|
||||
|
||||
@@ -323,9 +316,12 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, co
|
||||
return soap_out_string(soap, tag, id, (char*const*)(void*)&ptr, "xsd:QName");
|
||||
case SOAP_TYPE_string:
|
||||
return soap_out_string(soap, tag, id, (char*const*)(void*)&ptr, "xsd:string");
|
||||
}
|
||||
case 0:
|
||||
return SOAP_OK;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_putelement '%s' failed for type %d in soapC.cpp\n", tag ? tag : "", type));
|
||||
return soap_element_empty(soap, tag); /* unknown type to serialize */
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -417,59 +413,63 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const ch
|
||||
return NULL;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
|
||||
{ switch (p->type)
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap *soap, struct soap_clist *p)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
if (!p->ptr)
|
||||
return SOAP_OK;
|
||||
switch (p->type)
|
||||
{
|
||||
case SOAP_TYPE_ns1__executeCommandResponse:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct ns1__executeCommandResponse*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct ns1__executeCommandResponse*>(p->ptr), struct ns1__executeCommandResponse);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct ns1__executeCommandResponse*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct ns1__executeCommandResponse*>(p->ptr), struct ns1__executeCommandResponse);
|
||||
break;
|
||||
case SOAP_TYPE_ns1__executeCommand:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct ns1__executeCommand*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct ns1__executeCommand*>(p->ptr), struct ns1__executeCommand);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct ns1__executeCommand*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct ns1__executeCommand*>(p->ptr), struct ns1__executeCommand);
|
||||
break;
|
||||
#ifndef WITH_NOGLOBAL
|
||||
case SOAP_TYPE_SOAP_ENV__Header:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct SOAP_ENV__Header*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Header*>(p->ptr), struct SOAP_ENV__Header);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct SOAP_ENV__Header*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Header*>(p->ptr), struct SOAP_ENV__Header);
|
||||
break;
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
case SOAP_TYPE_SOAP_ENV__Code:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct SOAP_ENV__Code*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Code*>(p->ptr), struct SOAP_ENV__Code);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct SOAP_ENV__Code*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Code*>(p->ptr), struct SOAP_ENV__Code);
|
||||
break;
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
case SOAP_TYPE_SOAP_ENV__Detail:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct SOAP_ENV__Detail*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Detail*>(p->ptr), struct SOAP_ENV__Detail);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct SOAP_ENV__Detail*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Detail*>(p->ptr), struct SOAP_ENV__Detail);
|
||||
break;
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
case SOAP_TYPE_SOAP_ENV__Reason:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct SOAP_ENV__Reason*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Reason*>(p->ptr), struct SOAP_ENV__Reason);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct SOAP_ENV__Reason*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Reason*>(p->ptr), struct SOAP_ENV__Reason);
|
||||
break;
|
||||
#endif
|
||||
#ifndef WITH_NOGLOBAL
|
||||
case SOAP_TYPE_SOAP_ENV__Fault:
|
||||
if (p->size < 0)
|
||||
SOAP_DELETE(static_cast<struct SOAP_ENV__Fault*>(p->ptr));
|
||||
SOAP_DELETE(soap, static_cast<struct SOAP_ENV__Fault*>(p->ptr), struct SOAP_ENV__Fault);
|
||||
else
|
||||
SOAP_DELETE_ARRAY(static_cast<struct SOAP_ENV__Fault*>(p->ptr));
|
||||
SOAP_DELETE_ARRAY(soap, static_cast<struct SOAP_ENV__Fault*>(p->ptr), struct SOAP_ENV__Fault);
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
@@ -485,14 +485,8 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
|
||||
#endif
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_fbase(int t, int b)
|
||||
{
|
||||
do
|
||||
{ switch (t)
|
||||
{
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
while (t != b);
|
||||
return 1;
|
||||
(void)t; (void)b; /* appease -Wall -Werror */
|
||||
return 0;
|
||||
}
|
||||
#ifdef WIN32
|
||||
#pragma warning(pop)
|
||||
@@ -658,7 +652,8 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, con
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Fault *a, const char *type)
|
||||
{
|
||||
const char *soap_tmp_faultcode = soap_QName2s(soap, a->faultcode);
|
||||
const char *soap_tmp_faultcode;
|
||||
soap_tmp_faultcode = soap_QName2s(soap, a->faultcode);
|
||||
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
||||
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Fault), type))
|
||||
return soap->error;
|
||||
@@ -694,8 +689,9 @@ SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct so
|
||||
size_t soap_flag_SOAP_ENV__Node = 1;
|
||||
size_t soap_flag_SOAP_ENV__Role = 1;
|
||||
size_t soap_flag_SOAP_ENV__Detail = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct SOAP_ENV__Fault*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Fault, sizeof(struct SOAP_ENV__Fault), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -782,17 +778,23 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Fault *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Fault);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct SOAP_ENV__Fault);
|
||||
{ p = SOAP_NEW(soap, struct SOAP_ENV__Fault);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Fault, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Fault, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -844,8 +846,9 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap *soap, const cha
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap *soap, const char *tag, struct SOAP_ENV__Reason *a, const char *type)
|
||||
{
|
||||
size_t soap_flag_SOAP_ENV__Text = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct SOAP_ENV__Reason*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Reason, sizeof(struct SOAP_ENV__Reason), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -884,17 +887,23 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Reason *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Reason);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct SOAP_ENV__Reason);
|
||||
{ p = SOAP_NEW(soap, struct SOAP_ENV__Reason);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Reason, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Reason, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -938,7 +947,8 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap *soap, const cha
|
||||
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
||||
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type))
|
||||
return soap->error;
|
||||
soap_outliteral(soap, "-any", (char*const*)&a->__any, NULL);
|
||||
if (soap_outliteral(soap, "-any", (char*const*)&a->__any, NULL))
|
||||
return soap->error;
|
||||
if (soap_putelement(soap, a->fault, "fault", -1, a->__type))
|
||||
return soap->error;
|
||||
return soap_element_end_out(soap, tag);
|
||||
@@ -948,8 +958,9 @@ SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct
|
||||
{
|
||||
size_t soap_flag___any = 1;
|
||||
size_t soap_flag_fault = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct SOAP_ENV__Detail*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -959,7 +970,7 @@ SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH)
|
||||
{ if ((a->fault = soap_getelement(soap, &a->__type)))
|
||||
{ if ((a->fault = soap_getelement(soap, "fault", &a->__type)))
|
||||
{ soap_flag_fault = 0;
|
||||
continue;
|
||||
}
|
||||
@@ -994,17 +1005,23 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Detail *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Detail);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct SOAP_ENV__Detail);
|
||||
{ p = SOAP_NEW(soap, struct SOAP_ENV__Detail);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Detail, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Detail, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -1045,7 +1062,8 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, cons
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Code *a, const char *type)
|
||||
{
|
||||
const char *soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value);
|
||||
const char *soap_tmp_SOAP_ENV__Value;
|
||||
soap_tmp_SOAP_ENV__Value = soap_QName2s(soap, a->SOAP_ENV__Value);
|
||||
(void)soap; (void)tag; (void)id; (void)a; (void)type; /* appease -Wall -Werror */
|
||||
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Code), type))
|
||||
return soap->error;
|
||||
@@ -1060,8 +1078,9 @@ SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap
|
||||
{
|
||||
size_t soap_flag_SOAP_ENV__Value = 1;
|
||||
size_t soap_flag_SOAP_ENV__Subcode = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct SOAP_ENV__Code*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Code, sizeof(struct SOAP_ENV__Code), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -1106,17 +1125,23 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Code *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Code);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct SOAP_ENV__Code);
|
||||
{ p = SOAP_NEW(soap, struct SOAP_ENV__Code);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Code, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Code, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -1161,8 +1186,9 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap *soap, const cha
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap *soap, const char *tag, struct SOAP_ENV__Header *a, const char *type)
|
||||
{
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct SOAP_ENV__Header*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Header, sizeof(struct SOAP_ENV__Header), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -1195,17 +1221,23 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Header *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Header);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct SOAP_ENV__Header);
|
||||
{ p = SOAP_NEW(soap, struct SOAP_ENV__Header);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Header, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct SOAP_ENV__Header, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -1253,8 +1285,9 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommand(struct soap *soap, const
|
||||
SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_in_ns1__executeCommand(struct soap *soap, const char *tag, struct ns1__executeCommand *a, const char *type)
|
||||
{
|
||||
size_t soap_flag_command = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct ns1__executeCommand*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__executeCommand, sizeof(struct ns1__executeCommand), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -1293,17 +1326,23 @@ SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__execute
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct ns1__executeCommand *p;
|
||||
size_t k = sizeof(struct ns1__executeCommand);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__executeCommand, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct ns1__executeCommand);
|
||||
{ p = SOAP_NEW(soap, struct ns1__executeCommand);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct ns1__executeCommand, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct ns1__executeCommand, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommand location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_ns1__executeCommand, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -1349,8 +1388,9 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommandResponse(struct soap *soap
|
||||
SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_in_ns1__executeCommandResponse(struct soap *soap, const char *tag, struct ns1__executeCommandResponse *a, const char *type)
|
||||
{
|
||||
size_t soap_flag_result = 1;
|
||||
if (soap_element_begin_in(soap, tag, 0, type))
|
||||
if (soap_element_begin_in(soap, tag, 0, NULL))
|
||||
return NULL;
|
||||
(void)type; /* appease -Wall -Werror */
|
||||
a = (struct ns1__executeCommandResponse*)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__executeCommandResponse, sizeof(struct ns1__executeCommandResponse), NULL, NULL, NULL, NULL);
|
||||
if (!a)
|
||||
return NULL;
|
||||
@@ -1389,17 +1429,23 @@ SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1_
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct ns1__executeCommandResponse *p;
|
||||
size_t k = sizeof(struct ns1__executeCommandResponse);
|
||||
struct soap_clist *cp = soap_link(soap, SOAP_TYPE_ns1__executeCommandResponse, n, soap_fdelete);
|
||||
if (!cp && soap && n != SOAP_NO_LINK_TO_DELETE)
|
||||
return NULL;
|
||||
if (n < 0)
|
||||
{ p = SOAP_NEW(struct ns1__executeCommandResponse);
|
||||
{ p = SOAP_NEW(soap, struct ns1__executeCommandResponse);
|
||||
}
|
||||
else
|
||||
{ p = SOAP_NEW_ARRAY(struct ns1__executeCommandResponse, n);
|
||||
{ p = SOAP_NEW_ARRAY(soap, struct ns1__executeCommandResponse, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommandResponse location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_ns1__executeCommandResponse, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
if (!p)
|
||||
soap->error = SOAP_EOM;
|
||||
else if (cp)
|
||||
cp->ptr = (void*)p;
|
||||
return p;
|
||||
}
|
||||
|
||||
@@ -1551,7 +1597,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap *soap, co
|
||||
id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_SOAP_ENV__Code, &mark);
|
||||
if (id < 0)
|
||||
return soap->error;
|
||||
soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
|
||||
(void)soap_out_SOAP_ENV__Code(soap, tag, id, *a, type);
|
||||
soap_unmark(soap, mark);
|
||||
return soap->error;
|
||||
}
|
||||
|
||||
432
deps/gsoap/soapH.h
vendored
432
deps/gsoap/soapH.h
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapH.h
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2020, 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.
|
||||
@@ -31,7 +31,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
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);
|
||||
@@ -40,10 +40,8 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_delelement(const void*, int);
|
||||
}
|
||||
#endif
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap*);
|
||||
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultcode(struct soap *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_clist*);
|
||||
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**);
|
||||
|
||||
@@ -69,7 +67,7 @@ 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))
|
||||
{ if (soap_begin_send(soap) || ::soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -78,16 +76,24 @@ inline int soap_write_byte(struct soap *soap, char const*p)
|
||||
inline int soap_PUT_byte(struct soap *soap, const char *URL, char const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_byte(soap, p, "byte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
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_connect(soap, URL, NULL) || soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
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*);
|
||||
@@ -95,7 +101,7 @@ SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, co
|
||||
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))
|
||||
{ if (soap_begin_recv(soap) || ::soap_get_byte(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -103,16 +109,16 @@ inline int soap_read_byte(struct soap *soap, char *p)
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_byte(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -138,7 +144,7 @@ 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))
|
||||
{ if (soap_begin_send(soap) || ::soap_put_int(soap, p, "int", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -147,16 +153,24 @@ inline int soap_write_int(struct soap *soap, int const*p)
|
||||
inline int soap_PUT_int(struct soap *soap, const char *URL, int const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_int(soap, p, "int", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
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_connect(soap, URL, NULL) || soap_put_int(soap, p, "int", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
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*);
|
||||
@@ -164,7 +178,7 @@ SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const
|
||||
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))
|
||||
{ if (soap_begin_recv(soap) || ::soap_get_int(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -172,16 +186,16 @@ inline int soap_read_int(struct soap *soap, int *p)
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_int(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -203,9 +217,9 @@ inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int
|
||||
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);
|
||||
struct SOAP_ENV__Fault *_p = ::soap_new_SOAP_ENV__Fault(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -222,9 +236,9 @@ inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(
|
||||
char *SOAP_ENV__Role,
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail)
|
||||
{
|
||||
struct SOAP_ENV__Fault *_p = soap_new_SOAP_ENV__Fault(soap);
|
||||
struct SOAP_ENV__Fault *_p = ::soap_new_SOAP_ENV__Fault(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
_p->faultcode = faultcode;
|
||||
_p->faultstring = faultstring;
|
||||
_p->faultactor = faultactor;
|
||||
@@ -242,7 +256,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SO
|
||||
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))
|
||||
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;
|
||||
}
|
||||
@@ -250,16 +264,24 @@ inline int soap_write_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault
|
||||
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, NULL) || (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->error;
|
||||
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_connect(soap, URL, NULL) || (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;
|
||||
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*);
|
||||
@@ -267,8 +289,8 @@ SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct s
|
||||
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))
|
||||
{ ::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;
|
||||
@@ -276,16 +298,16 @@ inline int soap_read_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_SOAP_ENV__Fault(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -309,9 +331,9 @@ inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, in
|
||||
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);
|
||||
struct SOAP_ENV__Reason *_p = ::soap_new_SOAP_ENV__Reason(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -320,9 +342,9 @@ 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);
|
||||
struct SOAP_ENV__Reason *_p = ::soap_new_SOAP_ENV__Reason(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
_p->SOAP_ENV__Text = SOAP_ENV__Text;
|
||||
}
|
||||
return _p;
|
||||
@@ -332,7 +354,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct S
|
||||
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))
|
||||
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;
|
||||
}
|
||||
@@ -340,16 +362,24 @@ inline int soap_write_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reaso
|
||||
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, NULL) || (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->error;
|
||||
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_connect(soap, URL, NULL) || (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;
|
||||
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*);
|
||||
@@ -357,8 +387,8 @@ SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct
|
||||
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))
|
||||
{ ::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;
|
||||
@@ -366,16 +396,16 @@ inline int soap_read_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_SOAP_ENV__Reason(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -401,9 +431,9 @@ inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(
|
||||
int __type,
|
||||
void *fault)
|
||||
{
|
||||
struct SOAP_ENV__Detail *_p = soap_new_SOAP_ENV__Detail(soap);
|
||||
struct SOAP_ENV__Detail *_p = ::soap_new_SOAP_ENV__Detail(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
_p->__type = __type;
|
||||
_p->fault = fault;
|
||||
}
|
||||
@@ -416,9 +446,9 @@ inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(
|
||||
int __type,
|
||||
void *fault)
|
||||
{
|
||||
struct SOAP_ENV__Detail *_p = soap_new_SOAP_ENV__Detail(soap);
|
||||
struct SOAP_ENV__Detail *_p = ::soap_new_SOAP_ENV__Detail(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
_p->__any = __any;
|
||||
_p->__type = __type;
|
||||
_p->fault = fault;
|
||||
@@ -430,7 +460,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct S
|
||||
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))
|
||||
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;
|
||||
}
|
||||
@@ -438,16 +468,24 @@ inline int soap_write_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detai
|
||||
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, NULL) || (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->error;
|
||||
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_connect(soap, URL, NULL) || (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;
|
||||
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*);
|
||||
@@ -455,8 +493,8 @@ SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct
|
||||
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))
|
||||
{ ::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;
|
||||
@@ -464,16 +502,16 @@ inline int soap_read_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_SOAP_ENV__Detail(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -497,9 +535,9 @@ inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n
|
||||
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);
|
||||
struct SOAP_ENV__Code *_p = ::soap_new_SOAP_ENV__Code(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Code(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Code(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -509,9 +547,9 @@ inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(
|
||||
char *SOAP_ENV__Value,
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode)
|
||||
{
|
||||
struct SOAP_ENV__Code *_p = soap_new_SOAP_ENV__Code(soap);
|
||||
struct SOAP_ENV__Code *_p = ::soap_new_SOAP_ENV__Code(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Code(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Code(soap, _p);
|
||||
_p->SOAP_ENV__Value = SOAP_ENV__Value;
|
||||
_p->SOAP_ENV__Subcode = SOAP_ENV__Subcode;
|
||||
}
|
||||
@@ -522,7 +560,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOA
|
||||
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))
|
||||
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;
|
||||
}
|
||||
@@ -530,16 +568,24 @@ inline int soap_write_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code co
|
||||
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, NULL) || (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->error;
|
||||
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_connect(soap, URL, NULL) || (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;
|
||||
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*);
|
||||
@@ -547,8 +593,8 @@ SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soa
|
||||
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))
|
||||
{ ::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;
|
||||
@@ -556,16 +602,16 @@ inline int soap_read_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_SOAP_ENV__Code(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -589,9 +635,9 @@ inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, in
|
||||
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);
|
||||
struct SOAP_ENV__Header *_p = ::soap_new_SOAP_ENV__Header(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Header(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Header(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -599,9 +645,9 @@ inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(
|
||||
inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Header *_p = soap_new_SOAP_ENV__Header(soap);
|
||||
struct SOAP_ENV__Header *_p = ::soap_new_SOAP_ENV__Header(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Header(soap, _p);
|
||||
{ ::soap_default_SOAP_ENV__Header(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -610,7 +656,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct S
|
||||
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))
|
||||
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;
|
||||
}
|
||||
@@ -618,16 +664,24 @@ inline int soap_write_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Heade
|
||||
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, NULL) || (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->error;
|
||||
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_connect(soap, URL, NULL) || (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;
|
||||
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*);
|
||||
@@ -635,8 +689,8 @@ SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct
|
||||
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))
|
||||
{ ::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;
|
||||
@@ -644,16 +698,16 @@ inline int soap_read_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_SOAP_ENV__Header(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -675,9 +729,9 @@ inline struct ns1__executeCommand * soap_new_ns1__executeCommand(struct soap *so
|
||||
inline struct ns1__executeCommand * soap_new_req_ns1__executeCommand(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct ns1__executeCommand *_p = soap_new_ns1__executeCommand(soap);
|
||||
struct ns1__executeCommand *_p = ::soap_new_ns1__executeCommand(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommand(soap, _p);
|
||||
{ ::soap_default_ns1__executeCommand(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -686,9 +740,9 @@ inline struct ns1__executeCommand * soap_new_set_ns1__executeCommand(
|
||||
struct soap *soap,
|
||||
char *command)
|
||||
{
|
||||
struct ns1__executeCommand *_p = soap_new_ns1__executeCommand(soap);
|
||||
struct ns1__executeCommand *_p = ::soap_new_ns1__executeCommand(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommand(soap, _p);
|
||||
{ ::soap_default_ns1__executeCommand(soap, _p);
|
||||
_p->command = command;
|
||||
}
|
||||
return _p;
|
||||
@@ -698,7 +752,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommand(struct soap*, const struc
|
||||
inline int soap_write_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (::soap_serialize_ns1__executeCommand(soap, p), 0) || ::soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
@@ -706,16 +760,24 @@ inline int soap_write_ns1__executeCommand(struct soap *soap, struct ns1__execute
|
||||
inline int soap_PUT_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommand(soap, p), 0) || ::soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PATCH_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommand(soap, p), 0) || ::soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommand(soap, p), 0) || ::soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_get_ns1__executeCommand(struct soap*, struct ns1__executeCommand *, const char*, const char*);
|
||||
@@ -723,8 +785,8 @@ SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_get_ns1__executeCommand(
|
||||
inline int soap_read_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_ns1__executeCommand(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_ns1__executeCommand(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
{ ::soap_default_ns1__executeCommand(soap, p);
|
||||
if (soap_begin_recv(soap) || ::soap_get_ns1__executeCommand(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -732,16 +794,16 @@ inline int soap_read_ns1__executeCommand(struct soap *soap, struct ns1__executeC
|
||||
|
||||
inline int soap_GET_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_ns1__executeCommand(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (soap_GET(soap, URL, NULL) || ::soap_read_ns1__executeCommand(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand *p)
|
||||
{
|
||||
if (soap_read_ns1__executeCommand(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_ns1__executeCommand(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -761,9 +823,9 @@ inline struct ns1__executeCommandResponse * soap_new_ns1__executeCommandResponse
|
||||
inline struct ns1__executeCommandResponse * soap_new_req_ns1__executeCommandResponse(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct ns1__executeCommandResponse *_p = soap_new_ns1__executeCommandResponse(soap);
|
||||
struct ns1__executeCommandResponse *_p = ::soap_new_ns1__executeCommandResponse(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
{ ::soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
@@ -772,9 +834,9 @@ inline struct ns1__executeCommandResponse * soap_new_set_ns1__executeCommandResp
|
||||
struct soap *soap,
|
||||
char **result)
|
||||
{
|
||||
struct ns1__executeCommandResponse *_p = soap_new_ns1__executeCommandResponse(soap);
|
||||
struct ns1__executeCommandResponse *_p = ::soap_new_ns1__executeCommandResponse(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
{ ::soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
_p->result = result;
|
||||
}
|
||||
return _p;
|
||||
@@ -784,7 +846,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommandResponse(struct soap*, con
|
||||
inline int soap_write_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (::soap_serialize_ns1__executeCommandResponse(soap, p), 0) || ::soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
@@ -792,16 +854,24 @@ inline int soap_write_ns1__executeCommandResponse(struct soap *soap, struct ns1_
|
||||
inline int soap_PUT_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
if (soap_PUT(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommandResponse(soap, p), 0) || ::soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PATCH_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PATCH(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommandResponse(soap, p), 0) || ::soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
if (soap_POST(soap, URL, NULL, "text/xml; charset=utf-8") || (::soap_serialize_ns1__executeCommandResponse(soap, p), 0) || ::soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
return soap_closesock(soap);
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_get_ns1__executeCommandResponse(struct soap*, struct ns1__executeCommandResponse *, const char*, const char*);
|
||||
@@ -809,8 +879,8 @@ SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_get_ns1__execute
|
||||
inline int soap_read_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_ns1__executeCommandResponse(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_ns1__executeCommandResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
{ ::soap_default_ns1__executeCommandResponse(soap, p);
|
||||
if (soap_begin_recv(soap) || ::soap_get_ns1__executeCommandResponse(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -818,16 +888,16 @@ inline int soap_read_ns1__executeCommandResponse(struct soap *soap, struct ns1__
|
||||
|
||||
inline int soap_GET_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_ns1__executeCommandResponse(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (soap_GET(soap, URL, NULL) || ::soap_read_ns1__executeCommandResponse(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse *p)
|
||||
{
|
||||
if (soap_read_ns1__executeCommandResponse(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_ns1__executeCommandResponse(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -910,7 +980,7 @@ 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))
|
||||
{ if (soap_begin_send(soap) || ::soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -919,16 +989,24 @@ inline int soap_write__QName(struct soap *soap, char *const*p)
|
||||
inline int soap_PUT__QName(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put__QName(soap, p, "QName", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
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_connect(soap, URL, NULL) || soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
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*);
|
||||
@@ -936,7 +1014,7 @@ SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, 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))
|
||||
{ if (soap_begin_recv(soap) || ::soap_get__QName(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -944,16 +1022,16 @@ inline int soap_read__QName(struct soap *soap, char **p)
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read__QName(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -988,7 +1066,7 @@ 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))
|
||||
{ if (soap_begin_send(soap) || ::soap_put_string(soap, p, "string", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -997,16 +1075,24 @@ inline int soap_write_string(struct soap *soap, char *const*p)
|
||||
inline int soap_PUT_string(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_string(soap, p, "string", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
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_connect(soap, URL, NULL) || soap_put_string(soap, p, "string", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
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*);
|
||||
@@ -1014,7 +1100,7 @@ SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, 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))
|
||||
{ if (soap_begin_recv(soap) || ::soap_get_string(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
@@ -1022,16 +1108,16 @@ inline int soap_read_string(struct soap *soap, char **p)
|
||||
|
||||
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->error;
|
||||
return SOAP_OK;
|
||||
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) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
if (::soap_read_string(soap, p))
|
||||
return soap_closesock(soap);
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
12
deps/gsoap/soapServer.cpp
vendored
12
deps/gsoap/soapServer.cpp
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapServer.cpp
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2020, 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.
|
||||
@@ -17,7 +17,7 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
#endif
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.49 2017-07-19 15:45:31 GMT")
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.105 2020-08-19 11:37:43 GMT")
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
@@ -55,7 +55,7 @@ extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
#ifndef WITH_NOSERVEREQUEST
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
|
||||
{
|
||||
soap_peek_element(soap);
|
||||
(void)soap_peek_element(soap);
|
||||
if (!soap_match_tag(soap, soap->tag, "ns1:executeCommand"))
|
||||
return soap_serve_ns1__executeCommand(soap);
|
||||
return soap->error = SOAP_NO_METHOD;
|
||||
@@ -79,12 +79,12 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
|
||||
soap->error = ns1__executeCommand(soap, soap_tmp_ns1__executeCommand.command, soap_tmp_ns1__executeCommandResponse.result);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap->encodingStyle = NULL;
|
||||
soap->encodingStyle = NULL; /* use SOAP literal style */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if (soap->mode & SOAP_IO_LENGTH)
|
||||
if ((soap->mode & SOAP_IO_LENGTH))
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|
||||
85
deps/gsoap/soapStub.h
vendored
85
deps/gsoap/soapStub.h
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapStub.h
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2020, 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.
|
||||
@@ -15,8 +15,8 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
#ifndef soapStub_H
|
||||
#define soapStub_H
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20849
|
||||
# error "GSOAP VERSION 20849 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#if GSOAP_VERSION != 208105
|
||||
# error "GSOAP VERSION 208105 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -39,17 +39,16 @@ struct ns1__executeCommand; /* gsoap.stub:1 */
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
/* complex XSD type 'ns1:executeCommandResponse': */
|
||||
/* complex XML schema type 'ns1:executeCommandResponse': */
|
||||
struct SOAP_CMAC ns1__executeCommandResponse {
|
||||
public:
|
||||
/** Optional element 'result' of XSD type 'xsd:string' */
|
||||
/** Optional element 'result' of XML schema type 'xsd:string' */
|
||||
char **result;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommandResponse */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
|
||||
long soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommandResponse() : result()
|
||||
{ }
|
||||
ns1__executeCommandResponse() : result() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -58,17 +57,16 @@ struct SOAP_CMAC ns1__executeCommandResponse {
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
/* complex XSD type 'ns1:executeCommand': */
|
||||
/* complex XML schema type 'ns1:executeCommand': */
|
||||
struct SOAP_CMAC ns1__executeCommand {
|
||||
public:
|
||||
/** Optional element 'command' of XSD type 'xsd:string' */
|
||||
/** Optional element 'command' of XML schema type 'xsd:string' */
|
||||
char *command;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommand */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
|
||||
long soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommand() : command()
|
||||
{ }
|
||||
ns1__executeCommand() : command() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -82,10 +80,9 @@ struct SOAP_CMAC ns1__executeCommand {
|
||||
struct SOAP_CMAC SOAP_ENV__Header {
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Header */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Header()
|
||||
{ }
|
||||
SOAP_ENV__Header() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -100,16 +97,15 @@ struct SOAP_CMAC SOAP_ENV__Header {
|
||||
/* SOAP_ENV__Code: */
|
||||
struct SOAP_CMAC SOAP_ENV__Code {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Value' of XSD type 'xsd:QName' */
|
||||
/** Optional element 'SOAP-ENV:Value' of XML schema type 'xsd:QName' */
|
||||
char *SOAP_ENV__Value;
|
||||
/** Optional element 'SOAP-ENV:Subcode' of XSD type 'SOAP-ENV:Code' */
|
||||
/** Optional element 'SOAP-ENV:Subcode' of XML schema type 'SOAP-ENV:Code' */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Code */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Code() : SOAP_ENV__Value(), SOAP_ENV__Subcode()
|
||||
{ }
|
||||
SOAP_ENV__Code() : SOAP_ENV__Value(), SOAP_ENV__Subcode() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -124,16 +120,15 @@ struct SOAP_CMAC SOAP_ENV__Code {
|
||||
struct SOAP_CMAC SOAP_ENV__Detail {
|
||||
public:
|
||||
char *__any;
|
||||
/** Any type of element 'fault' assigned to fault with its SOAP_TYPE_T assigned to __type */
|
||||
/** Do not create a cyclic data structure throught this member unless SOAP encoding or SOAP_XML_GRAPH are used for id-ref serialization */
|
||||
/** Any type of element 'fault' assigned to fault with its SOAP_TYPE_<typename> assigned to __type */
|
||||
/** Do not create a cyclic data structure through this member unless SOAP encoding or SOAP_XML_GRAPH are used for id-ref serialization */
|
||||
int __type;
|
||||
void *fault;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Detail */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Detail() : __any(), __type(), fault()
|
||||
{ }
|
||||
SOAP_ENV__Detail() : __any(), __type(), fault() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -147,14 +142,13 @@ struct SOAP_CMAC SOAP_ENV__Detail {
|
||||
/* SOAP_ENV__Reason: */
|
||||
struct SOAP_CMAC SOAP_ENV__Reason {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Text' of XSD type 'xsd:string' */
|
||||
/** Optional element 'SOAP-ENV:Text' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Text;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Reason */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Reason() : SOAP_ENV__Text()
|
||||
{ }
|
||||
SOAP_ENV__Reason() : SOAP_ENV__Text() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -168,30 +162,29 @@ struct SOAP_CMAC SOAP_ENV__Reason {
|
||||
/* SOAP_ENV__Fault: */
|
||||
struct SOAP_CMAC SOAP_ENV__Fault {
|
||||
public:
|
||||
/** Optional element 'faultcode' of XSD type 'xsd:QName' */
|
||||
/** Optional element 'faultcode' of XML schema type 'xsd:QName' */
|
||||
char *faultcode;
|
||||
/** Optional element 'faultstring' of XSD type 'xsd:string' */
|
||||
/** Optional element 'faultstring' of XML schema type 'xsd:string' */
|
||||
char *faultstring;
|
||||
/** Optional element 'faultactor' of XSD type 'xsd:string' */
|
||||
/** Optional element 'faultactor' of XML schema type 'xsd:string' */
|
||||
char *faultactor;
|
||||
/** Optional element 'detail' of XSD type 'SOAP-ENV:Detail' */
|
||||
/** Optional element 'detail' of XML schema type 'SOAP-ENV:Detail' */
|
||||
struct SOAP_ENV__Detail *detail;
|
||||
/** Optional element 'SOAP-ENV:Code' of XSD type 'SOAP-ENV:Code' */
|
||||
/** Optional element 'SOAP-ENV:Code' of XML schema type 'SOAP-ENV:Code' */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code;
|
||||
/** Optional element 'SOAP-ENV:Reason' of XSD type 'SOAP-ENV:Reason' */
|
||||
/** Optional element 'SOAP-ENV:Reason' of XML schema type 'SOAP-ENV:Reason' */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason;
|
||||
/** Optional element 'SOAP-ENV:Node' of XSD type 'xsd:string' */
|
||||
/** Optional element 'SOAP-ENV:Node' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Node;
|
||||
/** Optional element 'SOAP-ENV:Role' of XSD type 'xsd:string' */
|
||||
/** Optional element 'SOAP-ENV:Role' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Role;
|
||||
/** Optional element 'SOAP-ENV:Detail' of XSD type 'SOAP-ENV:Detail' */
|
||||
/** Optional element 'SOAP-ENV:Detail' of XML schema type 'SOAP-ENV:Detail' */
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Fault */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Fault() : faultcode(), faultstring(), faultactor(), detail(), SOAP_ENV__Code(), SOAP_ENV__Reason(), SOAP_ENV__Node(), SOAP_ENV__Role(), SOAP_ENV__Detail()
|
||||
{ }
|
||||
SOAP_ENV__Fault() : faultcode(), faultstring(), faultactor(), detail(), SOAP_ENV__Code(), SOAP_ENV__Reason(), SOAP_ENV__Node(), SOAP_ENV__Role(), SOAP_ENV__Detail() { }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
@@ -205,13 +198,13 @@ struct SOAP_CMAC SOAP_ENV__Fault {
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
/* (built-in):0 */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (5)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
/* (built-in):0 */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (6)
|
||||
typedef char *_QName;
|
||||
@@ -317,7 +310,7 @@ typedef char *_QName;
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/** Web service operation 'ns1__executeCommand' (returns SOAP_OK or error code) */
|
||||
/** Web service operation 'ns1__executeCommand' implementation, should return SOAP_OK or error code */
|
||||
SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char **result);
|
||||
|
||||
/******************************************************************************\
|
||||
|
||||
11034
deps/gsoap/stdsoap2.cpp
vendored
11034
deps/gsoap/stdsoap2.cpp
vendored
File diff suppressed because it is too large
Load Diff
1038
deps/gsoap/stdsoap2.h
vendored
1038
deps/gsoap/stdsoap2.h
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user