rwsf::SoapDetail rwsf::SoapBase
#include <rw/rwsf/soapworx/SoapDetail.h>
An instance of rwsf::SoapDetail contains the value of the optional detail element of a SOAP fault. It is used by rwsf::SoapFault.
It contains a vector of std::strings holding individual elements of the detail (if any), and a rwsf::AttributeSet.
This class may be used to get details from a generic soap fault instance rwsf::SoapFaultException (these are SOAP faults that are not generated from a WSDL fault).
SoapDetail();
Default constructor. Constructs an instance of rwsf::SoapDetail containing an empty vector and rwsf::AttributeSet.
SoapDetail(const SoapDetail& other);
Copy constructor.
~SoapDetail();
Destructor.
SoapDetail& operator=(const SoapDetail& rhs);
Assignment operator.
typedef std::vector<std::string> anyVector;
const anyVector& getAnyVector() const { return Any_; } anyVector& getAnyVector() { return Any_; }
Returns a std::vector of std::strings containing the individual elements of the detail as strings.
void setAnyVector(const anyVector& Any);
Copies the vector parameter any to the vector of elements. Any elements present before the call are replaced.
rwsf::XmlAttributeSet getAnyAttribute() const;
Returns the set of attributes for this detail.
rwsf::XmlReader getReader();
Returns an instance of rwsf::XmlReader for unmarshaling.
void setAnyAttribute(const rwsf::XmlAttributeSet& AnyAttribute);
Copies the attribute set in the parameter to the attribute set for this detail. Any attributes present before the call are replaced.
void unmarshal(rwsf::XmlReader& reader);
Unmarshals this rwsf::SoapDetail instance. Used by rwsf-generated code to produce SOAP fault messages.
void unmarshal(const std::string& input);
Unmarshals this rwsf::SoapDetail instance. Creates a rwsf::XmlReader instance from the std::string input, then calls the method unmarshal(rwsf::XmlReader& reader). Used by rwsf-generated code to produce SOAP fault messages.
std::string marshal(bool includeChildTypeAttributes = false) const;
Marshals this rwsf::SoapDetail instance. First creates a rwsf::XmlWriter instance and uses defaultElementName for elementName before calling the marshal() below.
void marshal(rwsf::XmlWriter& writer, bool includeChildTypeAttributes, const rwsf::XmlName& elementName, bool includeSelfTypeAttribute) const;
Marshals this rwsf::SoapDetail instance.
void populateAttributes(rwsf::XmlAttributeSet& attributes) const;
Copies all attributes in this detail into the parameter attribute set. Used during marshalling.
virtual rwsf::XmlName getDefaultElementName() const;
Returns the DefaultElementName_.
static const rwsf::XmlName DefaultElementName_;
©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.