Samples > Starter stores > Starter store enhancements > Social Commerce > WebSphere Commerce Dojo Enhancements API > Social Commerce services > Implement the Service Adapter API for new service providers


Test service adapters

Start the SocApp application as a WebSphere sMash application to verify the local changes.


Procedure

  1. In the Enterprise Explorer view, right-click SocApp and click Run As > WebSphere sMash Application to verify that the application starts on port 9980.

  2. Use the REST API for the resource you implemented, such as the blog resource, to ensure that requests are passed to the service adapter implementation. For example, to view the JSON representation of a blog resource, access the following Web address in the browser: http://localhost:9980/soccom/api/blogs/1, where 1 is the ID of the blog resource.


Previous topic: Configure service adapters


Next topic: Publish new WebSphere Commerce sMash applications


+

Search Tips   |   Advanced Search