cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bosschaert <david.bosscha...@gmail.com>
Subject Re: svn commit: r892222 - in /cxf/dosgi/trunk/dsw/cxf-dsw/src: main/java/org/apache/cxf/dosgi/dsw/handlers/ test/java/org/apache/cxf/dosgi/dsw/handlers/
Date Fri, 18 Dec 2009 11:49:44 GMT
Hi Sergey,

2009/12/18 Sergey Beryozkin <sberyozk@progress.com>:
> Hi David
>
>> Author: davidb
>> Date: Fri Dec 18 11:16:42 2009
>> New Revision: 892222
>>
>> URL: http://svn.apache.org/viewvc?rev=892222&view=rev
>> Log:
>> Added support for old way of configuring endpoint location back in. The
>> following properties on the exposed services are now equivalents and can be
>> set to a value such as http://localhost:9876/myService
>>  endpoint.uri
>>  org.apache.cxf.ws.address
>>  osgi.remote.configuration.pojo.address
>> The endpoint.uri is a new property that's introduced in the OSGi Remote
>> Service Admin spec. This is now the standard way to configure the endpoint
>> URI. The old properties are still supported for backward compatibility.
>
> This endpoint.uri property will work JAXRS services as well ?
>
> If we let users have the same OSGI service exposed as SOAP and RESTful
> services, how will it work with this property being used ? Perhaps in this
> latter case org.apache.cxf.ws.address and org.apache.cxf.rs.address
>
> thanks, Sergey

The we haven't refactored the JAX-RS handlers yet, see:
http://old.nabble.com/Re%3A-Migrating-CXF-DOSGi-to-be-complaint-with-the-new-OSGi-Remote--Service-Admin-spec-p26826519.html

But when we get to JAX-RS, it should also support the endpoint.uri property.
If you have a single service that you want to expose through both
using SOAP and REST we could make that possible by letting the user
set org.apache.cxf.rs.address and org.apache.cxf.ws.address, since
there's no overlap with these properties. Would that work for you?

Cheers,

David

Mime
View raw message