If you really need a handshake, I think you are right to take the
approach of having your service expose that functionality.

Scott Nichol

----- Original Message -----
From: "Wyn Easton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 07, 2002 5:34 PM
Subject: Re: Catching a comm error


> I guess I better have a method exposed on my web
> service that the client can call to ask about previous
> requests or maybe retry the same request X times
> before giving up. Anyway, I'll need to do something on
> the client end. At least the client will get a SOAP
> Fault indicating some sort of error happened. Thanks.
>
> --- Scott Nichol <[EMAIL PROTECTED]> wrote:
> > There is no way for the service to know that a
> > particular response has
> > been successfully returned to the client.
> >
> > Note that even if the servlet writes all the output
> > to the response
> > stream without error, it cannot be certain that the
> > client application
> > receives it.  In fact, I doubt you can even be sure
> > that the data has
> > made it past the Web server.  The stream the servlet
> > writes to is
> > presumably read by the Web server, which in turn
> > writes to the client
> > (or, for that matter, some proxy the client request
> > has passed through).
> > Further, the lack of an error may not even mean the
> > Web server has
> > received the data.  It probably just indicates that
> > the TCP/IP stack has
> > received the data on behalf of the Web server.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Wyn Easton" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, October 07, 2002 4:21 PM
> > Subject: Catching a comm error
> >
> >
> > > Hello:
> > >
> > > This has probably been answered before. If there
> > is
> > > something in an archive, please point me there and
> > > I'll read it.
> > >
> > > I was wondering what happens if the SOAP response
> > > never gets back to the client that invoked the
> > SOAP
> > > Call. In other words, the Java method that the
> > SOAP
> > > RPC router called returns, but the SOAP servlet
> > never
> > > gets to send the reply to the client. The client
> > would
> > > get a SOAP Fault, but does the service somehow get
> > > informed that the client never got what was
> > intended
> > > to be returned? Can the web service register with
> > the
> > > SOAP servlet to be informed when the reply was not
> > > returned to the client.
> > > Thanks for your input.
> > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Faith Hill - Exclusive Performances, Videos & More
> > > http://faith.yahoo.com
> > >
> > > --
> > > 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]>
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
> --
> 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