Here's a response (Srinivas Davanum) I got on this question a couple of weeks ago:
"Dave, We are working on the JAXWS 2.1 spec which has a strong JAXB integration. You will need to use that to get Java 1.5 enum type support. The default ADB does not support it well enough as it is designed specifically for 1.4 (No annotations). thanks, dims" Not sure if this means that the capability is available with JAXWS, or will be. Dave ________________________________ From: Savitsky, Alex [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 12:31 PM To: [email protected] Subject: Enum support? Hi there, Does Axis2 support Java5 enums? The Java2WSDL generates a correct complex type for it, but the RPC invocation yields me an exception on the client side: "org.apache.axis2.AxisFault: can not find read method for : defaultAssertionStatus" (no server-side error messages, though). Is there any way to support enum, other than converting them to String? Thanks, Alex ******************** NOTICE OF CONFIDENTIALITY This communication including any information transmitted with it is intended only for the use of the addressees and is confidential. If you are not an intended recipient or responsible for delivering the message to an intended recipient, any review, disclosure, conversion to hard copy, dissemination, reproduction or other use of any part of this communication is strictly prohibited, as is the taking or omitting of any action in reliance upon this communication. If you receive this communication in error or without authorization please notify us immediately by return e-mail or otherwise and permanently delete the entire communication from any computer, disk drive, or other storage medium. If the above disclaimer is not properly readable, it can be found at www.td.com/legal AVERTISSEMENT DE CONFIDENTIALITE Ce courriel, ainsi que tout renseignement ci-inclus, destiné uniquement aux destinataires susmentionnés, est confidentiel. Si vous n'êtes pas le destinataire prévu ou un agent responsable de la livraison de ce courriel, tout examen, divulgation, copie, impression, reproduction, distribution, ou autre utilisation d'une partie de ce courriel est strictement interdit de même que toute intervention ou abstraction à cet égard. Si vous avez reçu ce message par erreur ou sans autorisation, veuillez en aviser immédiatement l'expéditeur par retour de courriel ou par un autre moyen et supprimer immédiatement cette communication entière de tout système électronique. Si l'avis de non-responsabilité ci-dessus n'est pas lisible, vous pouvez le consulter à www.td.com/francais/legale
