Download

WebSphere Integration Developer 7.0 Project

These two downloads include a WebSphere Integration Developer project including all the code of the Advertise sample and the JavaScript client to interact with the process. To import the project into WebSphere Integration Developer, complete the following steps:


    Basic sample:
  1. Download HelloWorld.zip to a temporary directory.
  2. Download RESTJSClientBasic.zip to a temporary directory.
    Advanced sample:
  1. Download AdvertiseScenario.zip to a temporary directory.
  2. Download RESTJSClientAdvanced.zip to a temporary directory.
  3. Steps for both samples:

  4. In WebSphere Integration Developer, select menu File > Import.
  5. On the Select page of the Import Wizard, expand Other and select Project Interchange as import source.
  6. Click Next.
  7. The import projects page is displayed. Click Browse to select the zip file.
  8. Browse to the temporary directory and select the zip file you downloaded in step 1.
  9. Click Select All.
  10. Click Finish.

The windows PowerShell client can be downloaded here: RestClientPowershell.zip.

WebSphere Process Server 7.0 installable applications

These downloads include installable enterprise archives (EAR file) of both the AdvertiseScenario project and the JavaScript client. To install this application on WebSphere Process Server 7.0, refer to the installation instructions provided by the product documentation.


    Basic Sample:
  1. Download HelloWorldApp.ear to a temporary directory, make sure that the type of the saved file in the file system is ".ear".
  2. Download RESTJSClientBasicEAR.ear to a temporary directory, make sure that the type of the saved file in the file system is ".ear".

    Advanced sample:
  1. Download AdvertiseScenarioApp.ear to a temporary directory, make sure that the type of the saved file in the file system is ".ear".
  2. Download RESTJSClientAdvancedEAR.ear to a temporary directory, make sure that the type of the saved file in the file system is ".ear".
  3. Step for both samples:

  4. Install the enterprise applications to WebSphere Process Server.

Note: When using the REST API, the client does not have to reside on a WebSphere Process Server. No Java EE elements and no dynamically generated Web pages are required. Thus, it is sufficient to serve the HTML file for the Basic sample or the HTML file for the Advanced sample from any other HTTP server.
However, this HTTP server and the involved WebSphere Process Server should reside in the same server domain. Otherwise, the JavaScript client would attempt cross-site-scripting (execute JavaScript operations to a different server domain) which is considered as security risk and therefore disallowed in several Web Browser implementations.
Nevertheless, to keep this sample compact, the JavaScript clients are shipped as projects ready to run as well on the WebSphere Process Server.