ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/webserv/wswsifprovspdef.htm

45 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Change the default WSIF SOAP provider</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h6>Change the default WSIF SOAP provider</h6>
<p>The current 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 current default provider does not fully interoperate with services that are running on the former (Apache SOAP) provider. To get your legacy services working again, you can either <a href="wswsifprovspmod.htm">Modify your Web services to use the current IBM Web Service SOAP provider</a>, or you can change the WSIF default provider back to Apache SOAP as described in this topic.</p>
<p>WSIF uses a properties file named <a href="wswsifmg.htm">wsif.properties</a> 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 <a href="wswsifmg.htm">wsif.properties</a> file is shipped in the wsif.jar file that is located in the install_root/lib directory (where install_root is the root directory for your installation of IBM WebSphere Application Server), and the &quot;as shipped&quot; 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 wsif.jar file. Instead, you save the modified version in the <tt>install_root/lib/properties</tt> directory.</p>
<p>To change the WSIF default SOAP provider back to Apache SOAP, complete the following steps:</p>
<ol>
<li>Extract the wsif.properties file from the wsif.jar file that is located in the install_root/lib directory (where install_root is the root directory for your installation of IBM WebSphere Application Server).</li>
<li>Open the wsif.properties file in a text editor.</li>
<li>Remove the leading &quot;#&quot; character from the following lines:
<pre>
# 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/
#
</pre>
After the update, the preceding lines should look like this:
<pre>
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/
#</pre></li>
<li>Save the updated wsif.properties file in the <tt>${USER_INSTALL_ROOT}/lib/properties</tt> directory.</li>
<li>Stop then restart all application servers on the node.</li>
</ol>
</body>
</html>