846 lines
43 KiB
C++
846 lines
43 KiB
C++
namespace ISAGMMS {
|
|
/* IsagMms.h
|
|
Generated by wsdl2h 2.8.6 from ctcc_mm_notification_service_2_2.wsdl and wsmap.dat
|
|
2012-01-20 12:42:43 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 IsagMms.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.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service*
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* 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.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service"
|
|
ns2 = "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local"
|
|
ns3 = "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2"
|
|
ns4 = "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"
|
|
|
|
*/
|
|
|
|
#define SOAP_NAMESPACE_OF_ns2 "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local"
|
|
//gsoap ns2 schema namespace: http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local
|
|
//gsoap ns2 schema elementForm: qualified
|
|
//gsoap ns2 schema attributeForm: unqualified
|
|
|
|
#define SOAP_NAMESPACE_OF_ns3 "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2"
|
|
//gsoap ns3 schema namespace: http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2
|
|
//gsoap ns3 schema form: unqualified
|
|
|
|
#define SOAP_NAMESPACE_OF_ns4 "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"
|
|
//gsoap ns4 schema namespace: http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1
|
|
//gsoap ns4 schema form: unqualified
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Built-in Schema Types and Top-Level Elements and Attributes *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Primitive built-in type "xs:anyURI"
|
|
typedef std::wstring xsd__anyURI;
|
|
|
|
/// Primitive built-in type "xs:decimal"
|
|
typedef std::wstring xsd__decimal;
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Forward Declarations *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
|
|
// Forward declaration of class ns2__notifyMessageReception.
|
|
class ns2__notifyMessageReception;
|
|
|
|
// Forward declaration of class ns2__notifyMessageReceptionResponse.
|
|
class ns2__notifyMessageReceptionResponse;
|
|
|
|
// Forward declaration of class ns2__notifyMessageDeliveryReceipt.
|
|
class ns2__notifyMessageDeliveryReceipt;
|
|
|
|
// Forward declaration of class ns2__notifyMessageDeliveryReceiptResponse.
|
|
class ns2__notifyMessageDeliveryReceiptResponse;
|
|
|
|
// Forward declaration of class ns3__DeliveryInformation.
|
|
class ns3__DeliveryInformation;
|
|
|
|
// Forward declaration of class ns3__MessageReference.
|
|
class ns3__MessageReference;
|
|
|
|
// Forward declaration of class ns3__MessageURI.
|
|
class ns3__MessageURI;
|
|
|
|
// Forward declaration of class ns4__RequestSOAPHeader.
|
|
class ns4__RequestSOAPHeader;
|
|
|
|
// Forward declaration of class ns4__NotifySOAPHeader.
|
|
class ns4__NotifySOAPHeader;
|
|
|
|
// Forward declaration of class ns4__TimeMetric.
|
|
class ns4__TimeMetric;
|
|
|
|
// Forward declaration of class ns4__ChargingInformation.
|
|
class ns4__ChargingInformation;
|
|
|
|
// Forward declaration of class ns4__SimpleReference.
|
|
class ns4__SimpleReference;
|
|
|
|
// Forward declaration of class ns4__ServiceError.
|
|
class ns4__ServiceError;
|
|
|
|
// Forward declaration of class ns4__ServiceException.
|
|
class ns4__ServiceException;
|
|
|
|
// Forward declaration of class ns4__PolicyException.
|
|
class ns4__PolicyException;
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Types and Top-Level Elements and Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local*
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Types and Top-Level Elements and Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Types and Top-Level Elements and Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":MessagePriority is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns3__MessagePriority' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns3__MessagePriority
|
|
{
|
|
ns3__MessagePriority__Default, ///< xs:string value="Default"
|
|
ns3__MessagePriority__Low, ///< xs:string value="Low"
|
|
ns3__MessagePriority__Normal, ///< xs:string value="Normal"
|
|
ns3__MessagePriority__High, ///< xs:string value="High"
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":DeliveryStatus is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns3__DeliveryStatus' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns3__DeliveryStatus
|
|
{
|
|
ns3__DeliveryStatus__DeliveredToNetwork, ///< xs:string value="DeliveredToNetwork"
|
|
ns3__DeliveryStatus__DeliveryUncertain, ///< xs:string value="DeliveryUncertain"
|
|
ns3__DeliveryStatus__DeliveryImpossible, ///< xs:string value="DeliveryImpossible"
|
|
ns3__DeliveryStatus__MessageWaiting, ///< xs:string value="MessageWaiting"
|
|
ns3__DeliveryStatus__DeliveredToTerminal, ///< xs:string value="DeliveredToTerminal"
|
|
ns3__DeliveryStatus__DeliveryNotificationNotSupported, ///< xs:string value="DeliveryNotificationNotSupported"
|
|
ns3__DeliveryStatus__AuthPriceFailed, ///< xs:string value="AuthPriceFailed"
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Types and Top-Level Elements and Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":DeliveryConfirmStatus is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns4__DeliveryConfirmStatus' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns4__DeliveryConfirmStatus
|
|
{
|
|
ns4__DeliveryConfirmStatus__Success, ///< xs:string value="Success"
|
|
ns4__DeliveryConfirmStatus__Fail, ///< xs:string value="Fail"
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":EndReason is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns4__EndReason' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns4__EndReason
|
|
{
|
|
ns4__EndReason__0 = 0, ///< xs:string value="0"
|
|
ns4__EndReason___x002d1 = -1, ///< xs:string value="-1"
|
|
ns4__EndReason__1 = 1, ///< xs:string value="1"
|
|
ns4__EndReason__2 = 2, ///< xs:string value="2"
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":TimeMetrics is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns4__TimeMetrics' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns4__TimeMetrics
|
|
{
|
|
ns4__TimeMetrics__Millisecond, ///< xs:string value="Millisecond"
|
|
ns4__TimeMetrics__Second, ///< xs:string value="Second"
|
|
ns4__TimeMetrics__Minute, ///< xs:string value="Minute"
|
|
ns4__TimeMetrics__Hour, ///< xs:string value="Hour"
|
|
ns4__TimeMetrics__Day, ///< xs:string value="Day"
|
|
ns4__TimeMetrics__Week, ///< xs:string value="Week"
|
|
ns4__TimeMetrics__Month, ///< xs:string value="Month"
|
|
ns4__TimeMetrics__Year, ///< xs:string value="Year"
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Complex Types and Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local*
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReception is a complexType.
|
|
class ns2__notifyMessageReception
|
|
{ public:
|
|
/// Element registrationIdentifier of type xs:string.
|
|
std::wstring registrationIdentifier 1; ///< Required element.
|
|
/// Element message of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":MessageReference.
|
|
ns3__MessageReference* message 1; ///< Required element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReceptionResponse is a complexType.
|
|
class ns2__notifyMessageReceptionResponse
|
|
{ public:
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceipt is a complexType.
|
|
class ns2__notifyMessageDeliveryReceipt
|
|
{ public:
|
|
/// Element correlator of type xs:string.
|
|
std::wstring correlator 1; ///< Required element.
|
|
/// Element deliveryStatus of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":DeliveryInformation.
|
|
ns3__DeliveryInformation* deliveryStatus 1; ///< Required element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceiptResponse is a complexType.
|
|
class ns2__notifyMessageDeliveryReceiptResponse
|
|
{ public:
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Complex Types and Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":DeliveryInformation is a complexType.
|
|
class ns3__DeliveryInformation
|
|
{ public:
|
|
/// Element address of type xs:anyURI.
|
|
xsd__anyURI address 1; ///< Required element.
|
|
/// Element deliveryStatus of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":DeliveryStatus.
|
|
enum ns3__DeliveryStatus deliveryStatus 1; ///< Required element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":MessageReference is a complexType.
|
|
class ns3__MessageReference
|
|
{ public:
|
|
/// Element messageIdentifier of type xs:string.
|
|
std::wstring* messageIdentifier 0; ///< Optional element.
|
|
/// Element messageServiceActivationNumber of type xs:string.
|
|
std::wstring messageServiceActivationNumber 1; ///< Required element.
|
|
/// Element senderAddress of type xs:anyURI.
|
|
xsd__anyURI senderAddress 1; ///< Required element.
|
|
/// Element subject of type xs:string.
|
|
std::wstring* subject 0; ///< Optional element.
|
|
/// Element priority of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":MessagePriority.
|
|
enum ns3__MessagePriority priority 1; ///< Required element.
|
|
/// Element message of type xs:string.
|
|
std::wstring* message 0; ///< Optional element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2":MessageURI is a complexType.
|
|
class ns3__MessageURI
|
|
{ public:
|
|
/// Element bodyText of type xs:string.
|
|
std::wstring* bodyText 0; ///< Optional element.
|
|
/// Size of array of xsd__anyURI is 0..unbounded
|
|
$int __sizefileReferences 0;
|
|
/// Pointer to array xsd__anyURI of length 0..unbounded
|
|
xsd__anyURI *fileReferences 0;
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Complex Types and Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":RequestSOAPHeader is a complexType.
|
|
class ns4__RequestSOAPHeader
|
|
{ public:
|
|
/// Element spId of type xs:string.
|
|
std::wstring spId 1; ///< Required element.
|
|
/// Element spPassword of type xs:string.
|
|
std::wstring spPassword 1; ///< Required element.
|
|
/// Element timeStamp of type xs:string.
|
|
std::wstring timeStamp 1; ///< Required element.
|
|
/// Element productId of type xs:string.
|
|
std::wstring productId 1; ///< Required element.
|
|
/// Element SAN of type xs:string.
|
|
std::wstring* SAN 0; ///< Optional element.
|
|
/// Element transactionId of type xs:string.
|
|
std::wstring* transactionId 0; ///< Optional element.
|
|
/// Element transEnd of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":EndReason.
|
|
enum ns4__EndReason* transEnd 0; ///< Optional element.
|
|
/// Element linkId of type xs:string.
|
|
std::wstring* linkId 0; ///< Optional element.
|
|
/// Element OA of type xs:anyURI.
|
|
xsd__anyURI* OA 0; ///< Optional element.
|
|
/// Element FA of type xs:anyURI.
|
|
xsd__anyURI* FA 0; ///< Optional element.
|
|
/// Element multicastMessaging of type xs:boolean.
|
|
bool* multicastMessaging 0; ///< Optional element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":NotifySOAPHeader is a complexType.
|
|
class ns4__NotifySOAPHeader
|
|
{ public:
|
|
/// Element spRevId of type xs:string.
|
|
std::wstring* spRevId 0; ///< Optional element.
|
|
/// Element spRevpassword of type xs:string.
|
|
std::wstring* spRevpassword 0; ///< Optional element.
|
|
/// Element spId of type xs:string.
|
|
std::wstring spId 1; ///< Required element.
|
|
/// Element SAN of type xs:string.
|
|
std::wstring* SAN 0; ///< Optional element.
|
|
/// Element transactionId of type xs:string.
|
|
std::wstring* transactionId 0; ///< Optional element.
|
|
/// Element linkId of type xs:string.
|
|
std::wstring* linkId 0; ///< Optional element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":TimeMetric is a complexType.
|
|
class ns4__TimeMetric
|
|
{ public:
|
|
/// Element metric of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":TimeMetrics.
|
|
enum ns4__TimeMetrics metric 1; ///< Required element.
|
|
/// Element units of type xs:int.
|
|
int units 1; ///< Required element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":ChargingInformation is a complexType.
|
|
class ns4__ChargingInformation
|
|
{ public:
|
|
/// Element description of type xs:string.
|
|
std::wstring description 1; ///< Required element.
|
|
/// Element currency of type xs:string.
|
|
std::wstring* currency 0; ///< Optional element.
|
|
/// Element amount of type xs:decimal.
|
|
xsd__decimal* amount 0; ///< Optional element.
|
|
/// Element code of type xs:string.
|
|
std::wstring* code 0; ///< Optional element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":SimpleReference is a complexType.
|
|
class ns4__SimpleReference
|
|
{ public:
|
|
/// Element endpoint of type xs:anyURI.
|
|
xsd__anyURI endpoint 1; ///< Required element.
|
|
/// Element interfaceName of type xs:string.
|
|
std::wstring interfaceName 1; ///< Required element.
|
|
/// Element correlator of type xs:string.
|
|
std::wstring correlator 1; ///< Required element.
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":ServiceError is a complexType.
|
|
class ns4__ServiceError
|
|
{ public:
|
|
/// Element messageId of type xs:string.
|
|
std::wstring messageId 1; ///< Required element.
|
|
/// Element text of type xs:string.
|
|
std::wstring text 1; ///< Required element.
|
|
/// Size of array of std::wstring is 0..unbounded
|
|
$int __sizevariables 0;
|
|
/// Pointer to array std::wstring of length 0..unbounded
|
|
std::wstring *variables 0;
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":ServiceException is a complexType.
|
|
class ns4__ServiceException
|
|
{ public:
|
|
/// Element messageId of type xs:string.
|
|
std::wstring messageId 1; ///< Required element.
|
|
/// Element text of type xs:string.
|
|
std::wstring text 1; ///< Required element.
|
|
/// Size of array of std::wstring is 0..unbounded
|
|
$int __sizevariables 0;
|
|
/// Pointer to array std::wstring of length 0..unbounded
|
|
std::wstring *variables 0;
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":PolicyException is a complexType.
|
|
class ns4__PolicyException
|
|
{ public:
|
|
/// Element messageId of type xs:string.
|
|
std::wstring messageId 1; ///< Required element.
|
|
/// Element text of type xs:string.
|
|
std::wstring text 1; ///< Required element.
|
|
/// Size of array of std::wstring is 0..unbounded
|
|
$int __sizevariables 0;
|
|
/// Pointer to array std::wstring of length 0..unbounded
|
|
std::wstring *variables 0;
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local*
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReception of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReception.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReceptionResponse of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageReceptionResponse.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceipt of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceipt.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceiptResponse of type "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local":notifyMessageDeliveryReceiptResponse.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local*
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":RequestSOAPHeader of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":RequestSOAPHeader.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":NotifySOAPHeader of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":NotifySOAPHeader.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":ServiceException of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":ServiceException.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":PolicyException of type "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1":PolicyException.
|
|
/// Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Services *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
//gsoap ns1 service name: MessageNotificationBinding
|
|
//gsoap ns1 service type: MessageNotification
|
|
//gsoap ns1 service port: http://localhost:9080/MessageNotificationService/services/MessageNotification
|
|
//gsoap ns1 service namespace: http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service
|
|
//gsoap ns1 service transport: http://schemas.xmlsoap.org/soap/http
|
|
|
|
/** @mainpage ctcc_mm_notification_service Definitions
|
|
|
|
@section ctcc_USCOREmm_USCOREnotification_USCOREservice_bindings Service Bindings
|
|
|
|
- @ref MessageNotificationBinding
|
|
|
|
@section ctcc_USCOREmm_USCOREnotification_USCOREservice_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 MessageNotificationBinding Binding "MessageNotificationBinding"
|
|
|
|
@section MessageNotificationBinding_operations Operations of Binding "MessageNotificationBinding"
|
|
|
|
- @ref __ns1__notifyMessageReception
|
|
|
|
- @ref __ns1__notifyMessageDeliveryReceipt
|
|
|
|
@section MessageNotificationBinding_ports Endpoints of Binding "MessageNotificationBinding"
|
|
|
|
- http://localhost:9080/MessageNotificationService/services/MessageNotification
|
|
|
|
Note: use wsdl2h option -N to change the service binding prefix name
|
|
|
|
*/
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Binding *
|
|
* MessageNotificationBinding *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Operation *
|
|
* __ns1__notifyMessageReception *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Operation "__ns1__notifyMessageReception" of service binding "MessageNotificationBinding"
|
|
|
|
/**
|
|
|
|
Operation details:
|
|
|
|
|
|
- SOAP document/literal style messaging
|
|
|
|
- Addressing action: "http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageReception"
|
|
|
|
- Addressing response action: "http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageReceptionResponse"
|
|
|
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
|
@code
|
|
int soap_call___ns1__notifyMessageReception(
|
|
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:
|
|
ns2__notifyMessageReception* ns2__notifyMessageReception_,
|
|
// response parameters:
|
|
ns2__notifyMessageReceptionResponse* ns2__notifyMessageReceptionResponse_
|
|
);
|
|
@endcode
|
|
|
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
|
@code
|
|
int __ns1__notifyMessageReception(
|
|
struct soap *soap,
|
|
// request parameters:
|
|
ns2__notifyMessageReception* ns2__notifyMessageReception_,
|
|
// response parameters:
|
|
ns2__notifyMessageReceptionResponse* ns2__notifyMessageReceptionResponse_
|
|
);
|
|
@endcode
|
|
|
|
C++ proxy class (defined in soapMessageNotificationBindingProxy.h):
|
|
@code
|
|
class MessageNotificationBindingProxy;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
|
|
|
C++ service class (defined in soapMessageNotificationBindingService.h):
|
|
@code
|
|
class MessageNotificationBindingService;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
|
|
|
*/
|
|
|
|
//gsoap ns1 service method-style: notifyMessageReception document
|
|
//gsoap ns1 service method-encoding: notifyMessageReception literal
|
|
//gsoap ns1 service method-action: notifyMessageReception ""
|
|
//gsoap ns1 service method-output-action: notifyMessageReception http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageReceptionResponse
|
|
int __ns1__notifyMessageReception(
|
|
ns2__notifyMessageReception* ns2__notifyMessageReception_, ///< Request parameter
|
|
ns2__notifyMessageReceptionResponse* ns2__notifyMessageReceptionResponse_ ///< Response parameter
|
|
);
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Operation *
|
|
* __ns1__notifyMessageDeliveryReceipt *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Operation "__ns1__notifyMessageDeliveryReceipt" of service binding "MessageNotificationBinding"
|
|
|
|
/**
|
|
|
|
Operation details:
|
|
|
|
|
|
- SOAP document/literal style messaging
|
|
|
|
- Addressing action: "http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageDeliveryReceipt"
|
|
|
|
- Addressing response action: "http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageDeliveryReceiptResponse"
|
|
|
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
|
@code
|
|
int soap_call___ns1__notifyMessageDeliveryReceipt(
|
|
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:
|
|
ns2__notifyMessageDeliveryReceipt* ns2__notifyMessageDeliveryReceipt_,
|
|
// response parameters:
|
|
ns2__notifyMessageDeliveryReceiptResponse* ns2__notifyMessageDeliveryReceiptResponse_
|
|
);
|
|
@endcode
|
|
|
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
|
@code
|
|
int __ns1__notifyMessageDeliveryReceipt(
|
|
struct soap *soap,
|
|
// request parameters:
|
|
ns2__notifyMessageDeliveryReceipt* ns2__notifyMessageDeliveryReceipt_,
|
|
// response parameters:
|
|
ns2__notifyMessageDeliveryReceiptResponse* ns2__notifyMessageDeliveryReceiptResponse_
|
|
);
|
|
@endcode
|
|
|
|
C++ proxy class (defined in soapMessageNotificationBindingProxy.h):
|
|
@code
|
|
class MessageNotificationBindingProxy;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
|
|
|
C++ service class (defined in soapMessageNotificationBindingService.h):
|
|
@code
|
|
class MessageNotificationBindingService;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
|
|
|
*/
|
|
|
|
//gsoap ns1 service method-style: notifyMessageDeliveryReceipt document
|
|
//gsoap ns1 service method-encoding: notifyMessageDeliveryReceipt literal
|
|
//gsoap ns1 service method-action: notifyMessageDeliveryReceipt ""
|
|
//gsoap ns1 service method-output-action: notifyMessageDeliveryReceipt http://www.chinatelecom.com.cn/wsdl/ctcc/multimedia_messaging/notification/v2_2/service/MessageNotification/notifyMessageDeliveryReceiptResponse
|
|
int __ns1__notifyMessageDeliveryReceipt(
|
|
ns2__notifyMessageDeliveryReceipt* ns2__notifyMessageDeliveryReceipt_, ///< Request parameter
|
|
ns2__notifyMessageDeliveryReceiptResponse* ns2__notifyMessageDeliveryReceiptResponse_ ///< 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 ns2 Top-level root elements of schema "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/notification/v2_2/local"
|
|
|
|
- <ns2:notifyMessageReception> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifyMessageReceptionResponse> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifyMessageDeliveryReceipt> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifyMessageDeliveryReceiptResponse> (use wsdl2h option -g to auto-generate)
|
|
|
|
@section ns3 Top-level root elements of schema "http://www.chinatelecom.com.cn/schema/ctcc/multimedia_messaging/v2_2"
|
|
|
|
@section ns4 Top-level root elements of schema "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"
|
|
|
|
- <ns4:RequestSOAPHeader> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns4:NotifySOAPHeader> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns4:ServiceException> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns4:PolicyException> (use wsdl2h option -g to auto-generate)
|
|
|
|
*/
|
|
|
|
} // namespace ISAGMMS
|
|
|
|
/* End of IsagMms.h */
|