Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-18 Thread Marco Zapletal
Hi Willem, thanks for the solution. For the moment, I had to step back to 2.5/2.2.11, but I will try your fix next week. On 17.11.2010 14:32, Willem Jiang wrote: Hi Marco, I played with your test case and found something interesting, The issue is related to CXF bus initiation. I managed to

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-17 Thread Willem Jiang
Hi Marco, I played with your test case and found something interesting, The issue is related to CXF bus initiation. I managed to run the test with CXF 2.3.0 by changing the camel-conf-test.xml like this It looks like cxf.xml can't load the bus with the lazy-init components

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-14 Thread Willem Jiang
I can't see any strange CXF bus setting from your configuration, So there must be some change in CXF 2.3.0 cause this issue. It's hard to trace the error without a test case :( On 11/12/10 7:21 PM, Marco Zapletal wrote: sure. this is a condensed version of one of my tests http://pastebin.com/3

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-12 Thread Marco Zapletal
sure. this is a condensed version of one of my tests http://pastebin.com/3u7q84ES this is the camel-config.xml file. http://pastebin.com/1UhDV7rw It is referenced from my JunitSpringConfig, which is a Spring JavaConfig @Configuration instance. I am using the latest snapshots of Camel 2.6-SN

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-12 Thread Willem Jiang
Can I have a look at your Junit tests code? I just want to asked the same thing in the CXF mailing list. On 11/12/10 6:05 PM, Marco Zapletal wrote: Just something I wanted to add. The patch is working and when deploying my camel/cxf app to tomcat everything goes fine (the services are deployed

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-12 Thread Marco Zapletal
Just something I wanted to add. The patch is working and when deploying my camel/cxf app to tomcat everything goes fine (the services are deployed and the schemas are appropriately referenced). however, when running my Junit tests with CXF 2.6-SNAPSHOT and CXF 2.3.0, I am getting NPEs as descr

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-11 Thread Willem Jiang
Thanks for your report, it good to know the patch is working :) On 11/11/10 10:05 PM, Marco Zapletal wrote: Hi, using 2.6-SNAPSHOT together with CXF 2.3.0 seems to work fine. thanks. On 10.11.2010 09:11, Willem Jiang wrote: Hi, Current camel-cxf is using CXF 2.3.0. It should be better if y

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-11 Thread Marco Zapletal
Hi, using 2.6-SNAPSHOT together with CXF 2.3.0 seems to work fine. thanks. On 10.11.2010 09:11, Willem Jiang wrote: Hi, Current camel-cxf is using CXF 2.3.0. It should be better if you try to run the test with CXF 2.3.0. If you can't use CXF 2.3.0, please make sure you are using CXF 2.2.11, a

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-10 Thread Willem Jiang
Hi, Current camel-cxf is using CXF 2.3.0. It should be better if you try to run the test with CXF 2.3.0. If you can't use CXF 2.3.0, please make sure you are using CXF 2.2.11, and there is no other version of CXF in you classpath. On 11/9/10 10:40 PM, Marco Zapletal wrote: Hi, I am having

Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-09 Thread Marco Zapletal
Hi, I am having again problems with the maven snapshot repo, which prevents me to try it with CXF 2.3.0. Below you see which versions of the camel jars are downloaded today for 2.6-SNAPSHOT using the -U or even after purging the 2.6-SNAPSHOT from my local repo: o org.apache.camel:cam

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Willem Jiang
Hi, Just one more thing, current camel-cxf is using CXF 2.3.0 now. Please make sure there is no other version of CXF in your class. On 11/9/10 8:53 AM, Willem Jiang wrote: Hi Marco, The schemaLocation is passed to the ServiceFactoryBean. Can you send me a simple test case of this issue ? So I

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Willem Jiang
Hi Marco, The schemaLocation is passed to the ServiceFactoryBean. Can you send me a simple test case of this issue ? So I can dig the issue shortly. On 11/8/10 10:59 PM, Marco Zapletal wrote: I have checked out the latest snapshots now. The exception is gone, however, the generated WSDL does

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Marco Zapletal
I have checked out the latest snapshots now. The exception is gone, however, the generated WSDL does not reference the schema given in the schemaLocation. My schemaLocation definition corresponds to the example given by Willem. The only output I get from the log files is as follows: INFO:Bea

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Claus Ibsen
On Mon, Nov 8, 2010 at 11:13 AM, Marco Zapletal wrote: > Hi, > > > thanks for providing such a quick fix. I switched from 2.5 to 2.6-SNAPSHOT, > but it seems that the snapshots jar's haven't been built since 2010/11/02. > > https://repository.apache.org/content/repositories/snapshots/org/apache/ca

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-08 Thread Marco Zapletal
Hi, thanks for providing such a quick fix. I switched from 2.5 to 2.6-SNAPSHOT, but it seems that the snapshots jar's haven't been built since 2010/11/02. https://repository.apache.org/content/repositories/snapshots/org/apache/camel/camel-cxf/2.6-SNAPSHOT/ regards, marco On 07.11.2010 12

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-07 Thread Willem Jiang
On 11/7/10 5:09 PM, Claus Ibsen wrote: On Sun, Nov 7, 2010 at 5:24 AM, Willem Jiang wrote: I just checked the code of camel-cxf, it doesn't support to take the schemaLocation, so I create a JIRA[1] for it and will work on quick fix for it shortly. [1]https://issues.apache.org/activemq/browse/C

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-07 Thread Willem Jiang
Hi, I just committed a fix into camel trunk, please check out the latest Camel 2.6-SNAPSHOT for verification. BTW, the right configuration of schemaLocations is like below. http://localhost:9000/router"; serviceClass="org.apache.camel.component.cxf.HelloService"> classpath:wsd

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-07 Thread Claus Ibsen
On Sun, Nov 7, 2010 at 5:24 AM, Willem Jiang wrote: > I just checked the code of camel-cxf, it doesn't support to take the > schemaLocation, so I create a JIRA[1] for it and will work on quick fix for > it shortly. > > [1]https://issues.apache.org/activemq/browse/CAMEL-3319 > Willem can you doubl

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-07 Thread Marco Zapletal
Thanks for that quick reaction. Am 07.11.2010 05:24, schrieb Willem Jiang: I just checked the code of camel-cxf, it doesn't support to take the schemaLocation, so I create a JIRA[1] for it and will work on quick fix for it shortly. [1]https://issues.apache.org/activemq/browse/CAMEL-3319 On 11/

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Willem Jiang
I just checked the code of camel-cxf, it doesn't support to take the schemaLocation, so I create a JIRA[1] for it and will work on quick fix for it shortly. [1]https://issues.apache.org/activemq/browse/CAMEL-3319 On 11/7/10 12:53 AM, Marco Zapletal wrote: http://camel.apache.org/schema/cxf i

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Marco Zapletal
http://camel.apache.org/schema/cxf is the namespace, which has http://camel.apache.org/schema/cxf/camel-cxf.xsd defined as its schemaLocation. I've checked the schema, the element is defined there. regards, marco Am 06.11.2010 17:52, schrieb Christian Müller: Which namespace do you use for

Re: camel-cxf: exception when parsing cxf:schemaLocation element

2010-11-06 Thread Christian Müller
Which namespace do you use for the "cxf" prefix? Christian Am 06.11.2010 17:40 schrieb "Marco Zapletal" : Hello, I am defining my CXF services in camel config (using 2.5.0) as follows: classpath:wsdl/Message.xsd When starting my Camel application an exception as show