I have wsdl and with wsimport I create client classes. What I want to do is to System.out.println(requestedObject).
DictService service = new DictService();
DictServiceSoap port = service.getDictServiceSoap();
WordDefinition response = port.define("food");
System.out.println(response.toString());
The result is: com.aonaware.services.webservices.WordDefinition@1a4eb98b
Actualy Im making dynamic form creator based on a WSDL in JSF.
So any idea how to print response object? I know that I can go with the generated methods for WordDefinition but I wand to make it generic, that I can print any response.
Thanks