[Geoserver-devel] i got exception during implement custom ows service

I’m following instructions on but get exception , please give me solution sir please…
http://docs.geoserver.org/stable/en/developer/programming-guide/ows-services/implementing.html

to learn how to implement custom OWS service…

I pretty much followed all the initial instructions and copied hello-1.0.jar in C:\geoserver-2.0.2\webapps\geoserver\WEB-INF\lib and restarted geoserver

when I go to http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0

I get

<ows:ExceptionReport version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/owshttp://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”>

<ows:Exception exceptionCode=“InvalidParameterValue” locator=“service”>
ows:ExceptionTextNo service: ( hello )</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I expect you need to match geoserver versions. Those instructions are for GeoServer 2.4 right? So you should be testing with GeoServer 2.4.

···

Jody Garnett

On Tue, Mar 18, 2014 at 1:18 AM, Manish Kumar <manish.kumar@anonymised.com> wrote:

I’m following instructions on but get exception , please give me solution sir please…
http://docs.geoserver.org/stable/en/developer/programming-guide/ows-services/implementing.html

to learn how to implement custom OWS service…

I pretty much followed all the initial instructions and copied hello-1.0.jar in C:\geoserver-2.0.2\webapps\geoserver\WEB-INF\lib and restarted geoserver

when I go to http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0

I get

<ows:ExceptionReport version=“1.0.0” xsi:schemaLocation=“http://www.opengis.net/owshttp://localhost:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”>

<ows:Exception exceptionCode=“InvalidParameterValue” locator=“service”>
ows:ExceptionTextNo service: ( hello )</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>


Learn Graph Databases - Download FREE O’Reilly Book
“Graph Databases” is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech


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