Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: xmlhttprequest

  1. #1
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    xmlhttprequest

    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
    Last edited by paulinho; 03-21-2011 at 12:34 PM.

  • #2
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •