+

Search Tips   |   Advanced Search

Use WSIF to bind a JNDI reference to a web service

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

You access a web service through information provided in the WSDL document for the service. If we 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, by using WSIF, we can bind a reference to a web service then look up the reference by using JNDI.


Related concepts

  • WSIF and WSDL


    Related tasks

  • Use complex types
  • Linking a WSIF service to the underlying implementation of the service
  • Interacting with the Java EE container in WebSphere Application Server
  • Running WSIF as a client
  • Use WSIF to invoke web services