...

View Full Version : xmlhttprequest



paulinho
03-21-2011, 11:17 AM
Hi! I have problems with an URL that returns xmldoc is null, I have ran my code with a file located on the same folder on the server, where my code is set up, and it worked perfectly. Then I change the UrL as following:

xmlhttp.open("GET","http://srvcitrix.gis.lu.se/redirect/?url=http://atlas.gc.ca/cgi-bin/atlaswms_en?VERSION=1.1.1&request=Getcapabilities&service=wms",true);
and the returning xmldoc is null.

Is there any problems with the url, or what is the problem here, the xmlhttp.status is always 0, but the xmlhttp.readystate is 4.

anyone got an idea what might be the problem?

Thanks in advant!
Paul

paulinho
03-21-2011, 02:02 PM
I solved the problem by setting up the client on the same server as the url, and then changed the status to 200, worked out fine:)!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum