<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 Jul 2017 19:38:00 Z</lastBuildDate><pubDate>10 Jul 2017 22:27:00 Z</pubDate><description>Good afternoon&#13;
&#13;
I have the following problem, I use XMLs in WebServices in WinDev Mobile 22, Android work well because there the project was developed first, then the same content was passed to an iOS project, there is no compilation error, but the reading of XMLs does not work.&#13;
&#13;
It works well in the iOS emulator but not in the device, debugging with infos it could be noticed that it does not enter the for each.&#13;
&#13;
My code is as follows:&#13;
&#13;
---------------------------------------------------------------------------&#13;
&#13;
sResultado is string = Login(EDT_EMP_CLAVE,EDT_EMP_PASSWORD,0)&#13;
&#13;
ResXML is xmlDocument&#13;
ResXML = XMLOpen(sResultado,fromString)&#13;
nResultado is int = StringCount(sResultado,"&lt;DatosLogin&gt;",IgnoreCase + WholeWord)&#13;
&#13;
nCLI_NUM_CTRL is int&#13;
sCLI_NOMBRE is string&#13;
sResultadoBoolean is string&#13;
DatosLogin is xmlNode&#13;
&#13;
FOR EACH DatosLogin OF ResXML&#13;
Info(DatosLogin)&#13;
FOR i = 1 _TO_ nResultado&#13;
Info(DatosLogin.DatosLogin.Resultado)&#13;
Info(DatosLogin.DatosLogin.CLI_NUM_CTRL)&#13;
Info(DatosLogin.DatosLogin.CLI_NOMBRE)&#13;
&#13;
sResultadoBoolean = DatosLogin.DatosLogin.Resultado&#13;
nCLI_NUM_CTRL = DatosLogin.DatosLogin.CLI_NUM_CTRL&#13;
sCLI_NOMBRE = DatosLogin.DatosLogin.CLI_NOMBRE&#13;
END&#13;
END&#13;
Info(sResultadoBoolean)&#13;
IF sResultadoBoolean ~= "TRUE" THEN&#13;
...&#13;
&#13;
------------------------------------------------------------------------&#13;
&#13;
As it does not enter the cycle, the variable is always false&#13;
Does anyone have a solution to this?&#13;
&#13;
Thanks in advance</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp</link><title>[WM22] Problem reading XMLs in iOS</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61686/read.awp</comments><pubDate>11 Jul 2017 19:38:00 Z</pubDate><description>We already solved it.&#13;
&#13;
Thanks !</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61686/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61686/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp">[WM22] Problem reading XMLs in iOS</source><title>Re: [WM22] Problem reading XMLs in iOS</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61678/read.awp</comments><pubDate>11 Jul 2017 14:42:00 Z</pubDate><description>Hi David,&#13;
&#13;
no, I did NOT say to change ANYTHING in the webservice...&#13;
&#13;
I said to change something in the IOS code. And I repe…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61678/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61678/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp">[WM22] Problem reading XMLs in iOS</source><title>Re: [WM22] Problem reading XMLs in iOS</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61665/read.awp</comments><pubDate>11 Jul 2017 02:41:00 Z</pubDate><description>Hi&#13;
&#13;
What's the declaration of sXMLInfo or you may try out as below&#13;
&#13;
sXMLinfo =UTF8ToString(XMLBuildString("Login",XMLDocumen…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61665/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61665/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp">[WM22] Problem reading XMLs in iOS</source><title>Re: [WM22] Problem reading XMLs in iOS</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61664/read.awp</comments><pubDate>10 Jul 2017 23:40:00 Z</pubDate><description>Hi Fabrice, thanks for answer.&#13;
&#13;
in the WebService I have this lines&#13;
&#13;
-------------------------------------------------------…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61664/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61664/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp">[WM22] Problem reading XMLs in iOS</source><title>Re: [WM22] Problem reading XMLs in iOS</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61663/read.awp</comments><pubDate>10 Jul 2017 22:55:00 Z</pubDate><description>Hi David,&#13;
&#13;
your problem is not about XML, it's about the type of stirngs, if I'm not mistaken.&#13;
Under IOS, a string, by defaul…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61663/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios-61663/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61657-wm22-problem-reading-xmls-ios/read.awp">[WM22] Problem reading XMLs in iOS</source><title>Re: [WM22] Problem reading XMLs in iOS</title></item></channel></rss>
