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:[EMAIL PROTECTED] Sent: Thursday, July 28, 2005 8:22 AM To: [email protected] 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
