Deploying Web services through the workbench

You can use the workbench to deploy Web services to Web servers.

About this task

During deployment, the workbench generates deployable files that contain the Web service, and for some target Web servers the workbench can transfer these files to the Web server. For other Web servers, deployment through the workbench is not supported and you must manually deploy the generated files outside of the workbench.

You do not need to start the Web server. The workbench will start the server automatically when you deploy a Web service to it.

If you modify a Web service after you deploy it to a Web server, edit the service in your data development project and then deploy it again to the server.

Procedure

To deploy a Web service to a Web server:

  1. Right-click the Web service and select Build and Deploy. The Deploy Web Service wizard opens.
  2. Under Web server, specify the Web server that you want to deploy the Web service to.
    1. In the Type field, select one of the supported types of Web server.
    2. Click Server and then select the Web server in the list. If the Web server that you want is not in the list, click New, and then configure the Web server in the New Server wizard. If the Server option is not available, the server that you have selected is not supported for deployment through the workbench.
  3. Modify other options as needed. For information about the fields, press F1.
  4. Click Finish.

Results

After deploying a Web service, you can access it by using the following URLs:
  • For access by SOAP/HTTP requests: http://server:port/context_root/services/service_name
  • For access by REST-like POST (text/xml) or POST (url-encoded) requests: http://server:port/context_root/rest/service_name/operation_name
  • For access by REST-like GET (url-encoded) requests: http://server:port/context_root/rest/service_name/operation_name?parm1=val1&parm2;=val2&...
To see the content of the WSDL file, use the URL http://server:port/context_root/wsdl.

Feedback