System.setProperty("axis.ClientConfigFile", "client-config.wsdd");
 
Where the client-config.wsdd is:
 
<?xml version="1.0" encoding="UTF-8"?>
<deployment name="defaultClientConfig"
   xmlns="http://xml.apache.org/axis/wsdd/"
   xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
 <transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/>
 <transport name="java" pivot="java:org.apache.axis.transport.java.JavaSender"/>
  <globalConfiguration>
    <requestFlow>
       <handler type="java:com.xxx.yyy.MyHandler"/>
    </requestFlow>
    <responseFlow>
       <handler type="java:com.xxx.yyy.MyHandler"/>
    </responseFlow>
 </globalConfiguration>          
</deployment>

-----Original Message-----
From: Dhanush Gopinath [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 2:47 AM
To: [EMAIL PROTECTED]
Subject: Help needed in Handlers

Hi ..
Can Any one help me in registering a Handler at Client side
I need a Step By step example ..
Thanks
Dhanush
----- Original Message -----
Sent: Friday, May 21, 2004 12:24 PM
Subject: Client Side Handlers - How to use it ?

Hi All ,
 
Where can I get a concrete idea of handlers at Client side. I have deployed a Client side Handler. When i invoke the Webservice nothing happens. Searching the net I got that the Transport should be set using the method
 
Call.setTransport(new MyTransport());
 
Now my problem is I have only client stubs.. so I cannot get an object of Call in my clientside code (I dunno whether it is possible .. if possible help me in that too :) )
 
So I tried  this way
 
 stub._setProperty(Call.TRANSPORT_NAME,"MyTransportName"); ...
 
But then I am getting a java.lang.NullPointerException exception...  How it comes i dont know ..
 
Does this method do the same functionality as Call.setTransport() ? 
 
What should i do now  ?? Any helps
Thanks in Advance
Cheers
Dhanush

 
*********************************************************
Disclaimer:        



This message (including any attachments) contains

confidential information intended for a specific

individual and purpose, and is protected by law.

If you are not the intended recipient, you should

delete this message and are hereby notified that

any disclosure, copying, or distribution of this
message, or the taking of any action based on it,

is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

*********************************************************
Disclaimer:         


This message (including any attachments) contains

confidential information intended for a specific

individual and purpose, and is protected by law.

If you are not the intended recipient, you should

delete this message and are hereby notified that

any disclosure, copying, or distribution of this
message, or the taking of any action based on it,

is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Reply via email to