Given the WSDD below,  where exactly in the Handler chain is the
com.whatever.YourHandler placed for the request?  Just before the pivot
handler? Somewhere in between?

Thanks,
Charles

-----Original Message-----
From: Allen J. Sherer [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 2:28 PM
To: [EMAIL PROTECTED]
Subject: Re: Adding Client Handlers



You need to specify the handler in a client specific .wsdd file and
reference this file when you start the client.

Here is an example of the client wsdd file:



<?xml version="1.0" encoding="UTF-8"?>
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/";
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

 <!-- The GlobalConfiguration element is used by the axis client. -->
 <globalConfiguration>
    <requestFlow>
        <handler type="java:com.whatever.YourHandler"/>
    </requestFlow>
    <responseFlow>
        <handler type="java:com.whatever.YourHandler"/>
    </responseFlow>
 </globalConfiguration>

 <transport name="http"
        pivot="java:org.apache.axis.transport.http.HTTPSender"/>
 <transport name="local"
        pivot="java:org.apache.axis.transport.local.LocalSender"/>
</deployment>




and then specify this file as a system property when you start the client
using '-D' as follows:

java   -Dpathtoyourfile  com.whatever.whatever.YourClient

You can also set the system property in your client's main...

Hope this helps
Allan



This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to