Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D42B103CF for ; Tue, 23 Apr 2013 22:27:59 +0000 (UTC) Received: (qmail 24764 invoked by uid 500); 23 Apr 2013 22:27:57 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 24725 invoked by uid 500); 23 Apr 2013 22:27:57 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 24710 invoked by uid 99); 23 Apr 2013 22:27:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 22:27:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Angelina.Talley@nexusis.com designates 64.138.140.199 as permitted sender) Received: from [64.138.140.199] (HELO mail.nexusis.com) (64.138.140.199) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 22:27:52 +0000 X-IronPort-AV: E=Sophos;i="4.87,537,1363158000"; d="scan'208,217";a="2945979" Received: from unknown (HELO NXCA05EXCH13.NexusIS.com) ([10.11.5.18]) by mail.nexusis.com with ESMTP; 23 Apr 2013 15:27:30 -0700 Received: from NXCA05EXCH10.NexusIS.com ([fe80::4900:7d7c:ff9a:a9f3]) by NXCA05EXCH13.NexusIS.com ([::1]) with mapi id 14.02.0328.009; Tue, 23 Apr 2013 15:27:29 -0700 From: "Talley, Angelina" To: "java-user@axis.apache.org" Subject: RE: Code Generation Exception - any way to work around? Thread-Topic: Code Generation Exception - any way to work around? Thread-Index: Ac5AWtew/LrvJdmhT623xSRKvzpGQwATgToAAA3cfyA= Date: Tue, 23 Apr 2013 22:27:28 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [72.64.105.171] Content-Type: multipart/alternative; boundary="_000_B129F661893DCD4BB9A828E8115DBD8031B12159NXCA05EXCH10Nex_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_B129F661893DCD4BB9A828E8115DBD8031B12159NXCA05EXCH10Nex_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, version 1.6.2 confirmed. From: Martin Gainty [mailto:mgainty@hotmail.com] Sent: Tuesday, April 23, 2013 5:02 PM To: java-user@axis.apache.org Subject: RE: Code Generation Exception - any way to work around? check your wsdl4j jar to make sure the version is 1.6.2 http://ws.apache.org/commons/transport/dependencies.html Viel Gluck, ______________________________________________ Verzicht und Vertraulichkeitanmerkung. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterle= itung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient led= iglich dem Austausch von Informationen und entfaltet keine rechtliche Bindu= ngswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir= keine Haftung fuer den Inhalt uebernehmen. ________________________________ From: Angelina.Talley@nexusis.com To: axis-user@ws.apache.org 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 unfo= rtunately I don't have much control over its format and content. But, so fa= r, 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 t= ried 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 s= omething 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.Pr= oject ResourceBundle). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationExce= ption : Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGe= nerat ionEngine.java:181) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.NullPointerException at com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unk= nown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseOperation(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDL= File( CodeGenerationEngine.java:320) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(CodeGe= nerat ionEngine.java:133) ... 2 more --_000_B129F661893DCD4BB9A828E8115DBD8031B12159NXCA05EXCH10Nex_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Yes, version 1.6.2 confir= med.

 <= /p>

 <= /p>

From: Martin G= ainty [mailto:mgainty@hotmail.com]
Sent: Tuesday, April 23, 2013 5:02 PM
To: java-user@axis.apache.org
Subject: RE: Code Generation Exception - any way to work around?

 

 
check your wsdl4j jar to make sure the version is 1.6.2
 
http:/= /ws.apache.org/commons/transport/dependencies.html

Viel Gluck,

______________________________________________
Verzicht und Vertraulichkeitanmerkung.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterle= itung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient led= iglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Mani= pulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt ueberne= hmen.

 


From: Angelina.Talley@nexusis.com<= /a>
To:
axis-user@ws.apache.org<= br> 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 wor= k with WSDL2Java. I’ve tried both adb and xmlbeans data binding option= s, and both get the same exception. I’ve tried searching for this err= or, 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!<= /p>

 

This is the exception I am getting:

 

Using AXIS2_HOME:   C:\axis2-1.6.2<= /span>

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.a= pache.axis2.i18n.Project

ResourceBundle).

log4j:WARN Please initialize the log4j system properly.<= o:p>

Exception in thread "main" org.apache.axis2.ws= dl.codegen.CodeGenerationException

: Error parsing WSDL

        at org.apache= .axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat

ionEngine.java:181)

        at org.apache= .axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)

        at org.apache= .axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

Caused by: java.lang.NullPointerException

        at com.ibm.ws= dl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unknown

Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.parseOperation(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.parsePortType(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

        at com.ibm.ws= dl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

        at org.apache= .axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(

CodeGenerationEngine.java:320)

        at org.apache= .axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat

ionEngine.java:133)

        ... 2 more

 

 

--_000_B129F661893DCD4BB9A828E8115DBD8031B12159NXCA05EXCH10Nex_--