🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.webservices.soap
1 messages
1 total messages Started by Tavo Ib Mon, 02 Jan 2023 17:42
A WebService that returns a dataset
#1
Author: Tavo Ib
Date: Mon, 02 Jan 2023 17:42
13 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads