annotate GEMBASSY-1.0.3/gsoap/wsdl/soap.h @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
1 /*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 soap.h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 WSDL/SOAP binding schema
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 --------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7 gSOAP XML Web services tools
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 Copyright (C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 This software is released under one of the following licenses:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10 GPL or Genivia's license for commercial use.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 --------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12 GPL license.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 This program is free software; you can redistribute it and/or modify it under
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 the terms of the GNU General Public License as published by the Free Software
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16 Foundation; either version 2 of the License, or (at your option) any later
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 version.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 This program is distributed in the hope that it will be useful, but WITHOUT ANY
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21 PARTICULAR PURPOSE. See the GNU General Public License for more details.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
23 You should have received a copy of the GNU General Public License along with
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
24 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
25 Place, Suite 330, Boston, MA 02111-1307 USA
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
26
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
27 Author contact information:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
28 engelen@genivia.com / engelen@acm.org
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
29 --------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
30 A commercial use license is available from Genivia, Inc., contact@genivia.com
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
31 --------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
32 */
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
33
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
34 //gsoap soap schema documentation: WSDL 1.1 SOAP binding schema
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
35 //gsoap soap schema namespace: http://schemas.xmlsoap.org/wsdl/soap/
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
36
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
37 //gsoap wsoap schema documentation: WSDL 2.0 SOAP binding schema
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
38 //gsoap wsoap schema namespace: http://www.w3.org/ns/wsdl/soap
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
39
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
40 #import "imports.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
41
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
42 class wsdl__definitions; // forward declaration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
43 class wsdl__message; // forward declaration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
44 class wsdl__part; // forward declaration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
45
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
46 enum soap__styleChoice { rpc, document };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
47
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
48 class soap__binding
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
49 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
50 @xsd__anyURI transport;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
51 @enum soap__styleChoice *style;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
52 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
53
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
54 class soap__operation
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
55 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
56 @xsd__anyURI soapAction;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
57 @xsd__boolean soapActionRequired = true;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
58 @enum soap__styleChoice *style;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
59 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
60
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
61 enum soap__useChoice { literal, encoded };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
62
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
63 class soap__body
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
64 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
65 @xsd__anyURI encodingStyle;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
66 @xsd__NMTOKENS parts;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
67 @enum soap__useChoice use;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
68 @xsd__anyURI namespace_;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
69 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
70
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
71 class soap__fault
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
72 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
73 @xsd__NMTOKEN name;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
74 @xsd__anyURI encodingStyle;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
75 @enum soap__useChoice use;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
76 @xsd__anyURI namespace_;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
77 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
78
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
79 class soap__headerfault
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
80 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
81 @xsd__QName message;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
82 @xsd__NMTOKEN part;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
83 @enum soap__useChoice use;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
84 @xsd__anyURI encodingStyle;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
85 @xsd__anyURI namespace_;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
86 private:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
87 wsdl__message *messageRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
88 wsdl__part *partRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
89 public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
90 int traverse(wsdl__definitions&);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
91 void messagePtr(wsdl__message*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
92 void partPtr(wsdl__part*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
93 wsdl__message *messagePtr() const;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
94 wsdl__part *partPtr() const;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
95 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
96
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
97 class soap__header
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
98 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
99 @xsd__QName message;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
100 @xsd__NMTOKEN part;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
101 @enum soap__useChoice use;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
102 @xsd__anyURI encodingStyle;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
103 @xsd__anyURI namespace_;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
104 std::vector<soap__headerfault> headerfault; // <soap:headerfault>*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
105 private:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
106 wsdl__message *messageRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
107 wsdl__part *partRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
108 public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
109 int traverse(wsdl__definitions&);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
110 void messagePtr(wsdl__message*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
111 void partPtr(wsdl__part*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
112 wsdl__message *messagePtr() const;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
113 wsdl__part *partPtr() const;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
114 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
115
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
116 class soap__address
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
117 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
118 @xsd__anyURI location;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
119 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
120
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
121 class wsoap__module
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
122 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
123 @xsd__anyURI ref;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
124 @xsd__boolean required = false;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
125 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
126
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
127 class wsoap__header
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
128 { public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
129 @xsd__QName element;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
130 @xsd__boolean mustUnderstand_ = false;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
131 @xsd__boolean required = false;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
132 private:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
133 xs__element *elementRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
134 public:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
135 int traverse(wsdl__definitions&);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
136 void elementPtr(xs__element*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
137 xs__element *elementPtr() const;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
138 };
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
139
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
140