在H / W路由器后面调用WCF [英] calling WCF behind a H/W router
问题描述
我正在从Silverlight应用程序调用WCF服务。我需要将应用程序暴露给互联网。所以我的网络团队配置了一个带有静态IP(在网上)的路由器,并将网址(比如192.168.0.15:451)转发到我的本地网络。因此,当我从互联网上调用静态IP时,它会被路由到本地ip(用户看不到),我可以访问silverlight应用程序。在那个应用程序中,我调用了WCF,这给了麻烦。
当我直接从浏览器调用WCF url时,我显示了XML(该服务公开的方法)。但是当我尝试调用一个方法时,我得到一个空白页面。
可能是什么问题或者我错过了什么?
在此先感谢.. 。
Hi,
I'm calling a WCF service from a silverlight application. I need to expose the application to internet. So my network team configured a router with static IP (which is in net) and forwarded the url (say 192.168.0.15:451) to my local network. So when I call the static ip from internet, it is routed to the local ip(which is not visible to user), and I can access the silverlight application. In that application, I've called WCF, which is giving trouble.
When I call the WCF url directly from browser, I get the XML displayed(methods exposed by that service). But when I try to call a method, I'm getting a blank page.
What could be the problem or what I'm missing?
Thanks in advance...
推荐答案
这篇关于在H / W路由器后面调用WCF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!