With Axis2 JAXB 2.0 RI (and JaxMe 2) support is still experimental. WSDL2Code databinding support is limited to ADB (Axis2 Data Binding), XmlBeans and JiBX. So again I wouldn't expect that kind of support. Command Line Version Option reference
Originally posted by wahed khan: JAXB requires that the java beans must have annotations @XmlElement(name="fieldName")
As far as I recall that annotation is only important if you intend to generate an XML Schema from your Java Classes. The fact that you are using a WSDL indicates that you already have an XML Schema (that schema may be contained within the WSDL) - so JAXB will generate the marshaller and unmarshaller classes from that. If the annotation is important then JAXB xjc will add it during the XML Schema-to-Java code generation. You are most likely using a WSDL2Java that isn't JAXB aware.