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



Reply via email to