NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-34
class UESoapHeader
class UESoapHeader
This class represents a SOAP header managed by a UESoapHeaderManager.
UESoapHeaders must be created and deleted using the UESoapHeaderManager
class.
Class
class UESoapHeader
{
friend class UESoapHeaderManager;
Public
setMustUnderstand(bool)
Sets the value of the mustUnderstand attribute.
setEncodingStyle(const string &)
Sets the value of the encodingStyle attribute.
setActor(const string &)
Sets the value of the actor attribute. This method is applicable only for W3C SOAP
1.1 version messages.
setRole(const string &)
Sets the value of the role attribute.This method is applicable only for W3C SOAP
1.2 version messages.
setValue(const string &)
Sets the value of the header entry. If the header already contains a value it is
overwritten. The value passed must be a valid XML content.
mustUnderstand()
Gets the value of the mustUnderstand attribute.
const string& const getAttributes()
Gets the attributes at the header element as a string with the attributes delimited
by a space character.
const AttributeMap& & const getAttributeMap()
Gets the attributes at the header element as a map with its keys as the attribute
names and values containing the attribute values.
setAttribute(const string & qualifiedAttr, const string &
namespaceURI, const string & value) throw (SOAP_Exception)