Shop OBEX P1 Docs P2 Docs Learn Events
XML questions - Page 2 — Parallax Forums

XML questions

2»

Comments

  • ShawnaShawna Posts: 508
    edited 2015-02-06 13:27
    Ok,
    This is what I changed in the HTML code.

    It was this
    function getInteger()
    	{
    		var url = "sint.xml";
    		getRequest(url);
    		return false;
    	}
    

    I changed it to this

    var url = "http://192.168.1.100/sint.xml";
    		getRequest(url);
    		return false;
    

    My wiznet is at address 192.168.1.100.
    My Web Server with the html code is on 192.168.1.15:90.
    I am using the browser on the web server at 192.168.1.15:90 to test this.

    I am going to keeping cruising the web but I thought I would post this to see if anyone sees something obviously wrong with what I am doing.
    I tested the Web server w5200 with the html code placed on the sd card on the wiznet and it works fine. But moving the html file to my web server causes it to fail.
    The request makes it to the wiznet but nothing makes it back to the web browser.

    Thanks
    Shawn
  • ShawnaShawna Posts: 508
    edited 2015-02-09 18:07
    I think the code is fine, I have been reading other posts in the spinneret forums. I think the problem is cross domain boundaries. I have worked around the problem with some advice Mike G gave me a long time ago. Anyways I am going to keep rolling with the tutorials.
    Thanks
    Shawn
Sign In or Register to comment.