This line fails:
FooServiceImpl server = (FooServiceImpl ) proxy.getService
(com.foo.server);
The server is null.
On Sep 21, 6:48 pm, Pion onlee2...@gmail.com wrote:
I have the following server side code:
package com.foo.server;
// code deleted for brevity
/**
ApiProxy gives you access to the dev_appserver's internal interfaces for the
services that Google provides, such as mail, urlfetch, memcache, xmpp,
etc... ApiProxy is entirely unrelated to GWT RemoteServiceServlets, which is
what your code is trying to use it for.
You only need to use our internal
Thanks, Toby.
I have changed the code to
FooServiceImpl server = new FooServiceImpl ();
Also, I changed the GWT servlet test method to
public String unitTest() {
PersistenceManager pm = PMF.get().getPersistenceManager();
return unitTest;
I just did the following on the Eclipse-Galileo:
o Click on the Eclipse menu bar Windows - Preferences - General -
Capabilitiies. I then enabled the Class Update
o Click on the Eclipse menu bar Help - Software Update - Manage
Configurations. I then expanded the plugins.
o There is no