How Do I: Create a Web Service that Implements a WSDL File?

A Web Services Description Language (WSDL) file is an XML file that contains a description of the interface of a web service. WebLogic Workshop can generate a new JWS file (a web service) that implements the interface described in a WSDL file.

A WSDL file describes only the interface (or public contract) of a web service. After following the instructions below to generate a JWS file from a WSDL file, you must still add code to the JWS file to implement the necessary logic of the web service.

You can generate the JWS file in WebLogic Workshop by following the steps below:

1. Copy the target WSDL to a directory in a WebLogic Workshop project.

2. In WebLogic Workshop, open the project in which you placed the WSDL file.

3. In the Project tree, browse to the directory containing the target WSDL file.

4. Right-click the target WSDL file and select Generate JWS from WSDL.

Related Topics

WSDL Files: Web Service Descriptions

JWS Files: Java Web Services

Structure of a JWS File