Thanks Raghu. I am using Axis2 1.3. So according to the wso2 link below - the choice element should not be an issue. But for me it does not work with "-uw" option - it gives the exception I mentioned below. Any ideas why this is happening?
________________________________ From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 5:27 PM To: [email protected] Subject: RE: [Axis2] XmlSchema choice element not supported, other problems Hi Vish, Both the links shown below are referring to different versions of Axis2 http://ws.apache.org/axis2/0_93/adb/adb-howto.html says not supported - From the URL it looks like this link is for version 0.93 of Axis2 http://wso2.org/library/2670 says supported - In the article, it says that it is for version 1.3 of Axis2 So I guess that depends on what version you are using. Thanks Raghu ________________________________ From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 5:22 PM To: [email protected] Subject: [Axis2] XmlSchema choice element not supported, other problems I have found the cause of my wsdl2java problems when I use the default ADB binding with the options "-o -ss -sd -ssi -f -uw -uri -ns2p" - one of the complex types defined in my wsdl has an xmlschema choice element. That with the "-uw" option gives "org.apache.axis2.wsdl.codegen.CodeGenerationException: Unsupported Schema format for unwrapping! found unknown type but expected Element at org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.processXMLSchemaSequence(SchemaUnwrapperExtension.java:370)" When I tried to find if choice is supported I got conflicting results: http://ws.apache.org/axis2/0_93/adb/adb-howto.html says not supported http://wso2.org/library/2670 says supported So is xmlschema choice tag supported? - Vish.
