cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1624) XmlSchemaException: Schema name conflict in collection.
Date Wed, 03 Sep 2008 03:25:44 GMT

     [ https://issues.apache.org/jira/browse/CXF-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-1624.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3
         Assignee: Daniel Kulp


I've fixed the XmlSchema error.  The test still fails (not sure why) but the schema is properly
generated now.

That said, jboss is going to have a little bit of work to update their code to 2.1.3/2.2 levels.
  They are calling some classes/api's that aren't in cxf-api and were recently removed/modified
as part of some performance work.

> XmlSchemaException: Schema name conflict in collection.
> -------------------------------------------------------
>
>                 Key: CXF-1624
>                 URL: https://issues.apache.org/jira/browse/CXF-1624
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Richard Opalka
>            Assignee: Daniel Kulp
>             Fix For: 2.1.3
>
>
> 17:50:53,336 ERROR [[/jaxws-samples-logicalhandler-jaxb]] StandardWrapper.Throwable
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'SOAPEndpoint': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException:
org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace:
http://org.jboss.ws/jaxws/samples/logicalhandler
> Caused by: 
> javax.xml.ws.WebServiceException: org.apache.ws.commons.schema.XmlSchemaException: Schema
name conflict in collection. Namespace: http://org.jboss.ws/jaxws/samples/logicalhandler
>         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:258)
>         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:194)
>         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:380)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1242)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1208)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
>         at org.jboss.wsf.stack.cxf.CXFServletExt.loadAdditionalConfigExt(CXFServletExt.java:125)
>         at org.jboss.wsf.stack.cxf.CXFServletExt.loadBus(CXFServletExt.java:102)
>         at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:86)
>         at org.jboss.wsf.stack.cxf.CXFServletExt.init(CXFServletExt.java:74)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
>         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection.
Namespace: http://org.jboss.ws/jaxws/samples/logicalhandler
>         at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:104)
>         at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:83)
>         at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:424)
>         at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:418)
>         at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:122)
>         at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:92)
>         at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:345)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:343)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:512)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:394)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:180)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:163)
>         at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:79)
>         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:114)
>         at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:160)
>         at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:322)
>         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:244)
>         ... 35 more

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


Mime
View raw message