Commit a58f13e2 authored by Gozutok, Recep's avatar Gozutok, Recep
Browse files

Upload New File

parent 855a5e0d
/* soapStub.h
Generated by gSOAP 2.8.28 from reserve.h
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 != 20828
# error "GSOAP VERSION 20828 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
#endif
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
/* reserve.h:17 */
#ifndef SOAP_TYPE_ns1__ReserveStatus
#define SOAP_TYPE_ns1__ReserveStatus (9)
/* ns1:ReserveStatus */
enum ns1__ReserveStatus
{
ns1__ReserveStatus__Accepted = 0,
ns1__ReserveStatus__Blocked = 1,
ns1__ReserveStatus__Expired = 2,
ns1__ReserveStatus__Invalid = 3,
ns1__ReserveStatus__ConcurrentTx = 4
};
#endif
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes, Structs, and Unions *
* *
\******************************************************************************/
class ns1__ReserveNowRequest; /* reserve.h:9 */
class ns1__ReserveNowResponse; /* reserve.h:11 */
struct __ns1__ReserveNow; /* reserve.h:50 */
/* reserve.h:9 */
#ifndef SOAP_TYPE_ns1__ReserveNowRequest
#define SOAP_TYPE_ns1__ReserveNowRequest (7)
/* ns1:ReserveNowRequest complex type: */
class SOAP_CMAC ns1__ReserveNowRequest
{
public:
int connectorId; /* required element of XSD type xsd:int */
time_t expiryDate; /* required element of XSD type xsd:dateTime */
int reservationId; /* required element of XSD type xsd:int */
public:
/// Return the unique type ID value SOAP_TYPE_ns1__ReserveNowRequest (7)
virtual int soap_type(void) const { return 7; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns1__ReserveNowRequest, default initialized and not managed by a soap context
virtual ns1__ReserveNowRequest *soap_alloc(void) const { return SOAP_NEW(ns1__ReserveNowRequest); }
ns1__ReserveNowRequest() { ns1__ReserveNowRequest::soap_default(NULL); }
virtual ~ns1__ReserveNowRequest() { }
friend SOAP_FMAC1 ns1__ReserveNowRequest * SOAP_FMAC2 soap_instantiate_ns1__ReserveNowRequest(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* reserve.h:11 */
#ifndef SOAP_TYPE_ns1__ReserveNowResponse
#define SOAP_TYPE_ns1__ReserveNowResponse (8)
/* ns1:ReserveNowResponse complex type: */
class SOAP_CMAC ns1__ReserveNowResponse
{
public:
enum ns1__ReserveStatus status; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of XSD type ns1:ReserveStatus */
public:
/// Return the unique type ID value SOAP_TYPE_ns1__ReserveNowResponse (8)
virtual int soap_type(void) const { return 8; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns1__ReserveNowResponse, default initialized and not managed by a soap context
virtual ns1__ReserveNowResponse *soap_alloc(void) const { return SOAP_NEW(ns1__ReserveNowResponse); }
ns1__ReserveNowResponse() { ns1__ReserveNowResponse::soap_default(NULL); }
virtual ~ns1__ReserveNowResponse() { }
friend SOAP_FMAC1 ns1__ReserveNowResponse * SOAP_FMAC2 soap_instantiate_ns1__ReserveNowResponse(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* reserve.h:50 */
#ifndef SOAP_TYPE___ns1__ReserveNow
#define SOAP_TYPE___ns1__ReserveNow (14)
/* Operation wrapper: */
struct __ns1__ReserveNow
{
public:
ns1__ReserveNowRequest *ns1__reserveNowRequest; /* optional element of XSD type ns1:ReserveNowRequest */
public:
int soap_type() const { return 14; } /* = unique type id SOAP_TYPE___ns1__ReserveNow */
__ns1__ReserveNow();
friend SOAP_FMAC1 __ns1__ReserveNow * SOAP_FMAC2 soap_instantiate___ns1__ReserveNow(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* reserve.h:51 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (15)
/* SOAP Header: */
struct SOAP_ENV__Header
{
public:
int soap_type() const { return 15; } /* = unique type id SOAP_TYPE_SOAP_ENV__Header */
SOAP_ENV__Header();
friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
};
#endif
#endif
/* reserve.h:51 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (16)
/* Type SOAP_ENV__Code is a recursive data type (in)directly referencing itself through its (base) class members */
/* SOAP Fault Code: */
struct SOAP_ENV__Code
{
public:
char *SOAP_ENV__Value; /* optional element of XSD type xsd:QName */
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of XSD type SOAP-ENV:Code */
public:
int soap_type() const { return 16; } /* = unique type id SOAP_TYPE_SOAP_ENV__Code */
SOAP_ENV__Code();
friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
};
#endif
#endif
/* reserve.h:51 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (18)
/* SOAP-ENV:Detail complex type: */
struct SOAP_ENV__Detail
{
public:
char *__any;
int __type; /* any type of element <fault> (defined below)
WARNING: do not create a cyclic data structure graph throught this element unless SOAP encoding or SOAP_XML_GRAPH are used for id-ref serialization */
void *fault; /* transient (not serialized) */
public:
int soap_type() const { return 18; } /* = unique type id SOAP_TYPE_SOAP_ENV__Detail */
SOAP_ENV__Detail();
friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
};
#endif
#endif
/* reserve.h:51 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (21)
/* SOAP-ENV:Reason complex type: */
struct SOAP_ENV__Reason
{
public:
char *SOAP_ENV__Text; /* optional element of XSD type xsd:string */
public:
int soap_type() const { return 21; } /* = unique type id SOAP_TYPE_SOAP_ENV__Reason */
SOAP_ENV__Reason();
friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
};
#endif
#endif
/* reserve.h:51 */
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (22)
/* SOAP Fault: */
struct SOAP_ENV__Fault
{
public:
char *faultcode; /* optional element of XSD type xsd:QName */
char *faultstring; /* optional element of XSD type xsd:string */
char *faultactor; /* optional element of XSD type xsd:string */
struct SOAP_ENV__Detail *detail; /* optional element of XSD type SOAP-ENV:Detail */
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of XSD type SOAP-ENV:Code */
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of XSD type SOAP-ENV:Reason */
char *SOAP_ENV__Node; /* optional element of XSD type xsd:string */
char *SOAP_ENV__Role; /* optional element of XSD type xsd:string */
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of XSD type SOAP-ENV:Detail */
public:
int soap_type() const { return 22; } /* = unique type id SOAP_TYPE_SOAP_ENV__Fault */
SOAP_ENV__Fault();
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 *
* *
\******************************************************************************/
/* reserve.h:9 */
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (5)
typedef char *_QName;
#endif
/* reserve.h:9 */
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (6)
typedef char *_XML;
#endif
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
#endif
/* End of soapStub.h */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment