rwsf::SoapFault rwsf::SoapBase
#include <rw/rwsf/soapworx/SoapFault.h>
rwsf::SoapFault represents a SOAP fault. A SOAP fault must contain a primary faultcode element and a faultstring element. Depending on what caused the fault, a SOAP fault may also contain a faultactor element or a detail element.
SoapFault();
Default constructor. Constructs a SOAP fault with the following defaults:
Faultcode_(), Faultstring_(), Faultactor_(), FaultactorSet_(false), Detail_(), DetailSet_(false)
SoapFault(const SoapFault& other);
Copy constructor. Constructs a new SOAP fault with the values of other.
~SoapFault();
Destructor.
SoapFault& operator=(const SoapFault& rhs);
Assignment operator.
rwsf::XmlName getFaultcode() const;
Returns the fault code.
void setFaultcode(const rwsf::XmlName& Faultcode);
Sets the fault code.
std::string getFaultstring() const;
Returns the faultstring, or the human-readable reason for this fault.
void setFaultstring(const std::string& Faultstring);
Sets the fault string.
std::string getFaultactor() const;
Returns the faultactor element, or the source of the fault.
void setFaultactor(const std::string& Faultactor);
Sets the faultactor element and sets the value of FaultactorSet_ to true. The faultactor element is the source of the fault.
bool isFaultactorSet() const;
Returns the bool that defines whether the faultactor has been set.
void setFaultactorSet(bool setValue);
Sets the bool that defines whether the faultactor has been set.
rwsf::SoapDetail getDetail() const;
Returns the detail element of this fault represented as a rwsf::SoapDetail object containing detail entries.
void setDetail(const rwsf::SoapDetail& Detail);
Sets the fault detail.
bool isDetailSet() const;
Returns the bool that defines whether the detail element has been set.
void setDetailSet(bool setValue);
Sets the bool that defines whether the detail element has been set.
void unmarshal(rwsf::XmlReader& reader);
Reads from an I/O stream, and unmarshals this fault.
void unmarshal(const std::string& input);
Reads from a string, and unmarshals this fault. For the difference between these two unmarshal() overloads, see rwsf::SoapDetail.
virtual rwsf::XmlName getDefaultElementName() const;
Returns the DefaultElementName_.
static const rwsf::XmlName DefaultElementName_;
The SOAP element fault.
static const rwsf::XmlName FaultcodeElementName_;
The SOAP element faultcode.
static const rwsf::XmlName FaultstringElementName_;
The SOAP element faultstring.
static const rwsf::XmlName FaultactorElementName_;
The SOAP element faultactor
static const rwsf::XmlName DetailElementName_;
The SOAP element detail.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.