[jboss-user] [JBoss Web Services] - Error when packaging WebService in a .ear

Alex Beaupre do-not-reply at jboss.com
Sat Jun 25 22:41:13 EDT 2011

Alex Beaupre [http://community.jboss.org/people/beaupral] created the discussion

"Error when packaging WebService in a .ear"

To view the discussion, visit: http://community.jboss.org/message/611987#611987

Hi all,

I'm using JBoss 5.1 GA and I can't deploy a JAX-WS annoted web service packaged in a EAR file.

When I deploy my webservice in a WAR file, everything works great, but I get the following exception everytime I try to package my dynamic web application inside of an EAR file :

javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=/test,endpoint=TestService
    at org.jboss.wsf.common.servlet.AbstractEndpointServlet.initEndpoint(AbstractEndpointServlet.java:153)

My configuration is simple :



And my service is basic :

package test;
import javax.jws.WebService;

public class TestService {
    public void test() {

Anybody knows what I'm missing ?


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110625/bfd0b175/attachment-0001.html 

More information about the jboss-user mailing list