cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "benson margulies (JIRA)" <>
Subject [jira] Created: (CXF-781) Duplicate type error from Aegis on code that worked fine with XFire 1.2.5
Date Thu, 12 Jul 2007 01:37:04 GMT
Duplicate type error from Aegis on code that worked fine with XFire 1.2.5

                 Key: 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 ...

    public abstract NameIndexLookupResult[] lookup(String indexid,
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="")

while the impl class looks like ...

@WebService(serviceName = "NameIndexService", endpointInterface = "")

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 {}NameIndexService from class
Exception in thread "main" java.lang.RuntimeException: Schema for namespace 'urn:com.basistech.rnm.index'
already contains type 'ArrayOfNameIndexLookupResult
	at org.apache.cxf.aegis.databinding.AegisDatabinding.createSchemas(
	at org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(
	at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(
	at org.apache.cxf.frontend.ServerFactoryBean.create(
	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message