TROSOAPMessage.GetModuleInfo generates bad response when using UNICODE

When using UNICODE TROSOAPMessage.GetModuleInfo writes an unicode string to the response stream. The result is a “bad” HTML page.
After changing the RemObjects source (write an AnsiString to the response stream) the HTML page seems to be ok.

Hello,

I can’t reproduce “bad” html. What DA and Delphi version you use? Could you send us simple testcase?

Best regards

Hi,

sorry if I have kept You waiting.

I am using RemObjects SDK 6.0.57.991 with Delphi XE 15.0.3953.35171, Update 1 installed. Of course, the UNICODE switch is on.

The file I attached to this issue contains the fixed version of TROSOAPMessage.GetModuleInfo

I’ll attach a test case later…

best regards
Rainer

Hi again,

with the attached test case you will see a “bad” html page if you use Firefox, Chrome or Safari (but not with IE9) and click on the “SOAP” link.

best regards
Rainer

Hello,

Sorry, I didn’t notice that more then one service should be in the library.
Thanks for the report, fix and testcase, the issue was logged as #55420

Best regards