make a 4GL call to a webservice

Posted by mstassen on 26-Apr-2011 09:47

I have made some calls to webservices which work great. Even a call to a webservice that provides me a table or dataset:

RUN UpsertExamType in ghPortType (OUTPUT TABLE ttTable).

I can loop through thist ttTable and see what's in it.

Now i want to be able to send a table to a webservice:

RUN UpsertExamType2 in ghPortType (INPUT TABLE ttTable).

At the webservice side the data arrives but is not seen as table (or dataset).

What do the webservice-builders (or me) have to do to see the data coming in as a table (or dataset) ?

Any help would be very nice !

All Replies

Posted by maximmonin on 27-Apr-2011 09:35

Progress sends xml-string and use TABLE XML-WRITE method to convert table to XML.

Posted by mstassen on 28-Apr-2011 02:23

so an INPUT tabel or dataset param to a webservice method results in an xml-string at the webservice side?

Do you know what C# option there are to make a dataset or datatabel form this xml-string ?

Posted by Admin on 28-Apr-2011 02:25

Do you know what C# option there are to make a dataset or datatabel form this xml-string ?

The ReadXml() method of the ADO.NET Dataset reads in the same XML as the Progress WRITE-XML() creates.

This thread is closed