Hello, I have created a simple web service as follows:
[code]
package edu.webservice.example.ejb;
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.WebResult;
import javax.jws.WebParam;
import javax.jws.WebMethod;
import javax.jws.soap.SOAPBinding;
@WebService(serviceName="WebServiceExample", name="Echo")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
@Stateless
public class EchoBean {
@WebMethod(operationName="EchoMessage")
@WebResult(name = "EchoResult")
public String echo(@WebParam(name = "Message") String message){
return message;
}
}
[/code]
I package this in a jar file and the jar file in an ear file. When I deploy
on GlassFish I can easilly access the web service WSDL file using the
following URL
http://localhost:8080/WebServiceExample/Echo?WSDL
However, on Geronimo 3.0-beta-1 I get HTTP Status 404 -
/WebServiceExample/Echo, The requested resource (/WebServiceExample/Echo) is
not available.
Does anyone know what I might be doing wrong for this example not to work on
Geronimo?
--
View this message in context:
http://apache-geronimo.328035.n3.nabble.com/Webservice-example-working-on-glassfish3-but-not-on-geronimo-tomcat7-javaee6-3-0-beta-1-tp3830574p3830574.html
Sent from the Users mailing list archive at Nabble.com.