NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-13
class ServiceEnv
getServerEncoding()
Returns the target ServerClasses's server encoding value 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.
setServerEncoding()
Overrides the server 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.
Returns a -1 value on a failure. An error message is logged to the trace and/or
error files.
setPathmonName()
Overrides the PATHMON name value in the Service description entry for the
current request with the new value specified in the new Pathmon parameter.
The PATHMON name is set for len number of characters only.
The input value has to be NULL terminated.
Returns a -1 value on a failure. An error message is logged to the trace and/or
error files.
setServerclassName()
Overrides the Serverclass name value in the Service description entry for the
current request with the new value specified in the new SC parameter.
The Serverclass name is set for len number of characters only.
The input value has to be NULL terminated.
Returns a -1 value on a failure. An error message is logged to the trace and/or
error files.
getReqAttMgr()
Returns the AttachmentManager object that represents the attachments
contained in the input SOAP request message. Use this object to get more
information about the attachments found in the input message.
The input value is none.
The output value is a pointer to an AttachmentManager object.
The getFirstAttachment always returns the attachment associated with the
SOAP request message.