This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 10167
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web services not working after I enable App engine support in eclipse
 
Similar Threads
java.net.InetAddress is a restricted class error in Eclipse when running GWT and MySQL
Is Spring 3 compatible with Google App Engine?
Restlet Problem
Android and Google App Engine
New forum for Google app engine for Java