0
|
1 /*
|
|
2 mime.h
|
|
3
|
|
4 mime and xmime binding schema
|
|
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 mime schema documentation: WSDL/MIME binding schema
|
|
36 //gsoap mime schema namespace: http://schemas.xmlsoap.org/wsdl/mime/
|
|
37
|
|
38 //gsoap xmime schema documentation: xmime binding schema
|
|
39 //gsoap xmime schema namespace: http://www.w3.org/2005/05/xmlmime
|
|
40
|
|
41 #import "imports.h"
|
|
42 #import "soap.h"
|
|
43
|
|
44 class mime__content
|
|
45 { public:
|
|
46 @xsd__NMTOKEN part;
|
|
47 @xsd__string type;
|
|
48 };
|
|
49
|
|
50 class mime__part
|
|
51 { public:
|
|
52 soap__body *soap__body_;
|
|
53 std::vector<soap__header> soap__header_;
|
|
54 std::vector<mime__content> content;
|
|
55 public:
|
|
56 int traverse(wsdl__definitions&);
|
|
57 };
|
|
58
|
|
59 class mime__multipartRelated
|
|
60 { public:
|
|
61 std::vector<mime__part> part;
|
|
62 public:
|
|
63 int traverse(wsdl__definitions&);
|
|
64 };
|
|
65
|
|
66 class mime__mimeXml
|
|
67 { public:
|
|
68 @xsd__NMTOKEN part;
|
|
69 };
|