Summary:
See also: The Genero Web Services COM Extension Library
The TCP Response class provides an interface to perform XML and TEXT responses over TCP, with additional XML streaming possibilities. Notice that status is set to zero after a successful method call.
com.TCPResponse
Object Methods | |
Name | Description |
beginXmlResponse()
RETURNING xml.StaxReader |
Begins the streaming TCP response and returns an
xml.StaxReader object ready to read XML from the server.
Throws an exception in case of errors, and updates status with an error code. |
endXmlResponse( |
Ends the streaming TCP response by closing the Stax reader.
Throws an exception in case of errors, and updates status with an error code. |
getXmlResponse()
RETURNING xml.DomDocument |
Returns an entire
xml.DomDocument as response from the server.
Throws an exception in case of errors, and updates status with an error code. |
getTextResponse()
RETURNING STRING |
Returns a string as response from the server.
Throws an exception in case of errors, and updates status with an error code. |