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.

Before you begin

WSIF includes an EJB provider for EJB invocation that uses the Remote Method Invocation over Internet Inter-ORB Protocol (RMI-IIOP). However, for EJB(IIOP)-based web service invocation, invoke RMI-IIOP Web services using JAX-RPC instead.

Ensure that your application uses only one thread to call WSIF.

About this task

The WSIF API supports the invocation of Web Services Description Language (WSDL)-defined web services. WSIF is intended for use in both WSIF clients and web service intermediaries.

The WSIF API is driven by the abstract service description in WSDL; it is completely independent of the binding used. This independence makes the API more natural to work with because it uses WSDL terms to refer to message parts, operations, and other items.

The WSIF API was designed for the WSDL usage model:
  1. Select a port that supports the port type that you need.
  2. Invoke the operation by providing the necessary abstract input message consisting of the required parts, without worrying about how the message is mapped to a specific binding protocol.

Other web service APIs, for example SOAP APIs, are not designed on WSDL, but for a specific binding protocol with its associated syntax; for example, target URIs and encoding styles.

The main WSIF API interfaces are described in the following procedure.

Note: Apache no longer supports WSIF.

Procedure


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:18
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=twsf_api
檔名:twsf_api.html