Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A WebService that returns a dataset

3 views
Skip to first unread message

Tavo Ib

unread,
Jan 2, 2023, 12:42:52 PM1/2/23
to
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.
0 new messages