You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dovholuk, Clint" <Cl...@GlobalCrossing.com> on 2005/07/28 14:52:31 UTC

RETRACTED - RE: choice groups

Sorry to all... I re-checked my schema and I'd forgotten to extend the
base type... WSDL2Java is working as I'd expect.

Sorry for the unnecessary email!

-Clint 

-----Original Message-----
From: Dovholuk, Clint [mailto:Clint.Dovholuk@GlobalCrossing.com] 
Sent: Thursday, July 28, 2005 8:22 AM
To: axis-dev@ws.apache.org
Subject: choice groups

Hello All,

Is there a wiki (FAQ or some such) which describes the reasoning behind
the current implementation of choice groups using WSDL2Java?  I'm trying
to build a solution contract first, but for types with choice groups in
them WSDL2Java wants to create an object which has "n" distinct
attributes; one for each choice in the group. I expected one attribute
of type Object with setter methods only allowing those types declared by
the choice group. Or something along those lines. 

I'm just looking for the reasoning behind the current implementation.

Thanks in advance for any responses...

-Clint