NonStop SOAP User's Manual
Customizing the SOAP Server
NonStop SOAP User’s Manual—520501-012
8-14
class ServiceEnv
•
For a transport other than HTTP, a call to getReqAttMgr returns a NULL.
•
Provides a valid request AttachmentManager object during any of the user-exit
methods.
•
The NonStop server code manages the memory for the returned
AttachmentManager object.
getRespAttMgr()
•
Returns the AttachmentManager object that represents the attachments to be
put in the SOAP response message. You can use this object to set attachments in
the SOAP response.
•
The input value is none.
•
The output value is a pointer to an AttachmentManager object.
•
The NonStop server code manages the memory for the returned
AttachmentManager object.
•
For a transport other than HTTP, a call to getReqAttMgr returns a NULL.
setRespAttMgr()
•
Sets the AttachmentManager which should be used by the NonStop SOAP
server while creating the response SOAP message. The output boolean value
indicates whether the operation was successful.
•
The input value is a pointer to an AttachmentManager object.
•
The output value is bool.
•
The NonStop SOAP server uses the attachments set in the AttachmentManager
to create the SOAP response message.
•
To provide attachments in the response SOAP message this method must be
called during or before the execution of the pre_marshal_header(...) user-
exit method.
•
For a transport other than HTTP, a call to getReqAttMgr returns a false.
getReqHeaderMgr()
•
Returns the HeaderManager object that represents any custom SOAP headers
contained in the input SOAP request message. Using this object you can get more
information about the additional SOAP headers found in the input message.
•
The input value is none.
•
The output value is a pointer to a UESoapHeaderManager object.
Note. If the user creates a response AttachmentManager object then the user needs to
explicitly delete the object to avoid a memory leak.