com.TCPRequest.beginXmlRequest

Starts a streaming XML request.

Syntax

beginXmlRequest()
  RETURNING writer xml.StaxWriter

Usage

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.