Hi Jon,

If you have implemented the bindings correct, what you should get back 
from the parser should be the parsed capabilities document as an EMF object.

If you look at the WFS datastore you will notice it does this with the 
1.1 version of the protocol. Take a look at:

http://svn.osgeo.org/geotools/branches/2.5.x/modules/plugin/wfs/src/main/java/org/geotools/data/wfs/v1_1_0/WFS_1_1_0_Protocol.java

At the parseCapabilities() method.

-Justin

Jon Britton wrote:
> Hi,
> 
> I've looked at the GeoTools WMS and WFS implementations and how they load in 
> the capabilities document but I'm confused as to how I should proceed with 
> WCS.  Given that I've got bindings ready etc (which I haven't yet, still 
> trying to figure that out) how do I go from my WCS1_1_1.GetCapsRequest (based 
> on the WMS equivalent) to a response containing the capabilities document?  
> I've implemented the createResponse method, which creates a 
> WCSGetCapabilitiesResponse which currently has an empty constructor.
> 
> WMS loads the capabilities object in the WMSGetCapabilitiesResponse 
> constructor using WMSSchema and a DocumentFactory - do I need to do something 
> similar?  I haven't seen the Schema class mentioned in any of the XML 
> documentation so don't know how this is generated and/or used.  WFS on the 
> other hand is treated as a DataStore, so I assume I can't really use that as 
> a guide.  In either case, I can't find how making a request links with all 
> the binding stuff.  There's a missing step in my understanding.
> 
> I have to admit I'm getting a bit lost!  Any information which might clear 
> this up would be great.
> 
> Thanks,
> 
> Jon


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to