I've created a JAX-WS Webservice within a Dynamic Webproject. That webservice itself is working perfectly fine. However, I now need to call this webservice from a message driven bean. The corresponding EJB is placed in the same EAR as the Webservice Webproject.

How can I get a reference to the Webservice within the EJB project without needing to know the URL of the webservice and call it this way?

I'm using WebSphere + Featurepack for EJB 3.0 + Featurepack for Webservices

Thank you for your help,