Return-Path: Delivered-To: apmail-ws-woden-dev-archive@www.apache.org Received: (qmail 60393 invoked from network); 16 Jan 2007 18:24:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2007 18:24:50 -0000 Received: (qmail 3078 invoked by uid 500); 16 Jan 2007 18:24:56 -0000 Delivered-To: apmail-ws-woden-dev-archive@ws.apache.org Received: (qmail 3040 invoked by uid 500); 16 Jan 2007 18:24:56 -0000 Mailing-List: contact woden-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: woden-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list woden-dev@ws.apache.org Received: (qmail 2999 invoked by uid 99); 16 Jan 2007 18:24:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2007 10:24:56 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jan 2007 10:24:48 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3653F7142BD for ; Tue, 16 Jan 2007 10:24:28 -0800 (PST) Message-ID: <27143758.1168971868220.JavaMail.jira@brutus> Date: Tue, 16 Jan 2007 10:24:28 -0800 (PST) From: "John Kaputin (JIRA)" To: woden-dev@ws.apache.org Subject: [jira] Created: (WODEN-124) should be based on namespace and treat location as a hint only MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org should be based on namespace and treat location as a hint only ----------------------------------------------------------------------- Key: WODEN-124 URL: https://issues.apache.org/jira/browse/WODEN-124 Project: Woden Issue Type: Bug Components: Parser Reporter: John Kaputin Assigned To: John Kaputin Fix For: M7 Woden should correctly support WSDL importing, as per the WSDL 2.0 spec Part 1, section 4.2 Importing Descriptions. wsdl:import is a namespace import. The location attribute is optional and is treated as a hint only. Currently, Woden will attempt to resolve the location attribute of a wsdl:import to a document, but will not attempt to resolve a namespace only import. The requirement on Woden is to associated an imported namespace with ALL imported documents that have that as their targetNamespace. Extracted from Woden weekly call Minutes 9th Jan 07 (see [1] below): Arthur: Import relates to namespace not location, so WSDL content for each namespace should be represented in Woden in a 'master' description doc keyed of that namespace and any retrieved documents from that namespace should be included in that master document. This master description is stored in a 'catalog' keyed by NS. When a wsdl:import is processed it should try to resolve against the catalog first, before trying to retrieve a document. If the wsdl:import has no location attribute, this catalog is the way to resolve the import. John: So if a wsdl import cannot be resolve to anything (via this catalog or externally) it is an error? At least, it results in an error if the component model contains any components from this namespace? Arthur: correct. John: Currently Woden always tries to retrieve a document based on the location attribute of a wsdl:import. It does check a cache to reuse the DescriptionElement if the document has already been retrieved, but it does not do anything special to resolve a wsdl import without a location attribute. This catalog mechanism sounds like the solution. [1] http://mail-archives.apache.org/mod_mbox/ws-woden-dev/200701.mbox/%3cOF93DE8BEA.C7A394F6-ON8025725E.00588B57-8025725E.00668E90@uk.ibm.com%3e -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org For additional commands, e-mail: woden-dev-help@ws.apache.org