[Users] WFSCapabilitiesReader assumes WFS 1.0.0?

François Van Der Biest francois.vanderbiest at camptocamp.com
Sun May 9 13:49:24 CEST 2010


Hi Adam,

You're right : the WFSCapabilitiesReader was only tested against WFS 1.0.0.

For now, OpenLayers.Format.WFSCapabilities.v1.1.0 is an empty shell. So,
this is probably the first place to focus our efforts on.

In the mean time, you can switch to WFS 1.0.0, if this option is available
to you.

BTW, I'm wondering if the object resulting from format.read(wfs_1.1.0_cap)
should be equivalent to format.read(wfs_1.0.0_cap), or if it should mirror
the XML structure.

F.

On Sun, May 9, 2010 at 2:21 AM, Adam Ratcliffe <adam at prema.co.nz> wrote:

> I'm trying to setup a WFSCapabilitiesReader to work against a WFS 1.1.0
> server. Line 86 of WFSCapabilitiesReader.js references the 'capability'
> element that appears to be present in the WFS 1.0.0 schema only:
>
>        var protocolDefaults = {
>            url: data.capability.request.getfeature.href.post
>        };
>
> I'm a complete noob when it comes to WFS so I could be wrong about this but
> I don't have this element in the WFS 1.1.0 getCapabilities response that I
> get from my local GeoServer installation.
>
> Cheers
> Adam
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100509/059b0a64/attachment.htm 


More information about the Users mailing list