Additional SOAP Namespaces Referenced In WSE 2.0 SOAP Headers

2016-01-29 13:12 1 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

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

延伸阅读
在一次项目开发过程中,用到IOS调用WebService接口,所以抽个空把这方面的内容给大家整理出来,分享给大家。 方法一:使用WSDL2ObjC工具,将接口转成OC类。 1.在浏览器中输入webService接口地址(Safari不可用,我用的是Firefox),如:http://xxx.xxx.asmx, 地址后面添加上.wsdl成http://xxx.xxx.asmx.wsdl打开。 2.将页面另存为wsdl文件...
标签: Web开发
摘要 :我们正在进入一个崭新的计算时代,一个互联网时代,其核心技术是“可扩展标记语言”,即XML。应用程序开发技术正发生着一次质的飞跃。今后,软件已不完全是指那些从CD进行安装的程序,而是已经演变成了一种服务...... 内容: 应用程序开发技术正发生着一次质的飞跃,从根本上大幅度提高开发人员的生产效率,它开启了一道通向全新...
用SOAP实现数据通讯 长期以来我们使用超文本传输协议 HTTP 来提供 Web 页面以及往来的内容。但当我们将 HTTP 或一些其它 Internet 传输协议 同 XML 结合起来,并指定 XML 文档自身的格式时,你得到了简单对象访问协议 SOAP。至少在开始构想它时,SOAP是被设计为从本地系统向远程系统传递远端方法调用的。基于 SOAP 的结构与同时代的其...
编写者:郑昀@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和其他的类似协议协同工作的,因此它十分简单。用它描述的信息能够被轻易地通过互联网发送到另外的计算机上,而无需担心遭到防火墙等网络安全技术的拦...

经验教程

530

收藏

32

精华推荐

热门标签

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