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


Publish new WebSphere Commerce sMash applications

After testing the WebSphere sMash application, you can export and publish the service adapter project to the SocCore repository. Exporting the service adapter project creates an archive file that contains all of the classes and Web artifacts associated with the service adapter in the export directory of the project.


Procedure

  1. In the Enterprise Explorer view, right-click the project that you created, for example, com.acme.FSBlogAdapter and click Export > WebSphere sMash > WebSphere sMash Export Wizard. By default, the project is exported to the adapter project/export directory as an archive file.

  2. Optional: Select Include Source, Overwrite existing package, or both.

  3. From a command prompt, change to the directory in which the project was exported:

    > cd <adapter project>\export

  4. Publish the archive file:

    > ..\..\SocCore\zero publish -f=<adapter archive file>

    Tip: To obtain help with publishing the archive file, type:

    > ..\..\SocCore\zero help publish

  5. In the Enterprise Explorer view, right-click the project that you created (com.acme.FSBlogAdapter) and click Refresh.

  6. Expand SocCore > zero-repository > stable > modules to verify that the service adapter module you created and published appears.

    Each time that you create a new version of the adapter project, repeat these steps to export and publish the changes.


Previous topic: Test service adapters


Next topic: Deploy new service adapters


+

Search Tips   |   Advanced Search