This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
This directory contains common #import-ed items for the soapcpp2 compiler.
Use the #import directive in the gSOAP header file processed by soapcpp2 to
include the features listed below.
dom.h DOM for xs:anyType, xs:any, xs:anyAttribute (link with dom.c/pp)
stldeque.h std::deque serializer
stllist.h std::list serializer
stlset.h std::set serializer
stlvector.h std::vector serializer
stl.h std::deque, std::list, std::set, and std::vector serializer
soap12.h SOAP 1.2 namespaces
wsa.h WS-Addressing 2004/08 (see plugin/wsaapi.c)
wsa3.h WS-Addressing 2003/03 (see plugin/wsaapi.c)
wsa4.h WS-Addressing 2004/03 (see plugin/wsaapi.c)
wsa5.h WS-Addressing 2005/03 (see plugin/wsaapi.c)
wsse.h WS-Security (see plugin/wsseapi.c)
wsu.h Utility
xmlmime.h XML MIME bindings
xop.h XOP MTOM attachments
This directory further contains files to support a growing number of WS-*
specifications.
For example, wsa.h is generated from WS/WS-Addressing.xsd with:
wsdl2h -cgy -o wsa.h -t WS/WS-typemap.dat WS/WS-Addressing.xsd
The typemap.dat file that is needed by wsdl2h to convert WSDL to a gSOAP header
file defines imported namespaces as follows:
wsa = <http://schemas.xmlsoap.org/ws/2004/08/addressing>
This ensures that the WS-Addressing support is #import-ed from "wsa.h" when
wsdl2h sees WS-Addressing elements. Thus, it does not attempt to extract the
WS-Addressing schema but instead uses the pre-build wsa.h definitions.
Note that the regular XML namespace bindings are defined in typemap.dat using
quotes, for example:
aws = "urn:PI/DevCentral/SoapService"
+25
View File
@@ -0,0 +1,25 @@
/*
c14n.h
*/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap c14n schema import: http://www.w3.org/2001/10/xml-exc-c14n#
//gsoap c14n schema elementForm: qualified
//gsoap c14n schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
typedef struct _c14n__InclusiveNamespaces
{ @char* PrefixList;
} _c14n__InclusiveNamespaces;
+640
View File
@@ -0,0 +1,640 @@
/*
dom.h
gSOAP DOM interface. Use #import "dom.h" in gSOAP header files to add DOM-based
xsd__anyType and xsd__anyAttribute types. Automatic with wsdl2h option -d.
gSOAP XML Web services tools
Copyright (C) 2001-2005, Robert van Engelen, Genivia, Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
/**
@mainpage The gSOAP level-2 DOM parser
The gSOAP level-2 DOM parser features "smart" XML namespace handling and can be
used to mix gSOAP XML serializers with plain XML parsing. The DOM parser is
also an essential component of the wsse plugin to verify digital signatures.
The DOM parser is not a stand-alone application. The DOM parser is integrated
with the SOAP engine to populate a node set and to render a node set in XML.
Two files are needed to work with DOM node sets:
- dom.h to use a DOM node set in a gSOAP header file with service definitions.
- dom.cpp (or dom.c) to be linked with your application code.
@section dom_1 Declaring DOM Node Sets in a gSOAP Header File
To use the DOM node set with the data structures defined in a gSOAP header
file, import the dom.h file into your header file:
@code
#import "dom.h"
@endcode
By importing dom.h two special data types @ref xsd__anyType and @ref
xsd__anyAttribute are available representing a hierarchical DOM node set of
elements and attributes, respectively. The DOM node element and attribute data
structures can be used within structs, classes, STL containers, and as
arguments of service operations. For example:
@code
#import "dom.h"
#import "wsu.h"
class ns__myProduct
{ public:
@char* wsu__Id;
@xsd__anyAttribute atts;
_wsu__Timestamp* wsu__Timestamp;
char* name;
int SKU;
double price;
xsd__anyType* elts;
ns__myProduct();
~ns__myProduct();
};
@endcode
It is important to declare the @ref xsd__anyType at the end of the struct or
class, since the DOM parser consumes any XML element (the field name, 'elts' in
this case, is irrelavant). Thus, the other fields must be defined first to
ensure they are populated first before the DOM node set is populated with any
non-previously matched XML element. Likewise, the @ref xsd__anyAttribute member
should be placed after the other attributes.
Note that we also imported wsu.h as an example to show how to add a wsu:Id
attribute to a struct or class if we want to digitally sign instances, and how
to add a standardized wsu:Timestamp element to record creation and expiration
times.
To compile, run soapcpp2 (with -Iimport) and compile your code by linking
dom.cpp (or dom.c for C). Note that the DOM data structures are declared in
stdsoap2.h, while the DOM operations are defined in dom.cpp (or dom.c for C).
Methods to populate and traverse DOM node sets will be explained later. First,
let's take a look at parsing and generating XML documents.
@section dom_2 Parsing and Generating XML
The following examples assume that the soapcpp2 compiler was used on a header
file (just the dom.h file will do) and the generated soapC.cpp or (soapC.c for
C) code was compiled and linked with dom.cpp (or dom.c for C), stdsoap2.cpp (or
stdsoap2.c) and the example application code. The generated namespace table
should also be used, since the namespace bindings are relevant for consuming
and producing XML for DOM node sets. Therefore, each of the example codes
in this documentation is assumed to start with the following two includes:
@code
#include "soapH.h" // generated by soapcpp2
#include "ns.nsmap" // a namespace table with the XML namespace used
@endcode
The C++ std::iostream operators are overloaded to parse XML octet streams into
node sets and to emit XML from node sets:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
cin >> dom; // parse XML
if (dom.soap->error)
... // parse error
cout << dom; // display XML
if (dom.soap->error)
... // output error
soap_destroy(dom.soap);
soap_end(dom.soap);
soap_done(dom.soap);
free(dom.soap);
@endcode
In the example above we copied an XML document from stdin to stdout.
In C we use the DOM "serializers" to accomplish this as follows:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
dom.soap->recvfd = stdin;
if (soap_begin_recv(dom.soap)
|| NULL != soap_in_xsd__anyType(dom.soap, NULL, &dom, NULL)
|| soap_end_recv(dom.soap))
... // parse error
dom.soap->sendfd = stdout;
if (soap_begin_send(dom.soap)
|| soap_out_xsd__anyType(dom.soap, NULL, 0, &dom, NULL)
|| soap_end_send(dom.soap))
... // output error
soap_end(dom.soap);
soap_done(dom.soap);
free(dom.soap);
@endcode
The SOAP_DOM_NODE flag is used to instruct the parser to populate a DOM node
set with deserialized C and C++ data structures using the data type's
deserializers that were generated with soapcpp2 from a header file with the
data type declarations. Suppose for example that the following header file was
used (in fact, this declaration appears in wsu.h):
@code
typedef struct _wsu__Timestamp
{ @char* wsu__Id;
char* Created;
char* Expires;
} _wsu__Timestamp;
@endcode
Note that the leading underscore of the type name indicates an XML element
definition (rather than a complexType definition), so the name of the data type
is relevant when comparing XML element tags to C/C++ data types by the
deserializers.
When an XML document is parsed with one or more <wsu:Timestamp> elements, the
DOM will be automatically populated with the _wsu__Timestamp objects. Suppose
the XML document root is a <wsu:Timestamp>, then the root node of the DOM is a
_wsu__Timestamp object:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_DOM_NODE);
cin >> dom; // parse XML
if (dom.soap->error)
... // parse error
if (dom.type == SOAP_TYPE__wsu__Timestamp)
{ _wsu__Timestamp *t = (_wsu__Timestamp*)dom.node;
cout << "Start " << (t->Created ? t->Created : "")
<< " till " << (t->Expires ? t->Expires : "") << endl;
}
@endcode
Note that the soapcpp2 compiler generates a unique type identification constant
SOAP_TYPE_X for each data type X, which is used to determine the node's type in
the example above.
When objects occur deeper within the DOM node set then the DOM tree should be
traversed. This subject will be discussed next.
@section dom_3 Traversing a DOM Node Set
The DOM node set is traversed with a C++ iterator or with the C functions @ref
soap_dom_next_element and @ref soap_dom_next_attribute. For example, to walk
the node set visiting nodes in the same order as they appeared in the document,
use:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
...
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
for (soap_dom_attribute::iterator attr = (*iter).atts.begin(); attr != (*iter).atts.end(); ++attr)
...
@endcode
In C code, use:
@code
soap_dom_element dom, *iter;
soap_dom_attribute *attr;
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
...
for (iter = &dom; iter; iter = soap_dom_next_element(iter))
for (attr = iter->atts; attr; attr = soap_dom_next_attribute(attr))
...
@endcode
The @ref soap_dom_element and @ref soap_dom_attribute structs form essentially
linked lists, so it would not be too difficult to write your own tree walkers:
- @ref soap_dom_element::prnt points to the parent soap_dom_element node.
- @ref soap_dom_element::elts points to the linked list of child element nodes.
- @ref soap_dom_element::atts points to the linked list of attribute nodes.
The linked lists of sibling elements nodes and attribute nodes are respectively:
- @ref soap_dom_element::next points to the next sibling element node.
- @ref soap_dom_attribute::next points to the next attribute in the attribute
list of an element node.
Note that for a root node, the @ref soap_dom_element::prnt and @ref
soap_dom_element::next are both NULL.
Tag names of elements and attributes are stored in @ref soap_dom_element::name
and @ref soap_dom_attribute::name strings, respectively. The names are UTF-8
encoded.
XML namespace bindings are explicitly propagated throughout the DOM node set
for those elements and attributes that are namespace qualified (either with a
namespace prefix or when they occur in a xmlns default namespace scope). The
namespaces are stored in the @ref soap_dom_element::nstr and @ref
soap_dom_attribute::nstr strings. The following example shows how to traverse a
DOM node set and print the elements with their namespace URIs when present:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_DOM_TREE | SOAP_C_UTFSTRING);
cin >> dom;
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
{ cout << "Element " << (*iter).name;
if ((*iter).nstr)
cout << " has namespace " << (*iter).nstr;
cout << endl;
}
soap_destroy(dom.soap);
soap_end(dom.soap);
soap_done(dom.soap);
free(dom.soap);
@endcode
Text content of a node is stored in the @ref soap_dom_element::data string in
UTF-8 format. This string is populated if the SOAP_C_UTFSTRING flag was set.
Otherwise the data content will be stored in the @ref soap_dom_element::wide
wide-character string.
The following example prints those element nodes that have text content
(in UTF-8 format):
@code
soap_dom_element dom;
...
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
{ cout << "Element " << (*iter).name;
if ((*iter).data)
cout << " = " << (*iter).data;
cout << endl;
}
...
@endcode
When a DOM node set contains deserialized objects (enabled with the
SOAP_DOM_NODE flag), the @ref soap_dom_element::type and @ref
soap_dom_element::node values are set:
@code
soap_dom_element dom;
...
for (soap_dom_element::iterator iter = dom.begin(); iter != dom.end(); ++iter)
{ cout << "Element " << (*iter).name;
if ((*iter).type)
cout << "Element " << (*iter).name << " contains a deserialized object" << endl;
cout << endl;
}
...
@endcode
The @ref soap_dom_element::type is 0 or a SOAP_TYPE_X constant, where X is the
name of the deserialized type. The @ref soap_dom_element::node points to the
deserialized object. If this is a char* string, it points directly to the
character sequence.
Note: the SOAP_DOM_TREE flag restricts the parser to DOM content only, so
deserializers is not used. When the SOAP_DOM_TREE flag is not used, an
appropriate deserializer MAY be used by gSOAP when an element contains an id
attribute and gSOAP can determine the type from the id attribute reference
and/or the xsi:type attribute of an element.
@section dom_4 Searching
Common operations on DOM node sets in level-2 DOM parsers are searching and
filtering.
For C++ code, the built-in @ref soap_dom_element::iterator can be used to
search for matching element nodes. C programmers are out of luck as they should
write looping code to search for nodes explicitly.
The @ref soap_dom_element::find method returns a search iterator. The method
takes an optional namespace URI and element name to match elements in the DOM
node set. For example, to iterate over all "product" elements:
@code
soap_dom_element dom;
...
for (soap_dom_element::iterator iter = dom.find(NULL, "product"); iter != dom.end(); ++iter)
cout << "Element " << (*iter).name << endl;
...
@endcode
To iterate over all elements in a particular namespace:
@code
soap_dom_element dom;
...
for (soap_dom_element::iterator iter = dom.find("http://www.w3.org/2001/XMLSchema", NULL); iter != dom.end(); ++iter)
cout << "Element " << (*iter).name << endl;
...
@endcode
Since namespaces may have different version, a '*' wildcard can be used with
the namespace string. Likewise, tag names may be namespace qualified with
prefixes that are not relevant to the search:
@code
soap_dom_element dom;
...
for (soap_dom_element::iterator iter = dom.find("http://www.w3.org/*XMLSchema", "*:schema"); iter != dom.end(); ++iter)
cout << "Element " << (*iter).name << endl;
...
@endcode
This searches for qualified elements in one of the XSD namespaces.
@section dom_5 Constructing DOM Node Sets
The @ref soap_dom_element::set and @ref soap_dom_element::add methods are used
to decorate a DOM node set with child element nodes and attribute nodes.
Application data with serializers can be incorporated in the node set as well.
The following examples are shown in C++. C programmers can use the @ref
soap_dom_element:elts list and @ref soap_dom_elements::atts list to add child
nodes and attribute nodes, respectively.
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_XML_INDENT);
const char *myURI = "http://www.mydomain.com/myproducts";
ns__myProduct product();
product.soap_default(dom.soap); // method generated by soapcpp2
product.name = "Ernie";
product.SKU = 123;
product.price = 9.95;
dom.set(myURI, "list");
dom.add(soap_dom_attribute(dom.soap, myURI, "version", "0.9"));
dom.add(soap_dom_element(dom.soap, myURI, "documentation", "List of products"));
dom.add(soap_dom_element(dom.soap, myURI, "product", SOAP_TYPE_ns__myProduct, &product);
cout << dom;
...
@endcode
Assuming that myURI is associated with namespace prefix "ns" in the namespace
table, the rendition is
@code
<?xml version="1.0" encoding="UTF-8"?>
<ns:list
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://domain/schemas/product.xsd"
version="0.9" >
<ns:documentation>List of products</ns:documentation>
<ns:product>
<name>Ernie</name>
<SKU>123</SKU>
<price>9.95</price>
</ns:product>
</ns:list>
@endcode
Note that the namespace table content is "dumped" into the XML rendition.
The global namespace mapping table "namespaces[]" contains the namespace
bindings that should be meaningful to the application. The soap context can be
set to a new table as follows:
@code
Namespace myNamespaces[] = { { "ns", "..." }, ... , { NULL } };
soap_dom_element dom;
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_XML_INDENT);
dom.soap->namespaces = myNamespaces;
@endcode
To produce cleaner XML, use the SOAP_XML_CANONICAL flag to initiate the soap
context:
@code
<ns:list xmlns:ns="http://domain/schemas/product.xsd" version="0.9" >
<ns:documentation>List of products</ns:documentation>
<ns:product>
<name>Ernie</name>
<SKU>123</SKU>
<price>9.95</price>
</ns:product>
</ns:list>
@endcode
Note that the xmlns bindings are rendered automatically. When parsing an XML
document, xmlns bindings are not added to the attribute node set. The @ref
soap_dom_element::nstr and @ref soap_dom_attribute::nstr namespace strings are
set to retain namespace URIs. The XML rendering algorithm uses the namespace
strings to add xmlns bindings that are not already in the namespace table.
When it is desirable to render XML exactly as represented in the DOM node set,
e.g. when xmlns bindings are explicitly included in the attribute node set, use
the SOAP_DOM_ASIS flag:
@code
soap_dom_element dom;
dom.soap = soap_new1(SOAP_C_UTFSTRING | SOAP_DOM_ASIS);
@endcode
@section dom_6 Example
The gSOAP header file below imports DOM and declares xsd:float to enable
serializing floats embedded within DOM node sets and deserializing floats to
populate DOM node sets:
@code
#import "dom.h"
typedef float xsd__float;
@endcode
Consider invoking the XMethods delayed stock quote service to obtain a stock
quote. The float deserializer is used to store the floating-point value of a
stock given that the <Result> element has an xsi:type="xsd:float" attribute.
@code
struct soap *soap = soap_new1(SOAP_C_UTFSTRING | SOAP_DOM_NODE);
soap_dom_element envelope(soap, "http://schemas.xmlsoap.org/soap/envelope/", "Envelope");
soap_dom_element body(soap, "http://schemas.xmlsoap.org/soap/envelope/", "Body");
soap_dom_attribute encodingStyle(soap, "http://schemas.xmlsoap.org/soap/envelope/", "encodingStyle", "http://schemas.xmlsoap.org/soap/encoding/");
soap_dom_element request(soap, "urn:xmethods-delayed-quotes", "getQuote");
soap_dom_element symbol(soap, NULL, "symbol", "IBM");
soap_dom_element response(soap);
envelope.add(body);
body.add(encodingStyle);
body.add(request);
request.add(symbol);
cout << "Request message:" << endl << envelope << endl;
if (soap_connect(soap, "http://services.xmethods.net/soap", "")
|| soap_out_xsd__anyType(soap, NULL, 0, &envelope, NULL)
|| soap_end_send(soap)
|| soap_begin_recv(soap)
|| NULL != soap_in_xsd__anyType(soap, NULL, &response, NULL)
|| soap_end_recv(soap)
|| soap_closesock(soap))
{ soap_print_fault(soap, stderr);
soap_print_fault_location(soap, stderr);
}
else
{ cout << "Response message:" << endl << response << endl;
for (soap_dom_element::iterator walker = response.find(SOAP_TYPE_xsd__float); walker != response.end(); ++walker)
cout << "Quote = " << *(xsd__float*)(*walker).node << endl;
}
soap_destroy(soap);
soap_end(soap);
soap_done(soap);
free(soap);
@endcode
@section dom_7 Summary
The DOM parser needs a soap context to allocate nodes:
@code
soap_dom_element dom;
dom.soap = soap_new1(... flags ...);
...
soap_destroy(dom.soap);
soap_end(dom.soap);
soap_done(dom.soap);
soap_free(dom.soap);
@endcode
The nodes are removed with soap_destroy (for C++) and soap_end. The soap_done
function should only be used before the soap context is deallocated.
The soap context flags that control the parsing and rendition of XML are:
- (no flag): only elements with an id attribute are deserialized as C/C++ data
types (when a deserializer is available). XML elements with character data
are deserialized into the @ref soap_dom_element::wide field.
- SOAP_C_UTFSTRING: store character data in UTF-8 format in @ref
soap_dom_element::data.
- SOAP_C_MBSTRING: store character data in multi-byte format in @ref
soap_dom_element::data, where the decoding depends on the current
localication. The platform must support MB strings (HAVE_MBTOWC).
- SOAP_DOM_TREE: prevents deserialization of C/C++ data structures into the
DOM.
- SOAP_DOM_NODE: attempt to deserialize C/C++ data structures when a
deserializer is available. A deserializer is selected based on the element
name or the xsi:type attribute.
- SOAP_DOM_ASIS: render XML "as is", i.e. do not insert xmlns bindings for URIs
stored in nstr. Assumes the DOM is self-contained.
- SOAP_XML_INDENT: render XML with indent.
- SOAP_XML_CANONICAL: render XML in exc-c14n form.
The DOM traversal operations:
- @ref soap_dom_next_element returns the next element in an in-order traversal.
- @ref soap_dom_next_attribute returns the next attribute of a node.
The @ref soap_dom_element fields:
- @ref soap_dom_element::next pointer to next sibling in list.
- @ref soap_dom_element::prnt pointer to parent node.
- @ref soap_dom_element::elts pointer to list of child element nodes.
- @ref soap_dom_element::atts pointer to list of attribute nodes.
- @ref soap_dom_element::nstr optional namespace string of this node.
- @ref soap_dom_element::name the name of the element node (with optional
prefix).
- @ref soap_dom_element::data optional character data in UTF-8 format.
- @ref soap_dom_element::wide optional character data in wide string format.
- @ref soap_dom_element::type optional SOAP_TYPE_X type of a C/C++ data
structure stored with this node.
- @ref soap_dom_element::node optional pointer to the C/C++ data structure
stored with this node.
- @ref soap_dom_element::head optional leading whitespace to the start tag.
- @ref soap_dom_element::tail optional leading whitespace to the end tag.
- @ref soap_dom_element::soap the soap context that manages this node.
The @ref soap_dom_element types:
- @ref soap_dom_element::iterator
The @ref soap_dom_element methods:
- @ref soap_dom_element::set(nstr, name);
- @ref soap_dom_element::set(data);
- @ref soap_dom_element::set(node, type);
- @ref soap_dom_element::add(soap_dom_element);
- @ref soap_dom_element::add(soap_dom_attribute);
- @ref soap_dom_element::begin();
- @ref soap_dom_element::end();
- @ref soap_dom_element::find(nstr, name);
- @ref soap_dom_element::find(type);
- @ref soap_dom_element::unlink();
The @ref soap_dom_element constructors:
- @ref soap_dom_element();
- @ref soap_dom_element(soap);
- @ref soap_dom_element(soap, nstr, name);
- @ref soap_dom_element(soap, nstr, name, data);
- @ref soap_dom_element(soap, nstr, name, node, type);
The @ref soap_dom_attribute fields:
- @ref soap_dom_attribute::next pointer to next attribute node in list.
- @ref soap_dom_attribute::nstr optional namespace string of this node.
- @ref soap_dom_attribute::name the name of the attribute (with optional
prefix).
- @ref soap_dom_attribute::data optional character data in UTF-8 format.
- @ref soap_dom_attribute::soap the soap context that manages this node.
The @ref soap_dom_attribute types:
- @ref soap_dom_attribute::iterator
The @ref soap_dom_attribute methods:
- @ref soap_dom_attribute::set(nstr, name);
- @ref soap_dom_attribute::set(data);
- @ref soap_dom_attribute::begin();
- @ref soap_dom_attribute::end();
- @ref soap_dom_attribute::find(nstr, name);
- @ref soap_dom_attribute::unlink();
The @ref soap_dom_attribute constructors:
- @ref soap_dom_attribute();
- @ref soap_dom_attribute(soap);
- @ref soap_dom_attribute(soap, nstr, name, data);
*/
/// @brief The custom serializer for DOM element nodes is represented by xsd__anyType.
extern typedef struct soap_dom_element xsd__anyType;
/// @brief The custom serializer for DOM attribute nodes is represented by xsd__anyAttribute.
extern typedef struct soap_dom_attribute xsd__anyAttribute;
+373
View File
@@ -0,0 +1,373 @@
/*
ds.h
Generated with:
wsdl2h -cuxy -o ds.h -t WS/WS-typemap.dat WS/ds.xsd
- Removed //gsoapopt
- Added //gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
*/
/******************************************************************************\
* *
* http://www.w3.org/2000/09/xmldsig# *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
//gsoap ds schema elementForm: qualified
//gsoap ds schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType from typemap WS/WS-typemap.dat.
typedef struct ds__SignatureType
{ struct ds__SignedInfoType* SignedInfo;
char* SignatureValue;
struct ds__KeyInfoType* KeyInfo;
@char* Id;
} ds__SignatureType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Typedef synonym for struct ds__SignedInfoType.
typedef struct ds__SignedInfoType ds__SignedInfoType;
/// Typedef synonym for struct ds__CanonicalizationMethodType.
typedef struct ds__CanonicalizationMethodType ds__CanonicalizationMethodType;
/// Typedef synonym for struct ds__SignatureMethodType.
typedef struct ds__SignatureMethodType ds__SignatureMethodType;
/// Typedef synonym for struct ds__ReferenceType.
typedef struct ds__ReferenceType ds__ReferenceType;
/// Typedef synonym for struct ds__TransformsType.
typedef struct ds__TransformsType ds__TransformsType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":TransformType from typemap WS/WS-typemap.dat.
#import "c14n.h"
typedef struct ds__TransformType
{ _c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
_XML __any;
@char* Algorithm;
} ds__TransformType;
/// Typedef synonym for struct ds__DigestMethodType.
typedef struct ds__DigestMethodType ds__DigestMethodType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType from typemap WS/WS-typemap.dat.
typedef struct ds__KeyInfoType
{ char* KeyName;
struct ds__KeyValueType* KeyValue;
struct ds__RetrievalMethodType* RetrievalMethod;
struct ds__X509DataType* X509Data;
struct _wsse__SecurityTokenReference* wsse__SecurityTokenReference;
@char* Id;
} ds__KeyInfoType;
/// Typedef synonym for struct ds__KeyValueType.
typedef struct ds__KeyValueType ds__KeyValueType;
/// Typedef synonym for struct ds__RetrievalMethodType.
typedef struct ds__RetrievalMethodType ds__RetrievalMethodType;
/// Typedef synonym for struct ds__X509DataType.
typedef struct ds__X509DataType ds__X509DataType;
/// Typedef synonym for struct ds__X509IssuerSerialType.
typedef struct ds__X509IssuerSerialType ds__X509IssuerSerialType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Typedef synonym for struct ds__DSAKeyValueType.
typedef struct ds__DSAKeyValueType ds__DSAKeyValueType;
/// Typedef synonym for struct ds__RSAKeyValueType.
typedef struct ds__RSAKeyValueType ds__RSAKeyValueType;
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":CryptoBinary from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":DigestValueType from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// "http://www.w3.org/2000/09/xmldsig#":SignedInfoType is a complexType.
struct ds__SignedInfoType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod.
struct ds__CanonicalizationMethodType* CanonicalizationMethod 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":SignatureMethod.
struct ds__SignatureMethodType* SignatureMethod 1; ///< Required element.
/// Size of the dynamic array of struct ds__ReferenceType* is 0..unbounded
int __sizeReference ;
/// Pointer to array of struct ds__ReferenceType*.
struct ds__ReferenceType* *Reference 1;
/// Attribute Id of type xs:ID.
@char* /*ID*/ Id 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType is a complexType.
struct ds__CanonicalizationMethodType
{
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
/// Member declared in WS/WS-typemap.dat
_c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
};
/// "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType is a complexType.
struct ds__SignatureMethodType
{
/// Element HMACOutputLength of type "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType.
int* HMACOutputLength 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":ReferenceType is a complexType.
struct ds__ReferenceType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
struct ds__TransformsType* Transforms 0; ///< Optional element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestMethod.
struct ds__DigestMethodType* DigestMethod 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestValue.
char* /*base64*/ DigestValue 1; ///< Required element.
/// Attribute Id of type xs:ID.
@char* /*ID*/ Id 0; ///< Optional attribute.
/// Attribute URI of type xs:anyURI.
@char* /*URI*/ URI 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* /*URI*/ Type 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":TransformsType is a complexType.
struct ds__TransformsType
{
/// Size of the dynamic array of ds__TransformType is 0..unbounded
int __sizeTransform ;
/// Pointer to array of ds__TransformType.
ds__TransformType *Transform 1;
};
/// "http://www.w3.org/2000/09/xmldsig#":DigestMethodType is a complexType.
struct ds__DigestMethodType
{
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":KeyValueType is a complexType.
struct ds__KeyValueType
{
/// CHOICE OF ELEMENTS <choice>
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue.
struct ds__DSAKeyValueType* DSAKeyValue 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue.
struct ds__RSAKeyValueType* RSAKeyValue 1; ///< Required element.
/// TODO: <any namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
// END OF CHOICE
};
/// "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType is a complexType.
struct ds__RetrievalMethodType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
struct ds__TransformsType* Transforms 0; ///< Optional element.
/// Attribute URI of type xs:anyURI.
@char* /*URI*/ URI 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* /*URI*/ Type 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":X509DataType is a complexType.
struct ds__X509DataType
{
/// CHOICE OF ELEMENTS <choice>
/// Element X509IssuerSerial of type "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType.
struct ds__X509IssuerSerialType* X509IssuerSerial 1; ///< Required element.
/// Element X509SKI of type xs:base64Binary.
char* /*base64*/ X509SKI 1; ///< Required element.
/// Element X509SubjectName of type xs:string.
char* X509SubjectName 1; ///< Required element.
/// Element X509Certificate of type xs:base64Binary.
char* /*base64*/ X509Certificate 1; ///< Required element.
/// Element X509CRL of type xs:base64Binary.
char* /*base64*/ X509CRL 1; ///< Required element.
/// TODO: <any namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
// END OF CHOICE
};
/// "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType is a complexType.
struct ds__X509IssuerSerialType
{
/// Element X509IssuerName of type xs:string.
char* X509IssuerName 1; ///< Required element.
/// Element X509SerialNumber of type xs:integer.
int X509SerialNumber 1; ///< Required element.
};
/// "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType is a complexType.
struct ds__DSAKeyValueType
{
/// Element G of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ G 0; ///< Optional element.
/// Element Y of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Y 1; ///< Required element.
/// Element J of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ J 0; ///< Optional element.
/// Element P of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ P 1; ///< Required element.
/// Element Q of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Q 1; ///< Required element.
/// Element Seed of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Seed 1; ///< Required element.
/// Element PgenCounter of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ PgenCounter 1; ///< Required element.
};
/// "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType is a complexType.
struct ds__RSAKeyValueType
{
/// Element Modulus of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Modulus 1; ///< Required element.
/// Element Exponent of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Exponent 1; ///< Required element.
};
/// Element "http://www.w3.org/2000/09/xmldsig#":Signature of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureValue of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignedInfo of complexType "http://www.w3.org/2000/09/xmldsig#":SignedInfoType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod of complexType "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureMethod of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Reference of complexType "http://www.w3.org/2000/09/xmldsig#":ReferenceType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Transforms of complexType "http://www.w3.org/2000/09/xmldsig#":TransformsType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Transform of complexType "http://www.w3.org/2000/09/xmldsig#":TransformType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestMethod of complexType "http://www.w3.org/2000/09/xmldsig#":DigestMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestValue of complexType "http://www.w3.org/2000/09/xmldsig#":DigestValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyInfo of complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyName of complexType xs:string.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":MgmtData of complexType xs:string.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":KeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":RetrievalMethod of complexType "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":X509Data of complexType "http://www.w3.org/2000/09/xmldsig#":X509DataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":PGPData of complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SPKIData of complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Object of complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Manifest of complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperties of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperty of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/* End of ds.h */
+373
View File
@@ -0,0 +1,373 @@
/*
ds.h
Generated with:
wsdl2h -cuxy -o ds.h -t WS/WS-typemap.dat WS/ds.xsd
- Removed //gsoapopt
- Added //gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
*/
/******************************************************************************\
* *
* http://www.w3.org/2000/09/xmldsig# *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap ds schema import: http://www.w3.org/2000/09/xmldsig#
//gsoap ds schema elementForm: qualified
//gsoap ds schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType from typemap WS/WS-typemap.dat.
typedef struct ds__SignatureType
{ struct ds__SignedInfoType* SignedInfo;
char* SignatureValue;
struct ds__KeyInfoType* KeyInfo;
@char* Id;
} ds__SignatureType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Typedef synonym for struct ds__SignedInfoType.
typedef struct ds__SignedInfoType ds__SignedInfoType;
/// Typedef synonym for struct ds__CanonicalizationMethodType.
typedef struct ds__CanonicalizationMethodType ds__CanonicalizationMethodType;
/// Typedef synonym for struct ds__SignatureMethodType.
typedef struct ds__SignatureMethodType ds__SignatureMethodType;
/// Typedef synonym for struct ds__ReferenceType.
typedef struct ds__ReferenceType ds__ReferenceType;
/// Typedef synonym for struct ds__TransformsType.
typedef struct ds__TransformsType ds__TransformsType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":TransformType from typemap WS/WS-typemap.dat.
#import "c14n.h"
typedef struct ds__TransformType
{ _c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
_XML __any;
@char* Algorithm;
} ds__TransformType;
/// Typedef synonym for struct ds__DigestMethodType.
typedef struct ds__DigestMethodType ds__DigestMethodType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType from typemap WS/WS-typemap.dat.
typedef struct ds__KeyInfoType
{ char* KeyName;
struct ds__KeyValueType* KeyValue;
struct ds__RetrievalMethodType* RetrievalMethod;
struct ds__X509DataType* X509Data;
struct _wsse2__SecurityTokenReference* wsse2__SecurityTokenReference;
@char* Id;
} ds__KeyInfoType;
/// Typedef synonym for struct ds__KeyValueType.
typedef struct ds__KeyValueType ds__KeyValueType;
/// Typedef synonym for struct ds__RetrievalMethodType.
typedef struct ds__RetrievalMethodType ds__RetrievalMethodType;
/// Typedef synonym for struct ds__X509DataType.
typedef struct ds__X509DataType ds__X509DataType;
/// Typedef synonym for struct ds__X509IssuerSerialType.
typedef struct ds__X509IssuerSerialType ds__X509IssuerSerialType;
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType from typemap WS/WS-typemap.dat.
/// complexType definition intentionally left blank.
/// Typedef synonym for struct ds__DSAKeyValueType.
typedef struct ds__DSAKeyValueType ds__DSAKeyValueType;
/// Typedef synonym for struct ds__RSAKeyValueType.
typedef struct ds__RSAKeyValueType ds__RSAKeyValueType;
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":CryptoBinary from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":DigestValueType from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// Imported simpleType "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType from typemap WS/WS-typemap.dat.
/// simpleType definition intentionally left blank.
/// "http://www.w3.org/2000/09/xmldsig#":SignedInfoType is a complexType.
struct ds__SignedInfoType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod.
struct ds__CanonicalizationMethodType* CanonicalizationMethod 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":SignatureMethod.
struct ds__SignatureMethodType* SignatureMethod 1; ///< Required element.
/// Size of the dynamic array of struct ds__ReferenceType* is 0..unbounded
int __sizeReference ;
/// Pointer to array of struct ds__ReferenceType*.
struct ds__ReferenceType* *Reference 1;
/// Attribute Id of type xs:ID.
@char* /*ID*/ Id 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType is a complexType.
struct ds__CanonicalizationMethodType
{
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
/// Member declared in WS/WS-typemap.dat
_c14n__InclusiveNamespaces* c14n__InclusiveNamespaces;
};
/// "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType is a complexType.
struct ds__SignatureMethodType
{
/// Element HMACOutputLength of type "http://www.w3.org/2000/09/xmldsig#":HMACOutputLengthType.
int* HMACOutputLength 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":ReferenceType is a complexType.
struct ds__ReferenceType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
struct ds__TransformsType* Transforms 0; ///< Optional element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestMethod.
struct ds__DigestMethodType* DigestMethod 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DigestValue.
char* /*base64*/ DigestValue 1; ///< Required element.
/// Attribute Id of type xs:ID.
@char* /*ID*/ Id 0; ///< Optional attribute.
/// Attribute URI of type xs:anyURI.
@char* /*URI*/ URI 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* /*URI*/ Type 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":TransformsType is a complexType.
struct ds__TransformsType
{
/// Size of the dynamic array of ds__TransformType is 0..unbounded
int __sizeTransform ;
/// Pointer to array of ds__TransformType.
ds__TransformType *Transform 1;
};
/// "http://www.w3.org/2000/09/xmldsig#":DigestMethodType is a complexType.
struct ds__DigestMethodType
{
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Attribute Algorithm of type xs:anyURI.
@char* /*URI*/ Algorithm 1; ///< Required attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":KeyValueType is a complexType.
struct ds__KeyValueType
{
/// CHOICE OF ELEMENTS <choice>
/// Element reference "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue.
struct ds__DSAKeyValueType* DSAKeyValue 1; ///< Required element.
/// Element reference "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue.
struct ds__RSAKeyValueType* RSAKeyValue 1; ///< Required element.
/// TODO: <any namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
// END OF CHOICE
};
/// "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType is a complexType.
struct ds__RetrievalMethodType
{
/// Element reference "http://www.w3.org/2000/09/xmldsig#":Transforms.
struct ds__TransformsType* Transforms 0; ///< Optional element.
/// Attribute URI of type xs:anyURI.
@char* /*URI*/ URI 0; ///< Optional attribute.
/// Attribute Type of type xs:anyURI.
@char* /*URI*/ Type 0; ///< Optional attribute.
};
/// "http://www.w3.org/2000/09/xmldsig#":X509DataType is a complexType.
struct ds__X509DataType
{
/// CHOICE OF ELEMENTS <choice>
/// Element X509IssuerSerial of type "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType.
struct ds__X509IssuerSerialType* X509IssuerSerial 1; ///< Required element.
/// Element X509SKI of type xs:base64Binary.
char* /*base64*/ X509SKI 1; ///< Required element.
/// Element X509SubjectName of type xs:string.
char* X509SubjectName 1; ///< Required element.
/// Element X509Certificate of type xs:base64Binary.
char* /*base64*/ X509Certificate 1; ///< Required element.
/// Element X509CRL of type xs:base64Binary.
char* /*base64*/ X509CRL 1; ///< Required element.
/// TODO: <any namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
// END OF CHOICE
};
/// "http://www.w3.org/2000/09/xmldsig#":X509IssuerSerialType is a complexType.
struct ds__X509IssuerSerialType
{
/// Element X509IssuerName of type xs:string.
char* X509IssuerName 1; ///< Required element.
/// Element X509SerialNumber of type xs:integer.
int X509SerialNumber 1; ///< Required element.
};
/// "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType is a complexType.
struct ds__DSAKeyValueType
{
/// Element G of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ G 0; ///< Optional element.
/// Element Y of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Y 1; ///< Required element.
/// Element J of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ J 0; ///< Optional element.
/// Element P of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ P 1; ///< Required element.
/// Element Q of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Q 1; ///< Required element.
/// Element Seed of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Seed 1; ///< Required element.
/// Element PgenCounter of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ PgenCounter 1; ///< Required element.
};
/// "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType is a complexType.
struct ds__RSAKeyValueType
{
/// Element Modulus of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Modulus 1; ///< Required element.
/// Element Exponent of type "http://www.w3.org/2000/09/xmldsig#":CryptoBinary.
char* /*base64*/ Exponent 1; ///< Required element.
};
/// Element "http://www.w3.org/2000/09/xmldsig#":Signature of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureValue of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignedInfo of complexType "http://www.w3.org/2000/09/xmldsig#":SignedInfoType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethod of complexType "http://www.w3.org/2000/09/xmldsig#":CanonicalizationMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureMethod of complexType "http://www.w3.org/2000/09/xmldsig#":SignatureMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Reference of complexType "http://www.w3.org/2000/09/xmldsig#":ReferenceType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Transforms of complexType "http://www.w3.org/2000/09/xmldsig#":TransformsType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Transform of complexType "http://www.w3.org/2000/09/xmldsig#":TransformType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestMethod of complexType "http://www.w3.org/2000/09/xmldsig#":DigestMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DigestValue of complexType "http://www.w3.org/2000/09/xmldsig#":DigestValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyInfo of complexType "http://www.w3.org/2000/09/xmldsig#":KeyInfoType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyName of complexType xs:string.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":MgmtData of complexType xs:string.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":KeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":KeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":RetrievalMethod of complexType "http://www.w3.org/2000/09/xmldsig#":RetrievalMethodType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":X509Data of complexType "http://www.w3.org/2000/09/xmldsig#":X509DataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":PGPData of complexType "http://www.w3.org/2000/09/xmldsig#":PGPDataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SPKIData of complexType "http://www.w3.org/2000/09/xmldsig#":SPKIDataType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Object of complexType "http://www.w3.org/2000/09/xmldsig#":ObjectType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":Manifest of complexType "http://www.w3.org/2000/09/xmldsig#":ManifestType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperties of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertiesType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":SignatureProperty of complexType "http://www.w3.org/2000/09/xmldsig#":SignaturePropertyType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":DSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":DSAKeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/// Element "http://www.w3.org/2000/09/xmldsig#":RSAKeyValue of complexType "http://www.w3.org/2000/09/xmldsig#":RSAKeyValueType.
/// Note: use wsdl2h option -g to generate this global element declaration.
/* End of ds.h */
+51
View File
@@ -0,0 +1,51 @@
/*
soap12.h
Use #import "soap12.h" in a gSOAP header file to enable SOAP 1.2 bindings.
Alternatively, use soapcpp2 option -2
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap SOAP-ENV schema namespace: http://www.w3.org/2003/05/soap-envelope
//gsoap SOAP-ENC schema namespace: http://www.w3.org/2003/05/soap-encoding
+56
View File
@@ -0,0 +1,56 @@
/*
stl.h
Use #import "stl.h" in a gSOAP header file to enable STL vectors, deques, lists,
and sets.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#import "stldeque.h"
#import "stllist.h"
#import "stlvector.h"
#import "stlset.h"
+53
View File
@@ -0,0 +1,53 @@
/*
stldeque.h
Use #import "stldeque.h" in a gSOAP header file to enable STL deques.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include <deque>
template <class T> class std::deque;
+53
View File
@@ -0,0 +1,53 @@
/*
stllist.h
Use #import "stllist.h" in a gSOAP header file to enable STL lists.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include <list>
template <class T> class std::list;
+53
View File
@@ -0,0 +1,53 @@
/*
stlset.h
Use #import "stlset.h" in a gSOAP header file to enable STL sets.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include <set>
template <class T> class std::set;
+53
View File
@@ -0,0 +1,53 @@
/*
stlvector.h
Use #import "stlvector.h" in a gSOAP header file to enable STL vectors.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include <vector>
template <class T> class std::vector;
+255
View File
@@ -0,0 +1,255 @@
/*
wsa.h
Usage: See plugin/wsaapi.c
Generated with:
wsdl2h -cgye -o wsa.h -t WS/WS-typemap.dat WS/WS-Addressing.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Added the following directive to import WS-Addressing namespace:
//gsoap wsa schema import: http://schemas.xmlsoap.org/ws/2004/08/addressing
This ensures that the WS-Addressing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
Usage:
// header file for soapcpp2
#import "wsa.h"
struct SOAP_ENV__Header
{
_wsa__MessageID wsa__MessageID 0;
_wsa__RelatesTo *wsa__RelatesTo 0;
_wsa__From *wsa__From 0;
mustUnderstand _wsa__ReplyTo *wsa__ReplyTo 0;
mustUnderstand _wsa__FaultTo *wsa__FaultTo 0;
mustUnderstand _wsa__To wsa__To 0;
mustUnderstand _wsa__Action wsa__Action 0;
};
// client-side source code
{ struct soap soap;
struct SOAP_ENV__Header header;
_wsa__ReplyTo replyTo;
soap_init(&soap);
soap_default_SOAP_ENV__Header(&soap, &header);
soap.header = &header;
soap_default_wsa__EndpointReferenceType(&soap, &replyTo);
replyTo.Address = "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anony
mous";
header.wsa__MessageID = "...";
header.wsa__To = "...";
header.wsa__Action = "...";
header.wsa__ReplyTo = &replyTo;
if (soap_call_ns__method(&soap, ...) != SOAP_OK)
// server-side source code
int soap_ns__method(struct soap *soap, ...)
{ if (!soap->header)
return soap_sender_fault(soap, "No SOAP header, must send one", NULL);
if (!soap->header->wsa__MessageID)
return soap_sender_fault(soap, "No WS-Addressing MessageID", NULL);
soap->header->wsa__RelatesTo = (struct wsa__Relationship*)soap_malloc(soap, sizeof(struct wsa__Relationship));
soap_default_wsa__Relationship(soap, soap->header->wsa__RelatesTo);
soap->header->wsa__RelatesTo->__item = soap->header->wsa__MessageID;
if (!soap->header->wsa__ReplyTo || !soap->header->wsa__ReplyTo->Address)
return soap_sender_fault(soap, "No WS-Addressing ReplyTo address", NULL);
soap->header->wsa__To = soap->header->wsa__ReplyTo->Address;
soap->header->wsa__MessageID = "...";
soap->header->wsa__Action = "...";
...
*/
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/ws/2004/08/addressing *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsa schema import: http://schemas.xmlsoap.org/ws/2004/08/addressing
//gsoap wsa schema elementForm: qualified
//gsoap wsa schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Typedef synonym for struct wsa__EndpointReferenceType.
typedef struct wsa__EndpointReferenceType wsa__EndpointReferenceType;
/// Typedef synonym for struct wsa__ReferencePropertiesType.
typedef struct wsa__ReferencePropertiesType wsa__ReferencePropertiesType;
/// Typedef synonym for struct wsa__ReferenceParametersType.
typedef struct wsa__ReferenceParametersType wsa__ReferenceParametersType;
/// Typedef synonym for struct wsa__ServiceNameType.
typedef struct wsa__ServiceNameType wsa__ServiceNameType;
/// Typedef synonym for struct wsa__Relationship.
typedef struct wsa__Relationship wsa__Relationship;
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfterType from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedQName from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
enum wsa__RelationshipTypeValues
{
wsa__Reply, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":Reply"
};
/// Typedef synonym for enum wsa__RelationshipTypeValues.
typedef enum wsa__RelationshipTypeValues wsa__RelationshipTypeValues;
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":FaultSubcodeValues is a simpleType restriction of xs:QName.
enum wsa__FaultSubcodeValues
{
wsa__InvalidMessageInformationHeader, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":InvalidMessageInformationHeader"
wsa__MessageInformationHeaderRequired, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":MessageInformationHeaderRequired"
wsa__DestinationUnreachable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":DestinationUnreachable"
wsa__ActionNotSupported, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":ActionNotSupported"
wsa__EndpointUnavailable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointUnavailable"
};
/// Typedef synonym for enum wsa__FaultSubcodeValues.
typedef enum wsa__FaultSubcodeValues wsa__FaultSubcodeValues;
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType is a complexType.
struct wsa__EndpointReferenceType
{
/// Element Address of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
char* Address 1; ///< Required element.
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferencePropertiesType.
struct wsa__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
/// Element ReferenceParameters of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferenceParametersType.
struct wsa__ReferenceParametersType* ReferenceParameters 0; ///< Optional element.
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedQName.
_QName* PortType 0; ///< Optional element.
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ServiceNameType.
struct wsa__ServiceNameType* ServiceName 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferencePropertiesType is a complexType.
struct wsa__ReferencePropertiesType
{
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReferenceParametersType is a complexType.
struct wsa__ReferenceParametersType
{
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":ServiceNameType is a complexType with simpleContent.
struct wsa__ServiceNameType
{
/// __item wraps 'xs:QName' simpleContent.
_QName __item ;
/// Attribute PortName of type xs:NCName.
@char* /*NCName*/ PortName 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/08/addressing":Relationship is a complexType with simpleContent.
struct wsa__Relationship
{
/// __item wraps 'xs:anyURI' simpleContent.
char* /*URI*/ __item ;
/// Attribute RelationshipType of type xs:QName.
@_QName RelationshipType 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
typedef struct wsa__EndpointReferenceType _wsa__EndpointReference;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
typedef char* _wsa__MessageID;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":Relationship.
typedef struct wsa__Relationship _wsa__RelatesTo;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":To of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
typedef char* _wsa__To;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":Action of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":AttributedURI.
typedef char* _wsa__Action;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":From of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
typedef struct wsa__EndpointReferenceType _wsa__From;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
typedef struct wsa__EndpointReferenceType _wsa__ReplyTo;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":EndpointReferenceType.
typedef struct wsa__EndpointReferenceType _wsa__FaultTo;
/// Element "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfter of type "http://schemas.xmlsoap.org/ws/2004/08/addressing":ReplyAfterType.
typedef unsigned int _wsa__ReplyAfter;
/// Attribute "http://schemas.xmlsoap.org/ws/2004/08/addressing":Action of simpleType xs:anyURI.
// '_wsa__Action' attribute definition intentionally left blank.
/* End of wsa.h */
+176
View File
@@ -0,0 +1,176 @@
/*
wsa3.h
Usage: See plugin/wsaapi.c
Generated with:
wsdl2h -cgye -o wsa3.h -t WS/WS-typemap.dat WS/WS-Addressing03.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Added the following directive to import WS-Addressing namespace:
//gsoap wsa4 schema import: http://schemas.xmlsoap.org/ws/2003/03/addressing
This ensures that the WS-Addressing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
- Added #define SOAP_WSA_2003
*/
#define SOAP_WSA_2003
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/ws/2003/03/addressing *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsa3 schema import: http://schemas.xmlsoap.org/ws/2003/03/addressing
//gsoap wsa3 schema elementForm: qualified
//gsoap wsa3 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Typedef synonym for struct wsa3__EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType wsa3__EndpointReferenceType;
/// Typedef synonym for struct wsa3__ReferencePropertiesType.
typedef struct wsa3__ReferencePropertiesType wsa3__ReferencePropertiesType;
/// Typedef synonym for struct wsa3__ServiceNameType.
typedef struct wsa3__ServiceNameType wsa3__ServiceNameType;
/// Typedef synonym for struct wsa3__Relationship.
typedef struct wsa3__Relationship wsa3__Relationship;
/// Imported complexType "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedQName from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
enum wsa3__RelationshipTypeValues
{
wsa3__Response, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2003/03/addressing":Response"
};
/// Typedef synonym for enum wsa3__RelationshipTypeValues.
typedef enum wsa3__RelationshipTypeValues wsa3__RelationshipTypeValues;
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType is a complexType.
struct wsa3__EndpointReferenceType
{
/// Element Address of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
char* /*URI*/ Address 1; ///< Required element.
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReferencePropertiesType.
struct wsa3__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedQName.
_QName* PortType 0; ///< Optional element.
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":ServiceNameType.
struct wsa3__ServiceNameType* ServiceName 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReferencePropertiesType is a complexType.
struct wsa3__ReferencePropertiesType
{
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":ServiceNameType is a complexType with simpleContent.
struct wsa3__ServiceNameType
{
/// __item wraps 'xs:QName' simpleContent.
_QName __item ;
/// Attribute PortName of type xs:NCName.
@char* /*NCName*/ PortName 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2003/03/addressing":Relationship is a complexType with simpleContent.
struct wsa3__Relationship
{
/// __item wraps 'xs:anyURI' simpleContent.
char* /*URI*/ __item ;
/// Attribute RelationshipType of type xs:QName.
@_QName RelationshipType 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType _wsa3__EndpointReference;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa3__MessageID;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":Relationship.
typedef struct wsa3__Relationship _wsa3__RelatesTo;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":To of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa3__To;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":Action of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa3__Action;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":From of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType _wsa3__From;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType _wsa3__ReplyTo;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType _wsa3__FaultTo;
/// Element "http://schemas.xmlsoap.org/ws/2003/03/addressing":Recipient of type "http://schemas.xmlsoap.org/ws/2003/03/addressing":EndpointReferenceType.
typedef struct wsa3__EndpointReferenceType _wsa3__Recipient;
/* End of wsa3.h */
+192
View File
@@ -0,0 +1,192 @@
/*
wsa4.h
Usage: See plugin/wsaapi.c
Generated with:
wsdl2h -cgye -o wsa4.h -t WS/WS-typemap.dat WS/WS-Addressing04.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Added the following directive to import WS-Addressing namespace:
//gsoap wsa4 schema import: http://schemas.xmlsoap.org/ws/2004/03/addressing
This ensures that the WS-Addressing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
- Added #define SOAP_WSA_2004
*/
#define SOAP_WSA_2004
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/ws/2004/03/addressing *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsa4 import namespace: http://schemas.xmlsoap.org/ws/2004/03/addressing
//gsoap wsa4 schema elementForm: qualified
//gsoap wsa4 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Typedef synonym for struct wsa4__EndpointReferenceType.
typedef struct wsa4__EndpointReferenceType wsa4__EndpointReferenceType;
/// Typedef synonym for struct wsa4__ReferencePropertiesType.
typedef struct wsa4__ReferencePropertiesType wsa4__ReferencePropertiesType;
/// Typedef synonym for struct wsa4__ServiceNameType.
typedef struct wsa4__ServiceNameType wsa4__ServiceNameType;
/// Typedef synonym for struct wsa4__Relationship.
typedef struct wsa4__Relationship wsa4__Relationship;
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfterType from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyAfter.
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelationshipTypeValues is a simpleType restriction of xs:QName.
enum wsa4__RelationshipTypeValues
{
wsa4__Reply, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":Reply"
};
/// Typedef synonym for enum wsa4__RelationshipTypeValues.
typedef enum wsa4__RelationshipTypeValues wsa4__RelationshipTypeValues;
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultSubcodeValues is a simpleType restriction of xs:QName.
enum wsa4__FaultSubcodeValues
{
wsa4__InvalidMessageInformationHeader, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":InvalidMessageInformationHeader"
wsa4__MessageInformationHeaderRequired, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageInformationHeaderRequired"
wsa4__DestinationUnreachable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":DestinationUnreachable"
wsa4__ActionNotSupported, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":ActionNotSupported"
wsa4__EndpointUnavailable, ///< xs:QName value=""http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointUnavailable"
};
/// Typedef synonym for enum wsa4__FaultSubcodeValues.
typedef enum wsa4__FaultSubcodeValues wsa4__FaultSubcodeValues;
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType is a complexType.
struct wsa4__EndpointReferenceType
{
/// Element Address of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
char* /*URI*/ Address 1; ///< Required element.
/// Element ReferenceProperties of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType.
struct wsa4__ReferencePropertiesType* ReferenceProperties 0; ///< Optional element.
/// Element PortType of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedQName.
_QName* PortType 0; ///< Optional element.
/// Element ServiceName of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType.
struct wsa4__ServiceNameType* ServiceName 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReferencePropertiesType is a complexType.
struct wsa4__ReferencePropertiesType
{
/// TODO: <any minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":ServiceNameType is a complexType with simpleContent.
struct wsa4__ServiceNameType
{
/// __item wraps 'xs:QName' simpleContent.
_QName __item ;
/// Attribute PortName of type xs:NCName.
@char* /*NCName*/ PortName 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship is a complexType with simpleContent.
struct wsa4__Relationship
{
/// __item wraps 'xs:anyURI' simpleContent.
char* /*URI*/ __item ;
/// Attribute RelationshipType of type xs:QName.
@_QName RelationshipType 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReference of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
typedef struct wsa4__EndpointReferenceType _wsa4__EndpointReference;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":MessageID of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa4__MessageID;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":RelatesTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":Relationship.
typedef struct wsa4__Relationship _wsa4__RelatesTo;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":To of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa4__To;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":AttributedURI.
typedef char* /*URI*/ _wsa4__Action;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":From of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
typedef struct wsa4__EndpointReferenceType _wsa4__From;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":ReplyTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
typedef struct wsa4__EndpointReferenceType _wsa4__ReplyTo;
/// Element "http://schemas.xmlsoap.org/ws/2004/03/addressing":FaultTo of type "http://schemas.xmlsoap.org/ws/2004/03/addressing":EndpointReferenceType.
typedef struct wsa4__EndpointReferenceType _wsa4__FaultTo;
/// Attribute "http://schemas.xmlsoap.org/ws/2004/03/addressing":Action of simpleType xs:anyURI.
// '_wsa4__Action' attribute definition intentionally left blank.
/* End of wsa4.h */
+249
View File
@@ -0,0 +1,249 @@
/*
wsa5.h
Usage: See plugin/wsaapi.c
Generated with:
wsdl2h -cgye -o wsa5.h -t WS/WS-typemap.dat WS/WS-Addressing05.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Removed xsd__boolean declaration
- Added the following directive to import WS-Addressing namespace:
//gsoap wsa5 schema import: http://www.w3.org/2005/08/addressing
This ensures that the WS-Addressing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
- Added #define SOAP_WSA_2005
*/
#define SOAP_WSA_2005
/******************************************************************************\
* *
* http://www.w3.org/2005/08/addressing *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsa5 schema import: http://www.w3.org/2005/08/addressing
//gsoap wsa5 schema elementForm: qualified
//gsoap wsa5 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Built-in type "xs:boolean".
// enum xsd__boolean_ { _false, _true };
/// Typedef synonym for struct wsa5__EndpointReferenceType.
typedef struct wsa5__EndpointReferenceType wsa5__EndpointReferenceType;
/// Typedef synonym for struct wsa5__ReferenceParametersType.
typedef struct wsa5__ReferenceParametersType wsa5__ReferenceParametersType;
/// Typedef synonym for struct wsa5__MetadataType.
typedef struct wsa5__MetadataType wsa5__MetadataType;
/// Typedef synonym for struct wsa5__RelatesToType.
typedef struct wsa5__RelatesToType wsa5__RelatesToType;
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedURIType from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedUnsignedLongType from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Imported complexType "http://www.w3.org/2005/08/addressing":AttributedQNameType from typemap WS/WS-typemap.dat.
// complexType definition intentionally left blank.
/// Typedef synonym for struct wsa5__ProblemActionType.
typedef struct wsa5__ProblemActionType wsa5__ProblemActionType;
/// union of values "tns:RelationshipType xs:anyURI"
typedef char* wsa5__RelationshipTypeOpenEnum;
/// union of values "tns:FaultCodesType xs:QName"
typedef char* wsa5__FaultCodesOpenEnumType;
/// "http://www.w3.org/2005/08/addressing":RelationshipType is a simpleType restriction of xs:anyURI.
enum wsa5__RelationshipType
{
http_x003a_x002f_x002fwww_x002ew3_x002eorg_x002f2005_x002f08_x002faddressing_x002freply, ///< xs:anyURI value="http://www.w3.org/2005/08/addressing/reply"
};
/// Typedef synonym for enum wsa5__RelationshipType.
typedef enum wsa5__RelationshipType wsa5__RelationshipType;
/// "http://www.w3.org/2005/08/addressing":FaultCodesType is a simpleType restriction of xs:QName.
enum wsa5__FaultCodesType
{
wsa5__InvalidAddressingHeader, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidAddressingHeader"
wsa5__InvalidAddress, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidAddress"
wsa5__InvalidEPR, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidEPR"
wsa5__InvalidCardinality, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":InvalidCardinality"
wsa5__MissingAddressInEPR, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":MissingAddressInEPR"
wsa5__DuplicateMessageID, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":DuplicateMessageID"
wsa5__ActionMismatch, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":ActionMismatch"
wsa5__MessageAddressingHeaderRequired, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":MessageAddressingHeaderRequired"
wsa5__DestinationUnreachable, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":DestinationUnreachable"
wsa5__ActionNotSupported, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":ActionNotSupported"
wsa5__EndpointUnavailable, ///< xs:QName value=""http://www.w3.org/2005/08/addressing":EndpointUnavailable"
};
/// Typedef synonym for enum wsa5__FaultCodesType.
typedef enum wsa5__FaultCodesType wsa5__FaultCodesType;
/// "http://www.w3.org/2005/08/addressing":EndpointReferenceType is a complexType.
struct wsa5__EndpointReferenceType
{
/// Element Address of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
char* /*URI*/ Address 1; ///< Required element.
/// Element reference "http://www.w3.org/2005/08/addressing":ReferenceParameters.
struct wsa5__ReferenceParametersType* ReferenceParameters 0; ///< Optional element.
/// Element reference "http://www.w3.org/2005/08/addressing":Metadata.
struct wsa5__MetadataType* Metadata 0; ///< Optional element.
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://www.w3.org/2005/08/addressing":ReferenceParametersType is a complexType.
struct wsa5__ReferenceParametersType
{
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://www.w3.org/2005/08/addressing":MetadataType is a complexType.
struct wsa5__MetadataType
{
/// TODO: <any namespace="##any" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// Use wsdl2h option -d to use xsd__anyType DOM.
/// Size of the dynamic array of XML is 0..unbounded
int __size ;
_XML *__any ; ///< Catch any element content in XML string.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://www.w3.org/2005/08/addressing":ProblemActionType is a complexType.
struct wsa5__ProblemActionType
{
/// Element reference "http://www.w3.org/2005/08/addressing":Action.
char* /*URI*/ Action 0; ///< Optional element.
/// Element SoapAction of type xs:anyURI.
char* /*URI*/ SoapAction 0; ///< Optional element.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// "http://www.w3.org/2005/08/addressing":RelatesToType is a complexType with simpleContent.
struct wsa5__RelatesToType
{
/// __item wraps 'xs:anyURI' simpleContent.
char* /*URI*/ __item ;
/// Attribute RelationshipType of type "http://www.w3.org/2005/08/addressing":RelationshipTypeOpenEnum.
@wsa5__RelationshipTypeOpenEnum RelationshipType 0; ///< Optional attribute.
/// TODO: <anyAttribute namespace="##other">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://www.w3.org/2005/08/addressing":EndpointReference of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
typedef struct wsa5__EndpointReferenceType _wsa5__EndpointReference;
/// Element "http://www.w3.org/2005/08/addressing":ReferenceParameters of type "http://www.w3.org/2005/08/addressing":ReferenceParametersType.
typedef struct wsa5__ReferenceParametersType _wsa5__ReferenceParameters;
/// Element "http://www.w3.org/2005/08/addressing":Metadata of type "http://www.w3.org/2005/08/addressing":MetadataType.
typedef struct wsa5__MetadataType _wsa5__Metadata;
/// Element "http://www.w3.org/2005/08/addressing":MessageID of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
typedef char* /*URI*/ _wsa5__MessageID;
/// Element "http://www.w3.org/2005/08/addressing":RelatesTo of type "http://www.w3.org/2005/08/addressing":RelatesToType.
typedef struct wsa5__RelatesToType _wsa5__RelatesTo;
/// Element "http://www.w3.org/2005/08/addressing":ReplyTo of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
typedef struct wsa5__EndpointReferenceType _wsa5__ReplyTo;
/// Element "http://www.w3.org/2005/08/addressing":From of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
typedef struct wsa5__EndpointReferenceType _wsa5__From;
/// Element "http://www.w3.org/2005/08/addressing":FaultTo of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType.
typedef struct wsa5__EndpointReferenceType _wsa5__FaultTo;
/// Element "http://www.w3.org/2005/08/addressing":To of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
typedef char* /*URI*/ _wsa5__To;
/// Element "http://www.w3.org/2005/08/addressing":Action of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
typedef char* /*URI*/ _wsa5__Action;
/// Element "http://www.w3.org/2005/08/addressing":RetryAfter of type "http://www.w3.org/2005/08/addressing":AttributedUnsignedLongType.
typedef ULONG64 _wsa5__RetryAfter;
/// Element "http://www.w3.org/2005/08/addressing":ProblemHeaderQName of type "http://www.w3.org/2005/08/addressing":AttributedQNameType.
typedef _QName _wsa5__ProblemHeaderQName;
/// Element "http://www.w3.org/2005/08/addressing":ProblemIRI of type "http://www.w3.org/2005/08/addressing":AttributedURIType.
typedef char* /*URI*/ _wsa5__ProblemIRI;
/// Element "http://www.w3.org/2005/08/addressing":ProblemAction of type "http://www.w3.org/2005/08/addressing":ProblemActionType.
typedef struct wsa5__ProblemActionType _wsa5__ProblemAction;
/// Attribute "http://www.w3.org/2005/08/addressing":IsReferenceParameter of simpleType xs:boolean.
/// Imported attribute _wsa5__IsReferenceParameter from typemap WS/WS-typemap.dat.
typedef enum _wsa5__IsReferenceParameter { wsa5__false, wsa5__true } _wsa5__IsReferenceParameter;
/* End of wsa5.h */
+182
View File
@@ -0,0 +1,182 @@
/*
wsp.h
Generated with:
wsdl2h -c -x -o wsp.h -t WS/WS-typemap.dat WS/WS-Policy.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Removed #import "wsu.h" since only wsu__Id is needed
- Removed wsu__Id, since this type is defined in wsse.h
- Removed enum xsd__boolean_
- Added //gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
- Added //gsoap wsp schema import: http://schemas.xmlsoap.org/ws/2004/09/policy
- Added #import "wsse.h"
- Modified wsp__union_1/_2/_3 to include wsse elements
- Added wsse elements to wsp__union_1 and _2
*/
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/ws/2004/09/policy *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
#import "wsse.h"
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
//gsoap wsp schema import: http://schemas.xmlsoap.org/ws/2004/09/policy
//gsoap wsp schema elementForm: qualified
//gsoap wsp schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Built-in type "xs:base64Binary"
struct xsd__base64Binary_ { unsigned char *__ptr; int __size; };
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyURIs is a simpleType containing a whitespace separated list of xs:anyURI.
typedef char* _wsp__PolicyURIs;
/// Modified wsp__union_1 to add wsse elements
union wsp__union_1
{
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy
struct _wsp__Policy* Policy 1; ///< Required element
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":All
struct wsp__OperatorContentType* All 1; ///< Required element
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":ExactlyOne
struct wsp__OperatorContentType* ExactlyOne 1; ///< Required element
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference
struct _wsp__PolicyReference* PolicyReference 1; ///< Required element
/// Added wsse:Confidentiality element
struct wsse__Confidentiality* wsse__Confidentiality 1;
/// Added wsse:SecurityHeader element
struct wsse__SecurityHeader* wsse__SecurityHeader 1;
/// Added wsse:SecurityToken element
struct wsse__SecurityToken* wsse__SecurityToken 1;
};
/// Modified __wsp__union_1 by removing duplicate __wsp__union_3
struct __wsp__union_1
{
int __union_1 0; ///< Union wsp__union_1 selector: set to SOAP_UNION_wsp__union_1_<fieldname> or 0
union wsp__union_1 *union_1 ;
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":OperatorContentType is a complexType.
struct wsp__OperatorContentType
{
int __sizeunion_1 0;
struct __wsp__union_1 *__union_1 ;
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference is a complexType.
struct _wsp__PolicyReference
{
/// Attribute URI of type xs:anyURI
@char* URI 0; ///< Optional attribute
/// Attribute Digest of type xs:base64Binary
@struct xsd__base64Binary_* Digest 0; ///< Optional attribute
/// Attribute DigestAlgorithm of type xs:anyURI
@char* DigestAlgorithm 0; ///< Optional attribute
/// TODO: <anyAttribute namespace="##any">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":UsingPolicy is a complexType.
struct _wsp__UsingPolicy
{
/// TODO: <anyAttribute namespace="##any">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
};
/// Modified wsp__union_2
union wsp__union_2
{
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy
struct _wsp__Policy* Policy 1; ///< Required element
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyReference
struct _wsp__PolicyReference* PolicyReference 1; ///< Required element
};
// Modified __wsp__union_2
struct __wsp__union_2
{
int __union_2 ; ///< Union wsp__union_2 selector: set to SOAP_UNION_wsp__union_2_<fieldname>
union wsp__union_2 union_2 ;
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":PolicyAttachment is a complexType.
struct _wsp__PolicyAttachment
{
/// Element reference "http://schemas.xmlsoap.org/ws/2004/09/policy":AppliesTo
struct _wsp__AppliesTo* AppliesTo 1; ///< Required element
/// CHOICE OF ELEMENTS <choice maxOccurs="unbounded">
int __sizeunion_2 ;
struct __wsp__union_2 *__union_2 ;
/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// TODO: <anyAttribute namespace="##any">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":AppliesTo is a complexType.
struct _wsp__AppliesTo
{
/// TODO: <any namespace="##any" maxOccurs="unbounded">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this element.
/// TODO: <anyAttribute namespace="##any">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
};
/// "http://schemas.xmlsoap.org/ws/2004/09/policy":Policy is a complexType with complexContent extension of "http://schemas.xmlsoap.org/ws/2004/09/policy":OperatorContentType.
struct _wsp__Policy
{
int __sizeunion_1 0;
struct __wsp__union_1 *__union_1 ;
/// Attribute TargetNamespace of type xs:anyURI
@char* TargetNamespace 0; ///< Optional attribute
/// Attribute reference "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Id
@wsu__Id wsu__Id_ 0; ///< Optional attribute
/// TODO: <anyAttribute namespace="##any">
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
};
/* End of wsp.h */
+228
View File
@@ -0,0 +1,228 @@
/*
wsrp.h
Generated with:
wsdl2h -cgy -o wsrp.h -t WS/WS-typemap.dat WS/WS-Routing.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Added the following directive to import WS-Routing namespace:
//gsoap wsa schema import: http://schemas.xmlsoap.org/rp/
This ensures that the WS-Routing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
*/
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/rp/ *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsrp schema import: http://schemas.xmlsoap.org/rp/
//gsoap wsrp schema form: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Typedef synonym for struct wsrp__path_USCOREt.
typedef struct wsrp__path_USCOREt wsrp__path_USCOREt;
/// Typedef synonym for struct wsrp__via_USCOREt.
typedef struct wsrp__via_USCOREt wsrp__via_USCOREt;
/// Typedef synonym for struct wsrp__fwd_USCOREt.
typedef struct wsrp__fwd_USCOREt wsrp__fwd_USCOREt;
/// Typedef synonym for struct wsrp__rev_USCOREt.
typedef struct wsrp__rev_USCOREt wsrp__rev_USCOREt;
/// Typedef synonym for struct wsrp__found_USCOREt.
typedef struct wsrp__found_USCOREt wsrp__found_USCOREt;
/// Typedef synonym for struct wsrp__fault_USCOREt.
typedef struct wsrp__fault_USCOREt wsrp__fault_USCOREt;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":action_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":action of simpleType "http://schemas.xmlsoap.org/rp/":action_t.
typedef char _wsrp__action;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":to_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":to of simpleType "http://schemas.xmlsoap.org/rp/":to_t.
typedef char _wsrp__to;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":from_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":from of simpleType "http://schemas.xmlsoap.org/rp/":from_t.
typedef char _wsrp__from;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":id_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":id of simpleType "http://schemas.xmlsoap.org/rp/":id_t.
typedef char _wsrp__id;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":relatesTo_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":relatesTo of simpleType "http://schemas.xmlsoap.org/rp/":relatesTo_t.
typedef char _wsrp__relatesTo;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":faultcode_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":faultcode of simpleType "http://schemas.xmlsoap.org/rp/":faultcode_t.
typedef char _wsrp__faultcode;
/// Imported simpleType "http://schemas.xmlsoap.org/rp/":faultreason_t from typemap WS/WS-typemap.dat.
/// Element "http://schemas.xmlsoap.org/rp/":faultreason of simpleType "http://schemas.xmlsoap.org/rp/":faultreason_t.
typedef char _wsrp__faultreason;
/// "http://schemas.xmlsoap.org/rp/":path_t is a complexType.
struct wsrp__path_USCOREt
{
/// Element reference "http://schemas.xmlsoap.org/rp/":action.
char* wsrp__action 1; ///< Required element.
/// Element reference "http://schemas.xmlsoap.org/rp/":to.
char* wsrp__to 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":fwd.
struct wsrp__fwd_USCOREt* wsrp__fwd 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":rev.
struct wsrp__rev_USCOREt* wsrp__rev 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":from.
char* wsrp__from 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":id.
char* wsrp__id 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":relatesTo.
char* wsrp__relatesTo 0; ///< Optional element.
/// Element reference "http://schemas.xmlsoap.org/rp/":fault.
struct wsrp__fault_USCOREt* wsrp__fault 0; ///< Optional element.
/// TODO: <anyAttribute>
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/rp/":path of complexType "http://schemas.xmlsoap.org/rp/":path_t.
typedef struct wsrp__path_USCOREt _wsrp__path;
/// "http://schemas.xmlsoap.org/rp/":fwd_t is a complexType.
struct wsrp__fwd_USCOREt
{
/// Size of the dynamic array of struct wsrp__via_USCOREt* is 0..unbounded
int __sizevia ;
/// Pointer to array of struct wsrp__via_USCOREt*.
struct wsrp__via_USCOREt* *wsrp__via 0;
/// TODO: <anyAttribute>
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/rp/":fwd of complexType "http://schemas.xmlsoap.org/rp/":fwd_t.
typedef struct wsrp__fwd_USCOREt _wsrp__fwd;
/// "http://schemas.xmlsoap.org/rp/":rev_t is a complexType.
struct wsrp__rev_USCOREt
{
/// Size of the dynamic array of struct wsrp__via_USCOREt* is 0..unbounded
int __sizevia ;
/// Pointer to array of struct wsrp__via_USCOREt*.
struct wsrp__via_USCOREt* *wsrp__via 0;
/// TODO: <anyAttribute>
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/rp/":rev of complexType "http://schemas.xmlsoap.org/rp/":rev_t.
typedef struct wsrp__rev_USCOREt _wsrp__rev;
/// "http://schemas.xmlsoap.org/rp/":found_t is a complexType.
struct wsrp__found_USCOREt
{
/// Size of the dynamic array of char* is 0..unbounded
int __sizeat ;
/// Pointer to array of char*.
char* *at 1;
/// TODO: <anyAttribute>
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/rp/":found of complexType "http://schemas.xmlsoap.org/rp/":found_t.
typedef struct wsrp__found_USCOREt _wsrp__found;
/// "http://schemas.xmlsoap.org/rp/":fault_t is a complexType.
struct wsrp__fault_USCOREt
{
/// Element reference "http://schemas.xmlsoap.org/rp/":faultcode.
char* wsrp__faultcode 1; ///< Required element.
/// Element reference "http://schemas.xmlsoap.org/rp/":faultreason.
char* wsrp__faultreason 1; ///< Required element.
/// Element endpoint of type xs:anyURI.
char* endpoint 0; ///< Optional element.
/// Element found of type "http://schemas.xmlsoap.org/rp/":found_t.
struct wsrp__found_USCOREt* found 0; ///< Optional element.
/// Element maxsize of type xs:integer.
int* maxsize 0; ///< Optional element.
/// Element maxtime of type xs:integer.
int* maxtime 0; ///< Optional element.
/// Element retryAfter of type xs:integer.
int* retryAfter 0; ///< Optional element.
/// TODO: <anyAttribute>
/// Schema extensibility is user-definable.
/// Consult the protocol documentation to change and/or insert declarations.
/// Use wsdl2h option -x to remove this attribute.
@_XML __anyAttribute ; ///< Catch any attribute content in XML string.
};
/// Element "http://schemas.xmlsoap.org/rp/":fault of complexType "http://schemas.xmlsoap.org/rp/":fault_t.
typedef struct wsrp__fault_USCOREt _wsrp__fault;
/// "http://schemas.xmlsoap.org/rp/":via_t is a complexType with simpleContent.
struct wsrp__via_USCOREt
{
/// __item wraps simpleContent.
char* __item ;
/// Attribute vid of type xs:anyURI.
@char* vid 0; ///< Optional attribute.
};
/// Element "http://schemas.xmlsoap.org/rp/":via of complexType "http://schemas.xmlsoap.org/rp/":via_t.
typedef struct wsrp__via_USCOREt _wsrp__via;
/* End of wsrp.h */
+198
View File
@@ -0,0 +1,198 @@
/*
wsse.h
Generated with:
wsdl2h -cegxy -o wsse.h -t WS/WS-typemap.dat WS/wsse.xsd
- Removed //gsoapopt
- Added //gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
*/
/******************************************************************************\
* *
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd*
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsse schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
//gsoap wsse schema elementForm: qualified
//gsoap wsse schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// 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.
/// @brief This type represents an element with arbitrary attributes.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used for password elements per Section 4.1.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used for elements containing stringified binary data.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a username token per Section 4.1
/// complexType definition intentionally left blank.
/// 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.
/// @brief A security token that is encoded in binary
/// complexType definition intentionally left blank.
/// 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.
/// @brief A security token key identifier
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a reference to an external security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a reference to an embedded security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used reference a security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
/// complexType definition intentionally left blank.
/// 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.
/// @brief Typedef to allow a list of usages (as URIs).
/// simpleType definition intentionally left blank.
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
enum wsse__FaultcodeEnum
{
wsse__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
wsse__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
wsse__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
wsse__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
wsse__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
wsse__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
wsse__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
};
/// Typedef synonym for enum wsse__FaultcodeEnum.
typedef enum wsse__FaultcodeEnum wsse__FaultcodeEnum;
/// 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.
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
/// Imported element _wsse__UsernameToken from typemap WS/WS-typemap.dat.
typedef struct _wsse__UsernameToken
{ char* Username;
struct _wsse__Password* Password;
char* Nonce;
char* wsu__Created;
@char* wsu__Id;
} _wsse__UsernameToken;
/// 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.
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
/// Imported element _wsse__BinarySecurityToken from typemap WS/WS-typemap.dat.
typedef struct _wsse__BinarySecurityToken
{ char* __item;
@char* wsu__Id;
@char* ValueType;
@char* EncodingType;
} _wsse__BinarySecurityToken;
/// 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.
/// @brief This element defines a security token reference
/// Imported element _wsse__Reference from typemap WS/WS-typemap.dat.
typedef struct _wsse__Reference
{ @char* URI;
@char* ValueType;
} _wsse__Reference;
/// 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.
/// @brief This element defines a security token embedded reference
/// Imported element _wsse__Embedded from typemap WS/WS-typemap.dat.
typedef struct _wsse__Embedded
{ /* Extensible with embedded tokens and assertions */
@char* wsu__Id;
@char* ValueType;
} _wsse__Embedded;
/// 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.
/// @brief This element defines a key identifier reference
/// Imported element _wsse__KeyIdentifier from typemap WS/WS-typemap.dat.
typedef struct _wsse__KeyIdentifier
{ char* __item;
@char* wsu__Id;
@char* ValueType;
@char* EncodingType;
} _wsse__KeyIdentifier;
/// 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.
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
/// Imported element _wsse__SecurityTokenReference from typemap WS/WS-typemap.dat.
typedef struct _wsse__SecurityTokenReference
{ struct _wsse__Reference* Reference;
struct _wsse__KeyIdentifier* KeyIdentifier;
struct _wsse__Embedded* Embedded;
@char* wsu__Id;
@char* Usage;
} _wsse__SecurityTokenReference;
/// 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.
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
/// Imported element _wsse__Security from typemap WS/WS-typemap.dat.
#import "ds.h"
typedef struct _wsse__Security
{ struct _wsu__Timestamp* wsu__Timestamp;
struct _wsse__UsernameToken* UsernameToken;
struct _wsse__BinarySecurityToken* BinarySecurityToken;
struct ds__SignatureType* ds__Signature;
@char* SOAP_ENV__actor;
@char* SOAP_ENV__role;
} _wsse__Security;
/// 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.
/// @brief This element contains properties for transformations from any namespace, including DSIG.
/// '_wsse__TransformationParameters' element definition intentionally left blank.
/// 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.
/// Imported element _wsse__Password from typemap WS/WS-typemap.dat.
typedef struct _wsse__Password
{ char* __item;
@char* Type;
} _wsse__Password;
/// 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.
/// '_wsse__Nonce' element definition intentionally left blank.
/// 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.
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
/// '_wsse__Usage' attribute definition intentionally left blank.
/* End of wsse.h */
+200
View File
@@ -0,0 +1,200 @@
/*
wsse2.h
See wsse.h
- Copied from wsse.h
- Removed //gsoapopt
- Added //gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
- Renamed //gsoap wsse => wsse2
- Renamed wsse__ => wsse2__
*/
/******************************************************************************\
* *
* http://schemas.xmlsoap.org/ws/2002/12/secext *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
#import "wsu.h" // wsu = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd>
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsse2 schema import: http://schemas.xmlsoap.org/ws/2002/12/secext
//gsoap wsse2 schema elementForm: qualified
//gsoap wsse2 schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// 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.
/// @brief This type represents an element with arbitrary attributes.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used for password elements per Section 4.1.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used for elements containing stringified binary data.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a username token per Section 4.1
/// complexType definition intentionally left blank.
/// 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.
/// @brief A security token that is encoded in binary
/// complexType definition intentionally left blank.
/// 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.
/// @brief A security token key identifier
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a reference to an external security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type represents a reference to an embedded security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This type is used reference a security token.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This complexType defines header block to use for security-relevant data directed at a specific SOAP actor.
/// complexType definition intentionally left blank.
/// 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.
/// @brief This complexType defines a container for elements to be specified from any namespace as properties/parameters of a DSIG transformation.
/// complexType definition intentionally left blank.
/// 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.
/// @brief Typedef to allow a list of usages (as URIs).
/// simpleType definition intentionally left blank.
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FaultcodeEnum is a simpleType restriction of xs:QName.
enum wsse2__FaultcodeEnum
{
wsse2__UnsupportedSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedSecurityToken"
wsse2__UnsupportedAlgorithm, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":UnsupportedAlgorithm"
wsse2__InvalidSecurity, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurity"
wsse2__InvalidSecurityToken, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":InvalidSecurityToken"
wsse2__FailedAuthentication, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedAuthentication"
wsse2__FailedCheck, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":FailedCheck"
wsse2__SecurityTokenUnavailable, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd":SecurityTokenUnavailable"
};
/// Typedef synonym for enum wsse2__FaultcodeEnum.
typedef enum wsse2__FaultcodeEnum wsse2__FaultcodeEnum;
/// 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.
/// @brief This element defines the wsse:UsernameToken element per Section 4.1.
/// Imported element _wsse2__UsernameToken from typemap WS/WS-typemap.dat.
typedef struct _wsse2__UsernameToken
{ char* Username;
struct _wsse2__Password* Password;
char* Nonce;
char* wsu__Created;
@char* wsu__Id;
} _wsse2__UsernameToken;
/// 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.
/// @brief This element defines the wsse:BinarySecurityToken element per Section 4.2.
/// Imported element _wsse2__BinarySecurityToken from typemap WS/WS-typemap.dat.
typedef struct _wsse2__BinarySecurityToken
{ char* __item;
@char* wsu__Id;
@char* ValueType;
@char* EncodingType;
} _wsse2__BinarySecurityToken;
/// 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.
/// @brief This element defines a security token reference
/// Imported element _wsse2__Reference from typemap WS/WS-typemap.dat.
typedef struct _wsse2__Reference
{ @char* URI;
@char* ValueType;
} _wsse2__Reference;
/// 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.
/// @brief This element defines a security token embedded reference
/// Imported element _wsse2__Embedded from typemap WS/WS-typemap.dat.
typedef struct _wsse2__Embedded
{ /* Extensible with embedded tokens and assertions */
@char* wsu__Id;
@char* ValueType;
} _wsse2__Embedded;
/// 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.
/// @brief This element defines a key identifier reference
/// Imported element _wsse2__KeyIdentifier from typemap WS/WS-typemap.dat.
typedef struct _wsse2__KeyIdentifier
{ char* __item;
@char* wsu__Id;
@char* ValueType;
@char* EncodingType;
} _wsse2__KeyIdentifier;
/// 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.
/// @brief This element defines the wsse:SecurityTokenReference per Section 4.3.
/// Imported element _wsse2__SecurityTokenReference from typemap WS/WS-typemap.dat.
typedef struct _wsse2__SecurityTokenReference
{ struct _wsse2__Reference* Reference;
struct _wsse2__KeyIdentifier* KeyIdentifier;
struct _wsse2__Embedded* Embedded;
@char* wsu__Id;
@char* Usage;
} _wsse2__SecurityTokenReference;
/// 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.
/// @brief This element defines the wsse:Security SOAP header element per Section 4.
/// Imported element _wsse2__Security from typemap WS/WS-typemap.dat.
#import "ds2.h"
typedef struct _wsse2__Security
{ struct _wsu__Timestamp* wsu__Timestamp;
struct _wsse2__UsernameToken* UsernameToken;
struct _wsse2__BinarySecurityToken* BinarySecurityToken;
struct ds__SignatureType* ds__Signature;
@char* SOAP_ENV__actor;
@char* SOAP_ENV__role;
} _wsse2__Security;
/// 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.
/// @brief This element contains properties for transformations from any namespace, including DSIG.
/// '_wsse2__TransformationParameters' element definition intentionally left blank.
/// 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.
/// Imported element _wsse2__Password from typemap WS/WS-typemap.dat.
typedef struct _wsse2__Password
{ char* __item;
@char* Type;
} _wsse2__Password;
/// 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.
/// '_wsse2__Nonce' element definition intentionally left blank.
/// 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.
/// @brief This global attribute is used to indicate the usage of a referenced or indicated token within the containing context
/// '_wsse2__Usage' attribute definition intentionally left blank.
/* End of wsse.h */
+93
View File
@@ -0,0 +1,93 @@
/*
wsu.h
Generated with:
wsdl2h -cegy -o wsu.h -t WS/WS-typemap.dat WS/wsu.xsd
Modified by Robert van Engelen:
- Removed //gsoapopt
- Added the following directive to import wsu namespace
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
This ensures that the WS-Addressing schemas are not copied into the generated
WSDL by soapcpp2 but are referenced with schema import in the generated WSDL.
*/
/******************************************************************************\
* *
* http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd*
* *
\******************************************************************************/
/******************************************************************************\
* *
* Import *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Schema Namespaces *
* *
\******************************************************************************/
//gsoap wsu schema import: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
//gsoap wsu schema elementForm: qualified
//gsoap wsu schema attributeForm: unqualified
/******************************************************************************\
* *
* Schema Types *
* *
\******************************************************************************/
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime from typemap WS/WS-typemap.dat.
/// @brief This type is for elements whose [children] is a psuedo-dateTime and can have arbitrary attributes.
/// complexType definition intentionally left blank.
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedURI from typemap WS/WS-typemap.dat.
/// @brief This type is for elements whose [children] is an anyURI and can have arbitrary attributes.
/// complexType definition intentionally left blank.
/// Imported complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":TimestampType from typemap WS/WS-typemap.dat.
/// @brief This complex type ties together the timestamp related elements into a composite type.
/// complexType definition intentionally left blank.
/// "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":tTimestampFault is a simpleType restriction of xs:QName.
/// @brief This type defines the fault code value for Timestamp message expiration.
/// Note: enum values are prefixed with 'wsu__tTimestampFault' to avoid name clashes, please use wsdl2h option -e to omit this prefix
enum wsu__tTimestampFault
{
wsu__MessageExpired, ///< xs:QName value=""http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":MessageExpired"
};
/// Typedef synonym for enum wsu__tTimestampFault.
typedef enum wsu__tTimestampFault wsu__tTimestampFault;
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Timestamp of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":TimestampType.
/// @brief This element allows Timestamps to be applied anywhere element wildcards are present, including as a SOAP header.
/// Imported element _wsu__Timestamp from typemap WS/WS-typemap.dat.
typedef struct _wsu__Timestamp
{ @char* wsu__Id; // use qualified form to enable signature
char* Created;
char* Expires;
} _wsu__Timestamp;
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Expires of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime.
/// @brief This element allows an expiration time to be applied anywhere element wildcards are present.
/// '_wsu__Expires' element definition intentionally left blank.
/// Element "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Created of complexType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":AttributedDateTime.
/// @brief This element allows a creation time to be applied anywhere element wildcards are present.
/// '_wsu__Created' element definition intentionally left blank.
/// Attribute "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd":Id of simpleType xs:ID.
/// @brief This global attribute supports annotating arbitrary elements with an ID.
/// '_wsu__Id' attribute definition intentionally left blank.
/* End of wsu.h */
+49
View File
@@ -0,0 +1,49 @@
/*
xlink.h
Use #import "xlink.h" in a gSOAP header file to enable xlink 1999 bindings.
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xlink schema import: http://www.w3.org/1999/xlink
+62
View File
@@ -0,0 +1,62 @@
/*
xmime.h
Use #import "xmime.h" in a gSOAP header file to enable xmlmime 2004/06 bindings.
The xmime:contentType attribute can be used to associate a MIME type with
binary content, as in:
#import "xmime.h"
struct ns__myBinaryData
{ unsigned char *__ptr;
int __size;
@char *xmime__contentType;
};
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xmime schema import: http://www.w3.org/2004/06/xmlmime
+63
View File
@@ -0,0 +1,63 @@
/*
xmime4.h
Use #import "xmlmime.h" in a gSOAP header file to enable xmlmime 2004/11
bindings.
The xmime4:contentType attribute can be used to associate a MIME type with
binary content, as in:
#import "xmime4.h"
struct ns__myBinaryData
{ unsigned char *__ptr;
int __size;
@char *xmime4__contentType;
};
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xmime4 schema import: http://www.w3.org/2004/11/xmlmime
+63
View File
@@ -0,0 +1,63 @@
/*
xmime5.h
Use #import "xmime5.h" in a gSOAP header file to enable xmlmime 2005/05
bindings.
The xmime5:contentType attribute can be used to associate a MIME type with
binary content, as in:
#import "xmime5.h"
struct ns__myBinaryData
{ unsigned char *__ptr;
int __size;
@char *xmime5__contentType;
};
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xmime5 schema import: http://www.w3.org/2005/05/xmlmime
+68
View File
@@ -0,0 +1,68 @@
/*
xml.h
Literal XML strings.
A literal XML string contains XML content. This declaration provides a simple
interface to the literal XML string handler. The XML string contains UTF8
content when the SOAP_C_UTFSTRING flag is set.
Note: the built-in _XML type provides the same functionality.
Example:
#import "xml.h"
struct ns__MyData
{ int num;
XML str; // has XML content
};
struct ns__Mixed
{ int num;
XML __any; // __any is not a tag: this allows parsing of mixed content
};
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
typedef char *XML;
+65
View File
@@ -0,0 +1,65 @@
/*
xmlmime.h
This file is depricated. Please use xmime.h
Use #import "xmlmime.h" in a gSOAP header file to enable xmlmime 2004/11
bindings.
The xmlmime:contentType attribute can be used to associate a MIME type with
binary content, as in:
#import "xmlmime.h"
struct ns__myBinaryData
{ unsigned char *__ptr;
int __size;
@char *xmlmime__contentType;
};
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xmlmime schema import: http://www.w3.org/2004/11/xmlmime
+66
View File
@@ -0,0 +1,66 @@
/*
xmlmime5.h
This file is depricated. Please use xmime5.h
Use #import "xmlmime5.h" in a gSOAP header file to enable xmlmime 2005/05
bindings.
The xmlmime5:contentType attribute can be used to associate a MIME type with
binary content, as in:
#import "xmlmime5.h"
struct ns__myBinaryData
{ unsigned char *__ptr;
int __size;
@char *xmlmime5__contentType;
};
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xmlmime schema import: http://www.w3.org/2005/05/xmlmime
+62
View File
@@ -0,0 +1,62 @@
/*
xop.h
Use #import "xop.h" in a gSOAP header file to enable MTOM attachments.
Use SOAP_ENC_MTOM flag in your code to switch to MTOM attachments, see
the gSOAP documentation soapdoc2.html
Use soapcpp2 option -Ipath:path:... to specify the path(s) for #import
gSOAP XML Web services tools
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc., All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
--------------------------------------------------------------------------------
gSOAP public license.
The contents of this file are subject to the gSOAP Public License Version 1.3
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at
http://www.cs.fsu.edu/~engelen/soaplicense.html
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
The Initial Developer of the Original Code is Robert A. van Engelen.
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia inc. All Rights Reserved.
--------------------------------------------------------------------------------
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
--------------------------------------------------------------------------------
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
//gsoap xop schema import: http://www.w3.org/2004/08/xop/include
struct _xop__Include
{ unsigned char *__ptr;
int __size;
char *id;
char *type;
char *options;
};
typedef struct _xop__Include _xop__Include;