Sending the Message to the HTML Web Client

The business service can send a notification message to the JD Edwards EnterpriseOne HTML web client. The business service uses this static method in the BSSVSendXAPIMsgToClinet.java class.

public static void sendNotifyMsgToClient(IContext context, String szData)

This example shows code for sending a notification message:

//Make HTTP Call
HTTPAdapterService service = context.getHTTPAdapterService();
HTTPPOSTRequest req = new HTTPPOSTRequest(internalVO.getSzPayloadIn());
HTTPPOSTResponse res = null;

req.setUrl(internalVO.getSzURL());

res = service.postMessage(req, HTTPAdapterService.CORRELATION_IN_HEADER_WITH_
NON_SECURE_CALLBACK);