The use case here was a test platform that simulates web services without a real soap stack or functional implementations of those services. For request-response operations, it builds an http response containing the right headers and soap envelope with content read out of a fixed document in the file system. The question was what should it do for a one-way operation. It was not a question of whether the client had to know. Anne Thomas Manes' answer was just what I needed (as usual -- thanks Anne).
Jeff ----- Original Message ----- From: "Ephemeris Lappis" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, March 18, 2005 11:31 AM Subject: RE: 'response' to one-way operation > Think that the http protocol is just a transport binding for your service. > In the future, another binding should be selected : for the one-way call, an > asynchronous protocol could be a good candidate. Your client code should not > be aware of this technical detail, the same way your client logic should not > depend on the soap choice... > I suppose that if the client soap stack doesn't throw back an error, your > one way request has been successfully processed, and it's just what you need > to known... > Onece more, it's just my opinion ! > > -- > Philippe Maseres > > >>> -----Message d'origine----- > >>> De : Gregory G Carter [mailto:[EMAIL PROTECTED] > >>> Envoye : vendredi 18 mars 2005 20:23 > >>> A : [email protected] > >>> Objet : Re: 'response' to one-way operation > >>> > >>> > >>> I furthermore... > >>> > >>> Is there a map of the response codes you get back from the http > >>> transport session vs the exceptions you get for a soap request. > >>> > >>> I think I could probably answer that one myself by cracking open the > >>> source code...but > >>> > >>> I am lazy at the moment. > >>> > >>> -gc > >>> > >>> Anne Thomas Manes wrote: > >>> > >>> >HTTP is a request/response protocol, so a response is always returned > >>> >to the client -- HTTP 200 OK. No SOAP response is returned, though. > >>> > > >>> > > >>> >On Fri, 18 Mar 2005 09:36:17 -0800, Jeff Greif > >>> ><[EMAIL PROTECTED]> wrote: > >>> > > >>> > > >>> >>When a one-way operation is invoked via SOAP over HTTP, is > >>> there an HTTP > >>> >>response to the client, or is the connection just closed by > >>> the server? If > >>> >>there is some sort of response, what is supposed to appear on > >>> the wire back > >>> >>to the client? > >>> >> > >>> >>Jeff > >>> >> > >>> >> > >>> >> > >>> >> > >>> > > >>> >. > >>> > > >>> > > >>> > > >>> >
