com.HTTPServiceRequest.addResponsePart

Adds a new part to the HTTP root part response.

Syntax

addResponsePart(
   part com.HTTPPart)
  1. part defines com.HTTPPart used to manage the HTTP attachment.

Usage

Adds a new part to the HTTP root part response. It will be sent after root part has been processed.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).