cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Possible to access resources in a jaxrs:server started from CXFServlet with local transport?
Date Sun, 04 May 2014 16:39:57 GMT
Hi


On 03/05/14 09:03, Rice Yeh wrote:
> Hi,
>    Is it possible to access resources in a jaxrs:server which started from
> CXFServlet with local transport like what is described in
> https://cwiki.apache.org/confluence/display/CXF20DOC/JAXRS+Testing, where
> the jaxrs:server is started with local protocol. I have this need because I
> need to touch some resources before a request has come in. The biggest
> problem for me is that I do not know the port the web server is listening
> on, so I cannot use java.net.URL("http://localhost:...) connect to the
> server itself.

So you have say one HTTP jaxrs:server and one Local Transport jaxrs: 
server and would like to invoke the former from the latter ?
Or do you have multiple HTTP jaxrs server endpoints and would like to 
use a local transport for communicating between these 2 endpoints ?

Cheers, Sergey

>
> Rice
>


Mime
View raw message