camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: Camel CXF Endpoint creating incomplete WSDL?
Date Fri, 29 Jul 2011 14:23:17 GMT
Can you create a JIRA and submit a simple test case with it ?
It's strange, I don't think camel-cxf code can effect the WSDL generation.


On 7/29/11 7:39 PM, inliner683@gmx.de wrote:
> I am using explicit dependencies in the POM for CXF and use version 2.4.1.
>
> I inspected the WEB-INF/lib folder and in both cases, using camel
> 2.7.2 or 2.8.0 I have only the CXF 2.4.1 jars deployed.
>
> I think it is not related to version clashes, since 2.8.0 by default
> uses CXF 2.4.1.
>
> I did an even more interesting test: I deploy at the same time a
> Camel CXF Endpoint and a JAX WS endpoint of the very same class:
>
> <cxf:cxfEndpoint id="camelEndpoint"  address="/camel" serviceClass="com.test.SomeClass"
 />
>
> <jaxws:endpoint id="cxfEndpoint" address="/cxf" implementor="com.test.SomeClass" />
>
> The WSDL at the cxf URL is correct, the Camel one not, so this makes
> sure that the very same JARs produce the error, and it must be some handling related
to the Camel endpoint.
>
> With Camel 2.7.2 none of these issues occur.
>
>
> -------- Original-Nachricht --------
>> Datum: Fri, 29 Jul 2011 19:18:35 +0800
>> Von: Willem Jiang<willem.jiang@gmail.com>
>> An: users@camel.apache.org
>> Betreff: Re: Camel CXF Endpoint creating incomplete WSDL?
>
>> Can you compare the mvn dependency:tree difference between using Camel
>> 2.7.2 and Camel 2.8.0?
>> It could relate to some ws annotation jars.
>>
>> On Fri Jul 29 18:58:41 2011, inliner683@gmx.de wrote:
>>> I use latest Camel version 2.8 and CXF 2.4.1
>>>
>>> I don't use OSGi, but deploy Camel into Tomcat.
>>>
>>> I know that Camel delegates to CXF and I am using the same versions,
>>> which is even more confusing.
>>>
>>> Moreover, I discovered the following:
>>>
>>> If I use the very same code and just change in the pom.xml from Camel
>> 2.8.0
>>> to 2.7.2 the WSDL is correct! I have the CXF dependencies explicitly in
>> my
>>> POM pointing to 2.4.1 an I don't change these.
>>>
>>> So could anyone please verify, for me this might be a hint for a bug
>>> in version 2.8.0
>>>
>>> Thx.
>>>
>>> <quote author="Willem.Jiang">
>>> Which version of CXF are you using?
>>> Do you use camel inside of Karaf or other OSGi container ?
>>>
>>> camel-cxf is delegate the WSDL generation to CXF, so there should no
>>> difference between the generated wsdl of camel-cxf and CXF, if you are
>>> using same version of CXF.
>>> </quote>
>>
>>
>> --
>> Willem
>> ----------------------------------
>> FuseSource
>> Web: http://www.fusesource.com
>> Blog:    http://willemjiang.blogspot.com (English)
>>            http://jnn.javaeye.com (Chinese)
>> Twitter: willemjiang
>> Weibo: willemjiang
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Mime
View raw message