File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Soap Logging in Axis Tool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Soap Logging in Axis Tool" Watch "Soap Logging in Axis Tool" New topic
Author

Soap Logging in Axis Tool

sumeet sumeet
Greenhorn

Joined: Nov 22, 2008
Posts: 12
Hi,
I have webservice client in my J2EE Web Application and am not sure where to keep the client-config.wsdd file.....under web project folder or WEB_INF or where?
I have the following client-config.wsdd file with LogHandler.writeToConsole as optional(I would prefer writing to console instead of writing to axis.log file)

<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<!-- This config file gets pulled in automatically by Axis. The log handler
entries cause the SOAP request XML and SOAP response XML to be logged
to the axis.log file. This config file is not required. -->

<handler name="log" type="javarg.apache.axis.handlers.LogHandler">
<parameter name="LogHandler.writeToConsole" value="true" />
</handler>

<globalConfiguration>
<requestFlow>
<handler type="log"/>
</requestFlow>
<responseFlow>
<handler type="log"/>
</responseFlow>
</globalConfiguration>

<transport name="http" pivot="javarg.apache.axis.transport.http.HTTPSender"/>

</deployment>

The above code is pretty much standard. The question is where to keep the client-config.wsdd file...under web project folder or WEB_INF or where?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Soap Logging in Axis Tool
 
Similar Threads
Handler not invoked at Client side
Need to configure multiple log files for axis client soap requests.
Axis webservice
beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl
Handler executed on name Matching.......