822 lines
40 KiB
C++
822 lines
40 KiB
C++
namespace ISAGSMS {
|
|
/* IsagSms.h
|
|
Generated by wsdl2h 2.8.6 from ctcc_sms_notification_service_2_1.wsdl and wsmap.dat
|
|
2012-04-20 11:25:19 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 IsagSms.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/sms/notification/v2_1/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/sms/notification/v2_1/service"
|
|
ns2 = "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local"
|
|
ns3 = "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1"
|
|
ns4 = "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1"
|
|
|
|
*/
|
|
|
|
#define SOAP_NAMESPACE_OF_ns2 "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local"
|
|
//gsoap ns2 schema namespace: http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local
|
|
//gsoap ns2 schema elementForm: qualified
|
|
//gsoap ns2 schema attributeForm: unqualified
|
|
|
|
#define SOAP_NAMESPACE_OF_ns3 "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1"
|
|
//gsoap ns3 schema namespace: http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1
|
|
//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__notifySmsReception.
|
|
class ns2__notifySmsReception;
|
|
|
|
// Forward declaration of class ns2__notifySmsReceptionResponse.
|
|
class ns2__notifySmsReceptionResponse;
|
|
|
|
// Forward declaration of class ns2__notifySmsDeliveryReceipt.
|
|
class ns2__notifySmsDeliveryReceipt;
|
|
|
|
// Forward declaration of class ns2__notifySmsDeliveryReceiptResponse.
|
|
class ns2__notifySmsDeliveryReceiptResponse;
|
|
|
|
// Forward declaration of class ns3__DeliveryInformation.
|
|
class ns3__DeliveryInformation;
|
|
|
|
// Forward declaration of class ns3__SmsMessage.
|
|
class ns3__SmsMessage;
|
|
|
|
// 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/sms/notification/v2_1/local *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Schema Types and Top-Level Elements and Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* 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/sms/v2_1":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"
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1":SmsFormat is a simpleType restriction of xs:string.
|
|
/// Note: enum values are prefixed with 'ns3__SmsFormat' to avoid name clashes, please use wsdl2h option -e to omit this prefix
|
|
enum ns3__SmsFormat
|
|
{
|
|
ns3__SmsFormat__Ems, ///< xs:string value="Ems"
|
|
ns3__SmsFormat__SmartMessaging, ///< xs:string value="SmartMessaging"
|
|
};
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* 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/sms/notification/v2_1/local *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsReception is a complexType.
|
|
class ns2__notifySmsReception
|
|
{ public:
|
|
/// Element registrationIdentifier of type xs:string.
|
|
std::wstring registrationIdentifier 1; ///< Required element.
|
|
/// Element message of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1":SmsMessage.
|
|
ns3__SmsMessage* 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/sms/notification/v2_1/local":notifySmsReceptionResponse is a complexType.
|
|
class ns2__notifySmsReceptionResponse
|
|
{ public:
|
|
/// A handle to the soap struct that manages this instance (automatically set)
|
|
struct soap *soap ;
|
|
};
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsDeliveryReceipt is a complexType.
|
|
class ns2__notifySmsDeliveryReceipt
|
|
{ public:
|
|
/// Element correlator of type xs:string.
|
|
std::wstring correlator 1; ///< Required element.
|
|
/// Element deliveryStatus of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1":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/sms/notification/v2_1/local":notifySmsDeliveryReceiptResponse is a complexType.
|
|
class ns2__notifySmsDeliveryReceiptResponse
|
|
{ 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/sms/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1":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/sms/v2_1":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/sms/v2_1":SmsMessage is a complexType.
|
|
class ns3__SmsMessage
|
|
{ public:
|
|
/// Element message of type xs:string.
|
|
std::wstring message 1; ///< Required element.
|
|
/// Element senderAddress of type xs:anyURI.
|
|
xsd__anyURI senderAddress 1; ///< Required element.
|
|
/// Element smsServiceActivationNumber of type xs:anyURI.
|
|
xsd__anyURI smsServiceActivationNumber 1; ///< Required element.
|
|
/// 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/sms/notification/v2_1/local *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Top-level root element "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsReception of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsReception.
|
|
/// 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/sms/notification/v2_1/local":notifySmsReceptionResponse of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsReceptionResponse.
|
|
/// 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/sms/notification/v2_1/local":notifySmsDeliveryReceipt of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsDeliveryReceipt.
|
|
/// 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/sms/notification/v2_1/local":notifySmsDeliveryReceiptResponse of type "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local":notifySmsDeliveryReceiptResponse.
|
|
/// 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/sms/notification/v2_1/local *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Elements *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Additional Top-Level Attributes *
|
|
* http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1 *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* 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: SmsNotificationBinding
|
|
//gsoap ns1 service type: SmsNotification
|
|
//gsoap ns1 service port: http://localhost:9080/SmsNotificationService/services/SmsNotification
|
|
//gsoap ns1 service namespace: http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service
|
|
//gsoap ns1 service transport: http://schemas.xmlsoap.org/soap/http
|
|
|
|
/** @mainpage ctcc_sms_notification_service Definitions
|
|
|
|
@section ctcc_USCOREsms_USCOREnotification_USCOREservice_bindings Service Bindings
|
|
|
|
- @ref SmsNotificationBinding
|
|
|
|
@section ctcc_USCOREsms_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 SmsNotificationBinding Binding "SmsNotificationBinding"
|
|
|
|
@section SmsNotificationBinding_operations Operations of Binding "SmsNotificationBinding"
|
|
|
|
- @ref __ns1__notifySmsReception
|
|
|
|
- @ref __ns1__notifySmsDeliveryReceipt
|
|
|
|
@section SmsNotificationBinding_ports Endpoints of Binding "SmsNotificationBinding"
|
|
|
|
- http://localhost:9080/SmsNotificationService/services/SmsNotification
|
|
|
|
Note: use wsdl2h option -N to change the service binding prefix name
|
|
|
|
*/
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Binding *
|
|
* SmsNotificationBinding *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Operation *
|
|
* __ns1__notifySmsReception *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Operation "__ns1__notifySmsReception" of service binding "SmsNotificationBinding"
|
|
|
|
/**
|
|
|
|
Operation details:
|
|
|
|
|
|
- SOAP document/literal style messaging
|
|
|
|
- Addressing action: "http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsReception"
|
|
|
|
- Addressing response action: "http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsReceptionResponse"
|
|
|
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
|
@code
|
|
int soap_call___ns1__notifySmsReception(
|
|
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__notifySmsReception* ns2__notifySmsReception_,
|
|
// response parameters:
|
|
ns2__notifySmsReceptionResponse* ns2__notifySmsReceptionResponse_
|
|
);
|
|
@endcode
|
|
|
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
|
@code
|
|
int __ns1__notifySmsReception(
|
|
struct soap *soap,
|
|
// request parameters:
|
|
ns2__notifySmsReception* ns2__notifySmsReception_,
|
|
// response parameters:
|
|
ns2__notifySmsReceptionResponse* ns2__notifySmsReceptionResponse_
|
|
);
|
|
@endcode
|
|
|
|
C++ proxy class (defined in soapSmsNotificationBindingProxy.h):
|
|
@code
|
|
class SmsNotificationBindingProxy;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
|
|
|
C++ service class (defined in soapSmsNotificationBindingService.h):
|
|
@code
|
|
class SmsNotificationBindingService;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
|
|
|
*/
|
|
|
|
//gsoap ns1 service method-style: notifySmsReception document
|
|
//gsoap ns1 service method-encoding: notifySmsReception literal
|
|
//gsoap ns1 service method-action: notifySmsReception ""
|
|
//gsoap ns1 service method-output-action: notifySmsReception http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsReceptionResponse
|
|
int __ns1__notifySmsReception(
|
|
ns2__notifySmsReception* ns2__notifySmsReception_, ///< Request parameter
|
|
ns2__notifySmsReceptionResponse* ns2__notifySmsReceptionResponse_ ///< Response parameter
|
|
);
|
|
|
|
/******************************************************************************\
|
|
* *
|
|
* Service Operation *
|
|
* __ns1__notifySmsDeliveryReceipt *
|
|
* *
|
|
\******************************************************************************/
|
|
|
|
|
|
/// Operation "__ns1__notifySmsDeliveryReceipt" of service binding "SmsNotificationBinding"
|
|
|
|
/**
|
|
|
|
Operation details:
|
|
|
|
|
|
- SOAP document/literal style messaging
|
|
|
|
- Addressing action: "http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsDeliveryReceipt"
|
|
|
|
- Addressing response action: "http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsDeliveryReceiptResponse"
|
|
|
|
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
|
|
@code
|
|
int soap_call___ns1__notifySmsDeliveryReceipt(
|
|
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__notifySmsDeliveryReceipt* ns2__notifySmsDeliveryReceipt_,
|
|
// response parameters:
|
|
ns2__notifySmsDeliveryReceiptResponse* ns2__notifySmsDeliveryReceiptResponse_
|
|
);
|
|
@endcode
|
|
|
|
C server function (called from the service dispatcher defined in soapServer.c[pp]):
|
|
@code
|
|
int __ns1__notifySmsDeliveryReceipt(
|
|
struct soap *soap,
|
|
// request parameters:
|
|
ns2__notifySmsDeliveryReceipt* ns2__notifySmsDeliveryReceipt_,
|
|
// response parameters:
|
|
ns2__notifySmsDeliveryReceiptResponse* ns2__notifySmsDeliveryReceiptResponse_
|
|
);
|
|
@endcode
|
|
|
|
C++ proxy class (defined in soapSmsNotificationBindingProxy.h):
|
|
@code
|
|
class SmsNotificationBindingProxy;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
|
|
|
|
C++ service class (defined in soapSmsNotificationBindingService.h):
|
|
@code
|
|
class SmsNotificationBindingService;
|
|
@endcode
|
|
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
|
|
|
|
*/
|
|
|
|
//gsoap ns1 service method-style: notifySmsDeliveryReceipt document
|
|
//gsoap ns1 service method-encoding: notifySmsDeliveryReceipt literal
|
|
//gsoap ns1 service method-action: notifySmsDeliveryReceipt ""
|
|
//gsoap ns1 service method-output-action: notifySmsDeliveryReceipt http://www.chinatelecom.com.cn/wsdl/ctcc/sms/notification/v2_1/service/SmsNotification/notifySmsDeliveryReceiptResponse
|
|
int __ns1__notifySmsDeliveryReceipt(
|
|
ns2__notifySmsDeliveryReceipt* ns2__notifySmsDeliveryReceipt_, ///< Request parameter
|
|
ns2__notifySmsDeliveryReceiptResponse* ns2__notifySmsDeliveryReceiptResponse_ ///< 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/sms/notification/v2_1/local"
|
|
|
|
- <ns2:notifySmsReception> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifySmsReceptionResponse> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifySmsDeliveryReceipt> (use wsdl2h option -g to auto-generate)
|
|
|
|
- <ns2:notifySmsDeliveryReceiptResponse> (use wsdl2h option -g to auto-generate)
|
|
|
|
@section ns3 Top-level root elements of schema "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1"
|
|
|
|
@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 ISAGSMS
|
|
|
|
/* End of IsagSms.h */
|