• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Web services not working after I enable App engine support in eclipse

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a REST webservice which works fine handling a JSON string I send it and sending back a response ( I don't thing that it being a rest service is significant but I thought I should mention it )
I can run my app in hosted mode in Eclipse or as a standalone and both work fine. However, when I add Google App Engine support and rerun my web app, the JSON data being sent from the client is blank when I run entity.getText on the Restlet side. Nothing changed in code, just checked the GAE support properties box.
I'm guessing it's some JSON library I am using that does not work with GAE but I cannot tell for sure. Any one got any idea what else I could check for?

Thanks ..
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you hitting the webservice from the client, or do you you client->server->webservice?
 
james frain
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, I am hitting the restlet web service in both cases, with and without GAE support. With GAE support enabled the Representation entity is blank when I call getText on it in my Restlet POST method.
I have made sure I am using the GAE version of Restlet API
 
reply
    Bookmark Topic Watch Topic
  • New Topic