NonStop SOAP User's Manual
Customizing the SOAP Server
NonStop SOAP User’s Manual—520501-012
8-12
class ServiceEnv
getInputXML()
•
Returns the input XML/SOAP request message.
•
A NULL value is returned on a failure. An error message is logged to the
trace/error files.
•
You cannot modify the returned value.
setInputXML()
•
Overrides the current input XML/SOAP request message buffer and its length with
the new values specified in the newInput and len parameters.
•
A -1 value is returned on a failure. An error message is logged to the trace/error
files.
•
SOAP server uses the same char buffer as the one passed to the method and
does not make a copy of it.
•
The char (memory) buffer passed to this method has to be available to the SOAP
server until it finishes processing in the current request.
getServiceType()
•
Returns the service type of the current message being processed.
•
A -1 value is returned on a failure. An error message is logged to the trace/error
files.
•
You cannot modify the returned value.
getServiceName()
•
Returns the service name of the current message being processed.
•
A null value is returned on a failure. An error message is logged to the trace/error
files.
•
You cannot modify the returned value.
getOutputEncoding()
•
Returns the value of the default output encoding as specified in the SDL.
•
Returns a NULL value on a failure. An error message is logged to the trace and/or
error files.
•
You cannot modify the returned value.
setOutputEncoding()
•
Overrides the current default response encoding in the SDL with the new value
specified in the newEnc parameter.
•
The SOAP server makes a copy of the char buffer.
•
The input value has to be NULL terminated.