Trying to compare the advantage of a web service method returning complex type or xml
string in different situations.
It looks more generic to return a xml string to represent the complex type object, but if so, what is the need to make a web service return a complex data type (i.e. a pojo, a bean). I know there must be some sort of judgment (depends on the use case) to pick either one, what is your standards to determine which approach to choose?
Thank you
-Rick