Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 3804 invoked from network); 16 Sep 2009 21:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 21:42:20 -0000 Received: (qmail 91211 invoked by uid 500); 16 Sep 2009 21:42:19 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 91130 invoked by uid 500); 16 Sep 2009 21:42:19 -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 91121 invoked by uid 99); 16 Sep 2009 21:42:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 21:42:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 21:42:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 74E6B234C044 for ; Wed, 16 Sep 2009 14:41:57 -0700 (PDT) Message-ID: <1470247152.1253137317462.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 14:41:57 -0700 (PDT) From: "Will Lauer (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4494) catalog resolution doesn't work for schema references used by JAX-WS services In-Reply-To: <854291707.1253137197710.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Lauer updated AXIS2-4494: ------------------------------ Description: Catalog resolution still isn't working always with Axis2 1.5, even with the fix for issue AXIS2-4209. It's not clear to me that this completely fixes the issue. I'm seeing the same problem with Axis2 1.5, and looking at the source, I see the referenced changes above already included. It looks like the issue is in ServiceDescriptionImpl. The previous fix added "this.catalogManager = this.composite.getCatalogManager();", but that doesn't account for the case where this.composite.getCatalogManager() returns null, which is happening for me. Looks like that happens when ServiceDescriptionImpl is called from DescriptionFactoryImpl.createServiceDescriptionFromDBCMap. Looking back the call chain, it seems that DescriptionFactoryImpl.createServiceDescription(Class, ConfigurationContext) calls JavaClassToDBCConverter.produceDBC, which generates composites whose catalogManager is null. I'm not sure what the appropriate solution for this is. Should produceDBC be changed, or is this as simple as adding if (catalogManager == null) { catalogManager = new OASISCatalogManager(); } to ServiceDescriptionImpl (as is done in at least one of its other constructors)? was: Catalog resolution still isn't working always with Axis2 1.5, even with the fix for issue AXIS2-4209. > catalog resolution doesn't work for schema references used by JAX-WS services > ----------------------------------------------------------------------------- > > Key: AXIS2-4494 > URL: https://issues.apache.org/jira/browse/AXIS2-4494 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Affects Versions: 1.5 > Environment: Windows XP SP3, Axis2 1.5, Tomcat 5.5.26 > Reporter: Will Lauer > Priority: Minor > Original Estimate: 2h > Remaining Estimate: 2h > > Catalog resolution still isn't working always with Axis2 1.5, even with the fix for issue AXIS2-4209. > It's not clear to me that this completely fixes the issue. I'm seeing the same problem with Axis2 1.5, and looking at the source, I see the referenced changes above already included. It looks like the issue is in ServiceDescriptionImpl. The previous fix added "this.catalogManager = this.composite.getCatalogManager();", but that doesn't account for the case where this.composite.getCatalogManager() returns null, which is happening for me. Looks like that happens when ServiceDescriptionImpl is called from DescriptionFactoryImpl.createServiceDescriptionFromDBCMap. Looking back the call chain, it seems that DescriptionFactoryImpl.createServiceDescription(Class, ConfigurationContext) calls JavaClassToDBCConverter.produceDBC, which generates composites whose catalogManager is null. > I'm not sure what the appropriate solution for this is. Should produceDBC be changed, or is this as simple as adding > if (catalogManager == null) { > catalogManager = new OASISCatalogManager(); > } > to ServiceDescriptionImpl (as is done in at least one of its other constructors)? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.