Hi,
On 30.06.2009, at 20:41, Joel Schuster wrote:
> Great, thanks!
>
> I can't get it to work at all. This actually may be more a question
> then for the CXF people, just let me know. I'm not sure which
> properties to set. Based on what you see on those links I referred
> to, @ServiceProperty is the correct annotation to use, right?
Yes, you can check that your service properties is correctly set with
the Felix shell (services x (bundle id) and check that the service is
provided with the property) or with the webconsole.
Then CXF should detect this property and exposes it as a web service.
>
> Do you know of a single bundle solution that iPojo integrates easily
> with? I'd like to just provide a simple annotation or config
> property and have it just make my service available automatically.
As far as I understand Distributed Service, you should just register
your service with a specific service property. The instance
configuration gives the property value.
>
> Why did you make the decision to write your own?
In fact, it it a former project that I started 3 years ( I used KSOAP
and / or XFIRE) ago when I was in France, and that is still supported
by my former group, and they did a lot of progress. It almost
implements all the Distributed Service specification, and should
become open source soon (under discussion).
Clement
>
> - Joel
>
>> -----Original Message-----
>> From: Bourret Pierre [mailto:
bourretp@...]
>> Sent: Tuesday, June 30, 2009 9:54 AM
>> To:
users@...
>> Subject: Re: iPojo as WebService
>>
>> Hi Joel.
>>
>> I'm daily using iPOJO service as web services. I don't use CXF but a
>> home-made Distributed Service implementation. However, it should be
>> very
>> similar.
>>
>> Feel free to ask me if you encounter any issue.
>>
>> --
>> Pierre Bourret
>>
>>
>> 2009/6/30 Joel Schuster <
joels@...>
>>
>>> I'd like to expose my iPojo as a WebService.
>>>
>>> I'm using the Distributed OSGi single bundle from apache cxf:
>>>
http://cxf.apache.org/distributed-osgi.html>>>
>>> Based on what I read, (
http://cxf.apache.org/dosgi-ds-demo-
>>> page.html)
>>> theoretically I should be able to take a working iPojo based
>>> service and
>> add
>>> add a few @ServiceProperties and deploy a .cfg file with FileInstall
>> bundle:
>>>
>>> osgi.remote.interfaces=*
>>> osgi.remote.configuration.type=pojo
>>>
>> osgi.remote.configuration.pojo.address=
http://localhost:9090/mypojoservice>>>
>>> Has anyone tried this or something similar without having to add the
>>> overhead of going all the way to ServiceMix?
>>>
>>> Any help would be appreciated.
>>>
>>> - Joel
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
users-unsubscribe@...
>>> For additional commands, e-mail:
users-help@...
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...