Deploying a Stored Process as a Web Service

Problem

You want to deploy a stored process as a Web service, so that it can be executed by a Web service client.

Solution

Use the Deploy As Web Service wizard to deploy a stored process as a Web service. Typically, the stored process is created from a Web service job, as described in Deploying a Web Service Job as a Stored Process.

Tasks

Deploy a Stored Process as a Web Service

Perform the following steps to deploy a stored process as a Web service:
  1. Right-click the stored process in a tree view and select Web Servicethen selectNew from the pop-up menu. The Deploy As Web Service wizard displays.
  2. Select a URL for the Web Service Maker. If you do not see a URL, contact your administrator.
  3. Specify a name for the Web service. Slashes, backslashes, spaces, and control characters cannot be used in this field.
  4. Typically the Use my current credentials to deploy check box should be selected. When ready click Next. The Namespace and Keywords page displays.
  5. If the defaults are acceptable, click Next. The Confirm Web Service Deployment page displays.
  6. If the defaults are acceptable, click Finish. A Web service is generated. If the operation is successful, a dialog box is displayed. Click OK to close it. A metadata object is added to the Web service (generated) folder in the Inventory tree.
After the stored process has been deployed as a Web service, it can be executed with a Web service client.