First make sure the service is working correctly:
Connect to the service with a web browser. If running under the VS webserver, the URL will be something like: http://localhost:33102/Service.svc. If there is an error with your service configuration or contract, the exception details will be returned to the browser.
In the .svc file, the ServiceHost element Service attribute value must match the value in the application config system.serviceModel/services/service element name attribute.
No comments:
Post a Comment