The TCPRequest class / com.TCPRequest methods |
Starts a streaming XML request.
beginXmlRequest() RETURNING writer xml.StaxWriter
The beginXmlRequest() method begins a streaming HTTP request and returns an xml.StaxWriter object ready to send XML to the server.
After sending all the XML data to the server, you must call the endXmlRequest() method with the xml.StaxWriter object created by the beginXmlRequest() method.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.