I'm trying to call a webservice using WinJs.XHR in a windows 8 app; the code works fine when I'm not using firewall; However when I'm using firewall I got the following error:
**Forbidden ( Forefront TMG denied the specified Uniform Resource Locator (URL). )**
any clue?
WinJS.Promise.timeout(50000, WinJS.xhr({
url: "<Service_URL>"
})
.then(function (rss) {
}, function (onRError) {
});
},
function progress(result) {
}) );
The problem does not exist any more, all what I did was adding the internet(Client/Server) and Private networking and them removed them.
Not sure if it was something with the code or the ISA server/client .