DO NOT use the SERVICE_UNLOAD command when sending a HTTP/SOAP response. Use the CLOSE command to create the response and then use the JSM_CLOSE BIF to close the connection. The byte array response returned to JSM Client program by the CLOSE command will be become the HTTP/SOAP response.