javax.xml.ws.WebServiceException: org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    publish wsdl schema name conflict in collection

    Stack Overflow | 9 months ago | Mançaux Pierre-Alexandre
    javax.xml.ws.WebServiceException: org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection

    1 unregistered visitors

    Root Cause Analysis

    1. org.apache.ws.commons.schema.XmlSchemaException

      Schema name conflict in collection

      at org.apache.ws.commons.schema.XmlSchema.<init>()
    2. XmlSchema Core
      XmlSchema.<init>
      1. org.apache.ws.commons.schema.XmlSchema.<init>(XmlSchema.java:126)
      2. org.apache.ws.commons.schema.XmlSchema.<init>(XmlSchema.java:140)
      2 frames
    3. Apache CXF Core
      SchemaCollection.newXmlSchemaInCollection
      1. org.apache.cxf.common.xmlschema.SchemaCollection.newXmlSchemaInCollection(SchemaCollection.java:194)
      1 frame
    4. Apache CXF Runtime JAXB DataBinding
      JAXBSchemaInitializer.begin
      1. org.apache.cxf.jaxb.JAXBSchemaInitializer.createBridgeXsElement(JAXBSchemaInitializer.java:355)
      2. org.apache.cxf.jaxb.JAXBSchemaInitializer.checkForExistence(JAXBSchemaInitializer.java:333)
      3. org.apache.cxf.jaxb.JAXBSchemaInitializer.begin(JAXBSchemaInitializer.java:150)
      3 frames
    5. Apache CXF Core
      ServiceModelVisitor.walk
      1. org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:120)
      2. org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.java:74)
      2 frames
    6. Apache CXF Runtime JAXB DataBinding
      JAXBDataBinding.initialize
      1. org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:396)
      1 frame
    7. Apache CXF Core
      AbstractServiceFactoryBean.initializeDataBindings
      1. org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
      1 frame
    8. Apache CXF Runtime Core for WSDL
      ReflectionServiceFactoryBean.buildServiceFromClass
      1. org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
      1 frame
    9. Apache CXF Runtime JAX-WS Frontend
      JaxWsServiceFactoryBean.buildServiceFromClass
      1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:712)
      1 frame
    10. Apache CXF Runtime Core for WSDL
      ReflectionServiceFactoryBean.create
      1. org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:527)
      2. org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:261)
      2 frames
    11. Apache CXF Runtime JAX-WS Frontend
      JaxWsServiceFactoryBean.create
      1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:215)
      1 frame
    12. Apache CXF Runtime Simple Frontend
      ServerFactoryBean.create
      1. org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)
      2. org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
      2 frames
    13. Apache CXF Runtime JAX-WS Frontend
      EndpointImpl.publish
      1. org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
      2. org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456)
      3. org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
      4. org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:371)
      5. org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
      6. org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:539)
      6 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_71]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_71]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_71]
      4. java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_71]
      4 frames
    15. Apache Aries Blueprint Core
      BeanRecipe.runBeanProcInit
      1. org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[18:org.apache.aries.blueprint.core:1.4.3]
      2. org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[18:org.apache.aries.blueprint.core:1.4.3]
      3. org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[18:org.apache.aries.blueprint.core:1.4.3]
      3 frames