<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Nov 2014 14:23:00 Z</lastBuildDate><pubDate>10 Nov 2014 00:01:00 Z</pubDate><description>Hi all,&#13;
I'm creating a webservice that will receive xml file and return other xml file with, among other informations, a base64 pdf file.&#13;
&#13;
In the Test Page everything works fine, but when creating a simple page to consume that webservice, the system hangs.&#13;
I've found that it depends on the content of the output xml file.&#13;
&#13;
I created a very simple webservice and webservice call just to explain the problem.&#13;
&#13;
&#13;
WEBSERVICE:&#13;
PROCEDURE fTeste(sParam is string):string //sParam: not used sXml is string= fLoadText("C:\OUT.XML") sXml=XMLExtractString(sXml,"Document") RESULT sXml&#13;
WEBSERVICE CALL:&#13;
pIn is TO fTeste pOut is TO fTesteResponse pIn.sParam="" pOut=fTeste(pIn) Info(pOut.fTesteResult)&#13;
Even removing the attribute contentType="application/pdf", the system hangs.&#13;
&#13;
OUT.XML (the original file has 262KB). I removed part of the file content.&#13;
&lt;?xml version="1.0" encoding="utf-8" ?&gt;&#13;
09-11-2014 19:34:43C:\Docs\20141109193442828.xmlJVBERi0xLjMNCiX/////MTI0MA0KMSAwIG9iag0KPDwNCi9UeXBlIC9DYXRhbG9nDQovUGFnZXMg&#13;
NCAwIFINCi9PdXRsaW5lcyAyIDAgUg0KPj4NCmVuZG9iag0KMiAwIG9iag0KPDwNCi9UeXBlIC9P&#13;
dXRsaW5lcw0KL0NvdW50IDANCj4+DQplbmRvYmoNCjMgMCBvYmoNClsvUERGIC9UZXh0IC9JbWFn&#13;
ZUNdDQplbmRvYmoNCjQgMCBvYmoNCjw8DQovVHlwZSAvUGFnZXMNCi9Db3VudCAxDQovS2lkcyBb&#13;
NDEgMCBSXQ0KPj4NCmVuZG9iag0KNSAwIG9iag0KPDwNCi9UeXBlIC9Gb250DQovU3VidHlwZSAv&#13;
VHlwZTANCi9OYW1lIC9GMQ0KL0Jhc2VGb250IC9mb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NzAgMDAwMDAgbg0KMDAwMDA4MDk2MiAwMDAwMCBuDQow&#13;
MDAwMDgxNjk1IDAwMDAwIG4NCjAwMDAwODE3MTggMDAwMDAgbg0KMDAwMDA4NzkwMiAwMDAwMCBu&#13;
DQowMDAwMDg4MDU2IDAwMDAwIG4NCjAwMDAwODgyODUgMDAwMDAgbg0KMDAwMDA4ODU3NiAwMDAw&#13;
MCBuDQowMDAwMDg5MDc4IDAwMDAwIG4NCjAwMDAwODkxMDEgMDAwMDAgbg0KMDAwMDA5Mzg1NiAw&#13;
MDAwMCBuDQowMDAwMDk0MDgxIDAwMDAwIG4NCjAwMDAwOTc2OTQgMDAwMDAgbg0KMDAwMDE3Nzg0&#13;
OSAwMDAwMCBuDQp0cmFpbGVyDQo8PA0KL1NpemUgNDUNCi9Sb290IDEgMCBSDQovSURbDQooKSgp&#13;
XQ0KPj4NCnN0YXJ0eHJlZg0KMTk3MDYwDQolJUVPRg0KAA==&#13;
&#13;
Thanks in advance&#13;
MC</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp</link><title>webservice return xml</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/48858-webservice-return-xml-48962/read.awp</comments><pubDate>14 Nov 2014 14:23:00 Z</pubDate><description>Tor-Bjarne,&#13;
&#13;
Didn't tested yet, but the problem may be in the encoding.&#13;
When not mentioned "string" is "unicode string" and t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48962/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48962/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp">webservice return xml</source><title>Re: webservice return xml</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48913/read.awp</comments><pubDate>12 Nov 2014 10:25:00 Z</pubDate><description>Hi,&#13;
&#13;
Well I tried this, since it`s only a 5 min test.&#13;
&#13;
Webservice code:&#13;
PROCEDURE GetXMLFile() s is string HExportXML(CallD…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48913/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48913/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp">webservice return xml</source><title>Re: webservice return xml</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48910/read.awp</comments><pubDate>12 Nov 2014 00:20:00 Z</pubDate><description>Hi,&#13;
&#13;
1. The files are small.&#13;
2. Because, the original file as the declaration on top &lt;?xml version="1.0" encoding="utf-8" ?&gt;&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48910/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48910/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp">webservice return xml</source><title>Re: webservice return xml</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48889/read.awp</comments><pubDate>11 Nov 2014 11:58:10 Z</pubDate><description>Hi Miguel&#13;
&#13;
"the system hangs"... Which one? The client? The webservice?&#13;
&#13;
In any case, your problem MAY come from the include…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48889/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48889/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp">webservice return xml</source><title>Re: webservice return xml</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48886/read.awp</comments><pubDate>11 Nov 2014 11:19:00 Z</pubDate><description>Hi,&#13;
&#13;
I Work with webservices in Windev/Webdev and result string should just give you a string.&#13;
&#13;
1. Is there a limit on the s…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48886/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml-48886/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/48858-webservice-return-xml/read.awp">webservice return xml</source><title>Re: webservice return xml</title></item></channel></rss>
