On Tue, 2 Apr 2002, Steve Loughran wrote:

> > 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.

Couldn't he accomplish what he needs to do by passing to the server
the fully qualified domain name + the port he would be listening on?

--
Jim Dixon  [EMAIL PROTECTED]   tel +44 117 982 0786  mobile +44 797 373 7881
---------- THAT'S A CHANGE OF ADDRESS: I'm no longer [EMAIL PROTECTED] --------

Reply via email to