You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Celia Berry <ch...@austin.rr.com> on 2003/06/05 17:39:55 UTC

debugging (repost)

Greetings,
I'm new to Axis. I cannot see how to debug print (the full SOAP message as
XML) a request which was formed out of Beans generated by WSL2Java?? I am
trying to inspect the request right before I ship it off to the Service.
 E.g. In my JUnit I have something like::

AA_T aa = new AA_T(); // where AA_T is a Bean from WSDL2Java
aa.setFoo( "xyz" );
dbgLog.debug( "request= " + aa ); // where I would like to see aa as SOAP
AASvc_ServiceLocator ss = ...
...
AA_Response_T rr = port.submitAA( aa );
dbgLog.debug( "response= " + rr ); // again as XML

Is there a way I can do this??
Thanks much,
-- Chris