BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VarOleStr - SOAP XML result

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
GerVor
Guest





PostPosted: Mon Feb 21, 2005 8:28 pm    Post subject: VarOleStr - SOAP XML result Reply with quote



Hi all..

I have a web service returning a Vector of rows from a database.
My Vector contains ArrayLists (rows).

In my imported webservice in Delphi I have:

Vector = array of Variant; {
"http://xml.apache.org/xml-soap" }

So in my application I want to display the rows from the database which are
in this Vector.

I have this code:

procedure TCustomerSearchFRM.CSBTNClick(Sender: TObject);
var CustomerSearchResult: Vector;
AA: Variant;
begin
//We can now search for customers whom match the search criteria..
CustomerSearchResult := GetService.customerSearch
(
CSAccountNoEDT.Text,
CSNameEDT.Text
);

showmessage(IntToStr(low(CustomerSearchResult))+'::'+IntToStr(high(CustomerSearchResult)));
//Here I see "0::2" meaning there are 3 rows which is correct..

AA := CustomerSearchResult[0];

I have no idea what to do with my Variant AA now??? I know it is of type
VarOleStr.

Any help would be appreciated. !!
Maybe I am doing it all wrong..

GerVor



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.