aspose 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 Java 8 in Action this week in the Java 8 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 executed on name Matching.......
Handler not invoked at Client side
Axis webservice
beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl
Need to configure multiple log files for axis client soap requests.