>Try <xsd:choice> instead.
>Or maybe a substitution group.

Support for substitution groups is pretty much of a non-starter in .NET.


So if this the service contract (WSDL/Schema etc. etc..) will be shared
with anyone using .NET so that they can generated their client proxies
from that info, I would recommend <xsd:choice> instead of substitution
groups.

Regards,

- Anil

-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 07, 2006 12:08 PM
To: [email protected]
Subject: Re: General approach for xsd:union?

>> 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