users@jax-rpc.java.net

RE: Handlers

From: Sels Wannes <Wannes.Sels_at_cronos.be>
Date: Thu, 24 Feb 2005 11:18:07 +0100

I can get the SOAPMessage out of the MessageContext, and read the
reply-to address. The problem is that not the handler but the
implemenation class needs the address to reply to the caller. How can I
pass the address from the handler to the implementation class?

 

Regards,

 

Wannes Sels

________________________________

From: Rinesh Agnihotri [mailto:ragnihotri_at_seebeyond.com]
Sent: donderdag 24 februari 2005 10:34
To: users_at_jax-rpc.dev.java.net
Subject: RE: Handlers

 

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