Configure WebSphere Commerce Developer for Web service development
WebSphere Commerce Developer supports Web service development. The WebSphere Commerce Developer tools handle much of the complexity of Web service development, enabling you to focus on the complexity of the business process.To use WebSphere Commerce Developer to develop Web services, we must enable Web service and, optionally, XML capabilities. By default, these capabilities are disabled because they are used only for developing Web services or Web service clients.
Procedure
- To enable the Web service and XML capabilities:
- Select Window > Preferences.
- In the Preferences window, expand General > Capabilities.
- Select XML Developer. This capability provides additional XML development features.
- Click OK. The Web service capability is enabled.
- To configure Web service preferences:
- Select Window > Preferences.
- In the Preferences window, expand Web Services > WebSphere > JAX-RPC Code Generation.
- In the right pane, select the WSDL2Java tab then select Disable data binding and use SOAPElement.. This option allows the binding of the Web service definition to the generic WebSphere Commerce Web service framework.
- Leave the other options unchanged and click OK.
- WebServicesRouter Web module configuration
WebSphere Commerce Developer workspace contains a project named WebServicesRouter. This project is intended to define all the Web services that the WebSphere Commerce instance will provide; that is, it will contain all the WSDL, XML, and configuration files needed to define business logic that will be available as Web services. You should use this project to define new services, update existing services, and for any other Web service development tasks.
Related concepts
Security and the WebSphere Commerce web service framework
WebSphere Commerce Web services with JSP pages
Understanding the WebSphere Commerce Web service framework
Related tasks
Enable JMS for Web services
Related reference
WebServicesRouter Web module configuration