I'm running Umbraco on my local machine for development purposes but I'm having some trouble calling a webservice.
I can run the webservice in my browser fine but when my local umbraco calls it I get:
System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at umbraco.library.GetXmlDocumentByUrl(String Url)
I think this might be because my browser runs through a proxy but I'm assuming IIS doesn't?
Any help is much appreciated!
Perhaps this could be a future addition in Umbraco? I've seen other web applications where a proxy can be specified.
All I can say is that your assumption about IIS not going through a proxy is correct. I had the same problem, and all I did was to tell the network admin to allow the webservice's url without proxy and that fixed the issue. I'll get back to you if I find out more about this, sorry I cannot help more right now. Also there may be some software that will enable you to bypass the proxy, try to search on that.
GetXmlDocumentByUrl and Proxy
Hi,
I'm running Umbraco on my local machine for development purposes but I'm having some trouble calling a webservice.
I can run the webservice in my browser fine but when my local umbraco calls it I get:
System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at umbraco.library.GetXmlDocumentByUrl(String Url)
I think this might be because my browser runs through a proxy but I'm assuming IIS doesn't?
Any help is much appreciated!
Perhaps this could be a future addition in Umbraco? I've seen other web applications where a proxy can be specified.
Thanks,
Ed
All I can say is that your assumption about IIS not going through a proxy is correct. I had the same problem, and all I did was to tell the network admin to allow the webservice's url without proxy and that fixed the issue. I'll get back to you if I find out more about this, sorry I cannot help more right now. Also there may be some software that will enable you to bypass the proxy, try to search on that.
is working on a reply...