I have an asp.net site that uses Bing Translate Web service(http://api.microsofttranslator.com/V2/Soap.svc)
The code that calls the service causes exception (There was no endpoint listening at http://api.microsofttranslator.com/V2/soap.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.)
But the same code works from windows app.
Code:
BingService.LanguageServiceClient client = new BingService.LanguageServiceClient();
res = client.Translate(BingAppID, "text", "en", "ar", "text/plain", "general");
I suspect it may be from policy on my domain (iis or somethinng like that) as I tried to use another internet connection (outside domain, normal DSL without firewall) it works fine!! but how can this policy does not apply when I run windows app?
You could have the application on a webserver that does not allow access beyond your intranet.
You may also need to look into Impersonation You may need that to get through your firewall.