Hi Freeman,

Thanks for that, but I already tried adding cxf servlet context.

I found the answer for this problem. In case someone else encounters
similar problem.

I trouble shooted it more and it turned out, that probably after
hibernating my laptop, something had happened to Karaf. All my CXF BC
were not listed under /cxf. The /cxf servlet was not working at all,
there was 404 error.

I tried reinstalling cxf feature but there were exceptions thrown.

I tried my service with a brand new installation of SM4. Installed cxf
and cxf-osgi features and everything worked OK.

I remember I had a similar issue with JMS and Geronimo, after
hibernating my laptop, Geronimo's JMS stopped working at all
(reinstallation was required).

hope this helps someone,
Łukasz


On 11 August 2010 17:08, Freeman Fang <[email protected]> wrote:
> Hi,
>
> It should be http://localhost:8181/cxf/PersonServiceCF.
>
> Freeman
> On 2010-8-11, at 下午10:45, Łukasz Budnik wrote:
>
>> All,
>>
>> I'm developing a simple WS and I want to use the code first approach.
>>
>> I have one issue, I'm using the
>> servicemix-osgi-cxf-code-first-archetype achetype. I can build and
>> deploy the bundle to SM4.
>>
>> In osgi:list I see it's started, log:display shows me that the
>> endpoint was set to: /PersonServiceCF (as defined in beans.xml).
>>
>> But it's not... What is the URL of code first WS? I tried googling for
>> the answer but only found a jira about the archetype not working at
>> all in 4.1.0 (SM4-274).
>>
>> I'm not using plain vanilla SM4, I'm using
>> apache-servicemix-4.2.0-fuse-01-00.
>>
>> thanks,
>> Łukasz
>
>
> --
> Freeman Fang
>
> ------------------------
> Open Source SOA: http://fusesource.com
> Apache Servicemix:http://servicemix.apache.org
> Apache Cxf: http://cxf.apache.org
> Apache Karaf: http://karaf.apache.org
> Apache Felix: http://felix.apache.org
>
>

Reply via email to