Article View: borland.public.delphi.webservices.soap
Article #1A WebService that returns a dataset
From: Tavo Ib
Date: Mon, 02 Jan 2023 17:42
Date: Mon, 02 Jan 2023 17:42
13 lines
2199 bytes
2199 bytes
Hello I am trying to create in Delphi 10.3 a basic Webservice example that returns a Dataset or a series of registers or an array (TJSonArray??). That is, a series of values of which I do not know their quantity. But the truth is that I am completely unaware of the SOAP issue. I was able to create a descendant of TRemotable, with several properties of type String, Integer, Double, DoubleArray (as in the example that Delphi proposes). But I don't understand what class my "DataSet" property should be (the one that must contain multiple records). If I declare it as TJsonArray, the WDSL Importer does not recognize it. That is, it interprets that TJsonArray is descended from TRemotable (and it is not so). I'm moving forward blindly. If any of you could give me a hand, or if there is a link that can help me, or some source code that I can look at to see how it is done... I would greatly appreciate it. Apologies for my bad English, thank you.
Technical Details
Message-ID:
<4a0d787a-6250-4acb-849f-755ed559fd02n@googlegroups.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4a0d787a-6250-4acb-849f-755ed559fd02n@googlegroups.com> Subject: A WebService that returns a dataset Date: Mon, 02 Jan 2023 17:42:50 +0000 From: Tavo Ib <tavo.ib@gmail.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf1.newsdeef.eu!not-for-mail X-Received: by 2002:a05:6214:121:b0:529:6fb:f7d5 with SMTP id w1-20020a056214012100b0052906fbf7d5mr1933537qvs.49.1672681371517; Mon, 02 Jan 2023 09:42:51 -0800 (PST) X-Received: by 2002:a9d:6a8:0:b0:670:5d7a:402a with SMTP id 37-20020a9d06a8000000b006705d7a402amr1984855otx.138.1672681371191; Mon, 02 Jan 2023 09:42:51 -0800 (PST) Newsgroups: borland.public.delphi.webservices.soap Injection-Info: google-groups.googlegroups.com; posting-host=2802:8010:1219:3f00:8dbb:b35d:fdcc:6837; posting-account=Jlu7wAoAAAA9prdQjLt64df1AV4olNqc Nntp-Posting-Host: 2802:8010:1219:3f00:8dbb:b35d:fdcc:6837 User-Agent: G2/1.0 Mime-Version: 1.0 Injection-Date: Mon, 02 Jan 2023 17:42:51 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 12