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
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.