looks like its using spring's PluggableSchemaResolver, which looks like it
should work based on the entries in the META-INF/spring.schemas ... but I am
seeing the spring.schemas loaded up twice!
31 [main] DEBUG
org.springframework.beans.factory.xml.PluggableSchemaResolver - Loading
schema mappings from [META-INF/spring.schemas]
47 [main] DEBUG
org.springframework.beans.factory.xml.PluggableSchemaResolver - Loaded
schema mappings:
{http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://cxf.apache.org/schemas/policy.xsd=schemas/policy.xsd,
http://cxf.apache.org/schemas/configuration/security.xsd=schemas/configuration/security.xsd,
http://cxf.apache.org/schemas/wsdl/jms.xsd=schemas/wsdl/jms.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd=schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd,
http://cxf.apache.org/schemas/configuration/soap.xsd=schemas/configuration/soap.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd=schemas/configuration/wsrm-manager.xsd,
http://cxf.apache.org/schemas/wsdl/http-conf.xsd=schemas/wsdl/http-conf.xsd,
http://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd,
http://www.w3.org/2006/07/ws-policy.xsd=schemas/ws-policy-200607.xsd,
http://cxf.apache.org/schema/bindings/object.xsd=org/apache/cxf/binding/soap/spring/object.xsd,
http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd=schemas/ws-policy-200409.xsd,
http://www.springframework.org/schema/gienah/gienah.xsd=org/gienah/testing/xml/spring-gienah-0.2.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://cxf.apache.org/schemas/simple.xsd=schemas/simple.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://cxf.apache.org/schemas/configuration/wsrm-manager-types.xsd=schemas/configuration/wsrm-manager-types.xsd,
http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd=schemas/configuration/wsrm-policy.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://cxf.apache.org/schemas/configuration/cxf-beans.xsd=schemas/configuration/cxf-beans.xsd,
http://cxf.apache.org/schemas/ws/addressing.xsd=schemas/ws-addr-conf.xsd,
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd=schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://cxf.apache.org/schemas/core.xsd=schemas/core.xsd,
http://www.w3.org/2007/02/ws-policy.xsd=schemas/ws-policy-200702.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.w3.org/2001/xml.xsd=schemas/xml.xsd,
http://cxf.apache.org/schemas/configuration/http-conf.xsd=schemas/configuration/http-conf.xsd,
http://cxf.apache.org/schemas/configuration/http-jetty.xsd=schemas/configuration/http-jetty.xsd,
http://cxf.apache.org/schemas/configuration/jms.xsd=schemas/configuration/jms.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://schemas.xmlsoap.org/wsdl/http/=schemas/wsdl/http.xsd,
http://schemas.xmlsoap.org/wsdl/=schemas/wsdl/wsdl.xsd,
http://schemas.xmlsoap.org/ws/2004/08/addressing=schemas/wsdl/addressing.xsd}
47 [main] DEBUG
org.springframework.beans.factory.xml.PluggableSchemaResolver - Loading
schema mappings from [META-INF/spring.schemas]
47 [main] DEBUG
org.springframework.beans.factory.xml.PluggableSchemaResolver - Loaded
schema mappings:
{http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://cxf.apache.org/schemas/policy.xsd=schemas/policy.xsd,
http://cxf.apache.org/schemas/configuration/security.xsd=schemas/configuration/security.xsd,
http://cxf.apache.org/schemas/wsdl/jms.xsd=schemas/wsdl/jms.xsd,
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd=schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd,
http://cxf.apache.org/schemas/configuration/soap.xsd=schemas/configuration/soap.xsd,
http://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://cxf.apache.org/schemas/configuration/wsrm-manager.xsd=schemas/configuration/wsrm-manager.xsd,
http://cxf.apache.org/schemas/wsdl/http-conf.xsd=schemas/wsdl/http-conf.xsd,
http://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd,
http://www.w3.org/2006/07/ws-policy.xsd=schemas/ws-policy-200607.xsd,
http://cxf.apache.org/schema/bindings/object.xsd=org/apache/cxf/binding/soap/spring/object.xsd,
http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd=schemas/ws-policy-200409.xsd,
http://www.springframework.org/schema/gienah/gienah.xsd=org/gienah/testing/xml/spring-gienah-0.2.xsd,
http://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
http://cxf.apache.org/schemas/simple.xsd=schemas/simple.xsd,
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
http://cxf.apache.org/schemas/configuration/wsrm-manager-types.xsd=schemas/configuration/wsrm-manager-types.xsd,
http://schemas.xmlsoap.org/ws/2005/02/rm/wsrm-policy.xsd=schemas/configuration/wsrm-policy.xsd,
http://www.springframework.org/schema/tx/spring-tx.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://cxf.apache.org/schemas/configuration/cxf-beans.xsd=schemas/configuration/cxf-beans.xsd,
http://cxf.apache.org/schemas/ws/addressing.xsd=schemas/ws-addr-conf.xsd,
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd=schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd,
http://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://cxf.apache.org/schemas/core.xsd=schemas/core.xsd,
http://www.w3.org/2007/02/ws-policy.xsd=schemas/ws-policy-200702.xsd,
http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
http://www.w3.org/2001/xml.xsd=schemas/xml.xsd,
http://cxf.apache.org/schemas/configuration/http-conf.xsd=schemas/configuration/http-conf.xsd,
http://cxf.apache.org/schemas/configuration/http-jetty.xsd=schemas/configuration/http-jetty.xsd,
http://cxf.apache.org/schemas/configuration/jms.xsd=schemas/configuration/jms.xsd,
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
http://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
http://schemas.xmlsoap.org/wsdl/http/=schemas/wsdl/http.xsd,
http://schemas.xmlsoap.org/wsdl/=schemas/wsdl/wsdl.xsd,
http://schemas.xmlsoap.org/ws/2004/08/addressing=schemas/wsdl/addressing.xsd}
dkulp wrote:
>
>
> You could add an XmlCatalog to the catalog resolver to map the
> http://schemas.xmlsoap.org/schemas/wsdl/wsdl.xsd location to something
> that's local.
>
> Dan
>
>
> On Wednesday 07 November 2007, Adrian C wrote:
>> Hate to be answering my own posts but the cause of this is the fact
>> that I am behind a proxy server. Seems that the following import in
>> jms-conf.xsd, http-conf.xsd causes the xsd resolver to run off to the
>> internet to try and find the schema. Is there anyway around this?
>>
>> <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"
>> schemaLocation="http://schemas.xmlsoap.org/schemas/wsdl/wsdl.xsd"/>
>>
>> How did I know this - -well if I hack http-conf.xsd to do the
>> following it works!
>>
>> <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"
>> schemaLocation="file:///c:/temp/schemas/wsdl/wsdl.xsd"/>
>>
>>
>> Thanks
>>
>> Adrian C wrote:
>> > Hi,
>> >
>> > Am doing some testing with jms & am getting the error below, has
>> > anyone seen anything like this before?
>> >
>> > Thanks
>> >
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionStoreExceptio
>> >n: Line 175 in XML document from class path resource
>> > [junit/wsclient-context.xml] is invalid; nested exception is
>> > org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
>> > 'wsdl:tExtensibilityElement' to a(n) 'type definition' component.
>> >
>> > Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot
>> > resolve the name 'wsdl:tExtensibilityElement' to a(n) 'type
>> > definition' component.
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSA
>> >XParseException(ErrorHandlerWrapper.java:236)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Er
>> >rorHandlerWrapper.java:172)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError
>> >(XMLErrorReporter.java:382)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.rep
>> >ortSchemaError(XSDHandler.java:2241)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.get
>> >GlobalDecl(XSDHandler.java:1201)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexType
>> >Traverser.traverseComplexContent(XSDComplexTypeTraverser.java:715)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexType
>> >Traverser.traverseComplexTypeDecl(XSDComplexTypeTraverser.java:288)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDComplexType
>> >Traverser.traverseGlobal(XSDComplexTypeTraverser.java:196)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.get
>> >GlobalDecl(XSDHandler.java:1333)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrav
>> >erser.traverseNamedElement(XSDElementTraverser.java:376)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDElementTrav
>> >erser.traverseGlobal(XSDElementTraverser.java:248)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.tra
>> >verseSchemas(XSDHandler.java:1081)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.par
>> >seSchema(XSDHandler.java:481)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchem
>> >a(XMLSchemaLoader.java:556)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSc
>> >hemaGrammar(XMLSchemaValidator.java:2459)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handle
>> >StartElement(XMLSchemaValidator.java:1807)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startE
>> >lement(XMLSchemaValidator.java:705)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.sca
>> >nStartElement(XMLNSDocumentScannerImpl.java:330)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm
>> >pl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.
>> >java:1693)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerIm
>> >pl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
>> >XML11Configuration.java:834)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(
>> >XML11Configuration.java:764)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser
>> >.java:148)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser
>> >.java:250)
>> >
>> > at
>> > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Do
>> >cumentBuilderImpl.java:292)
>> >
>> > at
>> > org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocu
>> >ment(DefaultDocumentLoader.java:76)
>> >
>> > at
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoad
>> >BeanDefinitions(XmlBeanDefinitionReader.java:388)
>> >
>> > at
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
>> >anDefinitions(XmlBeanDefinitionReader.java:340)
>> >
>> > at
>> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBe
>> >anDefinitions(XmlBeanDefinitionReader.java:317)
>> >
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>> >er.loadBeanDefinitions(AbstractBeanDefinitionReader.java:125)
>> >
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>> >er.loadBeanDefinitions(AbstractBeanDefinitionReader.java:141)
>> >
>> > at
>> > org.springframework.beans.factory.support.AbstractBeanDefinitionRead
>> >er.loadBeanDefinitions(AbstractBeanDefinitionReader.java:167)
>> >
>> > at
>> > org.springframework.context.support.AbstractXmlApplicationContext.lo
>> >adBeanDefinitions(AbstractXmlApplicationContext.java:113)
>> >
>> > at
>> > org.springframework.context.support.AbstractXmlApplicationContext.lo
>> >adBeanDefinitions(AbstractXmlApplicationContext.java:79)
>> >
>> > at
>> > org.springframework.context.support.AbstractRefreshableApplicationCo
>> >ntext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:9
>> >4)
>> >
>> > at
>> > org.springframework.context.support.AbstractApplicationContext.refre
>> >sh(AbstractApplicationContext.java:292)
>> >
>> > at
>> > org.springframework.context.support.ClassPathXmlApplicationContext.<
>> >init>(ClassPathXmlApplicationContext.java:92)
>> >
>> > at
>> > org.springframework.context.support.ClassPathXmlApplicationContext.<
>> >init>(ClassPathXmlApplicationContext.java:77)
>> >
>> > at
>> > com.daon.ws.de.identitymanagement.junit.AbstractIdentityManagementTe
>> >st.setUpBeforeClass(AbstractIdentityManagementTest.java:66)
>> >
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> > Method)
>> >
>> > at
>> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
>> >.java:39)
>> >
>> > at
>> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
>> >ssorImpl.java:25)
>> >
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> >
>> > at
>> > org.junit.internal.runners.ClassRoadie.runBefores(ClassRoadie.java:4
>> >9)
>> >
>> > at
>> > org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java
>> >:36)
>> >
>> > at
>> > org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.j
>> >ava:42)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit
>> >4TestReference.java:38)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecutio
>> >n.java:38)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remo
>> >teTestRunner.java:460)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remo
>> >teTestRunner.java:673)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTes
>> >tRunner.java:386)
>> >
>> > at
>> > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTe
>> >stRunner.java:196)
>
>
>
> --
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727 C: 508-380-7194
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
>
>
--
View this message in context:
http://www.nabble.com/cannot-resolve-wsdl%3AtExtensibilityElement-tf4765997.html#a13633981
Sent from the cxf-user mailing list archive at Nabble.com.