Additional SOAP Namespaces Referenced In WSE 2.0 SOAP Headers

2016-01-29 13:12 5 1 收藏

Additional SOAP Namespaces Referenced In WSE 2.0 SOAP Headers,Additional SOAP Namespaces Referenced In WSE 2.0 SOAP Headers

【 tulaoshi.com - ASP.NET 】

One of the requirements for working with WSE 2.0 is that you must (manually) change the SOAP client's Web reference proxy class' base class from the default - System.Web.Services.Protocols.SoapHttpClientProtocol - to a new class named Microsoft.Web.Services2.WebServicesClientProtocol. This change affects the look of the request SOAP packets in various ways, and the first way is in the referencing of the XML namespaces available for use in the envelope.
Without WSE 2.0, three XML namespaces are referenced in the SOAP packets generated by the standard SOAP proxy:

With WSE 2.0, and with the related proxy base class change, an additional three XML namespaces are referenced in the SOAP packets generated by the SOAP proxy:


The wsa namespace supports the WS-Addressing specification, available here (among other places). The wsse namespace supports the WS-Security specifciation, available here (among other places), and the wsu namespace contains support for WS-Security utility needs such as fault codes, global attributes, utility types and timestamp header components.
I'll be looking at each of these specifications in more detail as I analyze the use of these namespaces in the SOAP headers and bodies, but the moral of this story is that simply changing the proxy to use the WSE 2.0 base class adds namespace support for WS-Addressing and WS-Security.posted on Monday, August 09, 2004 2:18 PM

来源:http://www.tulaoshi.com/n/20160129/1489286.html

延伸阅读
用SOAP实现数据通讯 长期以来我们使用超文本传输协议 HTTP 来提供 Web 页面以及往来的内容。但当我们将 HTTP 或一些其它 Internet 传输协议 同 XML 结合起来,并指定 XML 文档自身的格式时,你得到了简单对象访问协议 SOAP。至少在开始构想它时,SOAP是被设计为从本地系统向远程系统传递远端方法调用的。基于 SOAP 的结构与同时代的其...
翻译整理:51dotnet.com(微软.net技术网) 原文出处:http://msdn.microsoft.com/xml/general/soap1and2tech.asp     选择1.0版本或2.0版本     在选择SOAP Toolkit 版本前,请先在下边的三个选项中选择你自己是属于哪一类情况:     1.你已经打算要发布一个基于...
在一次项目开发过程中,用到IOS调用WebService接口,所以抽个空把这方面的内容给大家整理出来,分享给大家。 方法一:使用WSDL2ObjC工具,将接口转成OC类。 1.在浏览器中输入webService接口地址(Safari不可用,我用的是Firefox),如:http://xxx.xxx.asmx, 地址后面添加上.wsdl成http://xxx.xxx.asmx.wsdl打开。 2.将页面另存为wsdl文件...
编写者:郑昀@UltraPower 日期:2005-04-13 由于Web Service的执行身份受限,所以我们无法直接让Web Service申请作为一个SoapReceiver,而是通过下面的web.config定义来制定本虚拟目录的.ashx终结点,从而通过WS_Addressing和WS_Messaging机制来完成与后台侦听服务之间的订阅/发布机制。 type="Microsoft.Web.Services.Con...
在本篇文章中,我们将讨论如何使用Visual C++开发一个简单的SOAP客户端应用程序,我们还将介绍SOAP API的使用。SOAP是互联网上一种非常流行的交换信息用的协议,由于是为了与HTTP、SMTP和其他的类似协议协同工作的,因此它十分简单。用它描述的信息能够被轻易地通过互联网发送到另外的计算机上,而无需担心遭到防火墙等网络安全技术的拦...

经验教程

812

收藏

71

热门标签

ASP
微博分享 QQ分享 QQ空间 手机页面 收藏网站 回到头部