-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsoapStub.h
219 lines (177 loc) · 7.68 KB
/
soapStub.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
/* soapStub.h
Generated by gSOAP 2.8.0 from winceconfig.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef soapStub_H
#define soapStub_H
#include "stdsoap2.h"
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes and Structs *
* *
\******************************************************************************/
#if 0 /* volatile type: do not declare here, declared elsewhere */
#endif
#ifndef SOAP_TYPE_ns__addResponse
#define SOAP_TYPE_ns__addResponse (14)
/* ns:addResponse */
struct ns__addResponse
{
public:
double result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:double */
};
#endif
#ifndef SOAP_TYPE_ns__add
#define SOAP_TYPE_ns__add (15)
/* ns:add */
struct ns__add
{
public:
double a; /* required element of type xsd:double */
double b; /* required element of type xsd:double */
};
#endif
#ifndef SOAP_TYPE_ns__winconfigResponse
#define SOAP_TYPE_ns__winconfigResponse (18)
/* ns:winconfigResponse */
struct ns__winconfigResponse
{
public:
bool result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd-boolean */
};
#endif
#ifndef SOAP_TYPE_ns__winconfig
#define SOAP_TYPE_ns__winconfig (19)
/* ns:winconfig */
struct ns__winconfig
{
public:
char *key; /* optional element of type xsd:string */
char *value; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (20)
/* SOAP Header: */
struct SOAP_ENV__Header
{
#ifdef WITH_NOEMPTYSTRUCT
private:
char dummy; /* dummy member to enable compilation */
#endif
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (21)
/* 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 */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (23)
/* SOAP-ENV:Detail */
struct SOAP_ENV__Detail
{
public:
int __type; /* any type of element <fault> (defined below) */
void *fault; /* transient */
char *__any;
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (26)
/* SOAP-ENV:Reason */
struct SOAP_ENV__Reason
{
public:
char *SOAP_ENV__Text; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (27)
/* 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 */
};
#endif
/******************************************************************************\
* *
* Typedefs *
* *
\******************************************************************************/
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (5)
typedef char *_QName;
#endif
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (6)
typedef char *_XML;
#endif
#ifndef SOAP_TYPE_xsd__string
#define SOAP_TYPE_xsd__string (7)
typedef char *xsd__string;
#endif
#ifndef SOAP_TYPE_xsd_boolean
#define SOAP_TYPE_xsd_boolean (9)
typedef bool xsd_boolean;
#endif
#ifndef SOAP_TYPE_xsd__double
#define SOAP_TYPE_xsd__double (11)
typedef double xsd__double;
#endif
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Server-Side Operations *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 ns__add(struct soap*, double a, double b, double &result);
SOAP_FMAC5 int SOAP_FMAC6 ns__winconfig(struct soap*, char *key, char *value, bool &result);
/******************************************************************************\
* *
* Server-Side Skeletons to Invoke Service Operations *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__add(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__winconfig(struct soap*);
/******************************************************************************\
* *
* Client-Side Call Stubs *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__add(struct soap *soap, const char *soap_endpoint, const char *soap_action, double a, double b, double &result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__winconfig(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *key, char *value, bool &result);
#endif
/* End of soapStub.h */