Hi,
        Thank you guys for answering for questions. Does anyone know if
there is a SOAP base chat (chat relay) program out there? If the answer
is "no", does anyone know what it takes to implement one?

Thanks,
Hongda



-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 07, 2002 7:33 PM
To: [EMAIL PROTECTED]
Subject: Re: Question: Does SOAP support call-back?

In theory, establishing connections and keeping them alive is possible.
In
practice, this would take some maneuvering to work with HTTP as the
transport.  Since Apache SOAP uses HTTP 1.0, you can only send one
request/response on any connection.

My larger question is why you want to create this tortured design?  SOAP
was
not designed for such a scenario, whereas something like RMI was.

Scott Nichol

----- Original Message -----
From: "Hongda Lin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 07, 2002 3:31 PM
Subject: RE: Question: Does SOAP support call-back?


Hi,
As you said: " The "callback" is then accomplished by making the
appropriate SOAP method call to that URL.". In this case, the client
must meet all the SOAP server-side requirements(primarily setup and have
a web server running). Since server-side installation for SOAP isn't
really user friendly, most clients would have problems setting it up,
which makes deployment very difficult.
Can two clients established connections with server and keep
those two connections alive? If they can, which means server should be
able to send anything to any one of them, right?
Basically, can the following scenario be achieved?
1. Two clients established connections with server(and
keep them alive).
  2. Client A sends a request to the server and wants the
server to send the result to client B.
3. Server gets the request from client A, finishes it
then send the result to client B.


Thank you,
Hongda


-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 07, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Question: Does SOAP support call-back?

I presume you accomplish the callback in RMI by passing a reference to
the
calling object to some method.  When the caller is a Remote object, RMI
marshalling passes as the reference information about how to call the
object, such as an endpoint and object id.

SOAP does not itself support a call-by-reference.  There is no standard
way
to pass a reference to an object in a SOAP call.  Of course, you could
pass
the endpoint URL (and possibly SOAP-Action and/or some object id of the
particular instance that must be notified) to effectively send a
reference.
The "callback" is then accomplished by making the appropriate SOAP
method
call to that URL.

Scott Nichol

----- Original Message -----
From: "Hongda Lin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 07, 2002 10:49
Subject: RE: Question: Does SOAP support call-back?


Hi,
Thank you for answering my question, Scott. I do notice that
SOAP requires Java mail and SOAP has its own messaging service. Does it
mean it supports call back of some sort?
Let's say I want the client to send in a request for a complex
computation. Since the computation normal takes hours sometimes days, is
there a way I can send it the request then disconnect (without leaving a
thread running on the client side waiting forever for the server's
response), when the server finishes the computation it calls back to the
client to return the result? (This is how RMI callback works)

Thank you.

Hongda



-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Question: Does SOAP support call-back?

It does not support call back in a way like RMI.

SOAP lacks many capabilities that RMI has.  The SOAP 1.1 spec lists in
Design Goals the following things that SOAP does *not* do:

  a.. Distributed garbage collection
  b.. Boxcarring or batching of messages
  c.. Objects-by-reference (which requires distributed garbage
collection)
  d.. Activation (which requires objects-by-reference)
Scott Nichol

----- Original Message -----
From: "Hongda Lin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 9:08 AM
Subject: Question: Does SOAP support call-back?


Hi,

            I am trying to switch from JAVA RMI to SOAP. Does SOAP
support call-back? If it does, how? Thank you.






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to