title: how to make a jsf @ManagedBean also a @WebService
body: <p>I want to make a jsf managed bean also a web service simply by adding the @WebService annotation above the class definition, and @WebMethod annotations to the managed beans methods.</p>
  
  <p>This doesn't work, at least not on websphere.</p>
  
  <p>The managed bean's methods are making some EJB calls by invoking methods of injected session beans, for this reason, defining a new web service class and calling the JSF managed bean's methods from its @WebMethods is not working either.</p>
  
  <p>Any suggestions?</p>