You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2010/12/01 22:14:02 UTC
Re: How to get/pass a service reference?
Hi
I guess you can get WebServiceContext injected and get a request URI from
HttpServletRequest. You can then return it as is or may be use
W3CEndpointReferenceBuilder to construct an EPR from this URI.
cheers, Sergey
On Wed, Dec 1, 2010 at 8:37 PM, Guy Pardon <gu...@atomikos.com> wrote:
> Hi,
>
> Just wondering: is there an easy and universally supported way of passing a
> reference to a service? I know WS-A EPRs exist, but is that it or am I
> missing something?
>
> If EPR: how can a service in JAX-WS (or CXF if not standardized) get an EPR
> reference to itself?
>
> Thanks
> Guy