Publishing WSDL files

 

Before you begin

To publish a Web Services Description Language (WSDL) file we need an enterprise application, also known as an EAR file, that contains a Web services-enabled module and has been deployed into WebSphere Application Server. See Deploying Web services based on Web Services for Java 2 platform, Enterprise Edition (J2EE).

 

Overview

The purpose of publishing the WSDL file is to provide clients with a description of the Web service, including the URL identifying the location of the service.

After installing a Web services application, and optionally modifying the endpoint information, you might need WSDL files containing the updated endpoint information. We can obtain the updated WSDL files by publishing them to the file system. If you are a client developer or a system administrator, use WSDL files to enable clients to connect to a Web service.

Before you publish a WSDL file, one can configure Web services to specify endpoint information in the form of URL fragments to enable full URL specification of WSDL ports. Refer to the tasks describing configuring endpoint URL information.

The WSDL files for each Web services-enabled module are published to the file system location you specify. We can provide these WSDL files to clients that want to invoke your Web services.

We can specify endpoint information for HTTP ports, Java Message Service (JMS) ports or directly access enterprise JavaBeans (EJBs) that are acting as Web services. To publish a WSDL file:

 

Procedure

  1. Configure the URL endpoint information. Do one of the following depending on what kind of bindings you are using:

  2. Externalize or publish the WSDL file out of the application. We can complete this task in one of three ways:

 

What to do next

Apply security to the Web service.

 

See also


WSDL
WSDL architecture
Multipart WSDL best practices
Configuring endpoint URL information for HTTP bindings
Configuring endpoint URL information for JMS bindings
Configuring endpoint URL information to directly access enterprise beans
Publishing WSDL files using the administrative console
Publishing WSDL files using a URL
Publishing WSDL files using the wsadmin tool

 

Related Tasks


Developing a WSDL file
Deploying Web services