cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Clegg" <>
Subject Supplying contextual information to JAX-WS provider services
Date Wed, 24 Sep 2008 16:16:13 GMT
Hello again,

I want to use the same Provider implementation class (payload only) to
provide content for four different services, each of which has the
same WSDL but which lives at a different URL.

This is because the implementations of the underlying services are
actually almost identical (just database lookups with one WHERE
different) but to the outside world they are four distinct services
with a consistent interface.

In order to do this, I need a way to determine which endpoint the
provider was invoked from -- e.g. the endpoint ID, or the raw URL, or
some made-up jaxws:property in cxf-servlet.xml.

Is this possible?  Or is there another way to achieve the same effect?



View raw message