0 Replies Latest reply on Jun 25, 2011 10:41 PM by Alex Beaupre

    Error when packaging WebService in a .ear

    Alex Beaupre Newbie

      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 ?