The New Web Service wizard creates a new Web Service.
In the Name and Location page, you have to set the following properties:
Element | Description |
---|---|
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. |
Project |
Name of the project. |
Location |
Specifies the source root where the web service files will be created. By default, you only have one source root, the |
Package |
Specifies the package name where the web service files will be housed. |
Create Web Service from Scratch |
Use this when you have no code to expose. |
Create Web Service from Existing Session Bean |
Use this when you have a session bean in an EJB module or web application that you want to expose. Click Browse and then select the session bean that you want to expose as a web service. |
Implement Web Service as Stateless Session Bean |
If you are creating a web service from scratch, you can select this option to create the web service as a stateless session bean. |
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |