comparison GEMBASSY-1.0.3/gsoap/wsdl/gwsdl.h @ 2:8947fca5f715 draft default tip

Uploaded
author ktnyt
date Fri, 26 Jun 2015 05:21:44 -0400
parents 84a17b3fad1f
children
comparison
equal deleted inserted replaced
1:84a17b3fad1f 2:8947fca5f715
1 /*
2 gwsdl.h
3
4 OGSI GWSDL binding schema interface
5
6 --------------------------------------------------------------------------------
7 gSOAP XML Web services tools
8 Copyright (C) 2001-2008, Robert van Engelen, Genivia, Inc. All Rights Reserved.
9 This software is released under one of the following licenses:
10 GPL or Genivia's license for commercial use.
11 --------------------------------------------------------------------------------
12 GPL license.
13
14 This program is free software; you can redistribute it and/or modify it under
15 the terms of the GNU General Public License as published by the Free Software
16 Foundation; either version 2 of the License, or (at your option) any later
17 version.
18
19 This program is distributed in the hope that it will be useful, but WITHOUT ANY
20 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
21 PARTICULAR PURPOSE. See the GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License along with
24 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
25 Place, Suite 330, Boston, MA 02111-1307 USA
26
27 Author contact information:
28 engelen@genivia.com / engelen@acm.org
29 --------------------------------------------------------------------------------
30 A commercial use license is available from Genivia, Inc., contact@genivia.com
31 --------------------------------------------------------------------------------
32
33 */
34
35 //gsoap gwsdl schema documentation: OGSI GWSDL binding schema
36 //gsoap gwsdl schema namespace: http://www.gridforum.org/namespaces/2003/03/gridWSDLExtensions
37 //gsoap sd schema namespace: http://www.gridforum.org/namespaces/2003/03/serviceData
38
39 #import "schema.h"
40
41 class wsdl__operation;
42
43 enum sd__mutability { static_, constant, extendable, mutable_ };
44
45 class sd__serviceData
46 { public:
47 @xsd__NMTOKEN name;
48 @xsd__QName type;
49 @xsd__boolean nillable = false;
50 @xsd__string minOccurs; // xsd:nonNegativeInteger
51 @xsd__string maxOccurs; // xsd:nonNegativeInteger|unbounded
52 @enum sd__mutability mutability = extendable;
53 @xsd__boolean modifiable = false;
54 /* has any content */
55 public:
56 };
57
58 class sd__staticServiceDataValues
59 { public:
60 int __type; /* any content, probably should use DOM */
61 void* _any;
62 };
63
64 class gwsdl__portType
65 { public:
66 @xsd__NMTOKEN name;
67 @xsd__QName extends; // a list of QNames
68 xsd__string documentation; // <wsdl:documentation>?
69 std::vector<wsdl__operation*> operation; // <wsdl:operation>*
70 std::vector<sd__serviceData> sd__serviceData_;
71 sd__staticServiceDataValues *sd__staticServiceDataValues_;
72 public:
73 };