I am using wildfly 9 and Java 1.8 to deploy a simple SOAP webservice. Here is my code
public class Hello {
@WebMethod
public String sayHello(String name) {
return "Hello" + name;
}
}
When I deploy this in wildfly I cant see this under subsytems>undertow and when i try to access my wsdl using the url http://hostname:port/contextroot/Hello?wsdl as shown in my web.xml I get HTTP 404. My web.xml is empty with just element.
Not sure whats missing and why wildfly doesnt recognise my webservice and why I get 404 error.