For logging with interceptors:
http://cwiki.apache.org/CXF20DOC/debugging.html (usually faster with CXF,
but interceptors are not portable to GlassFish Metro)

For logging with JAX-WS handlers:   (probably slower but portable to Metro)
http://www.jroller.com/gmazza/entry/adding_jax_ws_handlers_to

HTH,
Glen


Benson Margulies-4 wrote:
> 
> Read the source of the logging interceptors, I'd suggest.
> 
> On Tue, Oct 7, 2008 at 12:56 AM, Jinyuan Zhou
> <[EMAIL PROTECTED]>wrote:
> 
>> To log soap message, you can use Handler. There should be plenty of
>> examples
>> on the web to show how to use do it.
>> Jack
>>
>> On Mon, Oct 6, 2008 at 9:12 PM, Joshua Partogi <[EMAIL PROTECTED]
>> >wrote:
>>
>> > Dear all,
>> >
>> > I am currently using CXF with JAX-WS. Is it possible for me to get the
>> > SOAP message generated by CXF/JAX-WS from the Java file? because we
>> > need to log down every SOAP message that is generated by the API. If
>> > so is there any resources for me to read regarding this?
>> >
>> > Thanks in advance
>> >
>> > --
>> > Read my blog: http://joshuajava.wordpress.com/
>> > Follow me on twitter: http://twitter.com/jpartogi
>> >
>>
>>
>>
>> --
>>
>> Some people lived like they will never die
>> and died like they have never lived
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Getting-the-SOAP-message-from-the-Java-file-tp19850739p19857108.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to