InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
soapStub.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: ???
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // soapStub.h
24 // Generated by gSOAP 2.7.9l from /Users/lmillett/thyme/source/components/soapserver/server/SSLibFunctions.h
25 // Copyright(C) 2000-2007, Robert van Engelen, Genivia Inc. All Rights Reserved.
26 // This part of the software is released under one of the following licenses:
27 // GPL, the gSOAP public license, or Genivia's license for commercial use.
28 //
29 //========================================================================================
30 
31 #ifndef soapStub_H
32 #define soapStub_H
33 #ifndef __SSLibFunctions__
34 #define __SSLibFunctions__
35 #ifndef SSLIB
36 #include <vector>
37 #endif
38 #include <vector>
39 #include <string>
40 #endif
41 #include "stdsoap2.h"
42 
43 /******************************************************************************\
44  * *
45  * Enumerations *
46  * *
47 \******************************************************************************/
48 
49 
50 /******************************************************************************\
51  * *
52  * Classes and Structs *
53  * *
54 \******************************************************************************/
55 
56 
57 #if 0 /* volatile type: do not redeclare */
58 
59 #endif
60 
61 #ifndef SOAP_TYPE_IDSP_ScriptArg
62 #define SOAP_TYPE_IDSP_ScriptArg (25)
63 /* IDSP-ScriptArg */
65 {
66 public:
67  std::string name; /* required element of type xsd:string */
68  std::string value; /* required element of type xsd:string */
69 };
70 #endif
71 
72 #ifndef SOAP_TYPE_IDSP__RunScriptParameters
73 #define SOAP_TYPE_IDSP__RunScriptParameters (27)
74 /* IDSP:RunScriptParameters */
76 {
77 public:
78  char *scriptText; /* optional element of type xsd:string */
79  char *scriptLanguage; /* optional element of type xsd:string */
80  char *scriptFile; /* optional element of type xsd:string */
81  std::vector<struct IDSP_ScriptArg >*scriptArgs; /* optional element of type IDSP-ScriptArg */
82 };
83 #endif
84 
85 #ifndef SOAP_TYPE_IDSP__Data
86 #define SOAP_TYPE_IDSP__Data (30)
87 /* IDSP:Data */
88 struct IDSP__Data
89 {
90 public:
91  int __type; /* any type of element <data> (defined below) */
92  void *data; /* transient */
93 };
94 #endif
95 
96 #ifndef SOAP_TYPE_IDSP__List
97 #define SOAP_TYPE_IDSP__List (33)
98 /* Sequence of IDSP:List schema type: */
99 struct IDSP__List
100 {
101 public:
102  struct IDSP__Data *__ptr;
103  int __size;
104 };
105 #endif
106 
107 #ifndef SOAP_TYPE_IDSP__Object
108 #define SOAP_TYPE_IDSP__Object (35)
109 /* IDSP:Object */
111 {
112 public:
113  int __type; /* any type of element <specifierData> (defined below) */
114  void *specifierData; /* transient */
115  unsigned long objectType; /* required element of type xsd:unsignedLong */
116  unsigned long specifierForm; /* required element of type xsd:unsignedLong */
117  struct IDSP__Object *start; /* optional element of type IDSP:Object */
118  struct IDSP__Object *end; /* optional element of type IDSP:Object */
119 };
120 #endif
121 
122 #ifndef SOAP_TYPE_IDSP__ObjectList
123 #define SOAP_TYPE_IDSP__ObjectList (38)
124 /* Sequence of IDSP:ObjectList schema type: */
126 {
127 public:
128  struct IDSP__Object *__ptr;
129  int __size;
130 };
131 #endif
132 
133 #ifndef SOAP_TYPE_IDSP__Field
134 #define SOAP_TYPE_IDSP__Field (39)
135 /* IDSP:Field */
137 {
138 public:
139  unsigned long id; /* required element of type xsd:unsignedLong */
140  struct IDSP__Data *data; /* optional element of type IDSP:Data */
141 };
142 #endif
143 
144 #ifndef SOAP_TYPE_IDSP__Record
145 #define SOAP_TYPE_IDSP__Record (40)
146 /* Sequence of IDSP:Record schema type: */
148 {
149 public:
150  struct IDSP__Field *__ptr;
151  int __size;
152 };
153 #endif
154 
155 #ifndef SOAP_TYPE_IDSP__RunScriptResponse
156 #define SOAP_TYPE_IDSP__RunScriptResponse (42)
157 /* IDSP:RunScriptResponse */
159 {
160 public:
161  int errorNumber; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
162  char *errorString; /* optional element of type xsd:string */
163  struct IDSP__Data *scriptResult; /* optional element of type IDSP:Data */
164 };
165 #endif
166 
167 #ifndef SOAP_TYPE_SOAP_ENV__Header
168 #define SOAP_TYPE_SOAP_ENV__Header (43)
169 /* SOAP Header: */
171 {
172 public:
173  unsigned int IDSP__sessionID; /* required element of type IDSP:SessionID */
174 };
175 #endif
176 
177 #ifndef SOAP_TYPE_IDSP__Result
178 #define SOAP_TYPE_IDSP__Result (44)
179 /* IDSP:Result */
181 {
182 public:
183  int errorCode; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
184 };
185 #endif
186 
187 #ifndef SOAP_TYPE_IDSP__RunScript
188 #define SOAP_TYPE_IDSP__RunScript (48)
189 /* IDSP:RunScript */
191 {
192 public:
193  struct IDSP__RunScriptParameters *runScriptParameters; /* optional element of type IDSP:RunScriptParameters */
194 };
195 #endif
196 
197 #ifndef SOAP_TYPE_IDSP__BeginSessionResponse
198 #define SOAP_TYPE_IDSP__BeginSessionResponse (51)
199 /* IDSP:BeginSessionResponse */
201 {
202 public:
203  unsigned int sessionID; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type IDSP:SessionID */
204 };
205 #endif
206 
207 #ifndef SOAP_TYPE_IDSP__BeginSession
208 #define SOAP_TYPE_IDSP__BeginSession (52)
209 /* IDSP:BeginSession */
211 {
212 #ifdef WITH_NOEMPTYSTRUCT
213 private:
214  char dummy; /* dummy member to enable compilation */
215 #endif
216 };
217 #endif
218 
219 #ifndef SOAP_TYPE_IDSP__EndSession
220 #define SOAP_TYPE_IDSP__EndSession (55)
221 /* IDSP:EndSession */
223 {
224 public:
225  unsigned int sessionID; /* required element of type IDSP:SessionID */
226 };
227 #endif
228 
229 #ifndef SOAP_TYPE_SOAP_ENV__Code
230 #define SOAP_TYPE_SOAP_ENV__Code (56)
231 /* SOAP Fault Code: */
233 {
234 public:
235  char *SOAP_ENV__Value; /* optional element of type xsd:QName */
236  struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
237 };
238 #endif
239 
240 #ifndef SOAP_TYPE_SOAP_ENV__Detail
241 #define SOAP_TYPE_SOAP_ENV__Detail (58)
242 /* SOAP-ENV:Detail */
244 {
245 public:
246  int __type; /* any type of element <fault> (defined below) */
247  void *fault; /* transient */
248  char *__any;
249 };
250 #endif
251 
252 #ifndef SOAP_TYPE_SOAP_ENV__Reason
253 #define SOAP_TYPE_SOAP_ENV__Reason (59)
254 /* SOAP-ENV:Reason */
256 {
257 public:
258  char *SOAP_ENV__Text; /* optional element of type xsd:string */
259 };
260 #endif
261 
262 #ifndef SOAP_TYPE_SOAP_ENV__Fault
263 #define SOAP_TYPE_SOAP_ENV__Fault (60)
264 /* SOAP Fault: */
266 {
267 public:
268  char *faultcode; /* optional element of type xsd:QName */
269  char *faultstring; /* optional element of type xsd:string */
270  char *faultactor; /* optional element of type xsd:string */
271  struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
272  struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
273  struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
274  char *SOAP_ENV__Node; /* optional element of type xsd:string */
275  char *SOAP_ENV__Role; /* optional element of type xsd:string */
276  struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
277 };
278 #endif
279 
280 /******************************************************************************\
281  * *
282  * Types with Custom Serializers *
283  * *
284 \******************************************************************************/
285 
286 
287 /******************************************************************************\
288  * *
289  * Typedefs *
290  * *
291 \******************************************************************************/
292 
293 #ifndef SOAP_TYPE__XML
294 #define SOAP_TYPE__XML (4)
295 typedef char *_XML;
296 #endif
297 
298 #ifndef SOAP_TYPE__QName
299 #define SOAP_TYPE__QName (5)
300 typedef char *_QName;
301 #endif
302 
303 #ifndef SOAP_TYPE_xsd__string
304 #define SOAP_TYPE_xsd__string (7)
305 typedef char *xsd__string;
306 #endif
307 
308 #ifndef SOAP_TYPE_xsd__anyURI
309 #define SOAP_TYPE_xsd__anyURI (8)
310 typedef char *xsd__anyURI;
311 #endif
312 
313 #ifndef SOAP_TYPE_xsd__float
314 #define SOAP_TYPE_xsd__float (10)
315 typedef float xsd__float;
316 #endif
317 
318 #ifndef SOAP_TYPE_xsd__double
319 #define SOAP_TYPE_xsd__double (12)
320 typedef double xsd__double;
321 #endif
322 
323 #ifndef SOAP_TYPE_xsd__int
324 #define SOAP_TYPE_xsd__int (14)
325 typedef long xsd__int;
326 #endif
327 
328 #ifndef SOAP_TYPE_xsd__boolean
329 #define SOAP_TYPE_xsd__boolean (16)
330 typedef bool xsd__boolean;
331 #endif
332 
333 #ifndef SOAP_TYPE_xsd__dateTime
334 #define SOAP_TYPE_xsd__dateTime (17)
335 typedef char *xsd__dateTime;
336 #endif
337 
338 #ifndef SOAP_TYPE_xsd__long
339 #define SOAP_TYPE_xsd__long (19)
340 typedef LONG64 xsd__long;
341 #endif
342 
343 #ifndef SOAP_TYPE_IDSP__Enumeration
344 #define SOAP_TYPE_IDSP__Enumeration (20)
345 typedef long IDSP__Enumeration;
346 #endif
347 
348 #ifndef SOAP_TYPE_IDSP__Unit
349 #define SOAP_TYPE_IDSP__Unit (21)
350 typedef double IDSP__Unit;
351 #endif
352 
353 #ifndef SOAP_TYPE_IDSP__NullObject
354 #define SOAP_TYPE_IDSP__NullObject (22)
355 typedef long IDSP__NullObject;
356 #endif
357 
358 #ifndef SOAP_TYPE_IDSP__SessionID
359 #define SOAP_TYPE_IDSP__SessionID (24)
360 typedef unsigned int IDSP__SessionID;
361 #endif
362 
363 
364 /******************************************************************************\
365  * *
366  * Typedef Synonyms *
367  * *
368 \******************************************************************************/
369 
370 
371 /******************************************************************************\
372  * *
373  * Externals *
374  * *
375 \******************************************************************************/
376 
377 
378 /******************************************************************************\
379  * *
380  * Service Operations *
381  * *
382 \******************************************************************************/
383 
384 
385 SOAP_FMAC5 int SOAP_FMAC6 IDSP__RunScript(struct soap*, struct IDSP__RunScriptParameters *runScriptParameters, struct IDSP__RunScriptResponse &runScriptResponse);
386 
387 SOAP_FMAC5 int SOAP_FMAC6 IDSP__BeginSession(struct soap*, unsigned int &sessionID);
388 
389 SOAP_FMAC5 int SOAP_FMAC6 IDSP__EndSession(struct soap*, unsigned int sessionID, struct IDSP__Result *result);
390 
391 /******************************************************************************\
392  * *
393  * Stubs *
394  * *
395 \******************************************************************************/
396 
397 
398 SOAP_FMAC5 int SOAP_FMAC6 soap_call_IDSP__RunScript(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct IDSP__RunScriptParameters *runScriptParameters, struct IDSP__RunScriptResponse &runScriptResponse);
399 
400 SOAP_FMAC5 int SOAP_FMAC6 soap_call_IDSP__BeginSession(struct soap *soap, const char *soap_endpoint, const char *soap_action, unsigned int &sessionID);
401 
402 SOAP_FMAC5 int SOAP_FMAC6 soap_call_IDSP__EndSession(struct soap *soap, const char *soap_endpoint, const char *soap_action, unsigned int sessionID, struct IDSP__Result *result);
403 
404 /******************************************************************************\
405  * *
406  * Skeletons *
407  * *
408 \******************************************************************************/
409 
410 SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
411 
412 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
413 
414 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_IDSP__RunScript(struct soap*);
415 
416 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_IDSP__BeginSession(struct soap*);
417 
418 SOAP_FMAC5 int SOAP_FMAC6 soap_serve_IDSP__EndSession(struct soap*);
419 
420 #endif
421 
422 /* End of soapStub.h */