Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by CyrilleLeClerc: http://wiki.apache.org/ws/FrontPage/Axis/AxisClientConfiguration/ViewSOAPMessages New page: = How To display SOAP Messages in Axis Client = You have to enable the {{{org.apache.axis.handlers.LogHandler}}} declaring this handler in the client-config.wsdd configuration file. Notes : * client-config.wsdd must be dropped at the root of the classpath (e.g. under WEB-INF/classes) * Log``Handler.write``To``Console seems broken in Axis 1.3 (see [http://issues.apache.org/jira/browse/AXIS-2455 AXIS-2455]) ||'''Parameter'''||'''Description'''||'''Optional'''||'''Default Value'''|| || {{{LogHandler.writeToConsole}}} || If {{{true}}}, output SOAP messages in the console ; otherwise, output in a file. || yes || {{{false}}} || || {{{LogHandler.fileName}}} || Specifies the name of the output file when {{{LogHandler.writeToConsole}}} is false || yes || {{{axis.log}}} || Sample of attachment:client-config.wsdd : {{{ <?xml version="1.0" encoding="UTF-8"?> <deployment name="defaultClientConfig" xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <handler name="log" type="java:org.apache.axis.handlers.LogHandler"> <parameter name="LogHandler.fileName" value="/tmp/axis.log" /> </handler> <globalConfiguration> <parameter name="disablePrettyXML" value="false" /> <requestFlow> <handler type="log" /> </requestFlow> <responseFlow> <handler type="log" /> </responseFlow> </globalConfiguration> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender" /> <transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender" /> <transport name="java" pivot="java:org.apache.axis.transport.java.JavaSender" /> </deployment> }}}
