To ensure that a web browser-based JavaScript application can receive messages from the integration service, you must deploy the IBM® Integration Bus HTTP proxy servlet onto the web application server that hosts the JavaScript application.
By default, direct communication between a web browser-based JavaScript application and an integration service is blocked by the web browser to prevent a potential cross-site scripting attack. To enable communication between the JavaScript application and an integration service, you must complete the following tasks to install and configure an HTTP proxy servlet:
You have deployed the IBM Integration Bus HTTP proxy servlet onto a web application server. A web browser-based JavaScript application (that is deployed on the same web application server as the HTTP proxy servlet) can now communicate with an integration service that is deployed on an IBM Integration Bus integration server.
Generating a JavaScript client API for an integration service