Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 70522 invoked from network); 25 Jun 2009 07:29:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 07:29:24 -0000 Received: (qmail 52672 invoked by uid 500); 25 Jun 2009 07:29:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 52562 invoked by uid 500); 25 Jun 2009 07:29:33 -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 52553 invoked by uid 99); 25 Jun 2009 07:29:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 07:29:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wagaarachchi@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-px0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 07:29:25 +0000 Received: by pxi2 with SMTP id 2so946116pxi.30 for ; Thu, 25 Jun 2009 00:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+bskBbhSVUDS8wXEiDCDo9vtAJjYPrCfRG+hOp894ns=; b=UMNX1xta3X7+VTPTJ1hsvPj4KXgzXgTLJ1VfUgitwiPWkwZioABZo2M3v6IUbFfLmm 0TUAWMUjdcJ7ri4HLoSbGy4cD2X+Cbt7yilmiSyL0o3qdOXoC5dHqXkYRSuYRax+s6gY sTtP00SL3oFfFGBS+/lip8Kt6oEcYXatyLy+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hnCiJS09ygV+E9BfvOnaWzydLrtV82iK/hwmdPBQ/6wDV2OBamm67aT2QtodsnqpA4 RgJpic8kI6DcpORPT2k4UWsYKtIJu6lgnjHCk4g7mt50egvOmIfohZvzcK2jGw8YxYhR Ypa1+uPB0w8G8mrWZOvQp2tu9RvGU3Ltuxnk0= MIME-Version: 1.0 Received: by 10.141.33.19 with SMTP id l19mr1850245rvj.187.1245914945008; Thu, 25 Jun 2009 00:29:05 -0700 (PDT) In-Reply-To: <907084593.1245883807429.JavaMail.jira@brutus> References: <1131863627.1213272285144.JavaMail.jira@brutus> <907084593.1245883807429.JavaMail.jira@brutus> Date: Thu, 25 Jun 2009 12:59:05 +0530 Message-ID: Subject: Re: [jira] Resolved: (AXIS2-3851) adb-codegen no longer accepts schemas without targetNamespace From: Jayanga Wagaarachchi To: axis-dev@ws.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org unsubscribe On 6/25/09, Andreas Veithen (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/AXIS2-3851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Andreas Veithen resolved AXIS2-3851. > ------------------------------------ > > Resolution: Fixed > Fix Version/s: (was: 1.3) > 1.6 > >> adb-codegen no longer accepts schemas without targetNamespace >> ------------------------------------------------------------- >> >> Key: AXIS2-3851 >> URL: https://issues.apache.org/jira/browse/AXIS2-3851 >> Project: Axis 2.0 (Axis2) >> Issue Type: Bug >> Components: adb >> Affects Versions: 1.4 >> Environment: Java by sun 1.5.0.14 (amd64) >> Eclipse SDK >> Version: 3.2.1 >> Build id: M20060921-0945 (Debian version: 3.2.1-4) >> Reporter: Xavi Drudis Ferran >> Assignee: Andreas Veithen >> Fix For: 1.6 >> >> Attachments: SchemaCompiler.java >> >> >> With Axis1.3 I can generate code with an ant task for wsdl2java , from an >> wsdl file >> that contains an schema with targetNamespace="" (to describe the >> namespaceless xml I get in a RESTful service). >> With Axis1.4 I can no longer generate it. >> There's an exception originating at : >> [java] Caused by: java.lang.NullPointerException >> [java] at >> org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompiler.java:2723) >> [java] at >> org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(SchemaCompiler.java:2670) >> [java] at >> org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler.java:2644) >> >> This is apparently because of commit >> http://svn.apache.org/viewvc?view=rev&revision=627710 >> Revision 627710 >> Jump to revision: Previous Next >> Author: amilas >> Date: Thu Feb 14 11:30:40 2008 UTC (3 months, 3 weeks ago) >> Log Message: when resolving schemas target namespaces must be matched >> Aparently the namespace from the schema is null. >> Maybe it should be "" or maybe the added condition should accept both >> namespaces being null. >> I'm not sure what else has changed from Axis2 1.3 to 1.4 and whether >> fixing this would introduce >> some other error with empty namespaces, but it seems a regression, >> hopefully easy to fix. I'm sorry >> I can't try to fix it now. >> (the function name is misspelt, it lacks an n before the last t of >> "component", btw, but that's irrelevant). > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >