Alexey

If the client is set to use Synapse as an HTTP proxy, then the full
URL comes in. Otherwise you have to create it from other information.

Paul

On Fri, Jul 18, 2008 at 3:50 AM, Alexey Ousov <[EMAIL PROTECTED]> wrote:
> Hello Asankha
>>
>> Hi Alexy
>>>
>>> I need to examine full URL which is requested from synapse, but
>>> unfortunately get-property('To') returns only path "/te/processes/ViewUser".
>>
>> Use get-property('axis2', 'TransportInURL') which will give you the full
>> URL path from the request
>>
>> You can also combine this with get-property('transport', 'Host') to get
>> the http 'Host' header, which will contain the server hostname and port for
>> HTTP 1.1 requests
>
> I've done some debugging and determined, that it is Axis2 itself doesn't
> give full URL, it stores only <path> part which came with HTTP request "POST
> <path>". So there is no way to determine full URL, the only opportunities
> are: use 2 different synapse servers, use Axis2 on Tomcat (Tomcat engine
> constructs full URL) or rely on HTTP 1.1 "Host" header. Probably I will
> choose first one.
>
> Regards,
> Alexey Ousov.
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to