The docs for XML fun and games is here:  
- http://docs.geotools.org/latest/userguide/library/xml/internal/index.html

In particular the tutor

The objects are here (these are often EMF generated from schema):
- https://github.com/geotools/geotools/tree/master/modules/ogc/net.opengis.wcs

The bindings are here:
- https://github.com/geotools/geotools/tree/master/modules/extension/xsd/xsd-wcs

I also could not find any test cases for WCS.

Checking over in the geoserver code base… yep found it!

- DescribeCoverageXmlParserTest.java 
(https://github.com/geoserver/geoserver/blob/master/src/wcs1_1/src/test/java/org/geoserver/wcs/xml/DescribeCoverageXmlParserTest.java)
- GetCoverageXmlParserTest.java 
(https://github.com/geoserver/geoserver/blob/master/src/wcs1_1/src/test/java/org/geoserver/wcs/xml/GetCoverageXmlParserTest.java)
- GetCapabilitiesXmlParserTest.java 
(https://github.com/geoserver/geoserver/blob/master/src/wcs1_1/src/test/java/org/geoserver/wcs/xml/GetCapabilitiesXmlParserTest.java)

Now they are only testing parsing the responses, not encoding them. But you can 
at least se the configuration that is required.
--  
Jody Garnett


On Monday, 19 November 2012 at 7:07 PM, Jon Britton wrote:

> Hi Jody,
>  
> Thanks for the response. Could you possibly point me to some examples of WCS 
> XML parsing/encoding in GeoTools? Also, is there any documentation on how to 
> handle XML with GeoTools? Is there a standard way?  
>  
> Thanks,
>  
> Jon
>  
>  
> On 17 November 2012 14:42, Jody Garnett <jody.garn...@gmail.com 
> (mailto:jody.garn...@gmail.com)> wrote:
> > Often you will find that only the parsing of Requests will have been tested 
> > (as that is what GeoServer uses), and possibly the encoding of Responses.
> >  
> > However if you would like to step up and write test cases for the other 
> > side of the coin you may be able to pull together a viable client.  I agree 
> > that it would be great!  
> >  
> > --  
> > Jody Garnett
> >  
> >  
> > On Saturday, 17 November 2012 at 11:04 PM, Jon Britton wrote:
> >  
> >  
> >  
> > > Hi guys,
> > >  
> > > I've noticed that there are Java bindings for the WCS schema in GeoTools. 
> > > I realise that there is no WCS client in GeoTools yet, but is there 
> > > something buried away in there to help with parsing WCS responses in Java 
> > > objects?  
> > >  
> > > I've got a very hacky WCS client which uses code generated using Eclipse 
> > > EMF. I'd like to get rid of all this if possible as it's a nightmare to 
> > > deal with.
> > >  
> > > Thanks,  
> > >  
> > > Jon  
> > > ------------------------------------------------------------------------------
> > > Monitor your physical, virtual and cloud infrastructure from a single
> > > web console. Get in-depth insight into apps, servers, databases, vmware,
> > > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > > Pricing starts from $795 for 25 servers or applications!
> > > http://p.sf.net/sfu/zoho_dev2dev_nov
> > >  
> > > _______________________________________________
> > > GeoTools-Devel mailing list
> > > GeoTools-Devel@lists.sourceforge.net 
> > > (mailto:GeoTools-Devel@lists.sourceforge.net)
> > > https://lists.sourceforge.net/lists/listinfo/geotools-devel
> > >  
> > >  
> > >  
> >  
> >  
>  

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to