theres a few topics on this, and doesn't seem to be resolved yet, although jbossws-native 3.0.3 addressed the issue - is there perhaps a step missing, or is this an issue with a component other than just jbossws (ejb2.1 endpoints?)
1) upgrade jboss to jbossws-native 3.0.5 and restart (all libs and the jbossws.sar updated in deploy)
2) update libraries in my project classpath (ide and compile cp's) - specifically jbossws-spi.jar for the annotations (jaxb-api stays the same). recompile and redeploy project.
jboss-web.deployer/server.xml:
<Host name="my.virtual.host" ......> <Alias>my.virtual.host.name</Alias> <Alias>my.virtual.host.name:80</Alias> <Valve ... /> </Host>
@Name("myWS") @Stateless() @WebContext(virtualHosts = {"my.virtual.host"}, contextRoot = "/services") @WebService(name="myWS", serviceName="myWS") public class MyWSBean {}
s/there is no working/there is no workaround/
I can access the wsdl on http://0.0.0.0:8080/services/MyWSBean?wsdl but not on http://my.virtual.host.name/services/MyWSBean?wsdl