[ https://issues.apache.org/jira/browse/CXF-7019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed CXF-7019. ------------------------------------ > tests in rt/ws/transfer intermittently failure > ---------------------------------------------- > > Key: CXF-7019 > URL: https://issues.apache.org/jira/browse/CXF-7019 > Project: CXF > Issue Type: Bug > Reporter: Freeman Fang > Assignee: Freeman Fang > Fix For: 3.2.0 > > > get exception like > {code} > org.apache.ws.commons.schema.XmlSchemaException: Unable to locate imported > document at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd', relative to > 'schema1.xsd'. > at > org.apache.cxf.catalog.CatalogXmlSchemaURIResolver.resolveEntity(CatalogXmlSchemaURIResolver.java:76) > at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:684) > at > org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:538) > at > org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(SchemaBuilder.java:1516) > at > org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:659) > at > org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:157) > at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:508) > at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:494) > at > org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:133) > at > org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:193) > at > org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:96) > at > org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:388) > at > org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86) > at > org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:469) > at > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:696) > at > org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:529) > at > org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:262) > at > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:199) > at > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102) > at > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:168) > at > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211) > at > org.apache.cxf.ws.transfer.integration.IntegrationBaseTest.createLocalResource(IntegrationBaseTest.java:159) > at > org.apache.cxf.ws.transfer.integration.FragmentGetQNameTest.qetEmptyResultTest(FragmentGetQNameTest.java:99) > {code} > this is due to try download ws-addr.xsd remotely, we should add > jax-ws-catalog.xml to always use the local one -- This message was sent by Atlassian JIRA (v6.4.14#64029)