SenSoapFault2.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : SenSoapFault2.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 <SenDomFragmentBase.h>
00027 #include <SenSoapConstants.h>
00028 
00029 // CLASS DECLARATION
00030 
00043 class CSenSoapFault2 : public CSenDomFragmentBase
00044     {
00045     public:  // Constructors and destructor
00046         
00052         IMPORT_C static CSenSoapFault2* NewL(TXmlEngElement& aElement);
00053 
00068         IMPORT_C static CSenSoapFault2* NewL(TXmlEngElement& aElement,
00069                                              RSenDocument& aDocument);
00070 
00080         IMPORT_C static CSenSoapFault2* NewL(const TDesC8& aNsUri,
00081                                             const TDesC8& aLocalName,
00082                                             const TDesC8& aPrefix,
00083                                             const RAttributeArray& aAttributes,
00084                                             TXmlEngElement& aElement,
00085                                             RSenDocument& aDocument);
00086             
00090         IMPORT_C virtual ~CSenSoapFault2();
00091 
00092         // New functions
00093         
00099         IMPORT_C TPtrC8 FaultCode();
00100 
00106                 IMPORT_C TPtrC8 FaultSubcode();
00107 
00113         IMPORT_C TPtrC8 FaultString();
00114 
00120         IMPORT_C TPtrC8 FaultActor();
00121 
00127         IMPORT_C TPtrC8 Detail();
00128         
00129     protected:  
00130         
00134         IMPORT_C CSenSoapFault2();
00135         
00142         IMPORT_C void ConstructL(TXmlEngElement& aElement);
00143 
00158         IMPORT_C void ConstructL(TXmlEngElement& aElement, RSenDocument& aDocument);
00159 
00168         IMPORT_C void ConstructL(const TDesC8& aNsUri,
00169                                  const TDesC8& aLocalName,
00170                                  const TDesC8& aPrefix,
00171                                  const RAttributeArray& aAttributes,
00172                                  TXmlEngElement& aElement,
00173                                  RSenDocument& aDocument);
00174     };
00175 
00176 #endif // SEN_SOAP_ENVELOPE_H
00177 
00178 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top