Article View: borland.public.cppbuilder.webservices.soap
Article #62Arrays returned in SOAP request
From: Al C
Date: Mon, 08 May 2006 15:30
Date: Mon, 08 May 2006 15:30
24 lines
1601 bytes
1601 bytes
This may be more of a question about pointers but I'll start in this group first. In the printed documentation I received they say the 'Results' parameter below is an array who's elements can range from 0 to infinity. I know the query I send will result in more than one Result record but I don't know how to get more than one. The one I do get looks fine but I'm not sure how to get the rest. _di_SomeSoap service; QueryClass *Query = new QueryClass; ResultsClass *Results = new ResultsClass; HTTPRIO1->QueryInterface(service); // fill in query info here... // then get results service->GetSomething(Query, 10, Results); // GetSomething as generated by the WSDL Importer virtual void __stdcall GetSomething(const QueryClass* Query, const int MaxResults, /* out */ ResultsClass* &Results) = 0;
Technical Details
Message-ID:
<445f63fc$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11096a,20b485e0ef36f3df,start X-Google-Attributes: gid11096a,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Al C" <alanc@jancointernational.com> Newsgroups: borland.public.cppbuilder.webservices.soap Subject: Arrays returned in SOAP request Date: Mon, 8 May 2006 11:30:36 -0400 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 71.10.8.194 Message-ID: <445f63fc$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147102204 71.10.8.194 (8 May 2006 08:30:04 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail