开发者

how to debug a WCF service once it's out of dev env

I have a WCF service that i've been able to communicate with fine while it's hosted locally.

I have it deployed to a web server in IIS now, and I can get t开发者_如何学JAVAhe wsdl file without error by navigating to http://site.com:8000/service/servicename.svc?wsdl

in trying to test this, i've created a console app and was able to successfully add a service reference to this. But when I try to run a Get() method on the service reference, it just hangs with no response.

How can I begin to debug this?

Thanks!


When you have a service that works in dev but not in IIS, it is often due to a problem with the WCF configuration:

  • Is the configuration in place (since you can add service reference it probably is)
  • Is the protocol you are using available. The configuration you are using must match what is turned on. For example are you using nettcpip binding without WAS.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜