NonStop SOAP User's Manual
Customizing the SOAP Server
NonStop SOAP User’s Manual—520501-012
8-17
class ServiceReqResponse
class ServiceReqResponse
This class is used at pre_service and pre_marshal for accessing the message buffer
sent to and received from the back-end service.
Class
class ServiceReqResponse {
Public
ServiceReqResponse() {}
virtual ~ServiceReqResponse() {};
// The following are for SERVICE_PATHWAY service.
virtual char *getDDLBuffer() const=0;
virtual long getDDLBufferLen() const=0;
virtual void setDDLBuffer(char *buffer, long len)=0;
virtual char *getRespDDLBuffer() const = 0;
virtual long getRespDDLBufferLen() const = 0;
virtual bool setRespDDLBuffer(char *buffer, long len) = 0;
virtual char *getResponseDDLDefinition() const = 0;
// set the response ddl definition name
// e.g. setResponseDDLDefinition("ACCOUNT-INFO")
// returns false if the DDL_DefinitionName character pointer
// is null
virtual bool setResponseDDLDefinition(const char
*DDL_DefinitionName) = 0;
// set the name of the immediate child element of the SOAP
<Body> element
virtual bool setResponseServiceName(const char *serviceName)
= 0;
char *getXMLBody()const;
long getXMLBodyLen()const;
};
Member function description:
getDDLBuffer()