users@jax-rpc.java.net

RE: Handlers

From: Rinesh Agnihotri <ragnihotri_at_seebeyond.com>
Date: Thu, 24 Feb 2005 15:03:36 +0530

If you are talking about the server side implementation than you have javax.xml.rpc.handler.MessageContext sent as an argument to handleRequest() of the handler at your disposal.
 
I hope this is what you wanted..
 
cheers mate,
Rinesh Kumar Agnihotri

________________________________

From: Sels Wannes [mailto:Wannes.Sels_at_cronos.be]
Sent: Thu 2/24/2005 1:26 AM
To: users_at_jax-rpc.dev.java.net
Subject: Handlers



Hi All,

 

I'm developing an asynchronous webservice using jax-rpc. In order for me to return a message to the caller I have to get the caller's endpoint url and message id from the soap header (ws-addressing). I know I can do this using a handler. The problem is I have to pass that information to the implementation object.

 

I assume there is no way for the hanlder to get the implementation object, since the handler can decide not to pass on the soap message. So, is it possible for the implementation class to somehow get that information from the handler?

 

Regards,

 

Wannes Sels