This week's book giveaway is in the Object Relational Mapping forum. We're giving away four copies of Pro JPA 2: Mastering the Java Persistence API and have Mike Keith and Merrick Schincariol on-line! See this thread for details.
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 .
I tried to change the world, but I couldn’t find the source code
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.