annotate GEMBASSY-1.0.3/gsoap/wsdl/soap.cpp @ 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.cpp
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) 2001-2008, 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
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
35 #include "wsdlH.h" // cannot include "schemaH.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
36 #include "includes.h"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
37
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
38 extern const char *qname_token(const char*, const char*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
39 extern int is_builtin_qname(const char*);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
40
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
41 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
42 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
43 // soap:header
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
44 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
45 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
46
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
47 int soap__header::traverse(wsdl__definitions& definitions)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
48 { if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
49 cerr << " Analyzing soap header in wsdl namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
50 messageRef = NULL;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
51 partRef = NULL;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
52 const char *token = qname_token(message, definitions.targetNamespace);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
53 if (token)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
54 { for (vector<wsdl__message>::iterator message = definitions.message.begin(); message != definitions.message.end(); ++message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
55 { if ((*message).name && !strcmp((*message).name, token))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
56 { messageRef = &(*message);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
57 if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
58 cerr << " Found soap header part '" << (part?part:"") << "' message '" << (token?token:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
59 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
60 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
61 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
62 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
63 if (!messageRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
64 { for (vector<wsdl__import>::iterator import = definitions.import.begin(); import != definitions.import.end(); ++import)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
65 { wsdl__definitions *importdefinitions = (*import).definitionsPtr();
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
66 if (importdefinitions)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
67 { token = qname_token(message, importdefinitions->targetNamespace);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
68 if (token)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
69 { for (vector<wsdl__message>::iterator message = importdefinitions->message.begin(); message != importdefinitions->message.end(); ++message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
70 { if ((*message).name && !strcmp((*message).name, token))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
71 { messageRef = &(*message);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
72 if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
73 cerr << " Found soap header part '" << (part?part:"") << "' message '" << (token?token:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
74 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
75 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
76 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
77 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
78 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
79 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
80 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
81 if (messageRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
82 { if (part)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
83 { for (vector<wsdl__part>::iterator pt = messageRef->part.begin(); pt != messageRef->part.end(); ++pt)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
84 if ((*pt).name && !strcmp((*pt).name, part))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
85 { partRef = &(*pt);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
86 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
87 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
88 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
89 if (!partRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
90 cerr << "Warning: soap header has no matching part in message '" << (message?message:"") << "' in wsdl definitions '" << definitions.name << "' namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
91 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
92 else
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
93 cerr << "Warning: could not find soap header part '" << (part?part:"") << "' message '" << (message?message:"") << "' in wsdl definitions '" << definitions.name << "' namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
94 for (vector<soap__headerfault>::iterator i = headerfault.begin(); i != headerfault.end(); ++i)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
95 (*i).traverse(definitions);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
96 return SOAP_OK;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
97 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
98
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
99 void soap__header::messagePtr(wsdl__message *message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
100 { messageRef = message;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
101 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
102
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
103 wsdl__message *soap__header::messagePtr() const
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
104 { return messageRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
105 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
106
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
107 void soap__header::partPtr(wsdl__part *part)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
108 { partRef = part;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
109 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
110
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
111 wsdl__part *soap__header::partPtr() const
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
112 { return partRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
113 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
114
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
115 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
116 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
117 // soap:headerfault
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
118 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
119 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
120
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
121 int soap__headerfault::traverse(wsdl__definitions& definitions)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
122 { if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
123 cerr << " Analyzing soap headerfault in wsdl namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
124 messageRef = NULL;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
125 partRef = NULL;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
126 const char *token = qname_token(message, definitions.targetNamespace);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
127 if (token)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
128 { for (vector<wsdl__message>::iterator message = definitions.message.begin(); message != definitions.message.end(); ++message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
129 { if ((*message).name && !strcmp((*message).name, token))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
130 { messageRef = &(*message);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
131 if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
132 cerr << " Found soap headerfault part '" << (part?part:"") << "' message '" << (token?token:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
133 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
134 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
135 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
136 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
137 else
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
138 { for (vector<wsdl__import>::iterator import = definitions.import.begin(); import != definitions.import.end(); ++import)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
139 { wsdl__definitions *importdefinitions = (*import).definitionsPtr();
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
140 if (importdefinitions)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
141 { token = qname_token(message, importdefinitions->targetNamespace);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
142 if (token)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
143 { for (vector<wsdl__message>::iterator message = importdefinitions->message.begin(); message != importdefinitions->message.end(); ++message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
144 { if ((*message).name && !strcmp((*message).name, token))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
145 { messageRef = &(*message);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
146 if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
147 cerr << " Found soap headerfault part '" << (part?part:"") << "' message '" << (token?token:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
148 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
149 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
150 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
151 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
152 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
153 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
154 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
155 if (messageRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
156 { if (part)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
157 { for (vector<wsdl__part>::iterator pt = messageRef->part.begin(); pt != messageRef->part.end(); ++pt)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
158 if ((*pt).name && !strcmp((*pt).name, part))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
159 { partRef = &(*pt);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
160 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
161 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
162 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
163 if (!partRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
164 cerr << "Warning: soap headerfault has no matching part in message '" << (message?message:"") << "' in wsdl definitions '" << definitions.name << "' namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
165 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
166 else
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
167 cerr << "Warning: could not find soap headerfault part '" << (part?part:"") << "' message '" << (message?message:"") << "' in wSDL definitions '" << definitions.name << "' namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
168 return SOAP_OK;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
169 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
170
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
171 void soap__headerfault::messagePtr(wsdl__message *message)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
172 { messageRef = message;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
173 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
174
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
175 wsdl__message *soap__headerfault::messagePtr() const
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
176 { return messageRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
177 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
178
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
179 void soap__headerfault::partPtr(wsdl__part *part)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
180 { partRef = part;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
181 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
182
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
183 wsdl__part *soap__headerfault::partPtr() const
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
184 { return partRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
185 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
186
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
187 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
188 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
189 // wsoap:header
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
190 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
191 ////////////////////////////////////////////////////////////////////////////////
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
192
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
193 int wsoap__header::traverse(wsdl__definitions& definitions)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
194 { if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
195 cerr << " Analyzing soap header in wsdl namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
196 elementRef = NULL;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
197 // WSDL 2.0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
198 if (element)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
199 { if (definitions.types)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
200 { for (vector<xs__schema*>::iterator schema = definitions.types->xs__schema_.begin(); schema != definitions.types->xs__schema_.end(); ++schema)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
201 { const char *token = qname_token(element, (*schema)->targetNamespace);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
202 if (token)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
203 { for (vector<xs__element>::iterator element = (*schema)->element.begin(); element != (*schema)->element.end(); ++element)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
204 { if ((*element).name && !strcmp((*element).name, token))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
205 { elementRef = &(*element);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
206 if (vflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
207 cerr << " Found soap header element '" << (token?token:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
208 break;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
209 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
210 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
211 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
212 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
213 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
214 if (!elementRef)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
215 { if (is_builtin_qname(element))
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
216 definitions.builtinElement(element);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
217 else
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
218 if (!Wflag)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
219 cerr << "Warning: no soap header element '" << element << "' in wsdl definitions '" << (definitions.name?definitions.name:"") << "' namespace '" << (definitions.targetNamespace?definitions.targetNamespace:"") << "'" << endl;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
220 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
221 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
222 return SOAP_OK;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
223 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
224
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
225 void wsoap__header::elementPtr(xs__element *element)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
226 { elementRef = element;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
227 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
228
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
229 xs__element *wsoap__header::elementPtr() const
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
230 { return elementRef;
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
231 }