title: JSF Connection to EJB SOAP Web Service
body: <p>I am trying to connect the managed bean of the JSF application to the EJB deployed as the SOAP web service. I have an EJB which implements SEI and methods exposed. The ejb-jar is deployed separately and its wsdl can be accessed as soon as it is deployed - nothing special.</p>
  
  <p>Then I have a JSF app. I want its managed bean to communicate with this service I have written. The JSF app is deployed on the same glassfish machine. But the condition is necessary that it communicates with the EJB using SOAP web service. </p>
  
  <p>How can I inject web service into the JSF project? Or do I need to generate classes for the web service using wsimport? Or which way is the most common for the standalone web application to access a separate SOAP web service?</p>