怎么用WSE3.0加密soap报文

xyq1986 2009-04-03 03:28:53
想用WSE3.0加密soap报文,有没有详细的说明,大概知道用PolicyAssertion 的 CreateClientInputFilter等四个方法,
有没有具体的DEMO,最好有中文的说明。
...全文
125 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
xyq1986 2009-04-22
  • 打赏
  • 举报
回复
up
jietuan 2009-04-10
  • 打赏
  • 举报
回复
我用过wse 2.0,你安装插件,然后引用相关的dll
xyq1986 2009-04-10
  • 打赏
  • 举报
回复
up
xyq1986 2009-04-03
  • 打赏
  • 举报
回复
未处理的异常: Microsoft.Web.Services3.ResponseProcessingException: WSE910: An e
rror happened during the processing of a response message, and you can find the
error in the inner exception. You can also find the response message in the Res
ponse property. ---> System.InvalidOperationException: Security requirements are
not satisfied because the security header is not present in the incoming messag
e.
在 Microsoft.Web.Services3.Security.SecureConversationClientReceiveSecurityFi
lter.ValidateMessageSecurity(SoapEnvelope envelope, Security security)
在 Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(Soap
Envelope envelope)
在 Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope
)
在 Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMess
age message, String messageContentType)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Web.Services3.Xml.SoapEnvelopeReaderWrapper..ctor(SoapClientMess
age message, String messageContentType)
在 Microsoft.Web.Services3.WebServicesClientProtocol.GetReaderForMessage(Soap
ClientMessage message, Int32 bufferSize)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
在 ConsoleApplication1.localhost.ServiceWse.HelloWorld() 位置 E:\Temporary\cd
fr\ConsoleApplication1\Web References\localhost\Reference.cs:行号 78
在 Emp.Program.Main(String[] args) 位置 E:\Temporary\cdfr\ConsoleApplication1
\Program.cs:行号 41
请按任意键继续. . .


为什么我按2楼发的link写的做了,还是出这个错。。。
suners 2009-04-03
  • 打赏
  • 举报
回复
http://www.griddss.cn/show.aspx?id=40&cid=7
这个看看有用me
suners 2009-04-03
  • 打赏
  • 举报
回复
网上有的的 搜搜就可以看到说明的

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧