WSIF Overview
The Web Services Invocation Framework (WSIF) provides a Java API for invoking web services, independent of the format of the service, or the transport protocol through which it is invoked.
WSIF provides the following features:
- An API that provides binding-independent access to any web service.
- A close relationship with WSDL, so it can invoke any service that we can describe in WSDL.
- A stubless and completely dynamic invocation of a web service.
- The capability to plug a new or updated implementation of a binding into WSIF at run time.
- The option to defer the choice of a binding until run time.
WSIF provides runtime support for web services, and for WSDL extensions and bindings, that were not known at build time. This capability is known as dynamic invocation. Using WSIF, a client application can choose dynamically the optimal binding to use for invoking Web service operations. For example, a web service might offer a SOAP binding, and also a local Java binding so that we can treat the local service implementation (a Java class) as a web service. If a client application is deployed in the same environment as the service, this client can use the local Java binding for the service. This provides more efficient communication between the client and the service by making direct Java calls, rather than indirect calls that use the SOAP binding.
WSIF provides this runtime support through the use of providers that link the WSIF service to the underlying implementation of the service. The providers support web services, WSDL extensions, and bindings that were not known at build time using the WSDL description to access the target service.
WSIF is designed to work both in an unmanaged environment (running WSIF as a client) and inside a managed container. We can use the JNDI to find the WSIF service, or we can use the location described in the WSDL.
For more conceptual information about WSIF and WSDL, see the following topics:
WSIF supports Internet Protocol Version 6, and Java API for XML-based Remote Procedure Calls (JAX-RPC) Version 1.1 for SOAP.
Apache no longer supports WSIF.
Subtopics
- WSIF architecture
A diagram depicting the Web Services Invocation Framework (WSIF) architecture, and a description of each of the major components of the architecture.
- WSIF and WSDL
There is a close relationship between the metadata-based Web Services Invocation Framework (WSIF) and the evolving semantics of WSDL.
- WSIF usage scenarios
There are two main scenarios that illustrate the role WSIF plays in the emerging web services environment: Redevelopment and redeployment, and service flow composition.
Related concepts
Goals of WSIF
Related tasks
Use WSIF to invoke web services Invoking a WSDL-based web service through the WSIF API Linking a WSIF service to the underlying implementation of the service Running WSIF as a client Interacting with the Java EE container in WebSphere Application Server Use WSIF to bind a JNDI reference to a web service