annotate GEMBASSY-1.0.3/gsoap/typemap.dat @ 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 # typemap.dat
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3 # Use this file to define namespace prefix and type bindings for
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 # the generated header files by the 'wsdl2h' tool. typemap.dat is the
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5 # default file processed by 'wsdl2h' to customize its output. You can use
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 # wsdl2h option -t to specify an alternate file.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 # XML namespace prefix bindings can be provided to override the default
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 # choice of the ns1, ns2, ... prefixes generated by wsdl2h. It is highly
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10 # recommended to provide namespace prefixes for your project's XML
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 # namespaces. In this way, changes to the WSDL (or newer releases of
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12 # wsdl2h) will have a minimal impact on coding.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13 # Bindings for namespace prefixes are of the form:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 # prefix = "URI"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16 # Type bindings can be provided to bind XML schema types to C/C++
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 # types for your project.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18 # Type bindings are of the form:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 # prefix__type = declaration | use | ptr-use
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 # where 'prefix__type' is the C/C++-translation of the schema type,
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21 # 'declaration' introduces the type in the header file, the optional
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22 # 'use' specifies how the type is used directly, and the optional
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
23 # 'ptr-use' specifies how the type is used as a pointer type.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
24 # For example:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
25 # xsd__string = | char* | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
26 # or using wide strings:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
27 # xsd__string = | wchar_t* | wchar_t*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
28 # or using C++ strings, which need a pointer (added by default):
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
29 # xsd__string = | std::string
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
30 # or using C++ wstrings:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
31 # xsd__string = | std::wstring
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
32 # After enabling this line, all XSD strings will be mapped to char* or
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
33 # std::wstring, respectively to support Unicode. Note that the
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
34 # 'declaration' part is empty in this case.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
35 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
36 # When a type binding requires only the usage to be changed, the
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
37 # declaration part can be replaced by elipsis ..., as in:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
38 # prefix__type = ... | use | ptr-use
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
39 # This ensure that the wsdl2h-generated type definition is preserved,
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
40 # while the use and ptr-use are remapped.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
41 # For example, this is useful to map schema polymorphic types to C types,
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
42 # where we need to be able to both handle a base type and its extensions
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
43 # as per schema extensibility. Say base type ns:base allows derived
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
44 # extensions and we need to map this to C types as follows:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
45 # ns__base = ... | int __type_base; void*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
46 # where __type_base and void* are used to (de)serialize any data type,
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
47 # including base and its derived types.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
48 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
49 # Additional data and function members can be provided to extend a
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
50 # generated struct or class.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
51 # Class and struct extensions are of the form:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
52 # prefix__type = $ member-declaration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
53 # For example, to add a constructor and destructor to class myns__record:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
54 # myns__record = $ myns__record();
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
55 # myns__record = $ ~myns__record();
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
56 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
57 # Type remappings can be given to map a type to another type:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
58 # prefix__type1 == prefix__type2
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
59 # which replaces 'prefix__type1' by 'prefix__type2' in the wsdl2h output.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
60 # For example:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
61 # SOAP_ENC__boolean == xsd__boolean
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
62 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
63 # Any other material to be included in the generated header file can be
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
64 # provided by enclosing the text within brackets [ and ]. Brackets MUST
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
65 # appear at the start of a new line.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
66 # For example, to include a note:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
67 #[
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
68 #// TODO: Don't forget to bind the namespace prefixes!
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
69 #]
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
70 # This comment appears as the first line in the generated header file.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
71 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
72 #-------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
73 #gSOAP XML Web services tools
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
74 #Copyright (C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
75 #This software is released under one of the following two licenses:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
76 #GPL or Genivia's license for commercial use.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
77 #-------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
78 #GPL license.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
79 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
80 #This program is free software; you can redistribute it and/or modify it under
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
81 #the terms of the GNU General Public License as published by the Free Software
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
82 #Foundation; either version 2 of the License, or (at your option) any later
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
83 #version.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
84 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
85 #This program is distributed in the hope that it will be useful, but WITHOUT ANY
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
86 #WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
87 #PARTICULAR PURPOSE. See the GNU General Public License for more details.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
88 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
89 #You should have received a copy of the GNU General Public License along with
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
90 #this program; if not, write to the Free Software Foundation, Inc., 59 Temple
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
91 #Place, Suite 330, Boston, MA 02111-1307 USA
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
92 #
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
93 #Author contact information:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
94 #engelen@genivia.com / engelen@acm.org
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
95 #-------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
96 #A commercial use license is available from Genivia, Inc., contact@genivia.com
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
97 #-------------------------------------------------------------------------------
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
98
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
99 [
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
100 // Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
101 ]
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
102
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
103 # Remember: type bindings are given on a single line (use \ to continue
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
104 # with the next line). Here is an example binding for the XSD int type
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
105 # that maps to an 'int':
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
106 # xsd__int = | int
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
107
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
108 # To use regular char* strings instead of std::string, use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
109 # xsd__string = | char* | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
110
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
111 # For char* serialized with xsi:type when using soapcpp2 option -t, use:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
112 # xsd__string = typedef char *xsd__string; | xsd__string | xsd__string
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
113
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
114 # More examples:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
115 # xsd__boolean = enum xsd__boolean { false_, true_ }; | enum xsd__boolean
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
116
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
117 # Uncomment the line below to use struct tm instead of time_t xsd:dateTime
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
118 # Must compile and link custom/struct_tm.c with the project
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
119 # xsd__dateTime = #import "custom/struct_tm.h" | xsd__dateTime
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
120
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
121 # Uncomment the line below to use timeval with usec precision xsd:dateTime
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
122 # Must compile and link custom/struct_timeval.c with the project
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
123 # xsd__dateTime = #import "custom/struct_timeval.h" | xsd__dateTime
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
124
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
125 # When compiling WITH_LEAN there is no hexBinary serializer. You can
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
126 # remap the hexBinary type to a string as follows:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
127 # xsd__hexBinary = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
128
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
129 # Uncomment the line below to use LONG64 int for xsd:duration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
130 # (with high ms precision)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
131 # Must compile and link custom/duration.c with the project
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
132 xsd__duration = #import "custom/duration.h" | xsd__duration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
133
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
134 # SOAP-ENV mapping (note: SOAP Body content is mapped to an XML string)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
135
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
136 SOAP_ENV__Envelope = struct SOAP_ENV__Envelope { struct SOAP_ENV__Header *SOAP_ENV__Header; _XML SOAP_ENV__Body; }; | struct SOAP_ENV__Envelope
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
137 SOAP_ENV__Header = | struct SOAP_ENV__Header
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
138 SOAP_ENV__Fault = | struct SOAP_ENV__Fault
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
139 SOAP_ENV__Detail = | struct SOAP_ENV__Detail
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
140 SOAP_ENV__Code = | struct SOAP_ENV__Code
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
141 SOAP_ENV__Subcode = | struct SOAP_ENV__Subcode
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
142 SOAP_ENV__Reason = | struct SOAP_ENV__Reason
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
143
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
144 # Temporary URI
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
145
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
146 tempuri = "http://tempuri.org/"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
147
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
148 # Empty URI
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
149
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
150 empty = ""
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
151
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
152 # .NET WCF DataContract Serialization Schema
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
153
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
154 ser = <http://schemas.microsoft.com/2003/10/Serialization/>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
155 arr = "http://schemas.microsoft.com/2003/10/Serialization/Arrays"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
156
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
157 # .NET WCF DataContract Serialization Schema remappings
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
158
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
159 _ser__anyURI == xsd__anyURI
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
160 _ser__boolean == xsd__boolean
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
161 _ser__base64Binary == xsd__base64Binary
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
162 _ser__byte == xsd__byte
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
163 _ser__dateTime == xsd__dateTime
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
164 _ser__decimal == xsd__decimal
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
165 _ser__double == xsd__double
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
166 _ser__float == xsd__float
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
167 _ser__int == xsd__int
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
168 _ser__long == xsd__long
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
169 _ser__QName == xsd__QName
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
170 _ser__short == xsd__short
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
171 _ser__string == xsd__string
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
172 _ser__unsignedByte == xsd__unsignedByte
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
173 _ser__unsignedInt == xsd__unsignedInt
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
174 _ser__unsignedLong == xsd__unsignedLong
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
175 _ser__unsignedShort == xsd__unsignedShort
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
176
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
177 # .NET WCF ser:anyType represents an object (see import/ser.h):
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
178
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
179 _ser__anyType = | struct __ser__anyType | struct __ser__anyType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
180
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
181 # .NET WCF ser:char element and type represents a Unicode character
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
182
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
183 _ser__char = | int
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
184 ser__char = | int
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
185
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
186 # .NET WCF ser:duration element and type maps to xsd:duration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
187
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
188 _ser__duration == xsd__duration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
189 ser__duration == xsd__duration
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
190
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
191 # .NET WCF ser:guid pattern = "[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
192
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
193 _ser__guid = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
194 ser__guid = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
195
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
196 # .NET WCF samples
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
197
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
198 mssamh = "http://Microsoft.Samples.Http"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
199 mssamhi = "http://Microsoft.Samples.Http/Imports"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
200
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
201 mssamt = "http://Microsoft.Samples.TransportSecurity"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
202 mssamti = "http://Microsoft.Samples.TransportSecurity/Imports"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
203
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
204 mssamm = "http://Microsoft.Samples.MessageSecurity"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
205 mssammi = "http://Microsoft.Samples.MessageSecurity/Imports"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
206
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
207 mssadh = "http://Microsoft.Samples.DualHttp"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
208 mssadhi = "http://Microsoft.Samples.DualHttp/Imports"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
209
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
210 # MTOM xop and xmime are imported from xop.h, xmime.h, and xmlmime.h:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
211 # Note: changed xmlmime to xmime to avoid other MTOM tools from
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
212 # complaining that 'xml' is reserved.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
213
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
214 xop = <http://www.w3.org/2004/08/xop/include>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
215 xmime = <http://www.w3.org/2004/06/xmlmime>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
216 xmime4 = <http://www.w3.org/2004/11/xmlmime>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
217 xmime5 = <http://www.w3.org/2005/05/xmlmime>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
218
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
219 # xop:Include is imported from xop.h and redefined as _xop__Include:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
220
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
221 xop__Include = #import "xop.h" | _xop__Include
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
222
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
223 # xmime/xmlmime:contentType attribute is a string:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
224
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
225 _xmime__contentType = | char* | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
226 _xmime4__contentType = | char* | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
227 _xmime5__contentType = | char* | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
228
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
229 # exc-c14n
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
230
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
231 c14n = <http://www.w3.org/2001/10/xml-exc-c14n#>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
232
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
233 # WS-Addressing (2003, 2004, and 2005 schemas)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
234 # See import/wsa.h, import/wsa3.h etc for definitions and code examples
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
235 # The API is defined in plugin/wsaapi.c, plugin/wsaapi3.c, etc.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
236
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
237 wsa = <http://schemas.xmlsoap.org/ws/2004/08/addressing>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
238 wsa3 = <http://schemas.xmlsoap.org/ws/2003/03/addressing>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
239 wsa4 = <http://schemas.xmlsoap.org/ws/2004/03/addressing>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
240 wsa5 = <http://www.w3.org/2005/08/addressing>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
241
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
242 # The types below should not use pointers, so we add a 3rd column:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
243
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
244 _wsa__Action = | | _wsa__Action
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
245 _wsa__MessageID = | | _wsa__MessageID
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
246 _wsa__To = | | _wsa__To
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
247
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
248 _wsa3__Action = | | _wsa3__Action
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
249 _wsa3__MessageID = | | _wsa3__MessageID
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
250 _wsa3__To = | | _wsa3__To
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
251
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
252 _wsa4__Action = | | _wsa4__Action
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
253 _wsa4__MessageID = | | _wsa4__MessageID
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
254 _wsa4__To = | | _wsa4__To
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
255
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
256 _wsa5__Action = | | _wsa5__Action
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
257 _wsa5__MessageID = | | _wsa5__MessageID
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
258 _wsa5__To = | | _wsa5__To
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
259
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
260 # WS-ReliableMessaging 1.1 and 1.0 (and obsolete WS-Reliability 2004)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
261
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
262 wsrm = <http://docs.oasis-open.org/ws-rx/wsrm/200702>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
263 wsrm5 = <http://schemas.xmlsoap.org/ws/2005/02/rm>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
264 wsrm4 = <http://docs.oasis-open.org/wsrm/2004/06/ws-reliability-1.1.xsd>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
265
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
266 # WS-Discovery 1.1 and 1.0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
267
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
268 wsdd = <http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
269 wsdd10 = <http://schemas.xmlsoap.org/ws/2005/04/discovery>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
270
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
271 wsdd10__HelloType = | wsdd__HelloType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
272 wsdd10__ByeType = | wsdd__ByeType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
273 wsdd10__ProbeType = | wsdd__ProbeType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
274 wsdd10__ProbeMatchesType = | wsdd__ProbeMatchesType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
275 wsdd10__ProbeMatchType = | wsdd__ProbeMatchType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
276 wsdd10__ResolveType = | wsdd__ResolveType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
277 wsdd10__ResolveMatchesType = | wsdd__ResolveMatchesType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
278 wsdd10__ResolveMatchType = | wsdd__ResolveMatchType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
279 wsdd10__ScopesType = | wsdd__ScopesType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
280 wsdd10__SecurityType = | wsdd__SecurityType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
281 wsdd10__SigType = | wsdd__SigType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
282 wsdd10__AppSequenceType = | wsdd__AppSequenceType
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
283
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
284 # WS-Policy
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
285
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
286 wsp = <http://schemas.xmlsoap.org/ws/2004/09/policy>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
287
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
288 # WS-SecureConversation
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
289
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
290 wsc = <http://schemas.xmlsoap.org/ws/2005/02/sc>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
291
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
292 # WS-Trust 1.0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
293
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
294 wst = <http://schemas.xmlsoap.org/ws/2005/02/trust>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
295
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
296 # WS-Security wsse 2004 v1.0 and 1.1 and old wsse 2002 schema
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
297
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
298 wsse11 = <http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
299 wsse = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
300 wsse2 = <http://schemas.xmlsoap.org/ws/2002/12/secext>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
301
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
302 _wsse2__Security == _wsse__Security
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
303 wsse2__Security == wsse__Security
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
304
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
305 # wsu 2004
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
306
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
307 wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
308
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
309 _wsu__Id = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
310 _wsu__Created = | time_t
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
311 _wsu__Expires = | time_t
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
312
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
313 wsu__AttributedDateTime = | time_t
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
314 wsu__AttributedURI = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
315
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
316 # Bindings for ds and xenc for WS-Security protocols:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
317
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
318 ds = <http://www.w3.org/2000/09/xmldsig#>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
319 xenc = <http://www.w3.org/2001/04/xmlenc#>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
320
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
321 # xlink
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
322
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
323 xlink = <http://www.w3.org/1999/xlink>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
324
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
325 _xlink__actuate = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
326 _xlink__arcrole = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
327 _xlink__from = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
328 _xlink__href = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
329 _xlink__label = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
330 _xlink__role = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
331 _xlink__show = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
332 _xlink__to = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
333 _xlink__title = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
334 _xlink__type = | char*
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
335
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
336 # wsrp routing protocol (deprecated)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
337
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
338 wsrp = <http://schemas.xmlsoap.org/rp/>
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
339
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
340 # ONVIF recommended prefixes as per 8/20/12
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
341 # http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
342 # http://www.onvif.org/onvif/ver10/event/wsdl/event.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
343 # http://www.onvif.org/onvif/ver10/display.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
344 # http://www.onvif.org/onvif/ver10/deviceio.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
345 # http://www.onvif.org/onvif/ver20/imaging/wsdl/imaging.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
346 # http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
347 # http://www.onvif.org/onvif/ver20/ptz/wsdl/ptz.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
348 # http://www.onvif.org/onvif/ver10/receiver.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
349 # http://www.onvif.org/onvif/ver10/recording.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
350 # http://www.onvif.org/onvif/ver10/search.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
351 # http://www.onvif.org/onvif/ver10/network/wsdl/remotediscovery.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
352 # http://www.onvif.org/onvif/ver10/replay.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
353 # http://www.onvif.org/onvif/ver20/analytics/wsdl/analytics.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
354 # http://www.onvif.org/onvif/ver10/analyticsdevice.wsdl
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
355 # http://www.onvif.org/onvif/ver10/schema/onvif.xsd
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
356
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
357 tds = "http://www.onvif.org/ver10/device/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
358 tev = "http://www.onvif.org/ver10/events/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
359 tls = "http://www.onvif.org/ver10/display/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
360 tmd = "http://www.onvif.org/ver10/deviceIO/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
361 timg = "http://www.onvif.org/ver20/imaging/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
362 trt = "http://www.onvif.org/ver10/media/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
363 tptz = "http://www.onvif.org/ver20/ptz/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
364 trv = "http://www.onvif.org/ver10/receiver/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
365 trc = "http://www.onvif.org/ver10/recording/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
366 tse = "http://www.onvif.org/ver10/search/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
367 trp = "http://www.onvif.org/ver10/replay/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
368 tan = "http://www.onvif.org/ver20/analytics/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
369 tad = "http://www.onvif.org/ver10/analyticsdevice/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
370 tdn = "http://www.onvif.org/ver10/network/wsdl"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
371 tt = "http://www.onvif.org/ver10/schema"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
372
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
373 # OASIS recommended prefixes
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
374
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
375 wsnt = "http://docs.oasis-open.org/wsn/b-2"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
376 wsntw = "http://docs.oasis-open.org/wsn/bw-2"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
377 wsrfbf = "http://docs.oasis-open.org/wsrf/bf-2"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
378 wsrfr = "http://docs.oasis-open.org/wsrf/r-2"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
379 wsrfrw = "http://docs.oasis-open.org/wsrf/rw-2"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
380 wstop = "http://docs.oasis-open.org/wsn/t-1"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
381
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
382 # Prefix bindings for WhiteMesa interoperability testing round 2:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
383
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
384 i = "http://soapinterop.org/"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
385 s = "http://soapinterop.org/xsd"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
386
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
387 # Prefix binding for Amazon Web Services:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
388
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
389 aws = "urn:PI/DevCentral/SoapService"
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
390
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
391 # Prefix binding for Mappoint Web services:
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
392
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
393 mpt = "http://s.mappoint.net/mappoint-30/"