When I imported the WDSL file I chose to convert strings to widestrings.
I set HTTPRIO.Converter.Options.soUTF8InHeader to TRUE and
HTTPWebNode.UseUTF8InHeader to TRUE and still didn't work.
Next I tried :-
procedure TdmData.rioTextAnywhereBeforeExecute(const MethodName: String; var SOAPRequest: WideString);
begin
SOAPRequest := StringReplace(SOAPRequest, 'xml version="1.0"', 'xml version="1.0" encoding="utf-8"', [rfReplaceAll]) ;
end;
And this worked.....
Is this a bug in Delphi 6 fixed in later versions?
Is there any better way for me to achieve the same thing?
Thank you for any help....
Steve