Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 52611 invoked from network); 10 Jul 2005 15:11:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2005 15:11:55 -0000 Received: (qmail 90349 invoked by uid 500); 10 Jul 2005 15:11:53 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 89770 invoked by uid 500); 10 Jul 2005 15:11:51 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 89752 invoked by uid 99); 10 Jul 2005 15:11:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2005 08:11:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of edongliu@gmail.com designates 64.233.184.198 as permitted sender) Received: from [64.233.184.198] (HELO wproxy.gmail.com) (64.233.184.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2005 08:11:49 -0700 Received: by wproxy.gmail.com with SMTP id i27so701302wra for ; Sun, 10 Jul 2005 08:11:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lt1syEx/MoUS6SdlB602q7bmspRPT9VVE+vJHAvUuOWVpDxTqL1/2Py7GbcCb/ywlymqmp1sY0zkqb+mW7fBifPfgZDXK0D/q2VSq/S4a3BoPz6opjZ1r8awLp/WB4Fb2PTt44BeiUKGP5XzKPnENzxVx7jxZGIujNsewDiqPj8= Received: by 10.54.100.5 with SMTP id x5mr3252259wrb; Sun, 10 Jul 2005 08:11:48 -0700 (PDT) Received: by 10.54.120.1 with HTTP; Sun, 10 Jul 2005 08:11:48 -0700 (PDT) Message-ID: Date: Sun, 10 Jul 2005 09:11:48 -0600 From: Dong Liu Reply-To: Dong Liu To: axis-dev@ws.apache.org, dims@apache.org Subject: Re: [Axis2]Dependency on Crimson In-Reply-To: <19e0530f050709160836da60d8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42D0569D.3070705@gmail.com> <19e0530f050709160836da60d8@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The same issue is found when testing the WSDL2Java facility on Java SE 5 described in the user guide. The message >WSDL2Java -uri ..\samples\wsdl\Axis2SampleDocLit.wsdl -ss -sd -o ..\samples\src -p org.apache.axis2.userguide Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/crimson/tree/XmlDocument at org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter= .createDOMDocuementForSkeleton(MultiLanguageClientEmitter.java:524) at org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter= .writeSkeleton(MultiLanguageClientEmitter.java:220) at org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter= .emitSkeleton(MultiLanguageClientEmitter.java:345) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(Code= GenerationEngine.java:100) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:28) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:22) Cheers, Don On 7/9/05, Davanum Srinivas wrote: > +1 to fix this ASAP! >=20 > On 7/9/05, Changshin Lee wrote: > > Hi all, > > > > I found that > > org.apache.axis2.wsdl.codegen.emitter.MultiLanguageClientEmitter used > > org.apache.crimson.XmlDocument, which causes Axis 2 WSDL2Java to fail t= o > > run on Java SE 5. The reason is that Sun's JDK 1.4 contains Crimson as = a > > JAXP implementation and Java SE 5 doesn't. As we agreed, Axis 2 should > > be able to be build and run on Java SE 5. > > > > Cheers, > > > > Ias > > >=20 >=20 > -- > Davanum Srinivas -http://blogs.cocoondev.org/dims/ >