Thursday, 12 September 2013

Hosting WCF webservice inside IIS

Hosting WCF webservice inside IIS

Since I am new to WCF I created a simple web service which retrieves data
from database and sends it to invoking client. I host it inside the IIS
and try to invoke that using wcftestclient, but then I got an error.
However, when I use debug mode without any errors I can invoke that
service using wcftestclient. This the error I'm getting when trying to
host webservice in IIS Server
Failed to invoke the service. Possible causes: The service is offline or
inaccessible; the client-side configuration does not match the proxy; the
existing proxy is invalid. Refer to the stack trace for more detail. You
can try to recover by starting a new proxy, restoring to default
configuration, or refreshing the service.

No comments:

Post a Comment