~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/gsoap-linux-2.7/wsdl/.svn/text-base/typemap.dat.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#       typemap.dat
2
 
#
3
 
#       Use this file to define namespace prefix and type bindings for
4
 
#       the generated header files by the 'wsdl2h' tool.  typemap.dat is the
5
 
#       default file processed by 'wsdl2h' to customize its output. You can use
6
 
#       wsdl2h option -t to specify an alternate file.
7
 
#
8
 
#       XML namespace prefix bindings can be provided to override the default
9
 
#       choice of the ns1, ns2, ... prefixes generated by wsdl2h.  It is highly
10
 
#       recommended to provide namespace prefixes for your project's XML
11
 
#       namespaces. In this way, changes to the WSDL (or newer releases of
12
 
#       wsdl2h) will have a minimal impact on coding.
13
 
#       Bindings for namespace prefixes are of the form:
14
 
#               prefix = "URI"
15
 
#
16
 
#       Type bindings can by provided to bind XML schema types to C/C++ types
17
 
#       for your project.
18
 
#       Type bindings are of the form:
19
 
#               prefix__type = declaration | use | ptr-use
20
 
#       where 'declaration' introduces the type in the header file, 'use'
21
 
#       specifies how the type is used directly, 'ptr-use' specifies how the
22
 
#       type is used as a pointer type.
23
 
#       For example:
24
 
#               xsd__string = | char* | char*
25
 
#       After enabling this line, all XSD strings will be mapped to char*. Note
26
 
#       that the 'declaration' part is empty in this case.
27
 
#
28
 
#       Member data and functions can be provided to extend a generated struct
29
 
#       or class.
30
 
#       Class and struct extensions are of the form:
31
 
#               prefix__type = $ member-declaration
32
 
#       For example, to add a constructor and destructor to class myns__record:
33
 
#               myns__record = $ myns__record();
34
 
#               myns__record = $ ~myns__record();
35
 
#       
36
 
#       Any other material to be included in the generated header file can be
37
 
#       provided by enclosing the text within brackets [ and ]. Brackets MUST
38
 
#       appear at the start of a new line.
39
 
#       For example, to include a note:
40
 
#[
41
 
#// TODO: Don't forget to bind the namespace prefixes!
42
 
#]
43
 
#       This comment appears as the first line in the generated header file.
44
 
#
45
 
#-------------------------------------------------------------------------------
46
 
#gSOAP XML Web services tools
47
 
#Copyright (C) 2004-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
48
 
#This software is released under one of the following two licenses:
49
 
#GPL or Genivia's license for commercial use.
50
 
#-------------------------------------------------------------------------------
51
 
#GPL license.
52
 
#
53
 
#This program is free software; you can redistribute it and/or modify it under
54
 
#the terms of the GNU General Public License as published by the Free Software
55
 
#Foundation; either version 2 of the License, or (at your option) any later
56
 
#version.
57
 
#
58
 
#This program is distributed in the hope that it will be useful, but WITHOUT ANY
59
 
#WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
60
 
#PARTICULAR PURPOSE. See the GNU General Public License for more details.
61
 
#
62
 
#You should have received a copy of the GNU General Public License along with
63
 
#this program; if not, write to the Free Software Foundation, Inc., 59 Temple
64
 
#Place, Suite 330, Boston, MA 02111-1307 USA
65
 
#
66
 
#Author contact information:
67
 
#engelen@genivia.com / engelen@acm.org
68
 
#-------------------------------------------------------------------------------
69
 
#A commercial use license is available from Genivia, Inc., contact@genivia.com
70
 
#-------------------------------------------------------------------------------
71
 
 
72
 
[
73
 
// Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
74
 
]
75
 
 
76
 
#       To use struct tm instead of time_t for xsd:dateTime:
77
 
#
78
 
# xsd__dateTime = #import "custom/struct_tm.h" | xsd__dateTime
79
 
 
80
 
#       To use struct timeval with usec precision xsd:dateTime:
81
 
#
82
 
# xsd__dateTime = #import "custom/struct_timeval.h" | xsd__dateTime
83
 
 
84
 
#       For WhiteMesa interoperability testing round 2:
85
 
 
86
 
i       = "http://soapinterop.org/"
87
 
s       = "http://soapinterop.org/xsd"
88
 
 
89
 
#       Amazon Web Services:
90
 
 
91
 
aws     = "urn:PI/DevCentral/SoapService"
92
 
 
93
 
#       Mappoint Web services:
94
 
 
95
 
mpt     = "http://s.mappoint.net/mappoint-30/"
96
 
 
97
 
#       MTOM xop and xmime are imported from xop.h, xmime.h, and xmlmime.h:
98
 
#       Note: changed xmlmime to xmime to avoid other MTOM tools from
99
 
#       complaining that 'xml' is reserved.
100
 
 
101
 
xop     = <http://www.w3.org/2004/08/xop/include>
102
 
xmime   = <http://www.w3.org/2004/06/xmlmime>
103
 
xmime4  = <http://www.w3.org/2004/11/xmlmime>
104
 
xmime5  = <http://www.w3.org/2005/05/xmlmime>
105
 
 
106
 
#       xop:Include is imported from xop.h and redefined as _xop__Include:
107
 
 
108
 
xop__Include            = #import "xop.h" | _xop__Include
109
 
 
110
 
#       xmime/xmlmime:contentType attribute is a string:
111
 
 
112
 
_xmime__contentType     = | char* | char*
113
 
_xmime4__contentType    = | char* | char*
114
 
_xmime5__contentType    = | char* | char*
115
 
 
116
 
#       WS-Addressing (2003, 2004, and 2005 schemas)
117
 
#       See import/wsa.h, import/wsa3.h etc for definitions and code examples
118
 
#       The API is defined in plugin/wsaapi.c, plugin/wsaapi3.c, etc.
119
 
 
120
 
wsa     = <http://schemas.xmlsoap.org/ws/2004/08/addressing>
121
 
wsa3    = <http://schemas.xmlsoap.org/ws/2003/03/addressing>
122
 
wsa4    = <http://schemas.xmlsoap.org/ws/2004/03/addressing>
123
 
wsa5    = <http://www.w3.org/2005/08/addressing>
124
 
 
125
 
#       WS-Policy
126
 
 
127
 
wsp     = <http://schemas.xmlsoap.org/ws/2004/09/policy>
128
 
 
129
 
#       wsse 2004 and old wsse 2002 schema
130
 
 
131
 
wsse    = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>
132
 
wsse2   = <http://schemas.xmlsoap.org/ws/2002/12/secext>
133
 
 
134
 
#       wsu 2004
135
 
 
136
 
wsu     = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
137
 
 
138
 
_wsu__Id                = | char*
139
 
_wsu__Created           = | time_t
140
 
_wsu__Expires           = | time_t
141
 
 
142
 
wsu__AttributedDateTime = | time_t
143
 
wsu__AttributedURI      = | char*
144
 
 
145
 
#       Bindings for ds and xenc for WS-Security protocols:
146
 
 
147
 
ds      = <http://www.w3.org/2000/09/xmldsig#>
148
 
xenc    = <http://www.w3.org/2001/04/xmlenc#>
149
 
 
150
 
#       xlink
151
 
 
152
 
xlink   = <http://www.w3.org/1999/xlink>
153
 
 
154
 
_xlink__actuate         = | char*
155
 
_xlink__arcrole         = | char*
156
 
_xlink__from            = | char*
157
 
_xlink__href            = | char*
158
 
_xlink__label           = | char*
159
 
_xlink__role            = | char*
160
 
_xlink__show            = | char*
161
 
_xlink__to              = | char*
162
 
_xlink__title           = | char*
163
 
_xlink__type            = | char*
164
 
 
165
 
#       wsrp
166
 
 
167
 
wsrp    = <http://schemas.xmlsoap.org/rp/>
168
 
 
169
 
#       Remember: type bindings are given on a single line.
170
 
#       Example XML schema and C/C++ type bindings:
171
 
 
172
 
xsd__int        = | int
173
 
 
174
 
#       With SOAP encoded arrays, the SOAP-ENC:arrayType attribute is defined
175
 
#       but we really don't need it because we never use it
176
 
 
177
 
SOAP_ENC__arrayType     = | char* | char*
178
 
 
179
 
#       To use regular char* strings instead of std::string, use:
180
 
 
181
 
# xsd__string   = | char* | char*
182
 
 
183
 
#       To use regular char* strings serialized with xsi:type attributes, use:
184
 
 
185
 
# xsd__string   = typedef char *xsd__string; | xsd__string | xsd__string
186
 
 
187
 
#       More examples:
188
 
 
189
 
# xsd__boolean = enum xsd__boolean { false_, true_ }; | enum xsd__boolean
190
 
 
191
 
# xsd__base64Binary = class xsd__base64Binary { unsigned char *__ptr; int __size; }; | xsd__base64Binary | xsd__base64Binary