My question is how to provide multiple @WebResult annotations to map multiple attributes in response wrapper bean? I could not find any example or valid syntax to do it. If I specify multiple @WebResult annotations, compiler gives error. Can we provide only single @WebResult attribute?
Thanks in advance -Nitin
If you don't like something, change it. If you can't change it, change your attitude. Don't complain.
posted 7 years ago
I have good news & bad news.
Bad news, a method can only produce a single result. Good news, a single result can contain many values.
Your response could be an array, it could be a collection, it could be a POJO with a bunch of variables. [ September 24, 2008: Message edited by: Taariq San ]