# How Do I: Create a New Web Service?

In WebLogic Workshop, you create a new web service in a JWS (Java Web Service) file. JWS files contain standard Java classes with special annotations that tell the WebLogic Workshop runtime which web service features you'd like to utilize.

You can create a new web service only within a Web Services or Web User Interface project.

For more information about JWS files, see Structure of a JWS File.

To Create a New Web Service

1. Display the Application pane if it is not already visible, by choosing View-->Application.
2. Select the project in which you want to create the new web service.
3. Right-click the folder where you want to add the new web service, and choose New-->Web Service. You can create your new web service in the root of the project by right-clicking the web project folder.
4. In the New File dialog, type a file name and click Create.

   Note: The file name becomes part of the URL used to access your web service. The name is also used as the Java class name in your web service's JWS file, so it must be a valid Java identifier.

Related Topics

How Do I: Start a New Project?

How Do I: Move or Copy a Web Service from One Project to Another?

Tutorial: Your First Web Service