Web Services Invocation Framework (WSIF) プロパティーは、wsif.properties というプロパティー・ファイル内の wsif.jar ファイルに 保管されます。このファイルの内容を変更する必要が生じることがある (デフォルトの SOAP プロバイダーを変更する場合など) ので、 参考までに、wsif.properties ファイルの「出荷時の」内容をここに記載します。
wsif.jar ファイルは app_server_root/lib ディレクトリーにあります。 ここで、app_server_root は IBM WebSphere Application Server の インストール用ルート・ディレクトリーです。
WSIF が wsif.properties ファイルを検出し、 クライアント管理者がこれを使用して WSIF を構成できるように、このファイルをクラスパス上に 保持する必要があります。ただし、ファイルに何らかの変更を加えた場合には、wsif.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 which 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 which support timeouts. wsif.asyncrequest.timeout=60
レガシー Web サービスで WSIF の処理を継続するには、以前の Apache SOAP プロバイダーにデフォルトの WSIF SOAP プロバイダーを変更する必要がある場合があります。