422 lines
17 KiB
C
422 lines
17 KiB
C
|
namespace IAGWMMS {
|
||
|
/* IagwMms.h
|
||
|
Generated by wsdl2h 2.8.6 from iagw_wsdl.wsdl and wsmap.dat
|
||
|
2014-08-20 01:59:44 GMT
|
||
|
|
||
|
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
|
||
|
USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
|
||
|
|
||
|
gSOAP XML Web services tools.
|
||
|
Copyright (C) 2001-2010 Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||
|
Part of this software is released under one of the following licenses:
|
||
|
GPL or Genivia's license for commercial use.
|
||
|
*/
|
||
|
|
||
|
/** @page page_notes Usage Notes
|
||
|
|
||
|
NOTE:
|
||
|
|
||
|
- Run soapcpp2 on IagwMms.h to generate the SOAP/XML processing logic.
|
||
|
Use soapcpp2 option -I to specify paths for #import
|
||
|
To build with STL, 'stlvector.h' is imported from 'import' dir in package.
|
||
|
Use soapcpp2 option -i to generate improved proxy and server classes.
|
||
|
- Use wsdl2h options -c and -s to generate pure C code or C++ code without STL.
|
||
|
- Use 'typemap.dat' to control namespace bindings and type mappings.
|
||
|
It is strongly recommended to customize the names of the namespace prefixes
|
||
|
generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
|
||
|
section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
|
||
|
- Use Doxygen (www.doxygen.org) on this file to generate documentation.
|
||
|
- Use wsdl2h options -nname and -Nname to globally rename the prefix 'ns'.
|
||
|
- Use wsdl2h option -d to enable DOM support for xsd:anyType.
|
||
|
- Use wsdl2h option -g to auto-generate readers and writers for root elements.
|
||
|
- Struct/class members serialized as XML attributes are annotated with a '@'.
|
||
|
- Struct/class members that have a special role are annotated with a '$'.
|
||
|
|
||
|
WARNING:
|
||
|
|
||
|
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS.
|
||
|
USE THE SOURCE CODE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT BUILDS:
|
||
|
THE soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.
|
||
|
|
||
|
LICENSE:
|
||
|
|
||
|
@verbatim
|
||
|
--------------------------------------------------------------------------------
|
||
|
gSOAP XML Web services tools
|
||
|
Copyright (C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||
|
|
||
|
This software is released under one of the following two licenses:
|
||
|
1) GPL or 2) Genivia's license for commercial use.
|
||
|
--------------------------------------------------------------------------------
|
||
|
1) 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.
|
||
|
--------------------------------------------------------------------------------
|
||
|
2) A commercial-use license is available from Genivia, Inc., contact@genivia.com
|
||
|
--------------------------------------------------------------------------------
|
||
|
@endverbatim
|
||
|
|
||
|
*/
|
||
|
|
||
|
|
||
|
//gsoapopt w
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Definitions *
|
||
|
* http://www.bnet.cn/v3.0/ *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Import *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Schema Namespaces *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/* NOTE:
|
||
|
|
||
|
It is strongly recommended to customize the names of the namespace prefixes
|
||
|
generated by wsdl2h. To do so, modify the prefix bindings below and add the
|
||
|
modified lines to typemap.dat to rerun wsdl2h:
|
||
|
|
||
|
ns1 = "http://www.bnet.cn/v3.0/"
|
||
|
|
||
|
*/
|
||
|
|
||
|
#define SOAP_NAMESPACE_OF_ns1 "http://www.bnet.cn/v3.0/"
|
||
|
//gsoap ns1 schema namespace: http://www.bnet.cn/v3.0/
|
||
|
//gsoap ns1 schema elementForm: qualified
|
||
|
//gsoap ns1 schema attributeForm: unqualified
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Built-in Schema Types and Top-Level Elements and Attributes *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Forward Declarations *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Schema Types and Top-Level Elements and Attributes *
|
||
|
* http://www.bnet.cn/v3.0/ *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Schema Complex Types and Top-Level Elements *
|
||
|
* http://www.bnet.cn/v3.0/ *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Additional Top-Level Elements *
|
||
|
* http://www.bnet.cn/v3.0/ *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/// Top-level root element "http://www.bnet.cn/v3.0/":reqXml of type xs:string.
|
||
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
||
|
|
||
|
/// Top-level root element "http://www.bnet.cn/v3.0/":ExecuteInvokeReturn of type xs:string.
|
||
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
||
|
|
||
|
/// Top-level root element "http://www.bnet.cn/v3.0/":decode of type xs:string.
|
||
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
||
|
|
||
|
/// Top-level root element "http://www.bnet.cn/v3.0/":EncodeStringReturn of type xs:string.
|
||
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Additional Top-Level Attributes *
|
||
|
* http://www.bnet.cn/v3.0/ *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Services *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
//gsoap ns1 service name: capServiceSoapBinding
|
||
|
//gsoap ns1 service type: CapService
|
||
|
//gsoap ns1 service port: http://124.126.119.27:9876/iagw_mms_recvsp/services/capService
|
||
|
//gsoap ns1 service namespace: http://www.bnet.cn/v3.0/
|
||
|
//gsoap ns1 service transport: http://schemas.xmlsoap.org/soap/http
|
||
|
|
||
|
/** @mainpage Service Definitions
|
||
|
|
||
|
@section Service_bindings Service Bindings
|
||
|
|
||
|
- @ref capServiceSoapBinding
|
||
|
|
||
|
@section Service_more More Information
|
||
|
|
||
|
- @ref page_notes "Usage Notes"
|
||
|
|
||
|
- @ref page_XMLDataBinding "XML Data Binding"
|
||
|
|
||
|
- @ref SOAP_ENV__Header "SOAP Header Content" (when applicable)
|
||
|
|
||
|
- @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
|
||
|
|
||
|
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
|
||
|
@page capServiceSoapBinding Binding "capServiceSoapBinding"
|
||
|
|
||
|
@section capServiceSoapBinding_operations Operations of Binding "capServiceSoapBinding"
|
||
|
|
||
|
- @ref __ns1__ExecuteInvoke
|
||
|
|
||
|
- @ref __ns1__EncodeString
|
||
|
|
||
|
@section capServiceSoapBinding_ports Endpoints of Binding "capServiceSoapBinding"
|
||
|
|
||
|
- http://124.126.119.27:9876/iagw_mms_recvsp/services/capService
|
||
|
|
||
|
Note: use wsdl2h option -N to change the service binding prefix name
|
||
|
|
||
|
*/
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Service Binding *
|
||
|
* capServiceSoapBinding *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Service Operation *
|
||
|
* __ns1__ExecuteInvoke *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/// Operation "__ns1__ExecuteInvoke" of service binding "capServiceSoapBinding"
|
||
|
|
||
|
/**
|
||
|
|
||
|
Operation details:
|
||
|
|
||
|
|
||
|
- SOAP document/literal style messaging
|
||
|
|
||
|
- Addressing action: "http://www.bnet.cn/v3.0//CapService/ExecuteInvokeRequest"
|
||
|
|
||
|
- Addressing response action: "http://www.bnet.cn/v3.0//CapService/ExecuteInvokeResponse"
|
||
|
|
||
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||
|
@code
|
||
|
int soap_call___ns1__ExecuteInvoke(
|
||
|
struct soap *soap,
|
||
|
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||
|
NULL, // char *action = NULL selects default action for this operation
|
||
|
// request parameters:
|
||
|
std::wstring ns1__reqXml,
|
||
|
// response parameters:
|
||
|
std::wstring &ns1__ExecuteInvokeReturn
|
||
|
);
|
||
|
@endcode
|
||
|
|
||
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
||
|
@code
|
||
|
int __ns1__ExecuteInvoke(
|
||
|
struct soap *soap,
|
||
|
// request parameters:
|
||
|
std::wstring ns1__reqXml,
|
||
|
// response parameters:
|
||
|
std::wstring &ns1__ExecuteInvokeReturn
|
||
|
);
|
||
|
@endcode
|
||
|
|
||
|
C++ proxy class (defined in soapcapServiceSoapBindingProxy.h):
|
||
|
@code
|
||
|
class capServiceSoapBindingProxy;
|
||
|
@endcode
|
||
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||
|
|
||
|
C++ service class (defined in soapcapServiceSoapBindingService.h):
|
||
|
@code
|
||
|
class capServiceSoapBindingService;
|
||
|
@endcode
|
||
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||
|
|
||
|
*/
|
||
|
|
||
|
//gsoap ns1 service method-style: ExecuteInvoke document
|
||
|
//gsoap ns1 service method-encoding: ExecuteInvoke literal
|
||
|
//gsoap ns1 service method-action: ExecuteInvoke ""
|
||
|
//gsoap ns1 service method-output-action: ExecuteInvoke http://www.bnet.cn/v3.0//CapService/ExecuteInvokeResponse
|
||
|
int __ns1__ExecuteInvoke(
|
||
|
std::wstring ns1__reqXml, ///< Request parameter
|
||
|
std::wstring &ns1__ExecuteInvokeReturn ///< Response parameter
|
||
|
);
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* Service Operation *
|
||
|
* __ns1__EncodeString *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/// Operation "__ns1__EncodeString" of service binding "capServiceSoapBinding"
|
||
|
|
||
|
/**
|
||
|
|
||
|
Operation details:
|
||
|
|
||
|
|
||
|
- SOAP document/literal style messaging
|
||
|
|
||
|
- Addressing action: "http://www.bnet.cn/v3.0//CapService/EncodeStringRequest"
|
||
|
|
||
|
- Addressing response action: "http://www.bnet.cn/v3.0//CapService/EncodeStringResponse"
|
||
|
|
||
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
||
|
@code
|
||
|
int soap_call___ns1__EncodeString(
|
||
|
struct soap *soap,
|
||
|
NULL, // char *endpoint = NULL selects default endpoint for this operation
|
||
|
NULL, // char *action = NULL selects default action for this operation
|
||
|
// request parameters:
|
||
|
std::wstring ns1__decode,
|
||
|
// response parameters:
|
||
|
std::wstring &ns1__EncodeStringReturn
|
||
|
);
|
||
|
@endcode
|
||
|
|
||
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
||
|
@code
|
||
|
int __ns1__EncodeString(
|
||
|
struct soap *soap,
|
||
|
// request parameters:
|
||
|
std::wstring ns1__decode,
|
||
|
// response parameters:
|
||
|
std::wstring &ns1__EncodeStringReturn
|
||
|
);
|
||
|
@endcode
|
||
|
|
||
|
C++ proxy class (defined in soapcapServiceSoapBindingProxy.h):
|
||
|
@code
|
||
|
class capServiceSoapBindingProxy;
|
||
|
@endcode
|
||
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
||
|
|
||
|
C++ service class (defined in soapcapServiceSoapBindingService.h):
|
||
|
@code
|
||
|
class capServiceSoapBindingService;
|
||
|
@endcode
|
||
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
||
|
|
||
|
*/
|
||
|
|
||
|
//gsoap ns1 service method-style: EncodeString document
|
||
|
//gsoap ns1 service method-encoding: EncodeString literal
|
||
|
//gsoap ns1 service method-action: EncodeString ""
|
||
|
//gsoap ns1 service method-output-action: EncodeString http://www.bnet.cn/v3.0//CapService/EncodeStringResponse
|
||
|
int __ns1__EncodeString(
|
||
|
std::wstring ns1__decode, ///< Request parameter
|
||
|
std::wstring &ns1__EncodeStringReturn ///< Response parameter
|
||
|
);
|
||
|
|
||
|
/******************************************************************************\
|
||
|
* *
|
||
|
* XML Data Binding *
|
||
|
* *
|
||
|
\******************************************************************************/
|
||
|
|
||
|
|
||
|
/**
|
||
|
|
||
|
@page page_XMLDataBinding XML Data Binding
|
||
|
|
||
|
SOAP/XML services use data bindings contractually bound by WSDL and auto-
|
||
|
generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings
|
||
|
are adopted from XML schemas as part of the WSDL types section or when running
|
||
|
wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.
|
||
|
|
||
|
The following readers and writers are C/C++ data type (de)serializers auto-
|
||
|
generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the
|
||
|
(de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in
|
||
|
your code to import these data type and function declarations. Only use the
|
||
|
soapcpp2-generated files in your project build. Do not include the wsdl2h-
|
||
|
generated .h file in your code.
|
||
|
|
||
|
XML content can be retrieved from:
|
||
|
- a file descriptor, using soap->recvfd = fd
|
||
|
- a socket, using soap->socket = ...
|
||
|
- a C++ stream, using soap->is = ...
|
||
|
- a buffer, using the soap->frecv() callback
|
||
|
|
||
|
XML content can be stored to:
|
||
|
- a file descriptor, using soap->sendfd = fd
|
||
|
- a socket, using soap->socket = ...
|
||
|
- a C++ stream, using soap->os = ...
|
||
|
- a buffer, using the soap->fsend() callback
|
||
|
|
||
|
|
||
|
@section ns1 Top-level root elements of schema "http://www.bnet.cn/v3.0/"
|
||
|
|
||
|
- <ns1:reqXml> (use wsdl2h option -g to auto-generate)
|
||
|
|
||
|
- <ns1:ExecuteInvokeReturn> (use wsdl2h option -g to auto-generate)
|
||
|
|
||
|
- <ns1:decode> (use wsdl2h option -g to auto-generate)
|
||
|
|
||
|
- <ns1:EncodeStringReturn> (use wsdl2h option -g to auto-generate)
|
||
|
|
||
|
*/
|
||
|
|
||
|
} // namespace IAGWMMS
|
||
|
|
||
|
/* End of IagwMms.h */
|