5
Usage: See plugin/wsaapi.c
8
wsdl2h -cgye -o wsa4.h -t WS/WS-typemap.dat WS/WS-Addressing04.xsd
10
Modified by Robert van Engelen:
13
- Added the following directive to import WS-Addressing namespace:
14
//gsoap wsa4 schema import: http://schemas.xmlsoap.org/ws/2004/03/addressing
15
This ensures that the WS-Addressing schemas are not copied into the generated
16
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
17
- Added #define SOAP_WSA_2004
23
/******************************************************************************\
25
* http://schemas.xmlsoap.org/ws/2004/03/addressing *
27
\******************************************************************************/
30
/******************************************************************************\
34
\******************************************************************************/
37
/******************************************************************************\
41
\******************************************************************************/
43
//gsoap wsa4 import namespace: http://schemas.xmlsoap.org/ws/2004/03/addressing
44
//gsoap wsa4 schema elementForm: qualified
45
//gsoap wsa4 schema attributeForm: unqualified
47
/******************************************************************************\
51
\******************************************************************************/
55
/// Typedef synonym for struct wsa4__EndpointReferenceType.
56
typedef struct wsa4__EndpointReferenceType wsa4__EndpointReferenceType;
58
/// Typedef synonym for struct wsa4__ReferencePropertiesType.
59
typedef struct wsa4__ReferencePropertiesType wsa4__ReferencePropertiesType;
61
/// Typedef synonym for struct wsa4__ServiceNameType.
62
typedef struct wsa4__ServiceNameType wsa4__ServiceNameType;
64
/// Typedef synonym for struct wsa4__Relationship.
65
typedef struct wsa4__Relationship wsa4__Relationship;
67
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfterType from typemap WS/WS-typemap.dat.
68
// complexType definition intentionally left blank.
70
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName from typemap WS/WS-typemap.dat.
71
// complexType definition intentionally left blank.
73
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI from typemap WS/WS-typemap.dat.
74
// complexType definition intentionally left blank.
76
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfter.
78
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
79
enum wsa4__RelationshipTypeValues
81
wsa4__Reply, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":Reply"
83
/// Typedef synonym for enum wsa4__RelationshipTypeValues.
84
typedef enum wsa4__RelationshipTypeValues wsa4__RelationshipTypeValues;
86
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultSubcodeValues is a simpleType restriction of xs:QName.
87
enum wsa4__FaultSubcodeValues
89
wsa4__InvalidMessageInformationHeader, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":InvalidMessageInformationHeader"
90
wsa4__MessageInformationHeaderRequired, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageInformationHeaderRequired"
91
wsa4__DestinationUnreachable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":DestinationUnreachable"
92
wsa4__ActionNotSupported, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":ActionNotSupported"
93
wsa4__EndpointUnavailable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointUnavailable"
95
/// Typedef synonym for enum wsa4__FaultSubcodeValues.
96
typedef enum wsa4__FaultSubcodeValues wsa4__FaultSubcodeValues;
98
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType is a complexType.
99
struct wsa4__EndpointReferenceType
101
/// Element Address of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
102
char* /*URI*/ Address 1; ///< Required element.
103
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType.
104
struct wsa4__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
105
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName.
106
_QName* PortType 0; ///< Optional element.
107
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType.
108
struct wsa4__ServiceNameType* ServiceName 0; ///< Optional element.
109
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
110
/// Schema extensibility is user-definable.
111
/// Consult the protocol documentation to change or insert declarations.
112
/// Use wsdl2h option -x to remove this element.
113
/// Use wsdl2h option -d to use xsd__anyType DOM.
114
/// Size of the dynamic array of XML is 0..unbounded
116
_XML *__any ; ///< Catch any element content in XML string.
117
/// TODO: <anyAttribute namespace="##other">
118
/// Schema extensibility is user-definable.
119
/// Consult the protocol documentation to change or insert declarations.
120
/// Use wsdl2h option -x to remove this attribute.
121
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
124
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType is a complexType.
125
struct wsa4__ReferencePropertiesType
127
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
128
/// Schema extensibility is user-definable.
129
/// Consult the protocol documentation to change or insert declarations.
130
/// Use wsdl2h option -x to remove this element.
131
/// Use wsdl2h option -d to use xsd__anyType DOM.
132
/// Size of the dynamic array of XML is 0..unbounded
134
_XML *__any ; ///< Catch any element content in XML string.
137
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType is a complexType with simpleContent.
138
struct wsa4__ServiceNameType
140
/// __item wraps 'xs:QName' simpleContent.
142
/// Attribute PortName of type xs:NCName.
143
@char* /*NCName*/ PortName 0; ///< Optional attribute.
144
/// TODO: <anyAttribute namespace="##other">
145
/// Schema extensibility is user-definable.
146
/// Consult the protocol documentation to change or insert declarations.
147
/// Use wsdl2h option -x to remove this attribute.
148
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
151
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship is a complexType with simpleContent.
152
struct wsa4__Relationship
154
/// __item wraps 'xs:anyURI' simpleContent.
155
char* /*URI*/ __item ;
156
/// Attribute RelationshipType of type xs:QName.
157
@_QName RelationshipType 0; ///< Optional attribute.
158
/// TODO: <anyAttribute namespace="##other">
159
/// Schema extensibility is user-definable.
160
/// Consult the protocol documentation to change or insert declarations.
161
/// Use wsdl2h option -x to remove this attribute.
162
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
165
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
166
typedef struct wsa4__EndpointReferenceType _wsa4__EndpointReference;
168
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
169
typedef char* /*URI*/ _wsa4__MessageID;
171
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship.
172
typedef struct wsa4__Relationship _wsa4__RelatesTo;
174
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":To of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
175
typedef char* /*URI*/ _wsa4__To;
177
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
178
typedef char* /*URI*/ _wsa4__Action;
180
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":From of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
181
typedef struct wsa4__EndpointReferenceType _wsa4__From;
183
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
184
typedef struct wsa4__EndpointReferenceType _wsa4__ReplyTo;
186
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
187
typedef struct wsa4__EndpointReferenceType _wsa4__FaultTo;
189
/// Attribute "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of simpleType xs:anyURI.
190
// '_wsa4__Action' attribute definition intentionally left blank.