+

Search Tips   |   Advanced Search

Use WSIF to bind a JNDI reference to a web service

Use the Web Services Invocation Framework (WSIF) to bind a reference to a web service, then look up the reference 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, using WSIF, we can bind a reference to a web service then look up the reference using JNDI.


Tasks


Related:

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