2 Replies Latest reply on Sep 19, 2006 4:42 PM by thomas.diesler

    WSTools Nullpointer exception

    dhilipu

      Hi,

      I'using JBoss 4.0.4GA and JBossWS1.0.3GA. In my project i need to talk to Cognos application using Cognos Webservices SDK. I have the cognos webservices WSDL and when i try to run 'WSTools' to convert a Cognos webservice WSDL to java.

      I get the following error:

      Any help would be much appreciated.

      Thanks in advance

      Exception in thread "main" java.lang.NullPointerException
      at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:426)
      at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:512)
      at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:534)
      at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:188)
      at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Too
      lsHelper.java:329)
      at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
      at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
      at org.jboss.ws.tools.WSTools.main(WSTools.java:61)