So when you are working with web services it is very helpful to see the request and responses between your code and the web service. Thankfully with Java Axis this can accomplished using the client-config.wsdd file. This can be tough at times as you have to drop the file in the right location. The hard part is to find the "working directory" of your application. This can change from OS to OS so first lets find the working directory. If you run the code below it will output the folder where you need to drop the client-config.wsdd into.
variables.fileObject = createObject("java","java.io.File");
variables.directory = variables.fileObject.init("");
WriteOutput("Working Directory: " & variables.fileObject.getAbsolutePath());
Once you have your folder location take the code below and put it into that folder
Save this file as "client-config.wsdd" in the working directory
of your Axis client. Axis will load it automatically. The
configuration here tells Axis to save all incoming and outgoing
XML into a file named "axis.log"
<deployment 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"/>
<transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
On my Mac I ended up placing the file in my user folder "/Users/john.blayter/" and on my Windows 2008 Server I ended up placing this in my "C:\Program Files\Apache Software Foundation\Tomcat 7.0"