<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>旁观者 - 郑昀 - WSE2.0</title><link>http://blog.csdn.net/zhengyun_ustc/category/108369.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 21 Apr 2008 11:53:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>郑昀</dc:creator><title>[WSE]Web Service与Windows Service通过WSE2.0建立订阅/发布关系[更新版本]</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx</link><pubDate>Wed, 01 Jun 2005 15:09:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/385741.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/06/01/385741.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/385741.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=385741</trackback:ping><description>目的：

我们建立这种交互关系的目的是，在Web Service和Windows Service(或者其他Windows应用)之间建立起一种稳固的可扩展的不受地域限制的交互关系。
&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/385741.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[dotNET]如何启用WSE2.0的强大的Trace功能</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/04/04/336113.aspx</link><pubDate>Mon, 04 Apr 2005 15:04:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/04/04/336113.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/336113.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/04/04/336113.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/336113.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=336113</trackback:ping><description>当你调试WSE时，可以启用这个功能，将对你的调试工作起到极大的促进作用！&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/336113.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[dotNET]用HttpWebRequest加载证书建立SSL通道时发生异常的解决办法</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/29/333173.aspx</link><pubDate>Tue, 29 Mar 2005 11:30:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/29/333173.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/333173.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/29/333173.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/333173.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=333173</trackback:ping><description>目的：
对于用HttpWebRequest加载证书请求远端https服务器时，发生的
“基础连接已经关闭: 无法与远程服务器建立信任关系。”/
“The underlying connection was closed. Could not establish a secure SSL/TLS connection”错误，我们可以用如下方式解决。

原因：
在“http://msdn.microsoft.com/library/chs/default.asp?url=/library/CHS/cpguide/html/cpconhostingremoteobjectsininternetinformationservicesiis.asp”提到：

“ 

证书标识特定的计算机，该计算机的名称位于证书的公共名称中。但是，很容易就会更改计算机的名称或使用客户端配置文件中的“localhost”，这会在客户端和服务器证书中的公共名称之间造成不匹配的情况。在 .NET Framework 1.0 版中，这一不匹配的情况将被忽略，并且将在服务器上引发调用。

从 .NE&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/333173.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[dotNET]使用HttpWebRequest请求远端服务器时如何加载SSL证书</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/28/332881.aspx</link><pubDate>Mon, 28 Mar 2005 23:25:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/28/332881.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/332881.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/28/332881.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/332881.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=332881</trackback:ping><description>/// 从本地文件中加载证书
hwrRequest.ClientCertificates.Add(X509Certificate.CreateFromCertFile("c:\\motor.https.pem.cer"));
这是一个较简单的办法。

如果你遇到了“The underlying connection was closed. Could not establish a secure SSL/TLS connection"”的异常，那么请设置
hwrRequest.KeepAlive = true;

如果您使用的是CreateFromSignedFile来创建证书，那么请您务必注意，即使CreateFromSignedFile没有能够从文件中创建证书，甚至即使没有找到该文件，他也不会抛出异常，也不返回null，只是他的各个字段为null。

所以，。。。，还是请使用CreateFromCertFile好了。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/332881.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[dotNET]WSE2.0中的发送器/接收器流程用于WebService与后台侦听服务交互</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/22/326968.aspx</link><pubDate>Tue, 22 Mar 2005 18:48:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/22/326968.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/326968.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/22/326968.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/326968.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=326968</trackback:ping><description>本章节简单介绍了如何让Web Service通过COM+服务器组件和后台的SoapReceiver/SoapSender作交互，我们还介绍了WSE2.0中的发送器/接收器设计概念，并给出交互流程的详细描述。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/326968.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>郑昀</dc:creator><title>[收藏]使用 WSE 2.0 从 WS-Routing 转移到 WS-Addressing</title><link>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/17/321946.aspx</link><pubDate>Thu, 17 Mar 2005 10:59:00 GMT</pubDate><guid>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/17/321946.aspx</guid><wfw:comment>http://blog.csdn.net/zhengyun_ustc/comments/321946.aspx</wfw:comment><comments>http://blog.csdn.net/zhengyun_ustc/archive/2005/03/17/321946.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zhengyun_ustc/comments/commentRss/321946.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=321946</trackback:ping><description>摘要：介绍 Web 服务路由遇到的问题和对传输中立寻址的需要，重点讨论了从 WS-Routing 向新的 WS-Addressing 规范的转移。介绍核心 WS-Addressing 概念以及使用 Web Service Enhancements 2.0 实现安全路由。&lt;img src ="http://blog.csdn.net/zhengyun_ustc/aggbug/321946.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>