ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Ws Wiki] Update of "FrontPage/Axis/AxisClientConfiguration/ViewSOAPMessages" by CyrilleLeClerc
Date Mon, 03 Apr 2006 16:25:35 GMT
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:

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 [

||'''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"

   <handler name="log"
      <parameter name="LogHandler.fileName" value="/tmp/axis.log" />

      <parameter name="disablePrettyXML" value="false" />
         <handler type="log" />
         <handler type="log" />

   <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="" />

View raw message