Hi I have a model class Customer and this one has as a member variable an instance of the model class Address. Both of them satisfy the requirements for serializable Java beans (default constructor, serialVersionUID, implements java.io.Serializable). The path to the model classes are also included as source tag in the .gwt.xml property file: <source path="server/model"/>
The Service method getCustomer() has as return value a Customer. When I execute a RPC-call an exception will occur: Type 'com.company.gwt.server.model.Address' was not included in the set of types which can be serialized by this SerializationPolicy. The Address Class is really not included in the SerializationPolicy. When I add a dummy service Method which include the Address Object as an argument or return value - also Address will be included in the Policy. How are the relevant Model classes elected for the SerializationPolicy? Doesn't the gwt compiler iterate over the whole object graph? How can I force the compiler to include also indirectly used model classes in the policy? Thanks in advance ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
