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 Java API for XML-Based Web Services (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 by using WSIF.
- Interacting with the Java EE container in WebSphere Application Server.
- 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 WebSphere Application Server
How, and to what extent, WSIF interacts with the Java EE container provided in WebSphere Application Server.
- 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 WebSphere Application Server, and in similar clients from other suppliers.
Related concepts
Web Services Invocation Framework (WSIF) WSIF and WSDL
Related tasks
Use complex types Use WSIF to bind a JNDI reference to a web service
Example: Passing SOAP messages with attachments by using WSIF