I am writing a web service which basically accepts a ConsumerId , and in turn i am returning the Consumer Details in the form of an COnsumerVO with the data set on to it .
Please tel me what is the appropaite way of returning this ConsumerVO .
Please share your ideas .
Save India From Corruption - Anna Hazare.
somia razzaq
Ranch Hand
Joined: Jan 26, 2010
Posts: 44
posted
0
Ravi Kiran V wrote:Hi
I am writing a web service which basically accepts a ConsumerId , and in turn i am returning the Consumer Details in the form of an COnsumerVO with the data set on to it .
Please tel me what is the appropaite way of returning this ConsumerVO .
Please share your ideas .
Hi
You have declared ConsumerVO as a "complex type" in schema of your web service. In output operation of web service, you choose this complex type. Then the return type of your web service will be an object.