axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Talley, Angelina" <>
Subject RE: Code Generation Exception - any way to work around?
Date Tue, 23 Apr 2013 22:27:28 GMT
Yes, version 1.6.2 confirmed.

From: Martin Gainty []
Sent: Tuesday, April 23, 2013 5:02 PM
Subject: RE: Code Generation Exception - any way to work around?

check your wsdl4j jar to make sure the version is 1.6.2

Viel Gluck,

Verzicht und Vertraulichkeitanmerkung.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.

Subject: Code Generation Exception - any way to work around?
Date: Tue, 23 Apr 2013 19:43:34 +0000
Hello folks. I'm working to parse a WSDL given to me by a customer, so unfortunately I don't
have much control over its format and content. But, so far, I've not been able to get it to
work with WSDL2Java. I've tried both adb and xmlbeans data binding options, and both get the
same exception. I've tried searching for this error, but so far no luck.

The WSDL is quite large so I've not posted it here. Is there someplace or something in the
WSDL I should be looking for that could cause this error as seen below? Or, is there anything
that can be done to get past it?

Thanks in advance for any assistance!

This is the exception I am getting:

Using AXIS2_HOME:   C:\axis2-1.6.2
Using JAVA_HOME:    C:\Program Files (x86)\Java\jdk1.6.0_22
Retrieving document at 'Epic.wsdl'.
log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.Project
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
        at org.apache.axis2.wsdl.WSDL2Code.main(
        at org.apache.axis2.wsdl.WSDL2Java.main(
Caused by: java.lang.NullPointerException
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
        ... 2 more

View raw message