On Mon, Nov 15, 2010 at 1:53 AM, Willem Jiang <[email protected]>wrote:

> On 11/12/10 6:51 PM, Stephane Nicoll wrote:
>
>> On Fri, Nov 12, 2010 at 10:43 AM, Willem Jiang<[email protected]
>> >wrote:
>>
>>
>> I don't understand what is happening. I have the http-jetty jar in my
>> classpath and I also explicitely added the following in my spring config
>> file:
>> <import resource="classpath*:/META-INF/cxf/cxf-extension-http-jetty.xml"/>
>>
>> Can we use wildcards for this thing? Maybe I am loading another
>> configuration file that registers the same transportId with another
>> protocol? The imports of my project on CXF are:
>>
>> <import resource="classpath*:META-INF/cxf/cxf-servlet.xml"/>
>>
>
> If you put the cxf-servlet here, The ServletTransportFactory will replace
> all registered transportIds with itself, that could explain why you can't
> find the JettyTransportFactory here.
>
> If you are using the servlet transport, please don't include other http
> related transport.



OK, thanks. Can you please clarify how the CXF spring config file should be
used please? I mean, if there are things that override themselves, it needs
to be known.

I will try this and report the success on the issue I created.

Thanks,
Stéphane

>
>
>  <import resource="classpath*:META-INF/cxf/cxf.xml"/>
>> <import resource="classpath*:META-INF/cxf/cxf-extension-*.xml"/>
>>
>> HTH,
>> S.
>>
>>
>
> --
> Willem
> ----------------------------------
> FuseSource
> Web: http://www.fusesource.com
> Blog:    http://willemjiang.blogspot.com (English)
>         http://jnn.javaeye.com (Chinese)
> Twitter: willemjiang
>

Reply via email to