[jboss-user] [JBossWS] - wstools wsdl-java => NullPointerException

thof do-not-reply at jboss.com
Fri Feb 1 09:53:45 EST 2008


Compiling a WSDL with wstools and following config

<configuration xmlns="http://www.jboss.org/jbossws-tools"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">

	<wsdl-java  file="com/bspartners/pdb/integration/wsdl/ProDBWS.wsdl">
        
      </wsdl-java>


I got a NullPointerException:

[wstools] java.lang.NullPointerException
  [wstools] 	at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:423)
  [wstools] 	at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:516)
  [wstools] 	at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:538)
  [wstools] 	at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:187)
  [wstools] 	at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:329)
  [wstools] 	at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
  [wstools] 	at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
  [wstools] 	at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
  [wstools] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
  [wstools] 	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
  [wstools] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [wstools] 	at java.lang.reflect.Method.invoke(Method.java:585)
  [wstools] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)

I'm using wstools of jbossws14-client.jar. I read the documentation, wiki and faqs, so I'm hoping someone can provide some help. 


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

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



More information about the jboss-user mailing list