I want to return from my web service a complex data type instead of a string. For example I want to return a person or more with name, surname and age. What are the best practices to do this? Is there some kind of standard that I should look at? Im using javax.jws as a framework.