axis-java-user mailing list archives

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

----- Original Message -----
From: "Evan Jehu" <>
To: "axis user mailing list" <>
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
> 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
> listener interface when I really need to pass a reference to the client
> 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
> if so how could you do it?

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

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.

View raw message