cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: use local hostname in publishEndpointUrl
Date Wed, 23 Nov 2011 15:54:58 GMT

The only way I can think to do this is to write an interceptor that would live 
before the WSDLGetInterceptor (assuming CXF 2.5.0) that would calculate a new 
publishEndpointUrl as a string and set that on the message.   In 2.5.0, that 
property is a contextual property and over ridable via interceptors.


On Tuesday, November 22, 2011 6:01:50 PM rouble wrote:
> CXF Gurus,
> I want to specify the url in the code first generated wsdl. I
> understand that the way to do this is using publishEndpointUrl.
> However, publishEndpointUrl hardcodes the entire url. Is there a way
> to just specify just the ending stem of the url, and use the local
> hostname for the beginning part?
> I need this because, I have versioned webservices running at:
> And, I have a service routing/mediating service at:
> This is similar to what is defined here:
> I want the urls in all the wsdls to all point to the
>, this way all the soap clients will be
> generated
> to point to the routing service, and then let the routing service, to
> route the requests appropriately.
> tia,
> rouble
Daniel Kulp -
Talend Community Coder -

View raw message