title: Eclipse Axis2 Webservice Client
body: <p>I am trying to create a <code>web service client</code> from <code>WSDL</code> using <code>Axis2</code> in <code>Eclipse</code>. But I am getting below error.</p>
  
  <pre><code>IWAB0399E Error in generating Java from WSDL:  java.lang.NullPointerException
      java.lang.NullPointerException
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaBeanHelperWriter.java:435)
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData(JavaBeanHelperWriter.java:325)
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody(JavaBeanHelperWriter.java:183)
      at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWriter.java:257)
      at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1405)
      at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
      at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
      at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
      at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
      at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
      at java.lang.Thread.run(Thread.java:745)
  </code></pre>