2 Replies Latest reply on Apr 17, 2007 9:35 PM by shane.bryzak

    WS into seam application that don't call seam components

    rengar

      If I put ws into seam application, for example:

      package com.minalink.reservas.ws;
      
      import javax.ejb.Stateless;
      import javax.jws.WebMethod;
      import javax.jws.WebService;
      
      @Stateless
      @WebService
      public class EstablecimientosWS {
      
       @WebMethod
       public String echo(String echo){
       return echo;
       }
      
      }
      

      In the jbossws.war show it :

      Registered Service Endpoints
      ServiceEndpointID ServiceEndpointAddress
      jboss.ws:context=reservas,endpoint=ReservasWS http://localhost.localdomain:8080/reservas/ReservasWS?wsdl
      

      This is OK.

      But if click link wsdl :
      HTTP Status 404 - /reservas/ReservasWS
      type Status report
      
      message /reservas/ReservasWS
      
      description The requested resource (/reservas/ReservasWS) is not available.
      Apache Tomcat/5.5.20
      


      If i create new ejb-module jar (Not Seam application) with this ws, this works fine.

      Any idea? Can I put web services in seam application?

      Thanks.