NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-36
class UESoapHeaderManager
class UESoapHeaderManager
This class creates and deletes UESoapHeader objects.
typedef map<string, UESoapHeader *, less<string> > HeaderMap;
typedef map<string, UESoapHeader *, less<string> >::iterator
HeaderMapIterator;
Class
class UESoapHeaderManager
{
Public
UESoapHeaderManager( GenUtils::SoapVersion soapVer =
GenUtils::SOAP_1_1 )
This is the constructor.
UESoapHeaderManager* duplicate() throw (SOAP_Exception)
Creates a duplicate copy of this header manager.
UESoapHeaderManager ()
This is the destructor.
UESoapHeader * createHeader(const string & qualifiedName,
const string & namespaceURI ) throw (SOAP_Exception)
Creates a UESoapHeader.
If a UESoapHeader with the given qualifiedName and namespaceURI is
already present then an exception is thrown.
UESoapHeader * dupHeader( UESoapHeader * toDup,
const string & qualifiedName, const string & namespaceURI )
throw (SOAP_Exception)
Duplicates and registers an UESoapHeader already registered with the
UESoapHeaderManager.
addHeader(UESoapHeader& hdr)
Registers an existing UESoapHeader with the UESoapHeaderManager.
The method fails if a UESoapHeader similar to the one passed as the input
already exists with this header manager.
UESoapHeader *getHeader(const string & qualifiedName,
const string & namespaceURI) const
Gets a UESoapHeader by it's content ID.