Wcf服务HTTPS支持 - silverlight OOB应用程序 [英] Wcf service HTTPS support - silverlight OOB application

查看:119
本文介绍了Wcf服务HTTPS支持 - silverlight OOB应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

项目结构:

-两个应用程序

1.托管silverlight(https://aa.com)

2.到主机WCF服务(应用程序即主Web应用程序下的服务)(https://aa.com/services)



我通过HTTPS托管WCF服务。



当我使用silverlight web项目访问这些服务时,它正在工作。





但是,在尝试启动OOB(浏览器外)应用程序时,同样的WCF服务是不可接受的。它会抛出'找不到远程服务器'。未通过HTTPS建立服务连接。我如何实现它>



我尝试过:



我试过HTTP。它允许启动OOB和Web应用程序。似乎浏览器功能和oob功能与HTTP协议相同。但在HTTPS中却不一样?

解决方案

引用:

问题已修复。纯证书是罪魁祸首。由于证书到期,会出现问题。


Project structure:
-Two applications
1. To host silverlight (https://aa.com)
2. To host WCF services (application namely services under main web application)(https://aa.com/services)

I hosted WCF services over HTTPS.

while i am accessing these services using silverlight web project, it is working.


But, While trying to launch OOB (Out of browser) application, same WCF services cannot be accseeible. It throws 'Remote server not found.'. Service connection is not established over HTTPS. How do i achieve it>

What I have tried:

I tried with HTTP. It is allowing to launch both OOB and Web application. It seems browser capability and oob capability is same over HTTP protocol. But not same in HTTPS?

解决方案

Quote:

Problem is fixed. purely Certificate is the culprit. Due to expiration of certificate, the problem is occurs.


这篇关于Wcf服务HTTPS支持 - silverlight OOB应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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