cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rouble <r.ou...@gmail.com>
Subject Re: How does CXF build the soap address location in the WSDL?
Date Thu, 29 Nov 2012 15:44:26 GMT
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 <luckyzhubin@gmail.com> 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 <gmazza@talend.com>
>
>> 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
>>
>>

Mime
View raw message