It seems that when you deploy an EJB endpoint web service, the SOAP address (or endpoitn url) is http:///<ejb-module-name>/<ejb-name> Is it possible to define a custom url ? I've tried SOAP address rewriting, but it doesn't seem to work. The wsdl is changed but the endpoint stays linked to the same URL.
I'm writing generic ejb-modules which will be used in several applications (ear files) running on the same JBoss instance. For practical reasons, I'd prefer to set a custom URL for each application, if possible, than to rename the EJB module.