Re: Multiple invoke on one call
sure, i never said it was easy, just said its possible. The approach i prefer, is to have multiple complete and separate envelopes into a single transport layer bundle (using Mime or Dime), rather than trying to shoehorn multiple requests into a single envelope. Cheers Simon On Fri, 29 Jun 2001 06:00:39 -0400, in soap you wrote: >True, but implementing it would be beyond what SOAP v1.1 specifies. >The spec doesn't prevent anyone from doing whatever kinds of >invocation patterns .. but it specifies only one way messaging >and one RPC in a request. > >Multiple RPCs in a single request are fraught with peril .. what >happens to all the faults etc.. > >Sanjiva. > >- Original Message - >From: "Simon Fell" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, June 29, 2001 12:56 AM >Subject: Re: Multiple invoke on one call > > >> well, to be fair, SOAP v1.1 does not attempt to provide that, its >> doesn't say you're not allowed to do it. >> >> Cheers >> Simon >> >> On Thu, 28 Jun 2001 04:46:04 -0400, in soap you wrote: >> >> >No, you can't. SOAP v1.1 (which is what Apache SOAP implements) >> >does not permit that. >> > >> >Sanjiva. >> > >> >- Original Message - >> >From: "Fabrizio Candon" <[EMAIL PROTECTED]> >> >To: <[EMAIL PROTECTED]> >> >Sent: Monday, November 27, 2000 12:14 PM >> >Subject: Multiple invoke on one call >> > >> > >> >> Hello, >> >> does anyone know if it's possible to perform more than >> >> one invoke on the same request?? >> >> >> >> Fab
Re: Multiple invoke on one call
True, but implementing it would be beyond what SOAP v1.1 specifies. The spec doesn't prevent anyone from doing whatever kinds of invocation patterns .. but it specifies only one way messaging and one RPC in a request. Multiple RPCs in a single request are fraught with peril .. what happens to all the faults etc.. Sanjiva. - Original Message - From: "Simon Fell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 12:56 AM Subject: Re: Multiple invoke on one call > well, to be fair, SOAP v1.1 does not attempt to provide that, its > doesn't say you're not allowed to do it. > > Cheers > Simon > > On Thu, 28 Jun 2001 04:46:04 -0400, in soap you wrote: > > >No, you can't. SOAP v1.1 (which is what Apache SOAP implements) > >does not permit that. > > > >Sanjiva. > > > >- Original Message - > >From: "Fabrizio Candon" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Monday, November 27, 2000 12:14 PM > >Subject: Multiple invoke on one call > > > > > >> Hello, > >> does anyone know if it's possible to perform more than > >> one invoke on the same request?? > >> > >> Fab
Re: Multiple invoke on one call
Yep, reuse of call is definitely ok .. the only thing to do is to make sure that the setParams() method is always called to have the right stuff; otherwise old data will be used. This applies to other properties of Call too of course. Sanjiva. - Original Message - From: "Javier A. Soltero" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 12:39 AM Subject: Re: Multiple invoke on one call > I thought he was referring to calling invoke more than once on a single > instance of a Call object. Is this ok or does the call need to be > re-created for every request. My guess is re-use is ok, based on the > addressbook2 sample but if you can reassure me that would be great. > > thanks, > > Javier > > Sanjiva Weerawarana wrote: > > > No, you can't. SOAP v1.1 (which is what Apache SOAP implements) > > does not permit that. > > > > Sanjiva. > > > > - Original Message - > > From: "Fabrizio Candon" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, November 27, 2000 12:14 PM > > Subject: Multiple invoke on one call > > > > > Hello, > > > does anyone know if it's possible to perform more than > > > one invoke on the same request?? > > > > > > Fab
Re: Multiple invoke on one call
well, to be fair, SOAP v1.1 does not attempt to provide that, its doesn't say you're not allowed to do it. Cheers Simon On Thu, 28 Jun 2001 04:46:04 -0400, in soap you wrote: >No, you can't. SOAP v1.1 (which is what Apache SOAP implements) >does not permit that. > >Sanjiva. > >- Original Message - >From: "Fabrizio Candon" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, November 27, 2000 12:14 PM >Subject: Multiple invoke on one call > > >> Hello, >> does anyone know if it's possible to perform more than >> one invoke on the same request?? >> >> Fab
Re: Multiple invoke on one call
I thought he was referring to calling invoke more than once on a single instance of a Call object. Is this ok or does the call need to be re-created for every request. My guess is re-use is ok, based on the addressbook2 sample but if you can reassure me that would be great. thanks, Javier Sanjiva Weerawarana wrote: > No, you can't. SOAP v1.1 (which is what Apache SOAP implements) > does not permit that. > > Sanjiva. > > - Original Message - > From: "Fabrizio Candon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 27, 2000 12:14 PM > Subject: Multiple invoke on one call > > > Hello, > > does anyone know if it's possible to perform more than > > one invoke on the same request?? > > > > Fab
Re: Multiple invoke on one call
No, you can't. SOAP v1.1 (which is what Apache SOAP implements) does not permit that. Sanjiva. - Original Message - From: "Fabrizio Candon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 27, 2000 12:14 PM Subject: Multiple invoke on one call > Hello, > does anyone know if it's possible to perform more than > one invoke on the same request?? > > Fab