WSE3.0在Windows2000 Server上部署失败,WSE910错误?

  同样的程序,同样的方法在Windows2003/windowsXP上都很正常,偏偏客户的机器是windows2000Server操作系统,运行后得到WSE910错误!郁闷。

  最后在微软的论坛中找到了答案:
(注:摘自 http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1014400&SiteID=1
Here is the problem. By default, WSE defaults th encryption method to RSAOAEP which is more secure. However, on Win2K, RSAOAEP is not supported, so WSE defaults to RSA15
on this platform.

You can verify this by looking at the trace files you mention above: The WinXP one will have RSAOAEP whereas the Win2K on will have RSA15.

To fix this, you need to change your server side to accept RSA15 and change your client on WinXP to speak RSA15 as well.

You can change this in your configuration file by doing:

<microsoft.web.services3>
   <security>
      <binarySecurityTokenManager>
           <add valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">
               <keyAlgorithm name="RSA15" />
           </add>
      </binarySecurityTokenManager>
   </security>
</microsoft.web.services3>



俺尝试了一下,服务端和客户端都需要添加这个配置才行。

转载于:https://www.cnblogs.com/lotus/archive/2007/01/31/636160.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值