wsif.properties 文件 - 初始内容

Web Services Invocation Framework (WSIF) 属性存储在 com.ibm.ws.runtime.jar 文件内名为 wsif.properties 的属性文件中。您可能必须修改此文件的内容,例如,更改缺省 SOAP 提供程序,因此,此处提供了 wsif.properties 文件的“按原样”内容的副本。

com.ibm.ws.runtime.jar 文件在 app_server_root/plugins 目录中,其中 app_server_root 是您安装 IBM® WebSphere® Application Server 的根目录。

您必须将 wsif.properties 文件保留在类路径中,以便 WSIF 能够找到它,并且客户机管理员也可以用它来配置 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 Service 能够继续使用 WSIF,您可能必须将缺省 WSIF SOAP 提供程序更改回为先前的 Apache SOAP 提供程序。


指示主题类型的图标 参考主题



时间戳记图标 最近一次更新时间: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwsf_prop
文件名:rwsf_prop.html