com.HTTPRequest.endXmlRequest

Terminates a streaming HTTP request.

Syntax

endXmlRequest(
   writer xml.StaxWriter )
  1. writer is the xml.StaxWriter used to write the HTTP request.

Usage

The endXmlRequest() method terminates a streaming HTTP request by closing the xml.StaxWriter object that was created with the beginXmlRequest() method.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.