6
wsdl2h -cegxy -o wsse.h -t WS/WS-typemap.dat WS/wsse.xsd
9
- Added //gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
13
/******************************************************************************\
15
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd*
17
\******************************************************************************/
20
/******************************************************************************\
24
\******************************************************************************/
26
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
28
/******************************************************************************\
32
\******************************************************************************/
34
//gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
35
//gsoap wsse schema elementForm: qualified
36
//gsoap wsse schema attributeForm: unqualified
38
/******************************************************************************\
42
\******************************************************************************/
46
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":AttributedString from typemap WS/WS-typemap.dat.
47
/// @brief This type represents an element with arbitrary attributes.
48
/// complexType definition intentionally left blank.
50
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString from typemap WS/WS-typemap.dat.
51
/// @brief This type is used for password elements per Section 4.1.
52
/// complexType definition intentionally left blank.
54
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString from typemap WS/WS-typemap.dat.
55
/// @brief This type is used for elements containing stringified binary data.
56
/// complexType definition intentionally left blank.
58
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType from typemap WS/WS-typemap.dat.
59
/// @brief This type represents a username token per Section 4.1
60
/// complexType definition intentionally left blank.
62
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType from typemap WS/WS-typemap.dat.
63
/// @brief A security token that is encoded in binary
64
/// complexType definition intentionally left blank.
66
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType from typemap WS/WS-typemap.dat.
67
/// @brief A security token key identifier
68
/// complexType definition intentionally left blank.
70
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType from typemap WS/WS-typemap.dat.
71
/// @brief This type represents a reference to an external security token.
72
/// complexType definition intentionally left blank.
74
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType from typemap WS/WS-typemap.dat.
75
/// @brief This type represents a reference to an embedded security token.
76
/// complexType definition intentionally left blank.
78
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType from typemap WS/WS-typemap.dat.
79
/// @brief This type is used reference a security token.
80
/// complexType definition intentionally left blank.
82
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType from typemap WS/WS-typemap.dat.
83
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
84
/// complexType definition intentionally left blank.
86
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType from typemap WS/WS-typemap.dat.
87
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
88
/// complexType definition intentionally left blank.
90
/// Imported simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage from typemap WS/WS-typemap.dat.
91
/// @brief Typedef to allow a list of usages (as URIs).
92
/// simpleType definition intentionally left blank.
94
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
95
enum wsse__FaultcodeEnum
97
wsse__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
98
wsse__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
99
wsse__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
100
wsse__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
101
wsse__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
102
wsse__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
103
wsse__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
105
/// Typedef synonym for enum wsse__FaultcodeEnum.
106
typedef enum wsse__FaultcodeEnum wsse__FaultcodeEnum;
108
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UsernameTokenType.
109
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
110
/// Imported element _wsse__UsernameToken from typemap WS/WS-typemap.dat.
111
typedef struct _wsse__UsernameToken
113
struct _wsse__Password* Password;
117
} _wsse__UsernameToken;
119
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityToken of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":BinarySecurityTokenType.
120
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
121
/// Imported element _wsse__BinarySecurityToken from typemap WS/WS-typemap.dat.
122
typedef struct _wsse__BinarySecurityToken
127
} _wsse__BinarySecurityToken;
129
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Reference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":ReferenceType.
130
/// @brief This element defines a security token reference
131
/// Imported element _wsse__Reference from typemap WS/WS-typemap.dat.
132
typedef struct _wsse__Reference
137
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Embedded of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EmbeddedType.
138
/// @brief This element defines a security token embedded reference
139
/// Imported element _wsse__Embedded from typemap WS/WS-typemap.dat.
140
typedef struct _wsse__Embedded
141
{ /* Extensible with embedded tokens and assertions */
146
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifier of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":KeyIdentifierType.
147
/// @brief This element defines a key identifier reference
148
/// Imported element _wsse__KeyIdentifier from typemap WS/WS-typemap.dat.
149
typedef struct _wsse__KeyIdentifier
154
} _wsse__KeyIdentifier;
156
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReference of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenReferenceType.
157
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
158
/// Imported element _wsse__SecurityTokenReference from typemap WS/WS-typemap.dat.
159
typedef struct _wsse__SecurityTokenReference
160
{ struct _wsse__Reference* Reference;
161
struct _wsse__KeyIdentifier* KeyIdentifier;
162
struct _wsse__Embedded* Embedded;
165
} _wsse__SecurityTokenReference;
167
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Security of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityHeaderType.
168
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
169
/// Imported element _wsse__Security from typemap WS/WS-typemap.dat.
171
typedef struct _wsse__Security
172
{ struct _wsu__Timestamp* wsu__Timestamp;
173
struct _wsse__UsernameToken* UsernameToken;
174
struct _wsse__BinarySecurityToken* BinarySecurityToken;
175
struct ds__SignatureType* ds__Signature;
176
@char* SOAP_ENV__actor;
177
@char* SOAP_ENV__role;
180
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParameters of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":TransformationParametersType.
181
/// @brief This element contains properties for transformations from any namespace, including DSIG.
182
/// '_wsse__TransformationParameters' element definition intentionally left blank.
184
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Password of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":PasswordString.
185
/// Imported element _wsse__Password from typemap WS/WS-typemap.dat.
186
typedef struct _wsse__Password
191
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Nonce of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":EncodedString.
192
/// '_wsse__Nonce' element definition intentionally left blank.
194
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":Usage of simpleType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":tUsage.
195
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
196
/// '_wsse__Usage' attribute definition intentionally left blank.