Well, that's certainly one approach, but xsd:unions are supported by some tools, but not others, and they are a valid construct.

It is hard to argue that they shouldn't be used just because a given tool doesn't support them.

I will look into the other options in any case.

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 7 Jul 2006, at 18:07, Anne Thomas Manes wrote:

On the other hand, is there a better way entirely? XMLBeans perhaps?

Yes. Don't use <xsd:union>.
Try <xsd:choice> instead.
Or maybe a substitution group.

Anne


On 7/7/06, Nathan Sowatskey <[EMAIL PROTECTED]> wrote:
Hi

I guess we all know that xsd:union types are not supported for Axis
1.x, so we need to write our own de/serialisers.

Does anyone have any useful guidance on how to do that please?

On the other hand, is there a better way entirely? XMLBeans perhaps?

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering -
+34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to