hi all,
i am trying to develop a plugin for geoserver and followed the guide to writing plugins
[http://geoserver.org/display/GEOSDOC/3+A+Simple+PlugIn](http://geoserver.org/display/GEOSDOC/3+A+Simple+PlugIn)
but it is not working
when i give the url
[http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0](http://localhost:8080/geoserver/ows?request=sayHello&service=hello&version=1.0.0)
i get following error message
06 Mar 01:45:05 WARN [geoserver.ows] -
org.geoserver.platform.ServiceException: No service : (hello)
at org.geoserver.ows.Dispatcher.findService(Dispatcher.java:690)
at org.geoserver.ows.Dispatcher.service(Dispatcher.java:331)
.
.
.
.
.
.
the class code is
package org.geoserver.hello;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class HelloWorld {
public HelloWorld() {
// Do nothing
}
public void sayHello(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.getOutputStream().write( "Hello World".getBytes() );
}
}
and the applicationContext is
<beans>
<bean id="helloService" class="org.geoserver.HelloWorld">
</bean>
<bean id="helloService-1.0.0" class="org.geoserver.platform.Service">
<constructor-arg index="0" value="hello"/>
<constructor-arg index="1" ref="helloService"/>
<constructor-arg index="2" value="1.0.0"/>
</bean>
</beans>
please give me some suggestions i am just stuck in this point
thanks in advance