You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dhanush Gopinath <dh...@mahindrabt.com> on 2004/05/21 11:46:56 UTC

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 -----
  From: Dhanush Gopinath
  To: axis-user@ws.apache.org
  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