NonStop SOAP User's Manual
Customizing the SOAP Server
NonStop SOAP User’s Manual—520501-012
8-18
class ServiceReqResponse
•
Returns the char buffer data to be sent to the target service.
•
A NULL value is returned on a failure. An appropriate error message is logged to
the trace/error files.
•
User can directly modify the buffer as desired.
getDDLBufferLen()
•
Returns the char buffer length of data to be sent to the target service.
setDDLBuffer()
•
Replaces the char buffer data to be sent to the target service as passed by the
buffer parameter. The original DDLBuffer is deleted via delete operator.
•
The length parameter has to be specified with the actual length of the passed DDL
buffer.
getRespDDLBuffer() const = 0
•
Gets the DDL buffer returned by the target service.
getRespDDLBufferLen() const = 0
•
Gets the length of the DDL buffer returned by the target service.
setRespDDLBuffer(char *buffer, long len) = 0
•
Sets the response DDL buffer and it's length to the values passed as the inputs to
the method. The method makes a copy of the contents present in the buffer
parameter.
getResponseDDLDefinition() const = 0
•
Gets the name of the DDL definition, which will be used to marshal the SOAP/XML
response message.
setResponseDDLDefinition(const char *DDL_DefinitionName) = 0
•
Sets the name of the DDL definition, which will be used to marshal the SOAP/XML
response message, to the one passed as the input to the method.
setResponseServiceName(const char *serviceName) = 0
•
Sets the name of the Service in the response SOAP/XML message to the one
passed as the input to the method.
getXMLBody() const
•
This method returns the character pointer to the immediate child of the SOAP body
element.
getXMLBodyLen() const
•
This method returns the length of the character buffer referred by the char * that
was returned by the getXMLBody() method.