cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Pas <marco.paso...@gmail.com>
Subject Re: Able to log SOAP request and response but how to combine the input/output?
Date Tue, 21 Aug 2012 08:29:10 GMT
Looks like this could be a solution indeed. Anyone willing to share
some example on how to use MessageExhange en get the input / output ?

2012/8/21 Freeman Fang <freeman.fang@gmail.com>:
> Hi,
>
> I think you can save incoming message(as a String) into MessageExchange, so that  you
can easily print it out when you print out outgoing xml.
>
> Freeman
> -------------
> Freeman Fang
>
> FuseSource
> Email:ffang@fusesource.com
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
> On 2012-8-21, at 下午3:16, Marco Pas wrote:
>
>> Hi there i am able to log input and output but i want to combine the
>> incoming and outgoing xml so i can easily see the combined result?
>> This would eliminate the task of manually digging out a log file.
>>
>> Trying to accomplish this i have implemented 2 interceptors wich get
>> the xml but i see now way to relate the outgoing xml to the incoming
>> xml.
>>
>> Any hints or tips are welcome!
>

Mime
View raw message