Too deep for me! You will have to ask Justin (or Andrea if you promise to fix 
window concurrent build issues for him).  

--  
Jody Garnett


On Wednesday, 21 November 2012 at 6:09 AM, Jon Britton wrote:

> Thanks for the info Jody.
>  
> I've been playing around with it a bit today and I've got some bindings 
> generated. I'm having trouble parsing a Capabilities response however and 
> getting the following exception.  
>  
> java.lang.RuntimeException: Parsing failed for AllowedValues: 
> java.lang.RuntimeException: Unable to set property: Value for eobject: 
> {http://www.opengis.net/ows/1.1}AllowedValues  
>  
> From what I can gather, this should be handled by the OWS bindings in 
> gt-xsd-ows and looking at the code this seems correct:
>  
> https://github.com/geotools/geotools/blob/master/modules/extension/xsd/xsd-ows/src/main/java/org/geotools/ows/v1_1/OWSConfiguration.java
>   
>  
> Does this mean that there are problems with the OWS configuration? Or is 
> there just something wrong with my setup?
>  
> Thanks,
>  
> Jon
>  
>  
> On 19 November 2012 12:17, Jody Garnett <jody.garn...@gmail.com 
> (mailto:jody.garn...@gmail.com)> wrote:
> > 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