on 07-26-2006 3:04 AM
Hi All,
I have one doubt regarding webservice return parameter. I wish to return collection of records from Webservice. I tried to set return type as ResultSet, but i couldn't get?. How can i solve it?.
Thanks advance,
Ravi Sankar
HI Ravi,
Result doesn't work for web service.
Web service can return only simple data types.
Make use of List, List will work perfectly.
Regards,
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In web service collection return type is not applicable. Instead of using collection you can use List.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Accroding to my knowledge webservice doesn't support
ResultSet as return type. So better you have to use Simple
Java Bean as webservice return type. Inside the java Bean create setter and getter method as per your requirement.If it is multiple records use return type as array of object.
Kind Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.