[Geoserver-devel] Question about OWS Service and GetCapabilities

I followed the instructions for creating a simple OWS service following the instructions located here:
http://docs.geoserver.org/2.0.x/en/developer/programming-guide/ows-services/implementing.html

Everything worked fine for the sayHello method, but it seems that this service doesn’t implement GetCapbilities, shouldn’t a GetCapabilities request to the hello service return a list of capabilities? I believe this is a part of the OWS standard.

Thanks for your help.

Hi Patrick,

While the ows dispatch framework in geoserver does not force a service to have a getCApabilities operation, yes it is convention for an ows service to have one. The hello service is just a trivial example so it does not have a getCaps operation for the sake of simplicity. But every ows service in geoserver has one.

Out of curiosity what type of service are you trying to implement?

-Justin

On Fri, Sep 3, 2010 at 2:12 PM, Patrick Nails <patrick.nails@anonymised.com3…> wrote:

I followed the instructions for creating a simple OWS service following the instructions located here:
http://docs.geoserver.org/2.0.x/en/developer/programming-guide/ows-services/implementing.html

Everything worked fine for the sayHello method, but it seems that this service doesn’t implement GetCapbilities, shouldn’t a GetCapabilities request to the hello service return a list of capabilities? I believe this is a part of the OWS standard.

Thanks for your help.


This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


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

Justin,
Thanks for the prompt reply!

Basically, I am trying to build an application that uses Geoserver to provide data/meta-data. This application will enable the user to easily perform analysis on the Geoserver data with Geotools, and maybe some other GIS Apis.

I am still establishing the functionality a bit, but I was wondering if there was some other class I should use in my service descriptor to force support of the getCaps? Or maybe if there is a more complex example you could point me to, that would be fine (I have the source too).

Thanks a million,
Patrick

On Fri, Sep 3, 2010 at 2:28 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Patrick,

While the ows dispatch framework in geoserver does not force a service to have a getCApabilities operation, yes it is convention for an ows service to have one. The hello service is just a trivial example so it does not have a getCaps operation for the sake of simplicity. But every ows service in geoserver has one.

Out of curiosity what type of service are you trying to implement?

-Justin

On Fri, Sep 3, 2010 at 2:12 PM, Patrick Nails <patrick.nails@anonymised.com> wrote:

I followed the instructions for creating a simple OWS service following the instructions located here:
http://docs.geoserver.org/2.0.x/en/developer/programming-guide/ows-services/implementing.html

Everything worked fine for the sayHello method, but it seems that this service doesn’t implement GetCapbilities, shouldn’t a GetCapabilities request to the hello service return a list of capabilities? I believe this is a part of the OWS standard.

Thanks for your help.


This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


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

Hi Patick,

Cool stuff.

If you are interested in doing processing you should check out the wps community module being worked on by Andrea. It is a service dedicated to building processes for analysis and the such. It is quite open ended.

As for an example. Basically look at the DefaultWebFeatureService, DeafultMapService and DefaultCoverageService classes in the wfs, wms, and wcs modules respectively. They all implement GetCapaiblities with the same pattern.

-Justin

On Fri, Sep 3, 2010 at 3:04 PM, Patrick Nails <patrick.nails@anonymised.com> wrote:

Justin,
Thanks for the prompt reply!

Basically, I am trying to build an application that uses Geoserver to provide data/meta-data. This application will enable the user to easily perform analysis on the Geoserver data with Geotools, and maybe some other GIS Apis.

I am still establishing the functionality a bit, but I was wondering if there was some other class I should use in my service descriptor to force support of the getCaps? Or maybe if there is a more complex example you could point me to, that would be fine (I have the source too).

Thanks a million,
Patrick

On Fri, Sep 3, 2010 at 2:28 PM, Justin Deoliveira <jdeolive@anonymised.com> wrote:

Hi Patrick,

While the ows dispatch framework in geoserver does not force a service to have a getCApabilities operation, yes it is convention for an ows service to have one. The hello service is just a trivial example so it does not have a getCaps operation for the sake of simplicity. But every ows service in geoserver has one.

Out of curiosity what type of service are you trying to implement?

-Justin

On Fri, Sep 3, 2010 at 2:12 PM, Patrick Nails <patrick.nails@anonymised.com> wrote:

I followed the instructions for creating a simple OWS service following the instructions located here:
http://docs.geoserver.org/2.0.x/en/developer/programming-guide/ows-services/implementing.html

Everything worked fine for the sayHello method, but it seems that this service doesn’t implement GetCapbilities, shouldn’t a GetCapabilities request to the hello service return a list of capabilities? I believe this is a part of the OWS standard.

Thanks for your help.


This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


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


This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


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