Working with Web Services

The following table shows how to work with web services.
Number 1
Create the web service
  1. Make implementation decisions for your web service.
  2. Do one of the following:

Number 2
Develop a web service
  1. In the Projects window or Files window, double-click the files that you would like to edit.
  2. Use the Source Editor to develop the web service. Regarding JAX-WS web services, you can use the IDE to generate skeleton code for one or more of the following:

Number 3
Build the web service

In most cases you do not need to build the web service. The IDE builds the service automatically as part of the deployment process. However,

  1. Right-click the project's node in the Projects window and choose Build.
  2. Analyze the result and, if necessary, customize the related tool's features. For a JAX-WS web service that is created from a WSDL file, you can use the Web Service Attributes editor to customize XML to Java (JAXB) mappings, WS Security, or other WS* features.

Number 4
Deploy the web service

To deploy the web service, simply deploy the web application that contains the service. If you have a web service that delegates to an EJB module, you can combine the service's web application and the EJB module in an enterprise application and deploy the enterprise application. See Deploying an Enterprise Application or Deploying a Web Application.


Number 5
Test the web service


Legal Notices