[Progress Communities] [Progress OpenEdge ABL] Ability to exclude the schema of the dataset from the SOAP service response with DATASET-HANDLE output

  • Thread starter Thread starter Fuelfire
  • Start date Start date
Status
Not open for further replies.
F

Fuelfire

Guest
Good day! I deployed my own service, which should respond with the following structure: ... ... ... ... ... Initially, I wrote a procedure that returned as a response a XML fragment and had an output parameter of type LONGCHAR. But the SOAP response have a single "CDATA" tag, instead of the XML structure: I decided to use the deserialized dataset as the output parameter. If I use a static dataset, I can not get the response structure of the service that is required in accordance with BRD. I used DATASET-HANDLE (dynamic dataset) and the response of the service began to meet the requirements. But ... and the scheme began to be included in the service response. In my case, the dataset consists of one table, but what do I do if the dataset has 10 tables or more? Is it possible to exclude a schema from the service response by adding it to the WSDL? In my opinion, in the case of a cumbersome scheme, a hard response will also be obtained. As a workaround, I can use the variant with the output parameter of the LONGCHAR type, but returned data is character data and not interpreted as XML.

Continue reading...
 
Status
Not open for further replies.
Back
Top