How Do I: Create a New Web Service?
In WebLogic Workshop, the implementation of a web service is contained in a JWS (Java Web Service) file. JWS files are standard Java class files with special annotations that provide powerful web service functionality. Creating a new web service is as simple as creating a new file.
For more information about JWS files, see JWS Files: Jave Web Services.
To Create a New Web Service in the Root of an Existing Project
Choose File-->New-->New Web Service. The Create New File dialog appears.
In the Type of file to create menu, confirm that Web service is selected.
In the File name field, enter the name for your new service.
This name will become part of the URL used to access your web service. The name will also be used as Java class name in your web service's JWS file, so it must be a valid Java identifier.
A default web service template will be generated for you to begin editing and adding methods.
To Create Your Web Service in a Directory Other Than the Project Root
Expand the Project tree.
Right-click the folder in which you would like to create the service, then click New File.
Follow steps 2 and 3 in the preceding procedure.