Hi, For the second question, try attribute databindingName="xmlbeans"
For the first question, may be wsdl2java code is internally using axiom functionality to work with the wsdl xml files, although the generated code is xmlbeans. Upul On 8/15/07, Pantvaidya, Vishwajit <[EMAIL PROTECTED]> wrote: > > I was running axis2 wsdl2java task with the xmlbeans binding option – and > got the error "Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/axiom/om/OMNode". My impression is that I do not need axiom jars > since I am using xmlbeans binding. Can someone clarify? > > > > Secondly - the wsdl2java task has a binding option to specify xmlbeans. But I > cannot find any such option on the Axis2 Codegen ant task (<codegen …) – > which I desire to use. How can I specify xmlbeans there? > > > > > > - Vish. >