Unable to get xml file from my webserver

Hi,

I have a little problem getting a xml file from my webserver (that isn't on the localhost) with the following code:

function getValue()
{
var url = "http://myserver.com:8080/something.xml"; //this address is just example

var req = Web.Network.createRequest(
Web.Network.Type.XML,
url, {proxy:"generic"},
valueDownloadComplete);
req.execute();
}

function valueDownloadComplete(response)
{
alert(response.responseText);
}

With browser, I can download the xml file. And what is more, my friend can get this xml file with browser from a different ISP network. So the server is publicly reachable.

If I put that xml file to a free webhost like geocities, the whole works fine, the content is alerted, but if I try to use my own web servers address, the '
response.responseText' contains nothing, and the 'response.responseXML.documentElement' is null.

What can be the problem?

Is it because my web server listens on port 8080, instead of the standard 80?

[3146 byte] By [PeterDeak] at [2008-2-5]
# 1

Hello Peter,

Yes you are correct about your suspicion that you have to use port 80 for now. Microsoft has been made aware, that developers may wish to use other ports for development purposes such as non production server tests. I am not certain as to when MS will get around to this.

Any comments from the Microsoft staff would be welcome.

Best Regards,

Richard

rjstinyc at 2007-9-4 > top of Msdn Tech,Gadgets,Web Gadget Development...