[OpenLayers-Users] WFS giving me lip

Gissur Þórhallsson gissur at loftmyndir.is
Thu Feb 21 05:15:09 EST 2008


Hello

I've been using OpenLayers from some time now and with some success. In my view it's a great client with amazing potential.

I've run into a hitch while connecting to a WFS datasource running on Geoserver. I'm servicing a truckload of OL clients from one machine while the Geoserver sits on another. In order to bypass the cross-site scripting restrictions set up by the XMLHttpRequest Object I've set up a serverside tunneler(written in old skool ASP, don't ask) on the same server as the OL client that forwards all WFS requests to my geoserver, waits for a response and writes it back to the client.

The problem I am having though is that I'm not seeing my WFS features and I'm getting the following error on loading the WFS layer, and on every subsequent refresh if I toggle the visibility of the WFS layer using the LayerSwithcer:

parentnode has no properties
OpenLayers.js (Line 199)

FireBug tells me the XMLHttpRequest request goes fine, and I can even browse the XML and everything looks fine.

Does anybody have any idea what's happening?

Kind regards,
Gissur

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.9/1290 - Release Date: 20.2.2008 20:45
 



More information about the Users mailing list