mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Merge branch 'master' into threading_rewrite
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright (C)
|
||||
# Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
@@ -10,17 +10,22 @@
|
||||
|
||||
file(GLOB sources *.cpp *.h)
|
||||
|
||||
set(gsoap_STAT_SRCS
|
||||
${sources}
|
||||
)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
# Little fix for MSVC / Windows platforms
|
||||
add_definitions(-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
|
||||
|
||||
add_library(gsoap STATIC ${gsoap_STAT_SRCS})
|
||||
add_library(gsoap STATIC ${sources})
|
||||
|
||||
set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
target_include_directories(gsoap
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set_target_properties(gsoap
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"dep")
|
||||
|
||||
if (MSVC)
|
||||
# Little fix for MSVC / Windows platforms
|
||||
target_compile_definitions(gsoap
|
||||
PRIVATE
|
||||
-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
|
||||
endif()
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,14 @@
|
||||
/* soapH.h
|
||||
Generated by gSOAP 2.8.10 from gsoap.stub
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
|
||||
Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
1) GPL or 2) Genivia's license for commercial use.
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef soapH_H
|
||||
@@ -17,8 +20,6 @@ compiling, linking, and/or using OpenSSL is allowed.
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap*, const void*, int);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
@@ -26,407 +27,648 @@ SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#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 void* SOAP_FMAC4 soap_class_id_enter(struct soap*, const char*, void*, int, size_t, const char*, const char*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_fbase(int, int);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_finsert(struct soap*, int, int, void*, size_t, const void*, void**);
|
||||
|
||||
#ifndef SOAP_TYPE_byte
|
||||
#define SOAP_TYPE_byte (3)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_byte_DEFINED
|
||||
#define SOAP_TYPE_byte_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
|
||||
|
||||
#ifndef soap_write_byte
|
||||
#define soap_write_byte(soap, data) ( soap_begin_send(soap) || soap_put_byte(soap, data, "byte", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_byte
|
||||
#define soap_read_byte(soap, data) ( soap_begin_recv(soap) || !soap_get_byte(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_byte(struct soap *soap, char const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
|
||||
|
||||
#ifndef SOAP_TYPE_int
|
||||
#define SOAP_TYPE_int (1)
|
||||
inline int soap_read_byte(struct soap *soap, char *p)
|
||||
{
|
||||
if (p)
|
||||
{ if (soap_begin_recv(soap) || soap_get_byte(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_int_DEFINED
|
||||
#define SOAP_TYPE_int_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
|
||||
|
||||
#ifndef soap_write_int
|
||||
#define soap_write_int(soap, data) ( soap_begin_send(soap) || soap_put_int(soap, data, "int", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_int
|
||||
#define soap_read_int(soap, data) ( soap_begin_recv(soap) || !soap_get_int(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_int(struct soap *soap, int const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || soap_put_int(soap, p, "int", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
|
||||
|
||||
inline int soap_read_int(struct soap *soap, int *p)
|
||||
{
|
||||
if (p)
|
||||
{ if (soap_begin_recv(soap) || soap_get_int(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault_DEFINED
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap*, const char*, int, const struct SOAP_ENV__Fault *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct soap*, const char*, struct SOAP_ENV__Fault *, const char*);
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Fault
|
||||
#define soap_write_SOAP_ENV__Fault(soap, data) ( soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Fault(soap, data), 0) || soap_put_SOAP_ENV__Fault(soap, data, "SOAP-ENV:Fault", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct SOAP_ENV__Fault * soap_new_SOAP_ENV__Fault(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_req_SOAP_ENV__Fault(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Fault *_p = soap_new_SOAP_ENV__Fault(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Fault * soap_new_set_SOAP_ENV__Fault(
|
||||
struct soap *soap,
|
||||
char *faultcode,
|
||||
char *faultstring,
|
||||
char *faultactor,
|
||||
struct SOAP_ENV__Detail *detail,
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code,
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason,
|
||||
char *SOAP_ENV__Node,
|
||||
char *SOAP_ENV__Role,
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail)
|
||||
{
|
||||
struct SOAP_ENV__Fault *_p = soap_new_SOAP_ENV__Fault(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Fault(soap, _p);
|
||||
_p->faultcode = faultcode;
|
||||
_p->faultstring = faultstring;
|
||||
_p->faultactor = faultactor;
|
||||
_p->detail = detail;
|
||||
_p->SOAP_ENV__Code = SOAP_ENV__Code;
|
||||
_p->SOAP_ENV__Reason = SOAP_ENV__Reason;
|
||||
_p->SOAP_ENV__Node = SOAP_ENV__Node;
|
||||
_p->SOAP_ENV__Role = SOAP_ENV__Role;
|
||||
_p->SOAP_ENV__Detail = SOAP_ENV__Detail;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Fault
|
||||
#define soap_read_SOAP_ENV__Fault(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Fault(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
|
||||
#define soap_new_SOAP_ENV__Fault(soap, n) soap_instantiate_SOAP_ENV__Fault(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_SOAP_ENV__Fault(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Fault(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
inline int soap_read_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_SOAP_ENV__Fault(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_SOAP_ENV__Fault(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason_DEFINED
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap*, const char*, int, const struct SOAP_ENV__Reason *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason *, const char*);
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Reason
|
||||
#define soap_write_SOAP_ENV__Reason(soap, data) ( soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Reason(soap, data), 0) || soap_put_SOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct SOAP_ENV__Reason * soap_new_SOAP_ENV__Reason(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_req_SOAP_ENV__Reason(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Reason *_p = soap_new_SOAP_ENV__Reason(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Reason * soap_new_set_SOAP_ENV__Reason(
|
||||
struct soap *soap,
|
||||
char *SOAP_ENV__Text)
|
||||
{
|
||||
struct SOAP_ENV__Reason *_p = soap_new_SOAP_ENV__Reason(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Reason(soap, _p);
|
||||
_p->SOAP_ENV__Text = SOAP_ENV__Text;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Reason
|
||||
#define soap_read_SOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
|
||||
#define soap_new_SOAP_ENV__Reason(soap, n) soap_instantiate_SOAP_ENV__Reason(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_SOAP_ENV__Reason(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
inline int soap_read_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_SOAP_ENV__Reason(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_SOAP_ENV__Reason(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail_DEFINED
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap*, const char*, int, const struct SOAP_ENV__Detail *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail *, const char*);
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Detail
|
||||
#define soap_write_SOAP_ENV__Detail(soap, data) ( soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Detail(soap, data), 0) || soap_put_SOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct SOAP_ENV__Detail * soap_new_SOAP_ENV__Detail(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_req_SOAP_ENV__Detail(
|
||||
struct soap *soap,
|
||||
int __type,
|
||||
void *fault)
|
||||
{
|
||||
struct SOAP_ENV__Detail *_p = soap_new_SOAP_ENV__Detail(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
_p->__type = __type;
|
||||
_p->fault = fault;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Detail * soap_new_set_SOAP_ENV__Detail(
|
||||
struct soap *soap,
|
||||
char *__any,
|
||||
int __type,
|
||||
void *fault)
|
||||
{
|
||||
struct SOAP_ENV__Detail *_p = soap_new_SOAP_ENV__Detail(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Detail(soap, _p);
|
||||
_p->__any = __any;
|
||||
_p->__type = __type;
|
||||
_p->fault = fault;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Detail
|
||||
#define soap_read_SOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
|
||||
#define soap_new_SOAP_ENV__Detail(soap, n) soap_instantiate_SOAP_ENV__Detail(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_SOAP_ENV__Detail(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Detail(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
inline int soap_read_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_SOAP_ENV__Detail(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_SOAP_ENV__Detail(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (12)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code_DEFINED
|
||||
#define SOAP_TYPE_SOAP_ENV__Code_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap*, const char*, int, const struct SOAP_ENV__Code *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code *, const char*);
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Code
|
||||
#define soap_write_SOAP_ENV__Code(soap, data) ( soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Code(soap, data), 0) || soap_put_SOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct SOAP_ENV__Code * soap_new_SOAP_ENV__Code(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_req_SOAP_ENV__Code(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Code *_p = soap_new_SOAP_ENV__Code(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Code(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Code * soap_new_set_SOAP_ENV__Code(
|
||||
struct soap *soap,
|
||||
char *SOAP_ENV__Value,
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode)
|
||||
{
|
||||
struct SOAP_ENV__Code *_p = soap_new_SOAP_ENV__Code(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Code(soap, _p);
|
||||
_p->SOAP_ENV__Value = SOAP_ENV__Value;
|
||||
_p->SOAP_ENV__Subcode = SOAP_ENV__Subcode;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Code
|
||||
#define soap_read_SOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
|
||||
|
||||
#define soap_new_SOAP_ENV__Code(soap, n) soap_instantiate_SOAP_ENV__Code(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_SOAP_ENV__Code(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Code(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
inline int soap_read_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_SOAP_ENV__Code(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_SOAP_ENV__Code(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header_DEFINED
|
||||
#define SOAP_TYPE_SOAP_ENV__Header_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap*, const char*, int, const struct SOAP_ENV__Header *, const char*);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct soap*, const char*, struct SOAP_ENV__Header *, const char*);
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_SOAP_ENV__Header
|
||||
#define soap_write_SOAP_ENV__Header(soap, data) ( soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Header(soap, data), 0) || soap_put_SOAP_ENV__Header(soap, data, "SOAP-ENV:Header", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct SOAP_ENV__Header * soap_new_SOAP_ENV__Header(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_req_SOAP_ENV__Header(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Header *_p = soap_new_SOAP_ENV__Header(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Header(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct SOAP_ENV__Header * soap_new_set_SOAP_ENV__Header(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct SOAP_ENV__Header *_p = soap_new_SOAP_ENV__Header(soap);
|
||||
if (_p)
|
||||
{ soap_default_SOAP_ENV__Header(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_SOAP_ENV__Header
|
||||
#define soap_read_SOAP_ENV__Header(soap, data) ( soap_begin_recv(soap) || !soap_get_SOAP_ENV__Header(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
|
||||
|
||||
#define soap_new_SOAP_ENV__Header(soap, n) soap_instantiate_SOAP_ENV__Header(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_SOAP_ENV__Header(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Header(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
inline int soap_read_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p)
|
||||
{
|
||||
if (p)
|
||||
{ soap_default_SOAP_ENV__Header(soap, p);
|
||||
if (soap_begin_recv(soap) || soap_get_SOAP_ENV__Header(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand_DEFINED
|
||||
#define SOAP_TYPE_ns1__executeCommand_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__executeCommand(struct soap*, struct ns1__executeCommand *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__executeCommand(struct soap*, const struct ns1__executeCommand *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommand(struct soap*, const char*, int, const struct ns1__executeCommand *, const char*);
|
||||
SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_in_ns1__executeCommand(struct soap*, const char*, struct ns1__executeCommand *, const char*);
|
||||
SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_ns1__executeCommand
|
||||
#define soap_write_ns1__executeCommand(soap, data) ( soap_begin_send(soap) || (soap_serialize_ns1__executeCommand(soap, data), 0) || soap_put_ns1__executeCommand(soap, data, "ns1:executeCommand", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct ns1__executeCommand * soap_new_ns1__executeCommand(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_ns1__executeCommand(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct ns1__executeCommand * soap_new_req_ns1__executeCommand(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct ns1__executeCommand *_p = soap_new_ns1__executeCommand(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommand(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct ns1__executeCommand * soap_new_set_ns1__executeCommand(
|
||||
struct soap *soap,
|
||||
char *command)
|
||||
{
|
||||
struct ns1__executeCommand *_p = soap_new_ns1__executeCommand(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommand(soap, _p);
|
||||
_p->command = command;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommand(struct soap*, const struct ns1__executeCommand *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_ns1__executeCommand
|
||||
#define soap_read_ns1__executeCommand(soap, data) ( soap_begin_recv(soap) || !soap_get_ns1__executeCommand(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_get_ns1__executeCommand(struct soap*, struct ns1__executeCommand *, const char*, const char*);
|
||||
|
||||
#define soap_new_ns1__executeCommand(soap, n) soap_instantiate_ns1__executeCommand(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_ns1__executeCommand(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__executeCommand(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
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))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse_DEFINED
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__executeCommandResponse(struct soap*, struct ns1__executeCommandResponse *);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__executeCommandResponse(struct soap*, const struct ns1__executeCommandResponse *);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommandResponse(struct soap*, const char*, int, const struct ns1__executeCommandResponse *, const char*);
|
||||
SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_in_ns1__executeCommandResponse(struct soap*, const char*, struct ns1__executeCommandResponse *, const char*);
|
||||
SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
|
||||
#ifndef soap_write_ns1__executeCommandResponse
|
||||
#define soap_write_ns1__executeCommandResponse(soap, data) ( soap_begin_send(soap) || (soap_serialize_ns1__executeCommandResponse(soap, data), 0) || soap_put_ns1__executeCommandResponse(soap, data, "ns1:executeCommandResponse", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
inline struct ns1__executeCommandResponse * soap_new_ns1__executeCommandResponse(struct soap *soap, int n = -1)
|
||||
{
|
||||
return soap_instantiate_ns1__executeCommandResponse(soap, n, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
inline struct ns1__executeCommandResponse * soap_new_req_ns1__executeCommandResponse(
|
||||
struct soap *soap)
|
||||
{
|
||||
struct ns1__executeCommandResponse *_p = soap_new_ns1__executeCommandResponse(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
|
||||
inline struct ns1__executeCommandResponse * soap_new_set_ns1__executeCommandResponse(
|
||||
struct soap *soap,
|
||||
char **result)
|
||||
{
|
||||
struct ns1__executeCommandResponse *_p = soap_new_ns1__executeCommandResponse(soap);
|
||||
if (_p)
|
||||
{ soap_default_ns1__executeCommandResponse(soap, _p);
|
||||
_p->result = result;
|
||||
}
|
||||
return _p;
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommandResponse(struct soap*, const struct ns1__executeCommandResponse *, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_ns1__executeCommandResponse
|
||||
#define soap_read_ns1__executeCommandResponse(soap, data) ( soap_begin_recv(soap) || !soap_get_ns1__executeCommandResponse(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ 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;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_get_ns1__executeCommandResponse(struct soap*, struct ns1__executeCommandResponse *, const char*, const char*);
|
||||
|
||||
#define soap_new_ns1__executeCommandResponse(soap, n) soap_instantiate_ns1__executeCommandResponse(soap, n, NULL, NULL, NULL)
|
||||
|
||||
|
||||
#define soap_delete_ns1__executeCommandResponse(soap, p) soap_delete(soap, p)
|
||||
|
||||
SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__executeCommandResponse(struct soap*, int, int, void*, size_t, const void*, size_t);
|
||||
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))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (20)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason_DEFINED
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Reason_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap*, const char *, int, struct SOAP_ENV__Reason *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reason(struct soap*, const char*, struct SOAP_ENV__Reason **, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Reason
|
||||
#define soap_write_PointerToSOAP_ENV__Reason(soap, data) ( soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Reason(soap, data), 0) || soap_put_PointerToSOAP_ENV__Reason(soap, data, "SOAP-ENV:Reason", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Reason
|
||||
#define soap_read_PointerToSOAP_ENV__Reason(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Reason(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason **, const char*, const char*);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (19)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail_DEFINED
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Detail_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap*, const char *, int, struct SOAP_ENV__Detail *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Detail(struct soap*, const char*, struct SOAP_ENV__Detail **, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Detail
|
||||
#define soap_write_PointerToSOAP_ENV__Detail(soap, data) ( soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Detail(soap, data), 0) || soap_put_PointerToSOAP_ENV__Detail(soap, data, "SOAP-ENV:Detail", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Detail
|
||||
#define soap_read_PointerToSOAP_ENV__Detail(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Detail(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail **, const char*, const char*);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Code (13)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code_DEFINED
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Code_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap*, const char *, int, struct SOAP_ENV__Code *const*, const char *);
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(struct soap*, const char*, struct SOAP_ENV__Code **, const char*);
|
||||
|
||||
#ifndef soap_write_PointerToSOAP_ENV__Code
|
||||
#define soap_write_PointerToSOAP_ENV__Code(soap, data) ( soap_begin_send(soap) || (soap_serialize_PointerToSOAP_ENV__Code(soap, data), 0) || soap_put_PointerToSOAP_ENV__Code(soap, data, "SOAP-ENV:Code", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerToSOAP_ENV__Code
|
||||
#define soap_read_PointerToSOAP_ENV__Code(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerToSOAP_ENV__Code(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code **, const char*, const char*);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_PointerTostring
|
||||
#define SOAP_TYPE_PointerTostring (7)
|
||||
#endif
|
||||
#ifndef SOAP_TYPE_PointerTostring_DEFINED
|
||||
#define SOAP_TYPE_PointerTostring_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostring(struct soap*, char **const*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostring(struct soap*, const char *, int, char **const*, const char *);
|
||||
SOAP_FMAC3 char *** SOAP_FMAC4 soap_in_PointerTostring(struct soap*, const char*, char ***, const char*);
|
||||
|
||||
#ifndef soap_write_PointerTostring
|
||||
#define soap_write_PointerTostring(soap, data) ( soap_begin_send(soap) || (soap_serialize_PointerTostring(soap, data), 0) || soap_put_PointerTostring(soap, data, "byte", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostring(struct soap*, char **const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_PointerTostring
|
||||
#define soap_read_PointerTostring(soap, data) ( soap_begin_recv(soap) || !soap_get_PointerTostring(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerTostring(struct soap*, char ***, const char*, const char*);
|
||||
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
#endif
|
||||
|
||||
#define soap_default__QName(soap, a) soap_default_string(soap, a)
|
||||
#ifndef SOAP_TYPE__XML_DEFINED
|
||||
#define SOAP_TYPE__XML_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__QName_DEFINED
|
||||
#define SOAP_TYPE__QName_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default__QName(struct soap*, char **);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);
|
||||
|
||||
#define soap_serialize__QName(soap, a) soap_serialize_string(soap, a)
|
||||
|
||||
#define soap__QName2s(soap, a) soap_QName2s(soap, (a))
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*const*, const char*);
|
||||
|
||||
#define soap_s2_QName(soap, s, a) soap_s2QName((soap), (s), (char**)(a), 0, -1, NULL)
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);
|
||||
|
||||
#ifndef soap_write__QName
|
||||
#define soap_write__QName(soap, data) ( soap_begin_send(soap) || (soap_serialize__QName(soap, data), 0) || soap_put__QName(soap, data, "byte", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read__QName
|
||||
#define soap_read__QName(soap, data) ( soap_begin_recv(soap) || !soap_get__QName(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write__QName(struct soap *soap, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);
|
||||
|
||||
#ifndef SOAP_TYPE_string
|
||||
#define SOAP_TYPE_string (4)
|
||||
inline int soap_read__QName(struct soap *soap, char **p)
|
||||
{
|
||||
if (p)
|
||||
{ if (soap_begin_recv(soap) || soap_get__QName(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_string_DEFINED
|
||||
#define SOAP_TYPE_string_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
|
||||
|
||||
#define soap_string2s(soap, a) (a)
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
|
||||
|
||||
#define soap_s2string(soap, s, a) soap_s2char((soap), (s), (char**)(a), 0, -1, NULL)
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
|
||||
|
||||
#ifndef soap_write_string
|
||||
#define soap_write_string(soap, data) ( soap_begin_send(soap) || (soap_serialize_string(soap, data), 0) || soap_put_string(soap, data, "byte", NULL) || soap_end_send(soap) )
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
#ifndef soap_read_string
|
||||
#define soap_read_string(soap, data) ( soap_begin_recv(soap) || !soap_get_string(soap, data, NULL, NULL) || soap_end_recv(soap) )
|
||||
#endif
|
||||
|
||||
inline int soap_write_string(struct soap *soap, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || soap_put_string(soap, p, "string", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
|
||||
|
||||
inline int soap_read_string(struct soap *soap, char **p)
|
||||
{
|
||||
if (p)
|
||||
{ if (soap_begin_recv(soap) || soap_get_string(soap, p, NULL, NULL) == NULL || soap_end_recv(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* End of soapH.h */
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
/* soapServer.cpp
|
||||
Generated by gSOAP 2.8.10 from gsoap.stub
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
|
||||
Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
1) GPL or 2) Genivia's license for commercial use.
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
@@ -14,10 +17,8 @@ compiling, linking, and/or using OpenSSL is allowed.
|
||||
#endif
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.10 2012-09-02 20:48:00 GMT")
|
||||
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.33 2016-07-29 05:51:35 GMT")
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
unsigned int k = soap->max_keep_alive;
|
||||
@@ -53,7 +54,7 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
}
|
||||
|
||||
#ifndef WITH_NOSERVEREQUEST
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
|
||||
{
|
||||
soap_peek_element(soap);
|
||||
if (!soap_match_tag(soap, soap->tag, "ns1:executeCommand"))
|
||||
@@ -70,7 +71,6 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
|
||||
soap_tmp_string = NULL;
|
||||
soap_tmp_ns1__executeCommandResponse.result = &soap_tmp_string;
|
||||
soap_default_ns1__executeCommand(soap, &soap_tmp_ns1__executeCommand);
|
||||
soap->encodingStyle = NULL;
|
||||
if (!soap_get_ns1__executeCommand(soap, &soap_tmp_ns1__executeCommand, "ns1:executeCommand", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
@@ -80,6 +80,7 @@ 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_serializeheader(soap);
|
||||
soap_serialize_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse);
|
||||
if (soap_begin_count(soap))
|
||||
@@ -88,7 +89,7 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", NULL)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
@@ -98,7 +99,7 @@ SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", NULL)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
|
||||
@@ -1,28 +1,25 @@
|
||||
/* soapStub.h
|
||||
Generated by gSOAP 2.8.10 from gsoap.stub
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
|
||||
Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
1) GPL or 2) Genivia's license for commercial use.
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
#ifndef soapStub_H
|
||||
#define soapStub_H
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20810
|
||||
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
|
||||
#if GSOAP_VERSION != 20833
|
||||
# error "GSOAP VERSION 20833 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Enumerations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Types with Custom Serializers *
|
||||
@@ -32,116 +29,197 @@ compiling, linking, and/or using OpenSSL is allowed.
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Classes and Structs *
|
||||
* Classes, Structs and Unions *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
struct ns1__executeCommandResponse; /* gsoap.stub:1 */
|
||||
struct ns1__executeCommand; /* gsoap.stub:1 */
|
||||
|
||||
#if 0 /* volatile type: do not declare here, declared elsewhere */
|
||||
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
/* ns1:executeCommandResponse */
|
||||
struct ns1__executeCommandResponse
|
||||
{
|
||||
public:
|
||||
char **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type xsd:string */
|
||||
/* complex XSD type 'ns1:executeCommandResponse': */
|
||||
struct ns1__executeCommandResponse {
|
||||
public:
|
||||
/** Optional element 'result' of XSD type 'xsd:string' */
|
||||
char **result;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommandResponse */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommandResponse()
|
||||
{
|
||||
result = (char **)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_ns1__executeCommandResponse(struct soap*, int) */
|
||||
friend SOAP_FMAC1 ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
/* ns1:executeCommand */
|
||||
struct ns1__executeCommand
|
||||
{
|
||||
public:
|
||||
char *command; /* optional element of type xsd:string */
|
||||
/* complex XSD type 'ns1:executeCommand': */
|
||||
struct ns1__executeCommand {
|
||||
public:
|
||||
/** Optional element 'command' of XSD type 'xsd:string' */
|
||||
char *command;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommand */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommand()
|
||||
{
|
||||
command = (char *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_ns1__executeCommand(struct soap*, int) */
|
||||
friend SOAP_FMAC1 ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
/* SOAP Header: */
|
||||
struct SOAP_ENV__Header
|
||||
{
|
||||
#ifdef WITH_NOEMPTYSTRUCT
|
||||
private:
|
||||
char dummy; /* dummy member to enable compilation */
|
||||
#endif
|
||||
/* SOAP_ENV__Header: */
|
||||
struct SOAP_ENV__Header {
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Header */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Header()
|
||||
{
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Header(struct soap*, int) */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (12)
|
||||
/* SOAP Fault Code: */
|
||||
struct SOAP_ENV__Code
|
||||
{
|
||||
public:
|
||||
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
|
||||
/* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
|
||||
/* SOAP_ENV__Code: */
|
||||
struct SOAP_ENV__Code {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Value' of XSD type 'xsd:QName' */
|
||||
char *SOAP_ENV__Value;
|
||||
/** Optional element 'SOAP-ENV:Subcode' of XSD 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; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Code()
|
||||
{
|
||||
SOAP_ENV__Value = (char *)0;
|
||||
SOAP_ENV__Subcode = (struct SOAP_ENV__Code *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Code(struct soap*, int) */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
/* SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Detail
|
||||
{
|
||||
public:
|
||||
char *__any;
|
||||
int __type; /* any type of element <fault> (defined below) */
|
||||
void *fault; /* transient */
|
||||
/* SOAP_ENV__Detail: */
|
||||
struct 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 */
|
||||
int __type;
|
||||
void *fault;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Detail */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Detail()
|
||||
{
|
||||
__any = (char *)0;
|
||||
__type = 0;
|
||||
fault = NULL;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Detail(struct soap*, int) */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
/* SOAP-ENV:Reason */
|
||||
struct SOAP_ENV__Reason
|
||||
{
|
||||
public:
|
||||
char *SOAP_ENV__Text; /* optional element of type xsd:string */
|
||||
/* SOAP_ENV__Reason: */
|
||||
struct SOAP_ENV__Reason {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Text' of XSD 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; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Reason()
|
||||
{
|
||||
SOAP_ENV__Text = (char *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Reason(struct soap*, int) */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
/* SOAP Fault: */
|
||||
struct SOAP_ENV__Fault
|
||||
{
|
||||
public:
|
||||
char *faultcode; /* optional element of type xsd:QName */
|
||||
char *faultstring; /* optional element of type xsd:string */
|
||||
char *faultactor; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
|
||||
char *SOAP_ENV__Node; /* optional element of type xsd:string */
|
||||
char *SOAP_ENV__Role; /* optional element of type xsd:string */
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
|
||||
/* SOAP_ENV__Fault: */
|
||||
struct SOAP_ENV__Fault {
|
||||
public:
|
||||
/** Optional element 'faultcode' of XSD type 'xsd:QName' */
|
||||
char *faultcode;
|
||||
/** Optional element 'faultstring' of XSD type 'xsd:string' */
|
||||
char *faultstring;
|
||||
/** Optional element 'faultactor' of XSD type 'xsd:string' */
|
||||
char *faultactor;
|
||||
/** Optional element 'detail' of XSD type 'SOAP-ENV:Detail' */
|
||||
struct SOAP_ENV__Detail *detail;
|
||||
/** Optional element 'SOAP-ENV:Code' of XSD type 'SOAP-ENV:Code' */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code;
|
||||
/** Optional element 'SOAP-ENV:Reason' of XSD type 'SOAP-ENV:Reason' */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason;
|
||||
/** Optional element 'SOAP-ENV:Node' of XSD type 'xsd:string' */
|
||||
char *SOAP_ENV__Node;
|
||||
/** Optional element 'SOAP-ENV:Role' of XSD type 'xsd:string' */
|
||||
char *SOAP_ENV__Role;
|
||||
/** Optional element 'SOAP-ENV:Detail' of XSD 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; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Fault()
|
||||
{
|
||||
faultcode = (char *)0;
|
||||
faultstring = (char *)0;
|
||||
faultactor = (char *)0;
|
||||
detail = (struct SOAP_ENV__Detail *)0;
|
||||
SOAP_ENV__Code = (struct SOAP_ENV__Code *)0;
|
||||
SOAP_ENV__Reason = (struct SOAP_ENV__Reason *)0;
|
||||
SOAP_ENV__Node = (char *)0;
|
||||
SOAP_ENV__Role = (char *)0;
|
||||
SOAP_ENV__Detail = (struct SOAP_ENV__Detail *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Fault(struct soap*, int) */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -150,16 +228,105 @@ public:
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (6)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Serializable Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/* char has binding name 'byte' for type 'xsd:byte' */
|
||||
#ifndef SOAP_TYPE_byte
|
||||
#define SOAP_TYPE_byte (3)
|
||||
#endif
|
||||
|
||||
/* int has binding name 'int' for type 'xsd:int' */
|
||||
#ifndef SOAP_TYPE_int
|
||||
#define SOAP_TYPE_int (1)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (12)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
#endif
|
||||
|
||||
/* struct ns1__executeCommand has binding name 'ns1__executeCommand' for type 'ns1:executeCommand' */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
#endif
|
||||
|
||||
/* struct ns1__executeCommandResponse has binding name 'ns1__executeCommandResponse' for type 'ns1:executeCommandResponse' */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (20)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (19)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Code (13)
|
||||
#endif
|
||||
|
||||
/* char ** has binding name 'PointerTostring' for type 'xsd:string' */
|
||||
#ifndef SOAP_TYPE_PointerTostring
|
||||
#define SOAP_TYPE_PointerTostring (7)
|
||||
#endif
|
||||
|
||||
/* _XML has binding name '_XML' for type '' */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (6)
|
||||
#endif
|
||||
|
||||
/* _QName has binding name '_QName' for type 'xsd:QName' */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
#endif
|
||||
|
||||
/* char * has binding name 'string' for type 'xsd:string' */
|
||||
#ifndef SOAP_TYPE_string
|
||||
#define SOAP_TYPE_string (4)
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
@@ -174,8 +341,8 @@ typedef char *_XML;
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char **result);
|
||||
/** Web service operation 'ns1__executeCommand' (returns SOAP_OK or error code) */
|
||||
SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char **result);
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
@@ -183,9 +350,9 @@ SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap*);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
* Generate new headers based on SunwellCore soap-services stub:
|
||||
gsoap/bin/linux386/soapcpp2 -1 -S -L -w -x -y soap.stub
|
||||
* Generate new headers based on TrinityCore soap-services stub:
|
||||
gsoap/bin/linux386/soapcpp2 -1 -S -L -w -x -y -c++11 gsoap.stub
|
||||
|
||||
* Copy the following files from the gsoap package:
|
||||
gsoap/stdsoap2.h
|
||||
@@ -7,6 +7,5 @@ gsoap/stdsoap2.cpp
|
||||
|
||||
* Remove the following files after generation:
|
||||
ns1.nsmap
|
||||
soapObject.h
|
||||
|
||||
* Test compile and see if SOAP works...
|
||||
|
||||
Reference in New Issue
Block a user