[jboss-user] [EJB 3.0] - Problem starting web service

jaikiran pai do-not-reply at jboss.com
Wed Sep 1 01:38:50 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"Problem starting web service"

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

--------------------------------------------------------------
I haven't looked into the details of it, but a quick glance of that code you posted shows:

import javax.ejb.Stateless;
import javax.jws.WebService;
import org.jboss.wsf.spi.annotation.WebContext;
 
@Stateless
@WebService(name="GetBasisartikelService")
@WebContext(contextRoot="/jaxws-samples-retail")
public interface GetBasisartikelService



So you are marking an +interface+ as a @Stateless? That's not allowed.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/559935#559935]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

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


More information about the jboss-user mailing list