[jboss-user] [JBossWS] - wstools error from WSDL to Java

tejasjani do-not-reply at jboss.com
Mon May 21 18:32:53 EDT 2007


Trying to generate java artifacts from wsdl, using wstools, I get the following error:

$ ./wstools.sh -config C:/test/wstools-config.xml -dest C:/test/ 
  | ========================================================================= 
  |  
  | WSTools Environment 
  |  
  | JBOSS_HOME: D:\dtsource\main\deploy\servers\jboss-4.0.5.GA1 
  |  
  | JAVA: /d/dtsource/main/thirdparty/tool/jdk/windows/jdk1.5.0/bin/java 
  |  
  | JAVA_OPTS: 
  |  
  | ========================================================================= 
  |  
  | Exception in thread "main" java.lang.NullPointerException 
  | at java.io.File.<init>(File.java:194) 
  | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:308) 
  | 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) 
  | 
  | 

My environment is JBossWS 1.0.4 on JBoss 4.0.5GA running on Java 5

what am I missing ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047402#4047402

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047402



More information about the jboss-user mailing list