I changed the return type to TList and I get the same results. The Swagger page shows this. There's a problem somewhere, maybe two; I'm just not sure where. FYI: I'm creating the TListofStrings = TList instance in the service class' constructor, assigning it to the result of the service method, and freeing it in the service class' destructor. I'm guessing that XData gets the data to return and processes it before it calls the object's destructor, but maybe it's using the object itself rather than a copy and the object gets destroyed too quickly? I do get all of the expected data in the "value" tag, but I'm not sure what that "error" is from. Just thinking out loud...
can't parse JSON. Raw result:
{
"value": [
"this is the first of many strings",
". . ."
"and this is the last"
]
}{
"error": {
"code": "InvalidPointer",
"message": "Invalid pointer operation"
}
}