On Tue, Jul 12, 2011 at 11:59 AM, gbrun <[email protected]> wrote:
> Hi!
>
> I post this mail on the GeoServer list, and not on the OpenLayers list,
> because I might my problem is related to GeoServer.
>
> For my web application, I'm building a tree that contains WFS Capabilities
> (with GeoExt). To achieve, I have to query my layers in GeoServer with the
> GetCapabilities request. The point is, that GeoServer doesn't return the
> same XML structure according to the service version. For example, when I
> use the 1.0.0 WFS version, I can manipulate the capability object within
> OpenLayers because this object exists in the XML file returned by
> GeoServer. But when I use the 1.1.0 version, it doesn't work, because the
> XML file returned by GeoServer doesn't have the same structure (and the
> capability object).
>
> Does someone know how I can use the GetCapabilities request in OepnLayers
> with the 1.1.0 version?

The capabilities documents are indeed different, they follow different
versions of the specification which does mandate different structure, elements
and so on.

I guess the only thing you can do is to write code in OL to parse the WFS 1.1
capabilities as well?

Out of curiosity, why do you need to use WFS 1.1 instead of WFS 1.0?
GeoServer works with both versions of the protocol

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to