By the way, if this is not the correct list to have sent this to, let me know so I can send this on.

 


From: Doughty, Michael
Sent: Monday, November 28, 2005 10:23 AM
To: [email protected]
Subject: NullPointerExceptoin when running WSDL2Java

 

I am receiving the following NullPointerException when running WSDL2Java on a particular deployed XML.

 

log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).

log4j:WARN Please initialize the log4j system properly.

java.lang.NullPointerException

        at org.apache.axis.wsdl.toJava.JavaBeanWriter.preprocess(JavaBeanWriter.java:264)

        at org.apache.axis.wsdl.toJava.JavaBeanWriter.getImplementsText(JavaBeanWriter.java:500)

        at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileHeader(JavaBeanWriter.java:179)

        at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:129)

        at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1270)

        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:534)

 

The WSDL is from a deployed webservice.  The original WSDL file I created and used compiled fine for the server stubs, but once deployed, I could not create a client from the WSDL published by the service.  That WSDL is below.  If someone could take a look and tell me what I am doing wrong I’d appreciate it.  I can’t find any relevant posts from the history to show this exact issue duplicated.  I did encounter this thread: http://www.mail-archive.com/[email protected]/msg11441.html , however, I don’t seem to have EmptyType defined specifically in my path.  (P.S. this WSDL is a first-attempt at following the WSDM spec).

 

***clipped***

 

Reply via email to