Files

332 lines
13 KiB
C++
Raw Permalink Normal View History

2026-01-20 21:28:45 -03:00
/* soapStub.h
2026-04-17 11:03:11 +02:00
Generated by gSOAP 2.8.141 for gsoap.stub
2026-01-20 21:28:45 -03:00
gSOAP XML Web services tools
2026-04-17 11:03:11 +02:00
Copyright (C) 2000-2026, Robert van Engelen, Genivia Inc. All Rights Reserved.
2026-01-20 21:28:45 -03:00
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., [email protected]
--------------------------------------------------------------------------------
*/
#ifndef soapStub_H
#define soapStub_H
#include "stdsoap2.h"
2026-04-17 11:03:11 +02:00
#if GSOAP_VERSION != 208141
# error "GSOAP VERSION 208141 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
2026-01-20 21:28:45 -03:00
#endif
2026-04-17 11:03:11 +02:00
#include <optional>
2026-01-20 21:28:45 -03:00
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes, Structs and Unions *
* *
\******************************************************************************/
struct ns1__executeCommandResponse; /* gsoap.stub:1 */
struct ns1__executeCommand; /* gsoap.stub:1 */
/* gsoap.stub:1 */
#ifndef SOAP_TYPE_ns1__executeCommandResponse
#define SOAP_TYPE_ns1__executeCommandResponse (9)
/* complex XML schema type 'ns1:executeCommandResponse': */
struct SOAP_CMAC ns1__executeCommandResponse {
public:
/** Optional element 'result' of XML schema type 'xsd:string' */
char **result;
public:
/** Return unique type id SOAP_TYPE_ns1__executeCommandResponse */
long soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
/** Constructor with member initializations */
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*);
};
#endif
/* gsoap.stub:1 */
#ifndef SOAP_TYPE_ns1__executeCommand
#define SOAP_TYPE_ns1__executeCommand (10)
/* complex XML schema type 'ns1:executeCommand': */
struct SOAP_CMAC ns1__executeCommand {
public:
/** Optional element 'command' of XML schema type 'xsd:string' */
char *command;
public:
/** Return unique type id SOAP_TYPE_ns1__executeCommand */
long soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
/** Constructor with member initializations */
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*);
};
#endif
/* gsoap.stub:2 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (11)
/* SOAP_ENV__Header: */
struct SOAP_CMAC SOAP_ENV__Header {
public:
/** Return unique type id SOAP_TYPE_SOAP_ENV__Header */
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
/** Constructor with member initializations */
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*);
};
#endif
#endif
/* gsoap.stub:2 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (12)
/* 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_CMAC SOAP_ENV__Code {
public:
/** Optional element 'SOAP-ENV:Value' of XML schema type 'xsd:QName' */
char *SOAP_ENV__Value;
/** 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 */
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
/** Constructor with member initializations */
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*);
};
#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_CMAC SOAP_ENV__Detail {
public:
char *__any;
/** 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 */
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
/** Constructor with member initializations */
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*);
};
#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_CMAC SOAP_ENV__Reason {
public:
/** 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 */
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
/** Constructor with member initializations */
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*);
};
#endif
#endif
/* gsoap.stub:2 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (18)
/* SOAP_ENV__Fault: */
struct SOAP_CMAC SOAP_ENV__Fault {
public:
/** Optional element 'faultcode' of XML schema type 'xsd:QName' */
char *faultcode;
/** Optional element 'faultstring' of XML schema type 'xsd:string' */
char *faultstring;
/** Optional element 'faultactor' of XML schema type 'xsd:string' */
char *faultactor;
/** Optional element 'detail' of XML schema type 'SOAP-ENV:Detail' */
struct SOAP_ENV__Detail *detail;
/** 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 XML schema type 'SOAP-ENV:Reason' */
struct SOAP_ENV__Reason *SOAP_ENV__Reason;
/** Optional element 'SOAP-ENV:Node' of XML schema type 'xsd:string' */
char *SOAP_ENV__Node;
/** Optional element 'SOAP-ENV:Role' of XML schema type 'xsd:string' */
char *SOAP_ENV__Role;
/** 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 */
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() { }
/** Friend allocator */
friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
};
#endif
#endif
/******************************************************************************\
* *
* Typedefs *
* *
\******************************************************************************/
/* (built-in):0 */
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (5)
typedef char *_XML;
#endif
/* (built-in):0 */
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (6)
typedef char *_QName;
#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
/* _QName has binding name '_QName' for type 'xsd:QName' */
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (6)
#endif
/* _XML has binding name '_XML' for type '' */
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (5)
#endif
/* char * has binding name 'string' for type 'xsd:string' */
#ifndef SOAP_TYPE_string
#define SOAP_TYPE_string (4)
#endif
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Server-Side Operations *
* *
\******************************************************************************/
/** 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);
/******************************************************************************\
* *
* Server-Side Skeletons to Invoke Service Operations *
* *
\******************************************************************************/
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(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*);
#endif
/* End of soapStub.h */