java - call web service operation - wrong return type

Posted by user1639680 on Stack Overflow See other posts from Stack Overflow or by user1639680
Published on 2012-08-31T21:33:10Z Indexed on 2012/08/31 21:38 UTC
Read the original article Hit count: 393

Filed under:
|

i have a simple web service with one method that returns List<org.company.data.mp>

i've created a simple web service client and specified a web service with wsdl.

in netbeans i try to call a web service operation: right click, insert code, ... and i pick my web service operation. the code gets inserted but the method's return type is not List<org.company.data.mp> but it is List<org.company.server.mp>!

i don't get it.. in the package "server" there is no class called mp! i check the implementation class of my web service - it says the return type is ...data.mp not ...server.mp

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services