+

Search Tips   |   Advanced Search


Use WSIF to invoke Web services >

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.

 

 

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 WAS
Running WSIF as a client
Develop a WSIF service