aspose file tools*
The moose likes GWT and the fly likes Web services not working after I enable App engine support in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Web services not working after I enable App engine support in eclipse" Watch "Web services not working after I enable App engine support in eclipse" New topic
Author

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

james frain
Ranch Hand

Joined: Apr 06, 2011
Posts: 36
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 ..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Are you hitting the webservice from the client, or do you you client->server->webservice?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
james frain
Ranch Hand

Joined: Apr 06, 2011
Posts: 36
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
 
Don't get me started about those stupid light bulbs.
 
subject: Web services not working after I enable App engine support in eclipse