Not necessarily !! I said "url2" to be very generic. Your second server can
be anything else, could be the same as first one. So in that case, url2 =
url1.( or url in this case). Depends on which server component you want to
call in this second case passing the response from the first.

Vinod.


----- Original Message -----
From: "Rino Srivastava" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 5:25 PM
Subject: RE: RE


> In the following statement:
>
> call.invoke(url2, "");
>
> what would be url2?
>
> Did you mean to suggest that both the calls should be in the same Client
> program?
>
> Thanks.
> Rino
>
> -----Original Message-----
> From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 05, 2001 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: RE
>
>
> well...I don;t have an example, but I guess you can do it this way...I
never
> did it though.
> Call call1 = new Call();
> .......
> Response resp = Call.invoke(url, "");
> Vector v = resp.getParams();
>
> and then pass this vector to the new call.
>
> Call call2 = new Call();
> call2.setParams(v);
> call.invoke(url2, "");
>
> Hope that should help.
> Vinod.
>
> ----- Original Message -----
> From: "Rino Srivastava" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 05, 2001 5:51 PM
> Subject: RE: RE
>
>
> > Hi vinod:
> >
> > Can you elaborate more on this?  Can you give me an example?
> >
> > Thanks.
> > Rino
> >
> > -----Original Message-----
> > From: Vinod Soni [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 05, 2001 11:41 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: RE
> >
> >
> > Take out the Parameter from the Response object...and pass it as a
> Parameter
> > to Call to another method on the client....
> >
> > ----- Original Message -----
> > From: "Rino Srivastava" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 05, 2001 5:34 PM
> > Subject: RE
> >
> >
> > > Hello everyone:
> > >
> > > I have a question for you guys.  Suppose I have a Client and Server
> > program.
> > > The server returns some response back to the Client.  Now if I want to
> use
> > > this response in another method on the server, how can I accomplish
> this?
> > >
> > > Rino

Reply via email to