• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rest webservice response problem when returning list

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to return base64 Strings why this annotation?



Bill
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic