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.