I’m working on an MTOM interop sample between Axis 2 0.9 and WSE 3.0 CTP.  When I try to run WSDL2Java in the Axis 2 installation, I get the following exception:

 

C:\axis2-0.9-bin>wsdl2java -uri c:\temp\MTOM.wsdl

Exception in thread "main" java.lang.NullPointerException

        at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConf

iguration.java:79)

        at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConf

iguration.java:72)

        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat

ionEngine.java:61)

        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:28)

        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:22)

 

This problem doesn’t seem related to the WSDL (I tried with one in the Axis 2 samples directory).  I’ve also tried this on both JDK 1.4.2 and 1.5 – same issue.

 

Any ideas?

 

Thanks,

-Simon

Reply via email to