Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 32155 invoked from network); 29 Apr 2007 06:58:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2007 06:58:36 -0000 Received: (qmail 18204 invoked by uid 500); 29 Apr 2007 06:58:42 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 18196 invoked by uid 500); 29 Apr 2007 06:58:42 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 18185 invoked by uid 99); 29 Apr 2007 06:58:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2007 23:58:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 28 Apr 2007 23:58:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F34F714058 for ; Sat, 28 Apr 2007 23:58:15 -0700 (PDT) Message-ID: <11180819.1177829895299.JavaMail.jira@brutus> Date: Sat, 28 Apr 2007 23:58:15 -0700 (PDT) From: "jimma (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Assigned: (CXF-607) ReflectionServiceFactoryBean generate two element with same name in same schema In-Reply-To: <27757646.1177664835901.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 [ https://issues.apache.org/jira/browse/CXF-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] jimma reassigned CXF-607: ------------------------- Assignee: jimma > ReflectionServiceFactoryBean generate two element with same name in same schema > ------------------------------------------------------------------------------- > > Key: CXF-607 > URL: https://issues.apache.org/jira/browse/CXF-607 > Project: CXF > Issue Type: Bug > Reporter: Freeman Fang > Assigned To: jimma > > one problem I encounter is server side throw exception as > org.xml.sax.SAXParseException: sch-props-correct.2: A schema cannot contain two global components with the same name; this schema contains two occurrences of 'http://www.iona.com/com.iona.test.TestInterface/xsd,getMessage'. > when build service from class. > I print out the schema in ReflectionServiceFactoryBean > it's > > > > > > > > > > > > > > > > > > > > > > > > > we can see that in this schema several duplicated element. I believe the error is caused by when we generated schema element from method parameter, we didn't check if the same parameter type alreay added. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.