This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Soap Logging in Axis Tool

 
sumeet sumeet
Greenhorn
Posts: 12
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic