---------- Forwarded message ----------
From: Eran Chinthaka <[EMAIL PROTECTED]>
Date: Wed, Sep 10, 2008 at 7:48 PM
Subject: Re: Log SOAP Message with HTTP
To: [EMAIL PROTECTED]


If you want to just view the messages, then use TCP monitor.

But if you want to log them within Axis2 engine, then follow this[1] to
write a module to print SOAP message. Then inside the handler class add
following line of code to get HTTP headers.

TransportHeaders headers =
msgContext.getProperty(MessageContext.TRANSPORT_HEADERS);

TransportHeaders class is a map, with <String, String>. So treat it as a map
and print it.

HTH.
Chinthaka

[1] : http://ws.apache.org/axis2/1_1/modules.html


On Wed, Sep 10, 2008 at 9:13 AM, Bartolomeo Nicolotti
<[EMAIL PROTECTED]>wrote:

> Hi,
>
> how can I log the SOAP Message sent by axis2 with HTTP headers?
>
> Many thanks in advance.
>
> Regards. B.Nicolotti
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
With Mettha,
Eran Chinthaka

--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth; trusting is
the best relationship; nirvana is the highest joy. - Dhammapada



-- 
With Mettha,
Eran Chinthaka

--------------------------------------------------------------------
Health is the greatest gift; contentment is the greatest wealth; trusting is
the best relationship; nirvana is the highest joy. - Dhammapada

Reply via email to