users@jaxb.java.net

RE: Abstract

From: Lulseged Zerfu <lulseged.zerfu_at_ericsson.com>
Date: Fri, 23 Nov 2012 06:51:27 +0000

 Hi

 I am trying to unmarshall existing document. It didn't work.

 I have attached full java code.

BR
Lulseged

-----Original Message-----
From: Wolfgang Laun [mailto:wolfgang.laun_at_gmail.com]
Sent: den 22 november 2012 15:06
To: users_at_jaxb.java.net
Subject: Re: Abstract

How do you create the object structure Set/MOAttributes/... ?

Full java code, for this element and all of its children, please.

-W


On 22/11/2012, Lulseged Zerfu <lulseged.zerfu_at_ericsson.com> wrote:
> Hi
>
> I have almost spent two days to solve my marshalling problem. I don't
> know if this is a bug or problem in understanding how to create object
> tree and produce xml file.
>
> I have tried to go the other way around. I have the xml file and I
> try to unmarshall to see how the object structure looks like. and I
> see differences and think that is why marshalling results in NPE.
>
> I have included my schemas and bindings.
>
> I have a snaphot of the stack in pictures.
>
> Am I doing things wrong or is this a bug?
>
> The problem seems to be atht the objects created are different. It
> should be SetMMtel instead of the super class (AbstractSetAttributeType).
>
> Any idea?
>
> [cid:760011911_at_22112012-0183]
>
>
>
>
>
>
>
>
>
>
>