Hi,

Yeah, it's possible, as long as your address start with /, which means it will use http-osgi transport(http osgi service provided by paxweb).

Generally the port conflict only comes from your address is like http://localhost:8181/blabla ..., which means will use http-jetty transport. But from your configuration it's not this case, which CXF version you are using? Double check ensure you're not use http-jetty transport.
Freeman
On 2012-6-26, at 上午3:24, Vestal, Rick wrote:

Hi all,

Is it possible to bind a jaxrs:server definition in a blueprint file to the default karaf http service?

e.g. whenever I do something like the example below, it fails due to a port conflict with the default service.

<jaxrs:server id="myREST" address="/${archiveRestPath}">
        <jaxrs:serviceBeans>
            <ref component-id="mybean"/>
        </jaxrs:serviceBeans>
</jaxrs:server>


If so, is it possible to even further extend the default service with providers and interceptors?

Thanks,

-- Rick

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042










Reply via email to