Hello,
I have a rest service using Oauth 2 legs authentication.
I want to develop a java client to interact with this service. To do that, I'm
using Google Gdata API. It seems that my request is signed and passed correctly
but my client is unable to parse the content.
Is it possible to force the googleservice class to get a content in
application/json format?
Here is the Exception I recieved :
Exception in thread "main" com.google.gdata.util.ParseException: Unrecognized
content type:application/json
at com.google.gdata.client.Service.parseResponseData(Service.java:2136)
at com.google.gdata.client.Service.parseResponseData(Service.java:2098)
at com.google.gdata.client.Service.getFeed(Service.java:1136)
at com.google.gdata.client.Service.getFeed(Service.java:998)
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
at com.google.gdata.client.Service.getFeed(Service.java:1017)
Do you have any ideas?
Regards.
Original issue reported on code.google.com by amin.sa...@gmail.com on 31 Jan 2011 at 2:48
Original issue reported on code.google.com by
amin.sa...@gmail.com
on 31 Jan 2011 at 2:48