Deploying Web services through the workbench
You can use the workbench to deploy Web services to Web servers.
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 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.
To deploy a Web service to a Web server:
- Right-click the Web service and select
Build and Deploy. The
Deploy Web Service wizard opens.
- Under
Web server, specify the Web server that you want to deploy the Web service to.
- In the
Type field, select one of the supported types of Web server.
- 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.
- Modify other options as needed. For information about the fields, press F1.
- Click Finish.
After deploying a Web service, you can access it by using the following URLs:
To see the content of the WSDL file, use the URL http://server:port/context_root/wsdl.
- 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&...
Related concepts
Auto-deployment of Web services
Related tasks
Undeploying Web services through the workbench
Generating deployable files to transfer manually to Web servers
Testing a Web service with the Data Web Services Test Client
Adding parameters to Web services
Selecting the default deployment options for all Web services in a project
Related information
Testing WSDL documents and Web services using the WSDL Explorer