Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 88978 invoked from network); 12 Jul 2007 01:37:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 01:37:25 -0000 Received: (qmail 20786 invoked by uid 500); 12 Jul 2007 01:37:28 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 20772 invoked by uid 500); 12 Jul 2007 01:37:28 -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 20763 invoked by uid 99); 12 Jul 2007 01:37:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 18:37:28 -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; Wed, 11 Jul 2007 18:37:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96D2A714208 for ; Wed, 11 Jul 2007 18:37:04 -0700 (PDT) Message-ID: <16224847.1184204224614.JavaMail.jira@brutus> Date: Wed, 11 Jul 2007 18:37:04 -0700 (PDT) From: "benson margulies (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-781) Duplicate type error from Aegis on code that worked fine with XFire 1.2.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Duplicate type error from Aegis on code that worked fine with XFire 1.2.5 ------------------------------------------------------------------------- Key: CXF-781 URL: https://issues.apache.org/jira/browse/CXF-781 Project: CXF Issue Type: Bug Affects Versions: 2.0 Reporter: benson margulies I'd pick 'aegis' as a component if it appeared on the list. The only place in my universe where 'ArrayOfNameIndexLookupResult' can arise is in the service interface itself ... @WebMethod() public abstract NameIndexLookupResult[] lookup(String indexid, @WebParam(targetNamespace="urn:com.basistech.rnm.index")NameIndexQuery query) throws NameIndexException; I'm wondering if I have a namespace inconsistency between the interface and the impl. The interface is marked up with .. @WebService(name="NameIndexService", targetNamespace="urn:com.basistech.rnm.index.ws") while the impl class looks like ... @WebService(serviceName = "NameIndexService", endpointInterface = "com.basistech.rnm.index.ws.NameIndexService") I tried adding the targetNamespace to the implementation class, but that had no effect. Jul 11, 2007 9:28:39 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass INFO: Creating Service {http://impl.ws.index.rnm.basistech.com/}NameIndexService from class com.basistech.rnm.index.ws.impl.NameIndexServiceImpl Exception in thread "main" java.lang.RuntimeException: Schema for namespace 'urn:com.basistech.rnm.index' already contains type 'ArrayOfNameIndexLookupResult at org.apache.ws.commons.schema.XmlSchema.addType(XmlSchema.java:229) at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:139) at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:315) at org.apache.cxf.aegis.databinding.AegisDatabinding.createSchemas(AegisDatabinding.java:291) at org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabinding.java:162) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:220) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:248) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:136) at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:83) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:89) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:142) at com.basistech.rnm.index.ws.impl.StandaloneServiceStarter.start(StandaloneServiceStarter.java:76) at com.basistech.rnm.index.ws.impl.StandaloneServiceStarter.main(StandaloneServiceStarter.java:116) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.