Actually, I created a new project with just this code and it WORKS.
The difference is my real project isn't using RemoteServiceServlet.
I'm just using the RPC class directly as described in it's javadoc; I
have a function:

public String processCall(String payload) throws
SerializationException {
  try {
    RPCRequest rpcRequest = RPC.decodeRequest(payload, this.getClass
());
    return RPC.invokeAndEncodeResponse(this, rpcRequest.getMethod(),
        rpcRequest.getParameters());
  } catch (IncompatibleRemoteServiceException ex) {
    return RPC.encodeResponseForFailure(null, ex);
  }
}

I'm wondering if it is using the default serialization policy instead
of a generated one.  I tried creating a custom SerializationPolicy
class that allows everything and passed it to
RPC.invokeAndEncodeResponse but it didn't change anything.  How can I
tell what policy is being used?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to