WSIF's use

xiaoxiao2021-03-18  214

WSIF provides Java APIs for calling Web services, and does not call it.

turn off. It handles all the issues determined in the target of WSIF. WSIF provides the following features:

1. With an API that can be accessed independently of any web service. 2. It relies close to WSDL, so you can call any services that can be described in WSDL. 3. Allows WEB services without placement programs (full dynamic) calls. 4. You can insert the new or updated binding to insert WSIF at runtime. 5. You can postpone the binding selection until run. 6. WSIF is designed to operate in a non-accommodating environment (single machine) and the managed container. You can use JNDI to check

Find a WSIF service, otherwise it will be read in the WSDL definition.

When using WSIF development, you need to describe information about the WSDL document, this may be

Embes the self-descriptiveness of XML. If you develop a program that parsing the WSDL document, extract related methods and parameters,

After calling in the WSIF program, it has formed a Web Services-based adaptive application.

At present, when using WSIF to make a client program, there may be a problem that there are many problems in user authentication.

. Its API is not perfect; see the following: uses of classorg.apache.wsif.wsdl.authenticatingProxywsdllocatorImplno usage of org.apache.wsif.wsdl.authenticatingProxywsdllocatorImpl

See a WSIF-based Client instance:

import org.apache.wsif.WSIFException; import org.apache.wsif.WSIFMessage; import org.apache.wsif.WSIFOperation; import org.apache.wsif.WSIFPort; import org.apache.wsif.WSIFService; import org.apache. WSIF.WSIFSERVICEFACTORY; Import Org.Apache.wsif.wsdl.authenticatingProxywsdllocatorImpl;

转载请注明原文地址:https://www.9cbs.com/read-129861.html

New Post(0)