Thanks Glen and Bin.
My question was more around where does CXF get the host and the port
from. After looking at the code it seems to be it gets it from the
incoming request which is uses as its base uri:
String baseUri = (String)message.get(Message.REQUEST_URL);
Cheers
Rouble
On Wed, Nov 28, 2012 at 9:44 PM, Bin Zhu <[email protected]> wrote:
> In org.apache.cxf.frontend.WSDLGetUtils, there is a updateDoc method which
> is used to update the WSDL including the soap address location.
>
> 2012/11/29 Glen Mazza <[email protected]>
>
>> Note #2 shows the algorithm: http://www.jroller.com/gmazza/**
>> entry/web_service_tutorial#**notes<http://www.jroller.com/gmazza/entry/web_service_tutorial#notes>
>> .
>>
>> Glen
>>
>>
>> On 11/28/2012 01:16 PM, rouble wrote:
>>
>>> CXF Gurus,
>>>
>>> I want to override the endpoint location, but I still want to keep the
>>> host and port information. For example if the endpoint location by
>>> default is:
>>> https://example.com:1234/some/**path <https://example.com:1234/some/path>
>>>
>>> I want to change it to:
>>> https://example.com:1234/some/**other/path<https://example.com:1234/some/other/path>
>>>
>>> I can't find the code where CXF builds the host and port part. Can
>>> someone more familiar with the code than me show me where it is?
>>>
>>> tia,
>>> rouble
>>>
>>
>>
>> --
>> Glen Mazza
>> Talend Community Coders - coders.talend.com
>> blog: www.jroller.com/gmazza
>>
>>