0

I have two overloaded methods within a java web service class. After I deployed it onto Weblogic 10, I only see the first one in the WSDL file. Is there a way that both methods can be included in the WSDL file? Thanks.

 public class User
 {
     public getUserName();
     public getUserName(String school);
 }
jlp
  • 1,656
  • 6
  • 33
  • 48
  • I don't think WSDL allows for multiple services with the same name. – Powerlord Apr 02 '15 at 20:13
  • 1
    This has already been answered on Stack Overflow. http://stackoverflow.com/questions/10320006/can-we-implement-method-overloading-in-web-service-class – user196249 Apr 02 '15 at 20:13
  • Is that the actual code you are using, i.e. you're not using any `@WebService` or `@WebMethod` annotations? How is the WSDL generated, then? – Mick Mnemonic Apr 02 '15 at 20:14

0 Answers0