tags:

views:

28

answers:

1

hi,

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 the 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!

A: 

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.
Shiraz Bhaiji