wood burning stoves 2.0*
The moose likes Web Services and the fly likes rest webservice response problem when returning list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "rest webservice response problem when returning list " Watch "rest webservice response problem when returning list " New topic
Author

rest webservice response problem when returning list

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 213
hi...
i am trying to create restful webservice jaxrs to retrieve multiple images as base64 string from database and give response to android httpclient
i can succesfuly retrieve the base 64 strings..but while response iam getting exception
my resource file is

whiler giving response it gives error as follows

iam new to rest webservice..any help or suggestion would be greatly appreciated...i need to get the response as the same list to which i have added the base64 images.

thanks in advance.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
If you want to return base64 Strings why this annotation?



Bill
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 213
ok i got it....thankyou
but nw im facing problem while returning a list of base64 strings.my code is

i want to return a list of base64 strings to android client is my approach correct of adding in list..?
please suggest..
 
wood burning stoves
 
subject: rest webservice response problem when returning list