Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 92543 invoked from network); 30 Aug 2006 16:20:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 16:20:48 -0000 Received: (qmail 7870 invoked by uid 500); 30 Aug 2006 16:20:44 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 7804 invoked by uid 500); 30 Aug 2006 16:20:44 -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 7793 invoked by uid 99); 30 Aug 2006 16:20:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 09:20:44 -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; Wed, 30 Aug 2006 09:20:43 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C0C3410011 for ; Wed, 30 Aug 2006 16:17:24 +0000 (GMT) Message-ID: <25347876.1156954644374.JavaMail.jira@brutus> Date: Wed, 30 Aug 2006 09:17:24 -0700 (PDT) From: "Lori VanGulick (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1087) CLONE -Problem with resolving imported schemas from WSDL11ToAxisServiceBuilder In-Reply-To: <31276988.1156781782347.JavaMail.jira@brutus> 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-1087?page=all ] Lori VanGulick updated AXIS2-1087: ---------------------------------- Attachment: WIImport.ear junittest.zip I have attached WIImport.ear which contains wars with various combinations of imported schemas and wsdls with relative and absolute addresses. In particular I have been looking at WIImport5.war for absolute addresses and WIImport6.war for relative addresses. The way I have been testing this is by exploding the war and running a JUnit testcase which runs WSDL11ToAxisServiceBuilder against the wsdl file from the war. I have also attached junittest.zip which contains the testcase and my customized WSDLLocator. Note that the testcase contains hardcoded references to the location of my wsdl file, so you will need to change that if you want to run the test. > CLONE -Problem with resolving imported schemas from WSDL11ToAxisServiceBuilder > ------------------------------------------------------------------------------ > > Key: AXIS2-1087 > URL: http://issues.apache.org/jira/browse/AXIS2-1087 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: core > Reporter: Lori VanGulick > Assigned To: Ajith Harshana Ranabahu > Priority: Blocker > Attachments: junittest.zip, WIImport.ear > > > When importing nested schemas with a relative path, I have noticed a problem with the base URI that the WSDL11ToAxisServiceBuilder passes to the getXMLSchema method. Considering the structure: > WEB-INF/wsdl/porttype/Echo.wsdl > and > WEB-INF/wsdl/xsd/Echo.xsd > If Echo.wsdl has an import statement like "../xsd/Echo.xsd", the schema will fail to import. The issue seems to be that the WSDL11ToAxisServiceBuilder passes the string "WEB-INF/wsdl" as the base URI. This causes the implementation of the org.apache.ws.commons.schema.resolver.URIResolver not to be able to resolve the relative location with the base URI. I wanted to point out this problem, and I am not looking for an immediate patch. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org