File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Soap Logging in Axis Tool

 
sumeet sumeet
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic