You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Glen Daniels <gd...@macromedia.com> on 2001/08/28 05:12:45 UTC

Obivous use-case which we haven't really covered yet

So I've just been thinking about a use-case where the server sends a header
back to the client, where assumedly we have some Handler deployed to read
the header, do something with the data... and then what?

On the server, we have the option to pass the MessageContext into the
service if it wants it - we need something similar so the client can utilize
extensions.  I can see at least two ways to do this - 1) the client puts
some data structures or callback references into the MessageContext, and
then deployed Handlers on the client side can fill in data or call back as
appropriate.  2) we deliver the final MessageContext back to the
ServiceClient, and make it available to the caller.

(1) works now, but takes some effort.  (2) would be easy for us to add.  Any
objections to doing so?  (the only potential problem I see is if the
MessageContext gets reused and someone external to the ServiceClient has
kept a reference to it... but that's easy enough to avoid)

--G