0 Replies Latest reply on Jul 10, 2004 8:29 PM by Mike Allan

    Serialization Error with Custom Objects

    Mike Allan Newbie

      Hi,

      I'm new to web services and have been trying to develop a web service that returns me a collection of custom defined value objects.

      I've got the web service deployed in a war file according to the instructions from the Sun tutorial for JAX-RPC and as long as the service returns a collection of standard types (like an ArrayList of Strings) it works fine. The problem is I would like to retrieve a collection of custom objects (an ArrayList of com.xxx.model.CustomClassObjects) and I get the following error:

      ERROR [STDERR] Jul 10, 2004 2:06:27 PM
      com.sun.xml.rpc.server.StreamingHandler handle
      SEVERE: serialization error: no serializer is registered for
      (class com.xxx.model.CustomClassObject, null)
      serialization error: no serializer is registered for
      (class com.xxx.model.CustomClassObject, null)