Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 84697 invoked from network); 20 Apr 2006 10:15:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2006 10:15:14 -0000 Received: (qmail 30907 invoked by uid 500); 20 Apr 2006 10:15:09 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 30855 invoked by uid 500); 20 Apr 2006 10:15:08 -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 30842 invoked by uid 99); 20 Apr 2006 10:15:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 03:15:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 03:15:08 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70D277142DF for ; Thu, 20 Apr 2006 10:14:06 +0000 (GMT) Message-ID: <11207060.1145528046458.JavaMail.jira@brutus> Date: Thu, 20 Apr 2006 10:14:06 +0000 (GMT+00:00) From: "Ajith Harshana Ranabahu (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-561) codegen schema lookup bug In-Reply-To: <485313799.1144754960542.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-561?page=all ] Ajith Harshana Ranabahu resolved AXIS2-561: ------------------------------------------- Resolution: Fixed This issue is solved by taking the base uri of the WSDLDefinition object and treating it as the base uri for the schemas if the references are relative. It works anyway for absolute references. > codegen schema lookup bug > ------------------------- > > Key: AXIS2-561 > URL: http://issues.apache.org/jira/browse/AXIS2-561 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: wsdl > Versions: 0.96 > Reporter: Frank Cornelis > Assignee: Ajith Harshana Ranabahu > > When you import a schema in your WSDL, codegen cannot locate it since it's only looking in the present work directory. codegen should look in the directory where the WSDL is located, since that's where one also puts the schema XSDs. This bug entered somehow in the SVN version of Axis2. Maybe the codegen Ant task should have a basedir attribute to be able to pass on the directory where to look for additional XSDs when importing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira