geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sim085 <>
Subject Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1
Date Fri, 16 Mar 2012 00:56:41 GMT
Hello, I have created a simple web service as follows: 

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)
public class EchoBean {

	@WebResult(name = "EchoResult")
	public String echo(@WebParam(name = "Message") String message){
		return message;


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


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

View this message in context:
Sent from the Users mailing list archive at

View raw message