<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 Jan 2016 15:43:22 Z</lastBuildDate><pubDate>8 Jan 2016 11:53:46 Z</pubDate><description>Hi&#13;
&#13;
I am trying to make a REST webservice call passing an XML within the message. &#13;
&#13;
In WD19 i get a correct XML response as expected first time BUT in WM19 i get 'error has occurred' in the XML response&#13;
&#13;
Both calls are using the same code :-&#13;
&#13;
sSendMessage is string&#13;
bufResult is Buffer&#13;
&#13;
sSendMessage = "&lt;r id=""HH1"" t="""" ts=""1974-07-15 18:35:59.000000+00:00""&gt;"+CR&#13;
sSendMessage += "&lt;d&gt;"+CR&#13;
sSendMessage += "&lt;c n=""UserName""&gt;DbisAdmin&lt;/c&gt;"+CR&#13;
sSendMessage += "&lt;c n=""Password""&gt;Test&lt;/c&gt;"+CR&#13;
sSendMessage += "&lt;/d&gt;"+CR&#13;
sSendMessage += "&lt;/r&gt;"+CR&#13;
&#13;
&#13;
&#13;
IF HTTPRequest("https://&lt;url&gt;/","","",sSendMessage,"text/xml","","")&#13;
	bufResult = UTF8ToString(HTTPGetResult(httpResult))&#13;
	Info(bufResult)&#13;
ELSE&#13;
	Error(ErrorInfo())&#13;
END&#13;
&#13;
Any help would be greatly appreciated&#13;
&#13;
Many thanks&#13;
Dave</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55760-httprequest-wd19-wm19/read.awp</link><title>HTTPREQUEST WD19 v WM19</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>djsummers</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55760-httprequest-wd19-wm19-55764/read.awp</comments><pubDate>8 Jan 2016 15:43:22 Z</pubDate><description>For anyone's reference;&#13;
&#13;
problem solved (on WM forum) by Fabrice - the XML string variable type needed to be ANSI as it was UN…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55760-httprequest-wd19-wm19-55764/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55760-httprequest-wd19-wm19-55764/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55760-httprequest-wd19-wm19/read.awp">HTTPREQUEST WD19 v WM19</source><title>Re: HTTPREQUEST WD19 v WM19</title></item></channel></rss>
