Network Deployment (Distributed operating systems), v8.0 > Applications > Web services > Web Services Invocation Framework (WSIF) > WSIF Overview
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.
Scenario: Redevelopment and redeployment
When you first implement a web service, you create a simple prototype. When to move a prototype web service into production, you often have to redevelop and redeploy it.
The Web Services Invocation Framework (WSIF) uses the same API calls irrespective of the underlying technologies, therefore if you use WSIF:
- We can reimplement and redeploy your services without changing the client code.
- We can use existing reliable and high-performance infrastructures such as Remote Method Invocation over Internet Inter-ORB Protocol (RMI-IIOP) and JMS without sacrificing the location-independence that the web service model offers.
Scenario: Service flow composition
A service flow typically invokes a web service, then passes the response from one web service to the next web service, perhaps performing some transformation in the middle.
There are two key aspects to this flow that WSIF provides:
- A representation of the service invocation based on the metadata in WSDL.
- The ability to build invocations based solely on the portType, which can therefore be used in any implementation.
For example, imagine that you build a meta-service that uses a number of services to build a process. Initially, several of those services are simple Java bean prototypes that are written and exposed through SOAP, but you plan to reimplement some of them as EJB components, and to out-source others.
If you use SOAP, it ties up multiple threads for every onward invocation, because they pass through the web server and servlet engine and on to the SOAP router. If you use WSIF to call the beans directly, you get much better performance compared to SOAP and you do not lose access or location transparency. Using WSIF, you can replace the Java bean implementations with EJB implementations without changing the client code.
To move some of the web services from local implementations to external SOAP services, you just update the WSDL.
WSIF architecture
WSIF and WSDL
WSIF Overview Concept topic