Changing the default WSIF SOAP provider

The WSIF default SOAP provider (the IBM® Web Service SOAP provider) is designed to interoperate fully with a JAX-RPC compliant web service, and therefore the default provider does not fully interoperate with services that are running on the former (Apache SOAP) provider. To get your existing services working again, you can either modify your web services to use the current IBM Web Service SOAP provider, or you can change the WSIF default provider back to Apache SOAP as described in this topic.

About this task

WSIF uses a properties file named wsif.properties to choose what SOAP provider to use. The SOAP provider is a node-wide setting, so all servers on the node must be restarted for any changes to take effect. The wsif.properties file is shipped in the com.ibm.ws.runtime.jar file that is located in the app_server_root/plugins directory (where app_server_root is the root directory for your installation of IBM WebSphere® Application Server), and the "as shipped" properties file is accessed in this location by being put on the class path. However when you make changes to the file, you do not replace the original copy in the com.ibm.ws.runtime.jar file. Instead, you save the modified version in the app_server_root/lib/properties directory.

To change the WSIF default SOAP provider back to Apache SOAP, complete the following steps:

Procedure

  1. Extract the wsif.properties file from the com.ibm.ws.runtime.jar file that is located in the app_server_root/plugins directory (where app_server_root is the root directory for your installation of IBM WebSphere Application Server).
  2. Open the wsif.properties file in a text editor.
  3. Remove the leading "#" character from the following lines:
    # wsif.provider.default.org.apache.wsif.providers.soap.ApacheSOAP.WSIFDynamicProvider_ApacheSOAP=1
    # wsif.provider.uri.1.org.apache.wsif.providers.soap.ApacheSOAP.WSIFDynamicProvider_ApacheSOAP=\
    # http://schemas.xmlsoap.org/wsdl/soap/
    #
    After the update, the preceding lines should look like this:
    wsif.provider.default.org.apache.wsif.providers.soap.ApacheSOAP.WSIFDynamicProvider_ApacheSOAP=1
    wsif.provider.uri.1.org.apache.wsif.providers.soap.ApacheSOAP.WSIFDynamicProvider_ApacheSOAP=\
    http://schemas.xmlsoap.org/wsdl/soap/
    #
  4. Save the updated wsif.properties file in the app_server_root/lib/properties directory.
  5. Stop then restart all application servers on the node.

Example


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



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