#include <IHandlerSoapSerializer.hpp>
Public Member Functions | |
virtual IHeaderBlock * | createHeaderBlock ()=0 |
virtual IHeaderBlock * | createHeaderBlock (AxisChar *pachLocalName, AxisChar *pachUri)=0 |
virtual int AXISCALL | addHeaderBlock (IHeaderBlock *pBlk)=0 |
virtual int | setSoapVersion (SOAP_VERSION eSOAP_VERSION)=0 |
virtual IHeaderBlock * | getHeaderBlock (const AxisChar *pcName, const AxisChar *pcNamespace)=0 |
virtual IHeaderBlock * | getFirstHeaderBlock ()=0 |
virtual IHeaderBlock * | getNextHeaderBlock ()=0 |
virtual IHeaderBlock * | getCurrentHeaderBlock ()=0 |
virtual int AXISCALL | setBodyAsHexBinary (xsd__hexBinary body)=0 |
virtual int AXISCALL | setBodyAsBase64Binary (xsd__base64Binary body)=0 |
virtual const AxisChar *AXISCALL | getBodyAsString ()=0 |
virtual void | addNamespaceToEnvelope (AxisChar *pachNamespaceURI, AxisChar *pachPrefix)=0 |
int ESHHandler::invoke(void *pvIMsg) { IMessageData *pIMsg = (IMessageData*) pvIMsg; AxisChar* pachTemp; if(pIMsg->isPastPivot()) { //this is a response
IHandlerSoapSerializer* pISZ; pIMsg->getSoapSerializer(&pISZ);
IHeaderBlock* pIHeaderBlock= pISZ->createHeaderBlock();
pIHeaderBlock->setLocalName("echoMeStringResponse");
|
Adds the given Header Block to the Serialzer.
|
|
Adds the namespace declaration to the SOAP Envelope. |
|
Will create a Header Block using the given local name and the namespace uri, and adds it to the Serializer.
|
|
Will create a Header Block and adds it to the Serializer.
|
|
Used with getFirstHeaderBlock, it returns the current header block, or NULL if:
|
|
Used with getNextHeaderBlock, it returns the first header block, or NULL if there are no headers. |
|
Gets and returns the Header Block of the given local name and namespace uri.After returning the Header Block pointer, it will not be removed from the available Header Block list of the Serializer. The caller of this method should not delete the returned pointer object. |
|
Used with getFirstHeaderBlock, it returns the next header block, or NULL if there are no headers. |
|
Sets the SOAP Version.
|