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 #include <SenSoapConstants.h>
00028 
00029 
00030 // CLASS DECLARATION
00031 
00044 class CSenSoapFault : public CSenBaseElement
00045     {
00046     public:  // Constructors and destructor
00047         
00053         IMPORT_C static CSenSoapFault* NewL(CSenElement& aCopiedSource);
00054 
00064         IMPORT_C static CSenSoapFault* NewL(const TDesC8& aNsUri,
00065                                             const TDesC8& aLocalName,
00066                                             const TDesC8& aQName,
00067                                             const RAttributeArray& aAttributes);
00068             
00072         IMPORT_C virtual ~CSenSoapFault();
00073 
00074         // New functions
00075         
00081         IMPORT_C TPtrC8 FaultCode();
00082 
00088                 IMPORT_C TPtrC8 FaultSubcode();
00089 
00095         IMPORT_C TPtrC8 FaultString();
00096 
00102         IMPORT_C TPtrC8 FaultActor();
00103 
00109         IMPORT_C TPtrC8 Detail();
00110         
00111     protected:  
00112         
00116         IMPORT_C CSenSoapFault();
00117         
00124         IMPORT_C void ConstructL(CSenElement& aCopiedSource);
00125 
00134         IMPORT_C void ConstructL(const TDesC8& aNsUri,
00135                                  const TDesC8& aLocalName,
00136                                  const TDesC8& aQName,
00137                                  const RAttributeArray& aAttributes);
00138     };
00139 
00140 #endif // SEN_SOAP_ENVELOPE_H
00141 
00142 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top