soapStub.h
Go to the documentation of this file.
1 /* soapStub.h
2  Generated by gSOAP 2.8.16 from delegation.h
3 
4 Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
5 The generated code is released under one of the following licenses:
6 GPL or Genivia's license for commercial use.
7 This program is released under the GPL with the additional exemption that
8 compiling, linking, and/or using OpenSSL is allowed.
9 */
10 
11 #ifndef soapStub_H
12 #define soapStub_H
13 #include "stdsoap2.h"
14 #if GSOAP_VERSION != 20816
15 # error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
16 #endif
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /******************************************************************************\
23  * *
24  * Enumerations *
25  * *
26 \******************************************************************************/
27 
28 
29 /******************************************************************************\
30  * *
31  * Types with Custom Serializers *
32  * *
33 \******************************************************************************/
34 
35 
36 /******************************************************************************\
37  * *
38  * Classes and Structs *
39  * *
40 \******************************************************************************/
41 
42 
43 #if 0 /* volatile type: do not declare here, declared elsewhere */
44 
45 #endif
46 
47 #ifndef SOAP_TYPE_ns__DelegationExceptionType
48 #define SOAP_TYPE_ns__DelegationExceptionType (7)
49 /* ns:DelegationExceptionType */
51 {
52  char *message; /* optional element of type xsd:string */
53 };
54 #endif
55 
56 #ifndef SOAP_TYPE_ns__NewProxyReq
57 #define SOAP_TYPE_ns__NewProxyReq (8)
58 /* ns:NewProxyReq */
59 struct ns__NewProxyReq
60 {
61  char *proxyRequest; /* optional element of type xsd:string */
62  char *delegationID; /* optional element of type xsd:string */
63 };
64 #endif
65 
66 #ifndef SOAP_TYPE__DelegationException
67 #define SOAP_TYPE__DelegationException (9)
68 /* DelegationException */
70 {
71  struct ns__DelegationExceptionType *ns__DelegationException; /* optional element of type ns:DelegationExceptionType */
72 };
73 #endif
74 
75 #ifndef SOAP_TYPE_ns__getProxyReqResponse
76 #define SOAP_TYPE_ns__getProxyReqResponse (11)
77 /* ns:getProxyReqResponse */
79 {
80  char *getProxyReqReturn; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type xsd:string */
81 };
82 #endif
83 
84 #ifndef SOAP_TYPE_ns__getProxyReq
85 #define SOAP_TYPE_ns__getProxyReq (14)
86 /* ns:getProxyReq */
88 {
89  char *_delegationID; /* optional element of type xsd:string */
90 };
91 #endif
92 
93 #ifndef SOAP_TYPE_ns__getNewProxyReqResponse
94 #define SOAP_TYPE_ns__getNewProxyReqResponse (15)
95 /* ns:getNewProxyReqResponse */
97 {
98  struct ns__NewProxyReq *getNewProxyReqReturn; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:NewProxyReq */
99 };
100 #endif
101 
102 #ifndef SOAP_TYPE_ns__getNewProxyReq
103 #define SOAP_TYPE_ns__getNewProxyReq (19)
104 /* ns:getNewProxyReq */
106 {
107 #ifdef WITH_NOEMPTYSTRUCT
108  char dummy; /* dummy member to enable compilation */
109 #endif
110 };
111 #endif
112 
113 #ifndef SOAP_TYPE_ns__renewProxyReqResponse
114 #define SOAP_TYPE_ns__renewProxyReqResponse (20)
115 /* ns:renewProxyReqResponse */
117 {
118  char *_renewProxyReqReturn; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type xsd:string */
119 };
120 #endif
121 
122 #ifndef SOAP_TYPE_ns__renewProxyReq
123 #define SOAP_TYPE_ns__renewProxyReq (23)
124 /* ns:renewProxyReq */
126 {
127  char *_delegationID; /* optional element of type xsd:string */
128 };
129 #endif
130 
131 #ifndef SOAP_TYPE_ns__putProxyResponse
132 #define SOAP_TYPE_ns__putProxyResponse (24)
133 /* ns:putProxyResponse */
135 {
136 #ifdef WITH_NOEMPTYSTRUCT
137  char dummy; /* dummy member to enable compilation */
138 #endif
139 };
140 #endif
141 
142 #ifndef SOAP_TYPE_ns__putProxy
143 #define SOAP_TYPE_ns__putProxy (27)
144 /* ns:putProxy */
146 {
147  char *_delegationID; /* optional element of type xsd:string */
148  char *_proxy; /* optional element of type xsd:string */
149 };
150 #endif
151 
152 #ifndef SOAP_TYPE_ns__getTerminationTimeResponse
153 #define SOAP_TYPE_ns__getTerminationTimeResponse (28)
154 /* ns:getTerminationTimeResponse */
156 {
157  time_t _getTerminationTimeReturn; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:dateTime */
158 };
159 #endif
160 
161 #ifndef SOAP_TYPE_ns__getTerminationTime
162 #define SOAP_TYPE_ns__getTerminationTime (32)
163 /* ns:getTerminationTime */
165 {
166  char *_delegationID; /* optional element of type xsd:string */
167 };
168 #endif
169 
170 #ifndef SOAP_TYPE_ns__destroyResponse
171 #define SOAP_TYPE_ns__destroyResponse (33)
172 /* ns:destroyResponse */
174 {
175 #ifdef WITH_NOEMPTYSTRUCT
176  char dummy; /* dummy member to enable compilation */
177 #endif
178 };
179 #endif
180 
181 #ifndef SOAP_TYPE_ns__destroy
182 #define SOAP_TYPE_ns__destroy (36)
183 /* ns:destroy */
185 {
186  char *_delegationID; /* optional element of type xsd:string */
187 };
188 #endif
189 
190 #ifndef WITH_NOGLOBAL
191 
192 #ifndef SOAP_TYPE_SOAP_ENV__Header
193 #define SOAP_TYPE_SOAP_ENV__Header (37)
194 /* SOAP Header: */
196 {
197 #ifdef WITH_NOEMPTYSTRUCT
198  char dummy; /* dummy member to enable compilation */
199 #endif
200 };
201 #endif
202 
203 #endif
204 
205 #ifndef WITH_NOGLOBAL
206 
207 #ifndef SOAP_TYPE_SOAP_ENV__Code
208 #define SOAP_TYPE_SOAP_ENV__Code (38)
209 /* SOAP Fault Code: */
211 {
212  char *SOAP_ENV__Value; /* optional element of type xsd:QName */
213  struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
214 };
215 #endif
216 
217 #endif
218 
219 #ifndef WITH_NOGLOBAL
220 
221 #ifndef SOAP_TYPE_SOAP_ENV__Detail
222 #define SOAP_TYPE_SOAP_ENV__Detail (40)
223 /* SOAP-ENV:Detail */
225 {
226  char *__any;
227  int __type; /* any type of element <fault> (defined below) */
228  void *fault; /* transient */
229 };
230 #endif
231 
232 #endif
233 
234 #ifndef WITH_NOGLOBAL
235 
236 #ifndef SOAP_TYPE_SOAP_ENV__Reason
237 #define SOAP_TYPE_SOAP_ENV__Reason (43)
238 /* SOAP-ENV:Reason */
240 {
241  char *SOAP_ENV__Text; /* optional element of type xsd:string */
242 };
243 #endif
244 
245 #endif
246 
247 #ifndef WITH_NOGLOBAL
248 
249 #ifndef SOAP_TYPE_SOAP_ENV__Fault
250 #define SOAP_TYPE_SOAP_ENV__Fault (44)
251 /* SOAP Fault: */
253 {
254  char *faultcode; /* optional element of type xsd:QName */
255  char *faultstring; /* optional element of type xsd:string */
256  char *faultactor; /* optional element of type xsd:string */
257  struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
258  struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
259  struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
260  char *SOAP_ENV__Node; /* optional element of type xsd:string */
261  char *SOAP_ENV__Role; /* optional element of type xsd:string */
262  struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
263 };
264 #endif
265 
266 #endif
267 
268 /******************************************************************************\
269  * *
270  * Typedefs *
271  * *
272 \******************************************************************************/
273 
274 #ifndef SOAP_TYPE__QName
275 #define SOAP_TYPE__QName (5)
276 typedef char *_QName;
277 #endif
278 
279 #ifndef SOAP_TYPE__XML
280 #define SOAP_TYPE__XML (6)
281 typedef char *_XML;
282 #endif
283 
284 
285 /******************************************************************************\
286  * *
287  * Externals *
288  * *
289 \******************************************************************************/
290 
291 
292 /******************************************************************************\
293  * *
294  * Server-Side Operations *
295  * *
296 \******************************************************************************/
297 
298 
299 SOAP_FMAC5 int SOAP_FMAC6 ns__getProxyReq(struct soap*, char *_delegationID, struct ns__getProxyReqResponse *_param_1);
300 
301 SOAP_FMAC5 int SOAP_FMAC6 ns__getNewProxyReq(struct soap*, struct ns__getNewProxyReqResponse *_param_2);
302 
303 SOAP_FMAC5 int SOAP_FMAC6 ns__renewProxyReq(struct soap*, char *_delegationID, struct ns__renewProxyReqResponse *_param_3);
304 
305 SOAP_FMAC5 int SOAP_FMAC6 ns__putProxy(struct soap*, char *_delegationID, char *_proxy, struct ns__putProxyResponse *_param_4);
306 
307 SOAP_FMAC5 int SOAP_FMAC6 ns__getTerminationTime(struct soap*, char *_delegationID, struct ns__getTerminationTimeResponse *_param_5);
308 
309 SOAP_FMAC5 int SOAP_FMAC6 ns__destroy(struct soap*, char *_delegationID, struct ns__destroyResponse *_param_6);
310 
311 /******************************************************************************\
312  * *
313  * Server-Side Skeletons to Invoke Service Operations *
314  * *
315 \******************************************************************************/
316 
317 SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
318 
319 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
320 
321 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__getProxyReq(struct soap*);
322 
323 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__getNewProxyReq(struct soap*);
324 
325 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__renewProxyReq(struct soap*);
326 
327 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__putProxy(struct soap*);
328 
329 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__getTerminationTime(struct soap*);
330 
331 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__destroy(struct soap*);
332 
333 /******************************************************************************\
334  * *
335  * Client-Side Call Stubs *
336  * *
337 \******************************************************************************/
338 
339 
340 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__getProxyReq(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_delegationID, struct ns__getProxyReqResponse *_param_1);
341 
342 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__getNewProxyReq(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct ns__getNewProxyReqResponse *_param_2);
343 
344 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__renewProxyReq(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_delegationID, struct ns__renewProxyReqResponse *_param_3);
345 
346 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__putProxy(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_delegationID, char *_proxy, struct ns__putProxyResponse *_param_4);
347 
348 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__getTerminationTime(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_delegationID, struct ns__getTerminationTimeResponse *_param_5);
349 
350 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__destroy(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *_delegationID, struct ns__destroyResponse *_param_6);
351 
352 #ifdef __cplusplus
353 }
354 #endif
355 
356 #endif
357 
358 /* End of soapStub.h */