java - call web service operation - wrong return type
- by user1639680
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