Tao, Sorry for replying to you directly in the mail before without sending to the list, my mistake.
Try running the following. You should specify your databinding option as xmlbeans(-d xmlbeans) if you want that to happen. If none is specified the Axis2 data binding stuff gets picked in. D:\wsdl>wsdl2java -uri http://martingudgin-2.dsl.easynet.co.uk/dotnet/mtom/mtomecho.wsdl -s -ss -sd -d xmlbeans Finally i am able to recreate the error. But you would be fine as long as you are comfortable with using xmlbeans databinding. Guess we will look into this error. It would be helpful if you can create a JIRA issue saying the wsdl doesn't compile under ADB option Thanks for the patience Chathura On 1/21/06, tao liu <[EMAIL PROTECTED]> wrote: > Attached is the wsdl file I'm using. I also ran wsdl2java with the link as > follows, it ended the same. > > Thanks, tao > > ====================================================================== > D:\wsdl>wsdl2java -uri > http://martingudgin-2.dsl.easynet.co.uk/dotnet/mtom/mtomecho.wsdl > -s -ss -sd > Using AXIS2_HOME: D:\temp\axis2- std-0.94-bin > Using JAVA_HOME: D:\j2sdk1.4.2_05 > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException > : java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilationException > : java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > ... > > > > On 1/21/06, Chathura Herath <[EMAIL PROTECTED]> wrote: > > Is it the same wsdl in the link you sent. Could you please attach the > > wsdl that causes the problem(nonetheless). > > Chathura -- Chathura Herath http://chathurah.blogspot.com/
