Make deployed Web services application available to clients

 

+

Search Tips   |   Advanced Search

 

 

 

Overview

You can publish WSDL files to the file system. If you are a client developer or a system administrator, you can use WSDL files to enable clients to connect to a Web service.

To publish a Web Services Description Language (WSDL) file we need an enterprise application (*.ear), that contains a Web services-enabled module and has been deployed into WAS.

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 informations to make deployed Web services application to be available to clients.

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

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

You can specify endpoint information for HTTP ports, JMS ports or directly access EJBs that are acting as Web services.

 

To publish a WSDL file

  1. 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. You can complete this task in the following ways:

 

What to do next

Apply security to the Web service.



Configure Web service client bindings
Configure endpoint URL information for HTTP bindings
Configure endpoint URL information for JMS bindings
Configure endpoint URL information to directly access enterprise beans
Publishing WSDL files using the console
Publishing WSDL files using a URL

 

Related concepts

WSDL

 

Related tasks

Publishing WSDL files using the wsadmin tool
Developing a WSDL file for JAX-RPC applications
Deploying Web services applications onto appservers

 

Related Reference

WSDL architecture
Multipart WSDL best practices