Environment: Windows 2003 JBoss 5.1
the code:
@WebService
@Stateless
@SOAPBinding(style = Style.RPC)
public class MyWebService {
public String sayHello() {
return "Hello";
}
}
wsdl is deployed to:
http://localhost:8080/ear-project-ejb-project/MyWebService?wsdl
I would like to define a different path for this web service, for example:
http://localhost:8080/MyApplication/MyWebService?wsdl
How to configure this in JBoss 5.1? Is there some kind of configuration that will work on any Java EE server?
source
share