WAS v8.5 > Deploy applications > Deploy web services

Make deployed web services applications available to clients

We can publish WSDL files to the file system. If we are a client developer or a system administrator, we can use WSDL files to enable clients to connect to web services.

The publish WSDL dmgr console panel supports both JAX-RPC and JAX-WS services. The publish WSDL panel generates a compression file containing WSDL files for all modules in an application containing JAX-WS or JAX-RPC web services. Read about providing the HTTP endpoint URL information to learn how the URL information affects the content of the published WSDL.

To publish a Web Services Description Language (WSDL) file you need an enterprise application, also known as an EAR file, containing a Web services-enabled module and has been deployed into WebSphere Application Server. To learn how to deploy web services, see the deploying web services applications onto application servers information.

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, we 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, we 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 we specify. We can provide these WSDL files to clients that want to invoke your Web services.

We can specify endpoint information for HTTP ports, for JMS ports, or we can directly access enterprise beans that are acting as web services.

  1. Configure the web services client bindings.

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

    • Configure the URL endpoint information for HTTP bindings.

    • Configure the URL endpoint information for JMS bindings.

    • Configure the URL endpoint information to directly access enterprise beans.

  3. Externalize or publish the WSDL file out of the application. We can complete this task in the following ways:

    • Publish a WSDL file with the dmgr console
    • Publish a WSDL file using a URL.
    • Publish a WSDL file with wsadmin.

Apply security to the web services. To learn more, see the securing web services applications using message level security information.


Subtopics


Related concepts:

WSDL
Programming models for web services message-level security


Related


Publishing WSDL files using wsadmin.sh
Develop a WSDL file for JAX-RPC applications
Deploy web services applications onto application servers


+

Search Tips   |   Advanced Search