Summary:
See also: The Genero Web Services COM 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()
|
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() |
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() |
Returns a string as response from the server.
Throws an exception in case of errors, and updates status with an error code. |