array of custom java objects in webservices

Have created a custom java object by copying the .class of that object into the classes folder. Its a simple value object.

Then created a java service with input as String and output as Objects List.
In the java service created an array of this custom object and returning that array object:

Finally exposed this java service as a WSD.

Now we are trying use this WSD from an external java application - the java service is getting invoked and results are returned, but not as array of UserVo objects but as string array - string representation of the UserVo objects.

Can anyone please let us know on what needs to be done on webMethods side to return the actual objects to the consumer of this service

We have just started exploring webmethods, so please correct if we are doing anything wrong. Thanks.