I did it in this test:

https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jaxws/BookStoreSoapRestImpl.java#L55

and

https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jaxws/BookStoreSoapRestImpl.java#L112

It's injected from this context

https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/resources/jaxrs_soap_rest/WEB-INF/beans.xml#L29

I don't recall right now what the idea behind it was though :-)

Cheers, Sergey

On 17/10/17 11:14, Allan C. wrote:
I find this interesting. Can you share the use cases?

Regards, Allan.

Sent from Gmail mobile.

On 17 Oct 2017 17:24, "MULLER, Anthony" <anthony.mul...@sap.com> wrote:

Hello,

I'm wondering if it's possible, from inside the RESTful service
implementation, to make a RESTful call to itself?

Regards,
Anthony


Reply via email to