/* ISAGSMSStub.h Generated by gSOAP 2.8.6 from IsagSms.h Copyright(C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved. The generated code is released under one of the following licenses: 1) GPL or 2) Genivia's license for commercial use. This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. */ #ifndef ISAGSMSStub_H #define ISAGSMSStub_H #define SOAP_NAMESPACE_OF_ns2 "http://www.chinatelecom.com.cn/schema/ctcc/sms/notification/v2_1/local" #define SOAP_NAMESPACE_OF_ns3 "http://www.chinatelecom.com.cn/schema/ctcc/sms/v2_1" #define SOAP_NAMESPACE_OF_ns4 "http://www.chinatelecom.com.cn/schema/ctcc/common/v2_1" #ifndef WITH_NONAMESPACES #define WITH_NONAMESPACES #endif #ifndef WITH_NOGLOBAL #define WITH_NOGLOBAL #endif #include "stdsoap2.h" namespace ISAGSMS { /******************************************************************************\ * * * Enumerations * * * \******************************************************************************/ #ifndef SOAP_TYPE_ISAGSMS_ns3__DeliveryStatus #define SOAP_TYPE_ISAGSMS_ns3__DeliveryStatus (24) /* ns3:DeliveryStatus */ enum ns3__DeliveryStatus {ns3__DeliveryStatus__DeliveredToNetwork = 0, ns3__DeliveryStatus__DeliveryUncertain = 1, ns3__DeliveryStatus__DeliveryImpossible = 2, ns3__DeliveryStatus__MessageWaiting = 3, ns3__DeliveryStatus__DeliveredToTerminal = 4, ns3__DeliveryStatus__DeliveryNotificationNotSupported = 5, ns3__DeliveryStatus__AuthPriceFailed = 6}; #endif #ifndef SOAP_TYPE_ISAGSMS_ns3__SmsFormat #define SOAP_TYPE_ISAGSMS_ns3__SmsFormat (25) /* ns3:SmsFormat */ enum ns3__SmsFormat {ns3__SmsFormat__Ems = 0, ns3__SmsFormat__SmartMessaging = 1}; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__DeliveryConfirmStatus #define SOAP_TYPE_ISAGSMS_ns4__DeliveryConfirmStatus (26) /* ns4:DeliveryConfirmStatus */ enum ns4__DeliveryConfirmStatus {ns4__DeliveryConfirmStatus__Success = 0, ns4__DeliveryConfirmStatus__Fail = 1}; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__EndReason #define SOAP_TYPE_ISAGSMS_ns4__EndReason (27) /* ns4:EndReason */ enum ns4__EndReason {ns4__EndReason__0 = 0, ns4__EndReason___x002d1 = -1, ns4__EndReason__1 = 1, ns4__EndReason__2 = 2}; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__TimeMetrics #define SOAP_TYPE_ISAGSMS_ns4__TimeMetrics (28) /* ns4:TimeMetrics */ enum ns4__TimeMetrics {ns4__TimeMetrics__Millisecond = 0, ns4__TimeMetrics__Second = 1, ns4__TimeMetrics__Minute = 2, ns4__TimeMetrics__Hour = 3, ns4__TimeMetrics__Day = 4, ns4__TimeMetrics__Week = 5, ns4__TimeMetrics__Month = 6, ns4__TimeMetrics__Year = 7}; #endif /******************************************************************************\ * * * Types with Custom Serializers * * * \******************************************************************************/ /******************************************************************************\ * * * Classes and Structs * * * \******************************************************************************/ #if 0 /* volatile type: do not declare here, declared elsewhere */ #endif #if 0 /* volatile type: do not declare here, declared elsewhere */ #endif #ifndef SOAP_TYPE_ISAGSMS_ns2__notifySmsReception #define SOAP_TYPE_ISAGSMS_ns2__notifySmsReception (10) /* ns2:notifySmsReception */ class SOAP_CMAC ns2__notifySmsReception { public: std::wstring registrationIdentifier; /* required element of type xsd:string */ class ns3__SmsMessage *message; /* required element of type ns3:SmsMessage */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 10; } /* = unique id SOAP_TYPE_ISAGSMS_ns2__notifySmsReception */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns2__notifySmsReception() { ns2__notifySmsReception::soap_default(NULL); } virtual ~ns2__notifySmsReception() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns2__notifySmsReceptionResponse #define SOAP_TYPE_ISAGSMS_ns2__notifySmsReceptionResponse (11) /* ns2:notifySmsReceptionResponse */ class SOAP_CMAC ns2__notifySmsReceptionResponse { public: struct soap *soap; /* transient */ public: virtual int soap_type() const { return 11; } /* = unique id SOAP_TYPE_ISAGSMS_ns2__notifySmsReceptionResponse */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns2__notifySmsReceptionResponse() { ns2__notifySmsReceptionResponse::soap_default(NULL); } virtual ~ns2__notifySmsReceptionResponse() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceipt #define SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceipt (12) /* ns2:notifySmsDeliveryReceipt */ class SOAP_CMAC ns2__notifySmsDeliveryReceipt { public: std::wstring correlator; /* required element of type xsd:string */ class ns3__DeliveryInformation *deliveryStatus; /* required element of type ns3:DeliveryInformation */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 12; } /* = unique id SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceipt */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns2__notifySmsDeliveryReceipt() { ns2__notifySmsDeliveryReceipt::soap_default(NULL); } virtual ~ns2__notifySmsDeliveryReceipt() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceiptResponse #define SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceiptResponse (13) /* ns2:notifySmsDeliveryReceiptResponse */ class SOAP_CMAC ns2__notifySmsDeliveryReceiptResponse { public: struct soap *soap; /* transient */ public: virtual int soap_type() const { return 13; } /* = unique id SOAP_TYPE_ISAGSMS_ns2__notifySmsDeliveryReceiptResponse */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns2__notifySmsDeliveryReceiptResponse() { ns2__notifySmsDeliveryReceiptResponse::soap_default(NULL); } virtual ~ns2__notifySmsDeliveryReceiptResponse() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns3__DeliveryInformation #define SOAP_TYPE_ISAGSMS_ns3__DeliveryInformation (14) /* ns3:DeliveryInformation */ class SOAP_CMAC ns3__DeliveryInformation { public: std::wstring address; /* required element of type xsd:anyURI */ enum ns3__DeliveryStatus deliveryStatus; /* required element of type ns3:DeliveryStatus */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 14; } /* = unique id SOAP_TYPE_ISAGSMS_ns3__DeliveryInformation */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns3__DeliveryInformation() { ns3__DeliveryInformation::soap_default(NULL); } virtual ~ns3__DeliveryInformation() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns3__SmsMessage #define SOAP_TYPE_ISAGSMS_ns3__SmsMessage (15) /* ns3:SmsMessage */ class SOAP_CMAC ns3__SmsMessage { public: std::wstring message; /* required element of type xsd:string */ std::wstring senderAddress; /* required element of type xsd:anyURI */ std::wstring smsServiceActivationNumber; /* required element of type xsd:anyURI */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 15; } /* = unique id SOAP_TYPE_ISAGSMS_ns3__SmsMessage */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns3__SmsMessage() { ns3__SmsMessage::soap_default(NULL); } virtual ~ns3__SmsMessage() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__RequestSOAPHeader #define SOAP_TYPE_ISAGSMS_ns4__RequestSOAPHeader (16) /* ns4:RequestSOAPHeader */ class SOAP_CMAC ns4__RequestSOAPHeader { public: std::wstring spId; /* required element of type xsd:string */ std::wstring spPassword; /* required element of type xsd:string */ std::wstring timeStamp; /* required element of type xsd:string */ std::wstring productId; /* required element of type xsd:string */ std::wstring *SAN; /* optional element of type xsd:string */ std::wstring *transactionId; /* optional element of type xsd:string */ enum ns4__EndReason *transEnd; /* optional element of type ns4:EndReason */ std::wstring *linkId; /* optional element of type xsd:string */ std::wstring *OA; /* optional element of type xsd:anyURI */ std::wstring *FA; /* optional element of type xsd:anyURI */ bool *multicastMessaging; /* optional element of type xsd:boolean */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 16; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__RequestSOAPHeader */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__RequestSOAPHeader() { ns4__RequestSOAPHeader::soap_default(NULL); } virtual ~ns4__RequestSOAPHeader() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__NotifySOAPHeader #define SOAP_TYPE_ISAGSMS_ns4__NotifySOAPHeader (17) /* ns4:NotifySOAPHeader */ class SOAP_CMAC ns4__NotifySOAPHeader { public: std::wstring *spRevId; /* optional element of type xsd:string */ std::wstring *spRevpassword; /* optional element of type xsd:string */ std::wstring spId; /* required element of type xsd:string */ std::wstring *SAN; /* optional element of type xsd:string */ std::wstring *transactionId; /* optional element of type xsd:string */ std::wstring *linkId; /* optional element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 17; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__NotifySOAPHeader */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__NotifySOAPHeader() { ns4__NotifySOAPHeader::soap_default(NULL); } virtual ~ns4__NotifySOAPHeader() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__TimeMetric #define SOAP_TYPE_ISAGSMS_ns4__TimeMetric (18) /* ns4:TimeMetric */ class SOAP_CMAC ns4__TimeMetric { public: enum ns4__TimeMetrics metric; /* required element of type ns4:TimeMetrics */ int units; /* required element of type xsd:int */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 18; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__TimeMetric */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__TimeMetric() { ns4__TimeMetric::soap_default(NULL); } virtual ~ns4__TimeMetric() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__ChargingInformation #define SOAP_TYPE_ISAGSMS_ns4__ChargingInformation (19) /* ns4:ChargingInformation */ class SOAP_CMAC ns4__ChargingInformation { public: std::wstring description; /* required element of type xsd:string */ std::wstring *currency; /* optional element of type xsd:string */ std::wstring *amount; /* optional element of type xsd:decimal */ std::wstring *code; /* optional element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 19; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__ChargingInformation */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__ChargingInformation() { ns4__ChargingInformation::soap_default(NULL); } virtual ~ns4__ChargingInformation() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__SimpleReference #define SOAP_TYPE_ISAGSMS_ns4__SimpleReference (20) /* ns4:SimpleReference */ class SOAP_CMAC ns4__SimpleReference { public: std::wstring endpoint; /* required element of type xsd:anyURI */ std::wstring interfaceName; /* required element of type xsd:string */ std::wstring correlator; /* required element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 20; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__SimpleReference */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__SimpleReference() { ns4__SimpleReference::soap_default(NULL); } virtual ~ns4__SimpleReference() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__ServiceError #define SOAP_TYPE_ISAGSMS_ns4__ServiceError (21) /* ns4:ServiceError */ class SOAP_CMAC ns4__ServiceError { public: std::wstring messageId; /* required element of type xsd:string */ std::wstring text; /* required element of type xsd:string */ int __sizevariables; /* sequence of elements */ std::wstring *variables; /* optional element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 21; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__ServiceError */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__ServiceError() { ns4__ServiceError::soap_default(NULL); } virtual ~ns4__ServiceError() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__ServiceException #define SOAP_TYPE_ISAGSMS_ns4__ServiceException (22) /* ns4:ServiceException */ class SOAP_CMAC ns4__ServiceException { public: std::wstring messageId; /* required element of type xsd:string */ std::wstring text; /* required element of type xsd:string */ int __sizevariables; /* sequence of elements */ std::wstring *variables; /* optional element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 22; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__ServiceException */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__ServiceException() { ns4__ServiceException::soap_default(NULL); } virtual ~ns4__ServiceException() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS_ns4__PolicyException #define SOAP_TYPE_ISAGSMS_ns4__PolicyException (23) /* ns4:PolicyException */ class SOAP_CMAC ns4__PolicyException { public: std::wstring messageId; /* required element of type xsd:string */ std::wstring text; /* required element of type xsd:string */ int __sizevariables; /* sequence of elements */ std::wstring *variables; /* optional element of type xsd:string */ struct soap *soap; /* transient */ public: virtual int soap_type() const { return 23; } /* = unique id SOAP_TYPE_ISAGSMS_ns4__PolicyException */ virtual void soap_default(struct soap*); virtual void soap_serialize(struct soap*) const; virtual int soap_put(struct soap*, const char*, const char*) const; virtual int soap_out(struct soap*, const char*, int, const char*) const; virtual void *soap_get(struct soap*, const char*, const char*); virtual void *soap_in(struct soap*, const char*, const char*); ns4__PolicyException() { ns4__PolicyException::soap_default(NULL); } virtual ~ns4__PolicyException() { } }; #endif #ifndef SOAP_TYPE_ISAGSMS___ns1__notifySmsReception #define SOAP_TYPE_ISAGSMS___ns1__notifySmsReception (41) /* Operation wrapper: */ struct __ns1__notifySmsReception { public: ns2__notifySmsReception *ns2__notifySmsReception_; /* optional element of type ns2:notifySmsReception */ }; #endif #ifndef SOAP_TYPE_ISAGSMS___ns1__notifySmsDeliveryReceipt #define SOAP_TYPE_ISAGSMS___ns1__notifySmsDeliveryReceipt (45) /* Operation wrapper: */ struct __ns1__notifySmsDeliveryReceipt { public: ns2__notifySmsDeliveryReceipt *ns2__notifySmsDeliveryReceipt_; /* optional element of type ns2:notifySmsDeliveryReceipt */ }; #endif #ifndef WITH_NOGLOBAL #ifndef SOAP_TYPE_ISAGSMS_SOAP_ENV__Header #define SOAP_TYPE_ISAGSMS_SOAP_ENV__Header (46) /* SOAP Header: */ struct SOAP_ENV__Header { #ifdef WITH_NOEMPTYSTRUCT private: char dummy; /* dummy member to enable compilation */ #endif }; #endif #endif #ifndef WITH_NOGLOBAL #ifndef SOAP_TYPE_ISAGSMS_SOAP_ENV__Code #define SOAP_TYPE_ISAGSMS_SOAP_ENV__Code (47) /* SOAP Fault Code: */ struct SOAP_ENV__Code { public: char *SOAP_ENV__Value; /* optional element of type xsd:QName */ struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */ }; #endif #endif #ifndef WITH_NOGLOBAL #ifndef SOAP_TYPE_ISAGSMS_SOAP_ENV__Detail #define SOAP_TYPE_ISAGSMS_SOAP_ENV__Detail (49) /* SOAP-ENV:Detail */ struct SOAP_ENV__Detail { public: char *__any; int __type; /* any type of element (defined below) */ void *fault; /* transient */ }; #endif #endif #ifndef WITH_NOGLOBAL #ifndef SOAP_TYPE_ISAGSMS_SOAP_ENV__Reason #define SOAP_TYPE_ISAGSMS_SOAP_ENV__Reason (52) /* SOAP-ENV:Reason */ struct SOAP_ENV__Reason { public: char *SOAP_ENV__Text; /* optional element of type xsd:string */ }; #endif #endif #ifndef WITH_NOGLOBAL #ifndef SOAP_TYPE_ISAGSMS_SOAP_ENV__Fault #define SOAP_TYPE_ISAGSMS_SOAP_ENV__Fault (53) /* SOAP Fault: */ struct SOAP_ENV__Fault { public: char *faultcode; /* optional element of type xsd:QName */ char *faultstring; /* optional element of type xsd:string */ char *faultactor; /* optional element of type xsd:string */ struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */ struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */ struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */ char *SOAP_ENV__Node; /* optional element of type xsd:string */ char *SOAP_ENV__Role; /* optional element of type xsd:string */ struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */ }; #endif #endif /******************************************************************************\ * * * Typedefs * * * \******************************************************************************/ #ifndef SOAP_TYPE_ISAGSMS__QName #define SOAP_TYPE_ISAGSMS__QName (5) typedef char *_QName; #endif #ifndef SOAP_TYPE_ISAGSMS__XML #define SOAP_TYPE_ISAGSMS__XML (6) typedef char *_XML; #endif #ifndef SOAP_TYPE_ISAGSMS_xsd__anyURI #define SOAP_TYPE_ISAGSMS_xsd__anyURI (8) typedef std::wstring xsd__anyURI; #endif #ifndef SOAP_TYPE_ISAGSMS_xsd__decimal #define SOAP_TYPE_ISAGSMS_xsd__decimal (9) typedef std::wstring xsd__decimal; #endif /******************************************************************************\ * * * Externals * * * \******************************************************************************/ } // namespace ISAGSMS #endif /* End of ISAGSMSStub.h */