Arthur, did you setup the Python proxy in between?
http://faq.openlayers.org/proxyhost/all/ Best regards, Bart Arthur Delorme wrote: > Hi Bart, > > When the webpage is loading or when I play with the layer switcher, I > don't have anything displaying in the console tab (XMLhttp is on). So > I made the test with all the files on the second computer (the one > with mapserver) and it works ! > > Do you have any idea for this network problem ? I can work on the > second computer also so it's not really a problem but I would like to > understand what's happening. Maybe it's just because I am working with > a local server, not a true one ? > > Thank you very much for your help and patience ! > > Best regards, > > Arthur > > bart...@osgis.nl a écrit : >> Hi Arthur, >> >> check out the console tab of Firebug, and make sure XMLHttp requests are >> on (check out options on the right in Firebug). >> >> It's because OpenLayers uses POST by default for WFS, so that's why you >> don't see any parameters. You will see the POST body though in Firebug. >> >> Best regards, >> Bart >> >> >>> I have no attributes because I use "gml_exclude_items" "all" (for now I >>> only need the vectors to display so I thought it was good to minimize >>> the request because it's a huge file). But I tried without, with >>> "gml_include_items" "all" and with the inclusion of the ID attribute >>> only, I can see all these results in the XML flow but still not my >>> vectors in OpenLayers. >>> >>> I hope I am looking at the right place in Firebug : I am looking at the >>> Network tab and I see the WFS request. I am working with two >>> computers : >>> one is the WFS server and the other is my working computer, with >>> OpenLayers and the webpage (I am working on a local server: MAMP on >>> this >>> computer). The two computers are in a local network so I don't think >>> there is any problem with this (no proxy). >>> >>> So I have two requests in Firebug : >>> >>> - one is a request to the local server (MAMP) called >>> "http://localhost:8888/test_WFS/test_WFS.php" >>> - the other is a request to the second computer : >>> "http://IP/cgi-bin/mapserv_5.4.1?map=/var/www/html/WFS_server/test.map" >>> >>> Is this normal that there is no options after the address of the >>> mapfile >>> ? When I look at the URL request I did for testing I see the SERVICE, >>> TYPENAME, BBOX, etc. Also there is no data download. >>> >>> Best regards, >>> >>> Arthur >>> >>> bart...@osgis.nl a écrit : >>> >>>> Your GML looks okay to me. You don't have any attributes (next to the >>>> geometry), but that should be no problem. >>>> >>>> Can you see the request go off with Firebug at all when adding the >>>> vector >>>> layer to your map? Are you using a proxy in between or is the traffic >>>> local? >>>> >>>> Best regards, >>>> Bart >>>> >> >> >> >> > > -- Bart van den Eijnden OSGIS, Open Source GIS bart...@osgis.nl http://www.osgis.nl _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users