From: Raymond O'Connor Date: 2007-07-24T05:43:44+09:00 Subject: Re: see raw xml in soap4r Hi Thanks for the response, is there a way to turn it on after the request? I don't want to log every request/response as this program makes tens of thousands of requests daily. Is there a way just to see the request/response if an error occurred? thanks, Ray NAKAMURA, Hiroshi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Raymond O'Connor wrote: >> Is there any way with soap4r to see the raw xml of the response without >> turning on the debug mode? > > aDriver.wiredump_dev = STDERR > > dumps request/response wiredump to STDERR. > > aDriver.wiredump_dev = str = '' > [...] > aLogger.info(str) > > dumps it to a logfile. > > aDriver.wiredump_file_base = "/home/nahi/tmp/foo" > > writes request/response wiredumps as a specified file. > > // NaHi > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.1 (Cygwin) > > iQEVAwUBRqL0Fh9L2jg5EEGlAQKt5wgAjRyPaGkqb8OET7MPmu7DYGrG/3nAL8tO > 1p3a7QEhbGIHkTV6hoEnCmFYPIX+u40RhdYxK/qhgLlfbhJXM3ylZyA6GfHn9GWx > eL/Y7i8UhKs6fdcS9eTt0cin8gUUtQVVOt0yHsjEdQC7tI7ljFnRbMQ/wP/1e9Ll > CLcEfBTxYQIl7JlDzvojPQLRVgC+fTvSyth4bPwmt6itKULOXHsThaS4Hq4g9xij > wpmXgFdYJGGG8pBcoHOfsaA21y4JIaMcYxhPC+udDWxYwc6QoNITivuTFmBoHISn > ynpDSxJtvS9Kh7JBm7V19AckJLa+CnGjVNx4NWoEKe7FPN1CKUeLwg== > =Mw/Q > -----END PGP SIGNATURE----- -- Posted via http://www.ruby-forum.com/.