Develop > Persistence layer > WebSphere Commerce Web services with JSP pages > Understand the WebSphere Commerce Web service framework > WebSphere Commerce as a service provider


Deploy an inbound Web service

Deploy a web service to the production environment is treated the same way as deploying other assets -- as updates to the WebSphere Application Server using the WebSphere Application Server Administration Console.

Before exporting the assets, ensure that WebSphere Commerce Developer is at the same fix pack level as the WebSphere Commerce Server.


Procedure

  1. Package the assets:

    1. In the development environment, right-click the WebServicesRouter Web project and select Export... > Export... > WAR file. Select the Web project and a destination on the following screens to create the WAR file.

    2. Create a zip file for the store assets by packaging the assets as a partial application. This zip file will contain files that you have updated to support the Web service, such as:

      • messaging/webservice_SOABOD_template.extension.xml

      • struts-config-ext.xml

      • any additional XML files you created for message mapping

      • new JSP files

      files being updated are the and any additional XML files created for message mapping purposes. You may also have customized the and/or created new JSP files.

  2. Open the WebSphere Application Server Administration Console.

  3. Follow the Updating applications with the console documentation in the WebSphere Application Server information center to deploy the web services and the store assets.

    • To deploy the WebServicesRouter Web project, follow the directions for Single Module.

    • For the store assets, follow the directions for Partial Application.

    You do not need to save the configuration until you have completed all the updates. Saving between updates will add unnecessary time to the deployment steps.


Related concepts

WebSphere Commerce Web services with JSP pages

Understand the WebSphere Commerce Web service framework


Related information

Tutorial: Defining an inbound Web service

Tutorial: Defining a User Registration Web Service


+

Search Tips   |   Advanced Search