That fixed it! For those interested, my error was quite subtle. I originally had: http://camel.apache.org/schema/cxf/camel-cxf-1.6.1.xsd .. and it should have been: http://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-1.6.0.xsd
.. so that it was picked up in the classpath by the files that Claus mentioned. Cheers, Dan Claus Ibsen-2 wrote: > > On Fri, Aug 7, 2009 at 9:49 AM, Dan Salt<[email protected]> wrote: >> >> Hi :) >> >> Thanks for the quick reply! >> >> My namespace is >> >> xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint" >> ... >> http://activemq.apache.org/camel/schema/cxfEndpoint >> http://camel.apache.org/schema/cxf/camel-cxf-1.6.1.xsd >> >> Which works fine when I have connectivity, but not otherwise. >> > > I suspect its missing in those spring metadata files that lists all > local xsd in the .jar. > > http\://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-1.3.0.xsd=schema/cxfEndpoint.xsd > http\://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-1.4.0.xsd=schema/cxfEndpoint.xsd > http\://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-1.5.0.xsd=schema/cxfEndpoint.xsd > http\://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-1.6.0.xsd=schema/cxfEndpoint.xsd > http\://activemq.apache.org/camel/schema/cxfEndpoint/camel-cxf-${pom.version}.xsd=schema/cxfEndpoint.xsd > > Maybe the release does not parse and insert version info to this file > so we got to do that manually. > > You can try using v1.6.0 instead to see if it works locally. eg just > try change the version in the xml file. > >> Cheers, >> Dan >> >> >> willem.jiang wrote: >>> >>> Hi , >>> >>> Can you show me the namespace and the xsd url that you use ? >>> It will help me to reproduce the error. >>> >>> Willem >>> >>> DanSalt wrote: >>>> Hi, >>>> >>>> I'm using Camel 1.6.1.0 inside Servicemix (packaged as Fuse 4.1.0.2), >>>> and >>>> for some reason my bundle won't start if I am NOT connected to the >>>> internet >>>> (or running on my company VPN, behind a firewall). >>>> >>>> When "offline", it barfs that it doesn't understand "cxf:cxfEndpoint", >>>> which >>>> is located in the XSD file camel-cxf-1.6.1.xsd. >>>> >>>> I always thought that the schema files were classpath'ed locally to >>>> avoid >>>> this - so what import am I missing? >>>> >>>> Or does it REALLY need an internet connection to avoid this? For now I >>>> have >>>> this file manually inserted in my project, which is not really >>>> preferable... >>>> >>>> I would try this in Camel 2.0 (which might have a fix), but this wont >>>> run >>>> inside Servicemix(Fuse ESB) at this time. >>>> >>>> Thanks in advance for the help. >>>> >>>> Cheers, >>>> Dan >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/cxfEndpoint---ServiceMix---Offline-tp24851209p24860418.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > -- View this message in context: http://www.nabble.com/cxfEndpoint---ServiceMix---Offline-tp24851209p24860875.html Sent from the Camel - Users mailing list archive at Nabble.com.
