wsif.properties ファイル - 初期コンテンツ
Web Services Invocation Framework (WSIF) プロパティーは、wsif.properties というプロパティー・ファイル内の com.ibm.ws.runtime.jar ファイルに保管されます。このファイルの内容を 変更する (例えば、デフォルトの SOAP プロバイダーを変更する) 必要がある場合があるため、参考までに、wsif.properties ファイルの 「出荷時の」内容をここに記載します。
com.ibm.ws.runtime.jar ファイルは、app_server_root/plugins ディレクトリーにあります。 ここで、app_server_root は IBM® WebSphere® Application Server のインストール用ルート・ディレクトリーです。
WSIF が wsif.properties ファイルを検出し、 クライアント管理者がこれを使用して WSIF を構成できるように、このファイルをクラスパス上に 保持する必要があります。ただし、ファイルに変更を加えた場合は、com.ibm.ws.runtime.jar ファイルのオリジナル・コピーを置き換えないでください。その代わり、app_server_root/lib/properties ディレクトリーに変更したバージョンを保存します。
以下のコードが、wsif.properties ファイルの初期コンテンツです。 指定可能なプロパティーをすべてリストし、説明しています。
# Two properties are used to override which WSIFProvider is selected when there
# exists multiple providers supporting the same namespace URI. These properties are:
#
# wsif.provider.default.CLASSNAME=N
# wsif.provider.uri.M.CLASSNAME=URI
#
# CLASSNAME is the WSIFProvider class name
# N is the number of following default wsif.provider.uri.M.CLASSNAME properties
# M is a number from 1 to N to uniquely identify each wsif.provider.uri.M.CLASSNAME
# property key.
# For example the following two properties would override the default SOAP provider
# to be the Apache SOAP provider:
#
# 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/
#
# maximum number of milliseconds to wait for a response to a synchronous request.
# Default value if not defined is to wait forever.
# Timeout properties are only used by providers that support timeouts.
wsif.syncrequest.timeout=10000
# maximum number of seconds to wait for a response to an async request.
# if not defined on invalid defaults to no timeout
# Timeout properties are only used by providers that support timeouts.
wsif.asyncrequest.timeout=60
既存の Web サービスを使用して引き続き WSIF で作業できるようにするには、デフォルトの WSIF SOAP プロバイダーを変更して以前の Apache SOAP プロバイダーに戻す必要がある場合があります。