Thank you. But I tried it.
HttpServletRequest obj
=(HttpServletRequest)msgCtx.getProperty("transport.http.servletRequest");
The obj was null !!
Charitha Kankanamge wrote:
>
> The following [1] will help.
>
> [1]
> http://charithaka.blogspot.com/2008/07/how-to-access-http-headers-from-axis2.html
>
> /Charitha
>
>
>
> On Wed, Feb 1, 2012 at 4:50 PM, emna <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I'm using axis2 as SOAP engine, and Tomcat as a container for Web
>> services.
>>
>> I think that redirecting the message from WS1 to WS2 requires
>> modifications
>> both on the SOAP message (the field: "To") and on the http request
>> (headers:
>> POST and HOST) through handlers. But, i couldn't access to the http
>> request
>> over axis2.
>>
>> Please, is there a way to realize this?
>>
>> Thanks,
>>
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Modifying-http-request-from-axis2-tp33242526p33242526.html
>> Sent from the Axis - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
--
View this message in context:
http://old.nabble.com/Modifying-http-request-from-axis2-tp33242526p33242606.html
Sent from the Axis - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]