New Web Service Wizard: Name and Location
See Also
The New Web Service wizard creates a new Web Service.
You open the New Web Service wizard by right-clicking a web application,
choosing New > File/Folder and selecting Web Service from the Web Services category.
In the Name and Location page, you have to set the following properties:
- Web Service Name. Specifies the name of the web service. The name is used to name the
files that are created by the web service wizard:
- For JAX-WS web services, one file is created:
- For JAX-RPC web services, three files named as follows are created:
- NewWebService-config.xml
- NewWebServiceImpl.java
- NewWebServiceSEI.java
- Location. Specifies the source root where the web service files will be created.
By default, you only have one source root, the src folder. To add additional source roots,
right-click the project node in the Projects window, choose Properties, click Sources, and define
a new source package folder.
- Package. Specifies the package name where the web service files will be housed.
- Create an Empty Web Service. Use this when you have no code to expose.
- Delegate to Existing Session Enterprise Bean. Use this when you have a
session bean in an EJB module or a class in a web application
that you want to expose. Click Browse and then select the session bean
that you want to expose as a web service.
- See Also
- About Web Services
Legal Notices