sensoapmessage.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenSoapMessage.h
00004 *  Part of     : Web Services Framework / Utils
00005 *  Interface   : 
00006 *  Description : CSenSoapMessage is an utility class offering capability to
00007 *                                parse XML SOAP envelope and manipulation methods to alter its
00008 *                                contents.
00009 *  Version     :
00010 *
00011 *  Copyright © 2002-2005 Nokia. All rights reserved.
00012 *  This material, including documentation and any related 
00013 *  computer programs, is protected by copyright controlled by 
00014 *  Nokia. All rights are reserved. Copying, including 
00015 *  reproducing, storing, adapting or translating, any 
00016 *  or all of this material requires the prior written consent of 
00017 *  Nokia. This material also contains confidential 
00018 *  information which may not be disclosed to others without the 
00019 *  prior written consent of Nokia.
00020 * ==============================================================================
00021 */
00022 
00023 #ifndef SEN_SOAP_MESSAGE_H
00024 #define SEN_SOAP_MESSAGE_H
00025 
00026 //  INCLUDES
00027 #include <SenWsSecurityHeader.h>
00028 #include <SenSoapEnvelope.h>
00029 
00030 // CLASS DECLARATION
00031 
00038 class CSenSoapMessage : public CSenSoapEnvelope
00039     {
00040     public:  // Constructors and destructor
00041         
00045             IMPORT_C static CSenSoapMessage* NewL();
00046 
00050             IMPORT_C virtual ~CSenSoapMessage();
00051 
00052         // New functions
00053         
00060                 IMPORT_C void SetSecurityHeaderL(const TDesC8& aData);
00061                 
00072                 IMPORT_C TInt AddSecurityTokenL(const TDesC8& aNewToken);    
00073         
00074     protected:  
00075         
00079                 IMPORT_C CSenSoapMessage::CSenSoapMessage();
00080 
00081                 // New functions
00082                 
00090                 IMPORT_C virtual CSenWsSecurityHeader* NewSecurityHeaderLC(
00091                                                                                                         const TDesC8* aData=NULL);
00092 
00093         // Functions from base classes
00094                 
00095                 // From CSenSoapEnvelope 
00096                 
00111             IMPORT_C virtual void ParseHeaderL(const TDesC8& aNsUri,
00112                                                                            const TDesC8& aLocalName,
00113                                                                            const TDesC8& aQName,
00114                                                                            const RAttributeArray& aAttributes);
00115 
00120             IMPORT_C void BaseConstructL();
00121 
00122     protected: // Data
00123         // Owned, but element not owned
00124             CSenWsSecurityHeader* ipSecurityHeader; 
00125     };
00126 
00127 // SEN_SOAP_MESSAGE_H
00128 #endif
00129 
00130 // End of File
00131 
00132 

Copyright © Nokia Corporation 2001-2008
Back to top