[jboss-user] [JBoss Seam] - WS into seam application that don't call seam components
rengar
do-not-reply at jboss.com
Tue Apr 17 11:19:25 EDT 2007
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038008#4038008
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038008
More information about the jboss-user
mailing list