Rino, Once you have your Vector , you can retrieve yours paramaters with the appropriate Casting and use the jdbc API to perform an SQL instruction.
Xavier PS: Sorry if this is out of subject At 11:43 7/12/01 -0600, you wrote: >I have been able to print the response object. But now how do I store it to >be able to store it to a database? > >Thanks. >Rino > >-----Original Message----- >From: Vinod Soni [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 07, 2001 11:31 AM >To: [EMAIL PROTECTED] >Subject: Re: Need help! > > >Well, let go step by step. okay...you get the response back...right ? Now >the response is a form of XML Envelope which the server sends us back. And >this carries the return parameters from the Call. It can have values like >SUM OF TWO INTEGERS, or a String "Hello Rino". It can be multiple values >also, and hence all the parameters in response can be captured in a >java.util.Vector object. Try printing out this response you get back from >the first call and you can see the return params in it. if it's blank, it >means there is no parameters coming back, it's just a return value. Anyway, >the simplest thing to test your client is to do >System.out.println(resp)....try and see what's inside it and what do you >want out of it ? > >----- Original Message ----- >From: "Rino Srivastava" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Friday, December 07, 2001 5:31 PM >Subject: RE: Need help! > > > > How can you save the vector? It will be there only during the execution >of > > the program, right? > > > > Also, I tried to do the following as you had suggested in one of your > > earlier emails: > > > > 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, ""); > > > > Howener, the above does not work. Once the first method is invoked on the > > server, it returns the response and that is it. > > > > Rino > > > > -----Original Message----- > > From: Vinod Soni [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 07, 2001 11:13 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Need help! > > > > > > Hi Rino, > > > > Obviously Response is an object in apache. So first you will have to parse > > the Response and keep the fields and values you want. Simply, you can take > > out a Vector from Response object this way. > > > > Response response = Call.invoke(url, ""); > > Vector v = response.getParams(); > > > > and then you should know what you are expecting in this Vector and further > > get the values from vector. or save the Vector as such, someway. > > > > Cheers. > > Vinod. > > > > > > > > ----- Original Message ----- > > From: "Rino Srivastava" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, December 07, 2001 5:11 PM > > Subject: Need help! > > > > > > > I am using Apache soap. > > > > > > I have a server and client program. When I run the Client, I get some > > > response back from the server. Now I want to store this response in a > > > database. How can I do this task? > > > > > > Thanks. > > > Rino