axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emna <e.mn...@live.fr>
Subject Re: Modifying http request from axis2
Date Wed, 01 Feb 2012 11:40:02 GMT

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 <e.mna87@live.fr> 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: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
> 
> 

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message