File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Null Pointer Exception while running WSDL file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Null Pointer Exception while running WSDL file" Watch "Null Pointer Exception while running WSDL file" New topic

Null Pointer Exception while running WSDL file

Ajith Prasad
Ranch Hand

Joined: Aug 22, 2006
Posts: 66
I got Null Pointer Exception while creating stub out of WSDL, could anyone help me out?

at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaB
at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData(JavaBe
at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody(JavaBe
at org.apache.axis.wsdl.toJava.JavaWriter.generate(
at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWrit
at org.apache.axis.wsdl.toJava.JavaWriter.generate(
at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.ja
at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.ja
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(Jav
at org.apache.axis.wsdl.gen.Parser.generateTypes(
at org.apache.axis.wsdl.gen.Parser.generate(
at org.apache.axis.wsdl.gen.Parser.access$000(
at org.apache.axis.wsdl.gen.Parser$
Deena Jeyachandran

Joined: May 24, 2008
Posts: 18
Could you specify the tool that you used

Preparing SCBCD.....
I agree. Here's the link:
subject: Null Pointer Exception while running WSDL file
Similar Threads
axis wsdl2java nullPointerException
Axis Client :Emitter failure while running WSDL2Java (My problem is not with https)
getting error while deployin service on SSL secured Server
Axis wsdl2java generation duplicate file name issue
Trying to call WSDL2Java.main, but having issues when redirecting output