About Building Web Services

See Also 

In general, you build a web service implemented within a EJB module or a web application just as you would build any other project. As with other projects, the IDE automatically detects whether a project is part of a J2EE application and sets whether to package the archive files on the classpath accordingly. The IDE does not package API libraries like the Servlet API in your EJB module JAR file. You can adjust which archive files are packaged with your module in the module project's Project Properties dialog box.

However, for JAX-WS web services, the wsimport tool is run as part of the build process. For JAX-RPC web services, it is the wsimport tool tool that is run, instead.

To build the web service:

  1. Do one of the following to build the web service:
  2. Analyze the result and, if necessary, do the following:
See Also
About Web Services

Legal Notices