WAS v8.5 > Develop applications > Develop web services - Invocation framework (WSIF)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.
You should not use WSIF for new applications in WebSphere Application Server, unless you are supporting an existing WSIF configuration. You 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:
- Linking a WSIF service to the underlying implementation of the service.
- Develop 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.
- Run WSIF as a client
Subtopics
- Linking a WSIF service to the underlying implementation of the service
A 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 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 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 WSIF in the Application Client for WAS, and in similar clients from other suppliers.
Related concepts:
WSIF
WSIF and WSDL
Related
Use complex types
Use WSIF to bind a JNDI reference to a web service
Reference:
Example: Passing SOAP messages with attachments using WSIF