axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: pass by reference in Axis
Date Tue, 02 Apr 2002 08:22:03 GMT

----- Original Message -----
From: "Evan Jehu" <evan@codepit.ca>
To: "axis user mailing list" <axis-user@xml.apache.org>
Sent: Monday, April 01, 2002 8:13 PM
Subject: pass by reference in Axis


> Is it possible to pass a remote reference using SOAP and Axis?  I would
like
> to establish a publisher-subscriber style relationship between a client
> (which implements a listener interface) and an Axis web service.
>
> I have created the web service class, event class (Serializable) and event
> listener interface (modeled on SWING) but WSDL2Java creates a class for
the
> listener interface when I really need to pass a reference to the client
for
> the service to call when events occur.
>
> Also is it possible to operate in the other direction, could a web service
> create a new object which it passes as a remote reference to the client
and
> if so how could you do it?

do you meant that you want to do callbacks from a SOAP service to the
client?

If that is the case there is no easy solution at all, not one that works
over HTTP and through firewalls and things. You need polling, or different
transports like STMP somewhere in the solution.



Mime
View raw message