Trying to use codegeneration via wsdl2java from current snapshot realease I got NullPointerException and don't know why.
I called wsdl2java like this: wsdl2java -uri ws-discovery.wsdl -pn TargetService -a an got: Using AXIS2_HOME: E:\Programme\axis2-std-SNAPSHOT-bin Using JAVA_HOME: C:\Programme\Java\jdk1.5.0_06 Retrieving schema at 'http://schemas.xmlsoap.org/ws/2005/04/discovery/ws-discove ry.xsd'. Retrieving schema at 'http://schemas.xmlsoap.org/ws/2004/08/addressing', relativ e to 'http://schemas.xmlsoap.org/ws/2005/04/discovery/ws-discovery.xsd'. Exception in thread "main" java.lang.NullPointerException at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.createSchemaForPorttype (WSDLPump.java:732) at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.generateWrapperSchema(W SDLPump.java:662) at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.populateDefinition(WSDL Pump.java:187) at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.pump(WSDLPump.java:135) at org.apache.axis2.wsdl.builder.wsdl4j.WSDL1ToWOMBuilder.build(WSDL1ToW OMBuilder.java:124) at org.apache.axis2.wsdl.builder.wsdl4j.WSDL1ToWOMBuilder.build(WSDL1ToW OMBuilder.java:93) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.getWOM(CodeGenerat ionEngine.java:177) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat ionEngine.java:74) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) The wsdl is okay I think, it was validated with excliple webtools. Can someone give me a hint what to do for getting this generator to work? Thanks Ted ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
