When I deploy two services with the same method name inside one war file something strange happens:
@WebService @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class EchoListString { @WebMethod public List<String> echo(List<String> myList) { return myList; } }
@WebService @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) public class EchoListBean { @WebMethod public List<BasicBean> echo(List<BasicBean> myList) { return myList; } }