Before using the REST API sample, install the application
and perform initial configuration.
- 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.
- Install the REST API sample application EAR file as a J2EE
application on WebSphere® Application Server.
- Configure the REST API sample application:
- Launch the WebSphere Integrated Solutions Console.
- Click .
Note: If you are using WebSphere Application Server version 6.1.0.x, reach
this window by clicking .
- Click Presence HTTP Gateway.
- Click Environment entries for Web modules.
- 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.