users@jaxb.java.net

RE: URGENT: List not serializing correctly

From: Robert Lowe <rmlowe_at_rmlowe.com>
Date: Fri, 22 Aug 2003 03:22:42 +0800

>I create a Taskman object, and add a NewTask to it (I tried to add two, to
test whether it was only a problem when I had a single child, no diff):
> ObjectFactory factory =
ObjectFactory();
> Taskman request =
factory.createTaskman();
>
((TaskList)request).getTasks().add(task);

Where is your task object coming from? Is it definitiely an instance of the
element (e.g. factory.createNew()) rather than a generic instance of the
type (e.g. factory.createNewTask())?

Best,
Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net