sensoapfault.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenSoapFault.h
00004 *  Part of     : Web Services Framework / Utils
00005 *  Interface   : 
00006 *  Description : This utility class represents SOAP fault element according to
00007 *                SOAP fault specification. 
00008 *  Version     :
00009 *
00010 *  Copyright © 2002-2005 Nokia. All rights reserved.
00011 *  This material, including documentation and any related 
00012 *  computer programs, is protected by copyright controlled by 
00013 *  Nokia. All rights are reserved. Copying, including 
00014 *  reproducing, storing, adapting or translating, any 
00015 *  or all of this material requires the prior written consent of 
00016 *  Nokia. This material also contains confidential 
00017 *  information which may not be disclosed to others without the 
00018 *  prior written consent of Nokia.
00019 * ==============================================================================
00020 */
00021 
00022 #ifndef SEN_SOAP_FAULT_H
00023 #define SEN_SOAP_FAULT_H
00024 
00025 //  INCLUDES
00026 #include <SenBaseElement.h>
00027 
00028 // CONSTANTS
00029 _LIT8(KFaultCodeLocalname,      "faultcode");           //      A code for identifying the fault
00030 _LIT8(KFaultStringLocalname, "faultstring");    //      A human readable explanation of the fault
00031 _LIT8(KFaultActorLocalname,     "faultactor");          //      Information about who caused the fault to happen
00032 _LIT8(KDetailLocalname,         "detail");                      //      Holds application specific error information related 
00033 
00034 // CLASS DECLARATION
00035 
00048 class CSenSoapFault : public CSenBaseElement
00049     {
00050     public:  // Constructors and destructor
00051         
00057                 IMPORT_C static CSenSoapFault* NewL(CSenElement& aCopiedSource);
00058 
00068             IMPORT_C static CSenSoapFault* NewL(const TDesC8& aNsUri,
00069                                                                                         const TDesC8& aLocalName,
00070                                                                                         const TDesC8& aQName,
00071                                                                                         const RAttributeArray& aAttributes);
00072                 
00076             IMPORT_C virtual ~CSenSoapFault();
00077 
00078         // New functions
00079                 
00085                 IMPORT_C TPtrC8 FaultCode();
00086 
00092                 IMPORT_C TPtrC8 FaultString();
00093 
00099                 IMPORT_C TPtrC8 FaultActor();
00100 
00106                 IMPORT_C TPtrC8 Detail();
00107         
00108     protected:  
00109                 
00113                 IMPORT_C CSenSoapFault();
00114                 
00121                 IMPORT_C void ConstructL(CSenElement& aCopiedSource);
00122 
00131                 IMPORT_C void ConstructL(const TDesC8& aNsUri,
00132                                                                  const TDesC8& aLocalName,
00133                                                                  const TDesC8& aQName,
00134                                                                  const RAttributeArray& aAttributes);
00135         };
00136 
00137 // SEN_SOAP_ENVELOPE_H
00138 #endif
00139 
00140 // End of File

Copyright © Nokia Corporation 2001-2008
Back to top