+

Search Tips   |   Advanced Search

 

Use WSIF to bind a JNDI reference to a Web service

 

You can use the Web Services Invocation Framework (WSIF) to bind a reference to a Web service, then look up the reference using JNDI.

 

Overview

You access a Web service through information provided in the WSDL document for the service. If you do not know where to find the WSDL document for the service, but you know that it has been registered in a UDDI registry, then you look it up in the registry. Java programs access Java objects and resources in a similar manner, but using a JNDI interface.

The code fragments in the following steps show how, using WSIF, you can bind a reference to a Web service then look up the reference using JNDI.

 

Procedure


 

Related tasks


Linking a WSIF service to the underlying implementation of the service
Developing a WSIF service
Use complex types
Interacting with the J2EE container in WAS
Running WSIF as a client
Use WSIF to invoke Web services