In the module deployment editor, you can change the endpoint
(URL) of an SCA export with a SOAP/HTTP web service binding, including
both the context root and the URL mapping.
About this task
To change the URL for a web service export:
Procedure
- In the Business Integration view,
select the module that contains your web services export.
- Right-click the selected module and select Open
Deployment Editor. The module deployment editor opens.
- Click the Design tab.
- Change the context root by completing the following steps:
- Select the Application Project node.
- Click Add and select Context Root. The Context Root node is added under Application
Project.
- In the Context root field, replace
the existing context root with a new context root. For example, NewContextRoot.
- Create a URL mapping for the web services export by completing
the following steps:
- Select the Web Services Exports node.
- Click Add and select Web Service Export. A Web Service Export node is added
under Web Services Exports.
- In the Name field, select your
web service export. For example, receiveWebServiceCallFromClient.
- Click Add and select URL Mapping. A URL Mapping node is added under Web Service
Export.
- In the URL pattern field, type
the name of the new URL pattern. For example, /NewURLPattern.
- Remove the default URL mapping for the web services export
by completing the following steps:
- Select the Web Services Exports node.
- Click Add and select URL Mapping (Default). The URL Mapping (Default) node
is added beneath Web Service Export.
- Disable the Include default mapping check box.
- Press Ctrl-S to save your changes
and close the module deployment editor.
- If your server is already running in the Servers view,
click the Build Activities tab to open the
Build Activities view and then click Update Running Servers.