WSE 3.0 - 无法理解命名空间中的标题“安全性” [英] WSE 3.0 - The header 'Security' from the namespace was not understood

查看:80
本文介绍了WSE 3.0 - 无法理解命名空间中的标题“安全性”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在访问OWSM(Oracle Web服务管理器)上托管的服务,并且客户端无法理解来自服务器的加密响应。当客户端向服务器发送加密请求时,初始部分工作正常。

我非常感谢下列问题的紧急帮助,我已经尝试了各种方法来解决这个问题,但没有运气。
<增加了例外情况******
System.Web.Services.Protocols.SoapException:
SOAP-Fault代码: http://schemas.xmlsoap.org/soap/envelope/:MustUnderstand
消息:命名空间'http:标题'安全'此消息的收件人不理解//docs.oasis-open.org/ws
s / 2004/01 / oasis-200401-wss-wssecurity-secext-1.0.xsd',导致要处理的消息。此错误通常表示此消息的发送方已启用接收方无法处理的通信协议。请确保客户端绑定的配置与服务的绑定一致。
在System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage消息,WebResponse响应,流responseStream) ,Boolean asyncCal
l)在System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame,Object []参数)
在WSE3ConsoleClient.CalcClient.Calc。加入(N1的Int32,布尔n1Specified,的Int32
N2,布尔n2Specified,的Int32&安培; AddResult,布尔和放大器; AddResultSpecified)在d:\S
ourceCode\WSE30Service\WSE3ConsoleClient\Web References\CalcClient \Reference.cs:
第79行在WSE3ConsoleClient.Program.Run()中的D:\ SourceCode \ WSE30Service \ WSE3ConsoleC
lient \Program.cs:第78行<位于D:\ SourceCode \ WSE30Servic的WSE3ConsoleClient.Program.Main(String [] args)中的数据:\\\ WSE3ConsoleClient \Program.cs:line 37从服务器收到的实际响应如下所示:

<? xml version =" 1.0"编码= QUOT; UTF-8英寸 ?>

We are accessing the service hosted on the OWSM (Oracle Web service Manager) and the client is unable to understand the encrypted response from the server. The initial portion works fine when client sends encrypted request to the server.

I would really appreciate urgent help on the following issue, I have tried various ways to resolve this with no luck.

****** Exception Raised ******
System.Web.Services.Protocols.SoapException:
SOAP-Fault code: http://schemas.xmlsoap.org/soap/envelope/:MustUnderstand
Message: The header 'Security' from the namespace 'http://docs.oasis-open.org/ws
s/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' was not understood by the
recipient of this message, causing the message to not be processed.  This error
typically indicates that the sender of this message has enabled a communication
protocol that the receiver cannot process.  Please ensure that the configuration
 of the client's binding is consistent with the service's binding.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
   at WSE3ConsoleClient.CalcClient.Calc.Add(Int32 n1, Boolean n1Specified, Int32
 n2, Boolean n2Specified, Int32& AddResult, Boolean& AddResultSpecified) in D:\S
ourceCode\WSE30Service\WSE3ConsoleClient\Web References\CalcClient\Reference.cs:
line 79
   at WSE3ConsoleClient.Program.Run() in D:\SourceCode\WSE30Service\WSE3ConsoleC
lient\Program.cs:line 78
   at WSE3ConsoleClient.Program.Main(String[] args) in D:\SourceCode\WSE30Servic
e\WSE3ConsoleClient\Program.cs:line 37


The actual response received from the server looks like the message below:

 <?xml version="1.0" encoding="UTF-8" ?>


- < s:Envelope xmlns:s =" http: //schemas.xmlsoap.org/soap/envelope/ " > ;
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

推荐答案

响应看起来不错。
The response looks ok.


这篇关于WSE 3.0 - 无法理解命名空间中的标题“安全性”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆