WebSphere brand IBM WebSphere Presence Server, Version 7.0

Installing and configuring the REST API sample

Before using the REST API sample, install the application and perform initial configuration.

  1. Update the Presence Server configuration to enable support for the REST API. For more information, refer to the topic Configuring REST in the Presence Server information center.
  2. Install the REST API sample application EAR file as a J2EE application on WebSphere® Application Server.
  3. Configure the REST API sample application:
    1. Launch the WebSphere Integrated Solutions Console.
    2. Click Applications > Application types > WebSphere Enterprise Applications.
      Note: If you are using WebSphere Application Server version 6.1.0.x, reach this window by clicking Applications > Enterprise Applications.
    3. Click Presence HTTP Gateway.
    4. Click Environment entries for Web modules.
    5. Set the restAddress parameter value to the full URL of the Presence Server Rest API. Example: http://presence.rest.address:9080/presence/
What to do next
You are ready to run the sample application.



Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.