[Geoserver-devel] [wfs-dev] Generating Java bindings from WFS schema

Andrea Aime wrote:

Martin Schwietzke ha scritto:

Hi Justin!

Thx for quick reply!

What an accident! The geoserver sources are already cheked out in my
eclipse :slight_smile:

My goal is to write an very simple WFS 1.1.0 Client in Java. Does the
geoserver provide ready tools for using a WFST 1.1.0 Service? (I know
the geotools project too, but I couldn't find WFST Support)

Moving to geoserver devel.

As Andrea states there is already a 1.0 client as part of the geotools
project. Given that the protocols are very similar that may be the
easiest route.

If you do however want to start some scratch we have been working on an
xml encoding / parsing technology over the last year which is used in
geoserver wfs 1.1. The parser has some classes that work very well with
emf based classes. With them you could save yourself a lot of time
writing the request parsing and encoding stuff for the client.

If interested let me know and I can forward you more information about it.

-Justin

!DSPAM:1004,45f9c039294534750375898!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

There is already an example of how to do a hybrid wfs 1.1 client over here:
- http://svn.geotools.org/udig/branches/ows3/gt/wfs_gml3/

The hybrid part is using the existing WFS 1.0 code to parse the capabilities document and just use
the "new" parser for the GML schema and Feature information. This is an example only (so it
only does points).

It did require some patches to the origional WFSDataStore (making some fields protected so the subclass
can look at them).

Cheers,
Jody
PS. You are of course invited to try any experiment along these lines as a geotools "unsupported" module :slight_smile:

Andrea Aime wrote:
  

Martin Schwietzke ha scritto:
    

Hi Justin!

Thx for quick reply!

What an accident! The geoserver sources are already cheked out in my
eclipse :slight_smile:

My goal is to write an very simple WFS 1.1.0 Client in Java. Does the
geoserver provide ready tools for using a WFST 1.1.0 Service? (I know
the geotools project too, but I couldn't find WFST Support)
      
Moving to geoserver devel.

As Andrea states there is already a 1.0 client as part of the geotools
project. Given that the protocols are very similar that may be the
easiest route.

If you do however want to start some scratch we have been working on an
xml encoding / parsing technology over the last year which is used in
geoserver wfs 1.1. The parser has some classes that work very well with
emf based classes. With them you could save yourself a lot of time
writing the request parsing and encoding stuff for the client.

If interested let me know and I can forward you more information about it.

-Justin

!DSPAM:1004,45f9c039294534750375898!