7
--------------------------------------------------------------------------------
8
gSOAP XML Web services tools
9
Copyright (C) 2001-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
10
This software is released under one of the following two licenses:
11
GPL or Genivia's license for commercial use.
12
--------------------------------------------------------------------------------
15
This program is free software; you can redistribute it and/or modify it under
16
the terms of the GNU General Public License as published by the Free Software
17
Foundation; either version 2 of the License, or (at your option) any later
20
This program is distributed in the hope that it will be useful, but WITHOUT ANY
21
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
22
PARTICULAR PURPOSE. See the GNU General Public License for more details.
24
You should have received a copy of the GNU General Public License along with
25
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
26
Place, Suite 330, Boston, MA 02111-1307 USA
28
Author contact information:
29
engelen@genivia.com / engelen@acm.org
30
--------------------------------------------------------------------------------
31
A commercial use license is available from Genivia, Inc., contact@genivia.com
32
--------------------------------------------------------------------------------
47
const char *encodingStyle;
48
wsdl__message *message;
49
const char *body_parts;
51
vector<soap__header> header;
52
mime__multipartRelated *multipartRelated; // MIME
53
mime__content *content; // MIME
54
const char *layout; // DIME
55
const char *documentation;
56
const char *ext_documentation;
57
void generate(Types&, const char *sep, bool anonymous, bool remark, bool response);
60
typedef map<const char*, Message*, ltstr> MapOfStringToMessage;
67
soap__styleChoice style;
68
const char *parameterOrder;
69
const char *soapAction;
70
const char *input_name;
71
const char *output_name;
72
Message *input; // name, use, and parts
73
Message *output; // name, use, and parts
74
vector<Message*> fault;
75
const char *documentation;
76
const char *operation_documentation;
77
void generate(Types&);
82
const char *prefix; // a gSOAP service has a unique namespace
84
const char *name; // binding name
85
const char *type; // portType
86
const char *transport; // binding transport
87
SetOfString location; // WSDL may specify multiple locations via <Port> -> <Binding>
88
vector<Operation*> operation;
89
MapOfStringToMessage header;
90
MapOfStringToMessage headerfault;
91
MapOfStringToMessage fault;
92
MapOfStringToString service_documentation;
93
MapOfStringToString port_documentation;
94
MapOfStringToString binding_documentation;
96
void generate(Types&);
99
typedef map<const char*, Service*, ltstr> MapOfStringToService;
103
Types types; // to process schema type information
104
MapOfStringToService services; // service information gathered
106
void collect(const wsdl__definitions&);
107
void compile(const wsdl__definitions&);
109
void analyze(const wsdl__definitions&);