That was it!
I was calling factory.createNewTask() instead of
factory.createTaskListNew()!
Thanks so much!
Malachi
-----Original Message-----
From: Robert Lowe [mailto:rmlowe_at_rmlowe.com]
Sent: Thursday, August 21, 2003 12:23 PM
To: users_at_jaxb.dev.java.net
>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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net