Use WSIF to invoke web services
You invoke a web service dynamically using the WSIF API directly.
You specify the location of the Web Services Description Language (WSDL) file for the service, the name of the operation to invoke, and any operation arguments. All other information needed to access the web service (the abstract interface, the binding, and the service endpoint) is available through the WSDL.
This kind of invocation does not require stub classes and does not need a separate compilation cycle.
We should not use WSIF for new applications in WebSphere Application Server, unless we are supporting an existing WSIF configuration. We should instead adopt a more recent open standard, such as the JAX-WS programming model.
For more information about using the Web Services Invocation Framework (WSIF) to invoke web services, see the following topics:
Tasks
- Linking a WSIF service to the underlying implementation of the service.
- Developing a WSIF service.
- Use complex types.
- Use WSIF to bind a JNDI reference to a web service.
- Example: Passing SOAP messages with attachments using WSIF.
- Interacting with the Java EE container in WAS.
- Invoking a WSDL-based web service through the WSIF API.
- Running WSIF as a client
Subtopics
- Linking a WSIF service to the underlying implementation of the service
A Web Services Invocation Framework (WSIF) service is linked to the underlying service through a WSIF provider. A provider is an implementation of a WSDL binding that can run a WSDL operation through a binding-specific protocol. Providers implement the interface between the WSIF API and the implementation of a service.- Develop a WSIF service
A Web Services Invocation Framework (WSIF) service is a web service that uses WSIF.- Interacting with the Java EE container in WAS
How, and to what extent, WSIF interacts with the Java EE container provided in WAS.- Invoking a WSDL-based web service through the WSIF API
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.- Run WSIF as a client
We can run the Web Services Invocation Framework (WSIF) in the Application Client for WAS, and in similar clients from other suppliers.
Related:
Web Services Invocation Framework (WSIF) WSIF and WSDL Use complex types Use WSIF to bind a JNDI reference to a web service Example: Passing SOAP messages with attachments using WSIF