rwsf::SoapFaultrwsf::SoapBase
#include rwsf/webservice/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.
rwsf::XmlName getDefaultElementName() const;
Implements method in rwsf::SoapBase
Base class documentation:
Pure virtual function. In derived classes, returns the DefaultElementName.
Implementation documentation:
Returns the DefaultElementName_.
rwsf::SoapDetail getDetail() const;
Returns the detail element of this fault represented as a rwsf::SoapDetail object containing detail entries.
std::string getFaultactor() const;
Returns the faultactor element, or the source of the fault.
rwsf::XmlName getFaultcode() const;
Returns the fault code.
std::string getFaultstring() const;
Returns the faultstring, or the human-readable reason for this fault.
bool isDetailSet() const;
Returns the bool that defines whether the detail element has been set.
bool isFaultactorSet() const;
Returns the bool that defines whether the faultactor has been set.
void setDetail(const rwsf::SoapDetail & Detail);
Sets the fault detail.
void setDetailSet(bool setValue);
Sets the bool that defines whether the detail element has been set.
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.
void setFaultactorSet(bool setValue);
Sets the bool that defines whether the faultactor has been set.
void setFaultcode(const rwsf::XmlName & Faultcode);
Sets the fault code.
void setFaultstring(const std::string & Faultstring);
Sets the fault string.
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.
SoapFault & operator=(const SoapFault & rhs);
Assignment operator.
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.