<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>21 Jun 2019 08:59:57 Z</lastBuildDate><pubDate>13 Jun 2019 15:01:12 Z</pubDate><description>Bonjour,&#13;
est-il possible d'utiliser la fonction compile dans un webservice ?&#13;
La fonction X_TestDynamicCompilation&#13;
[code:wl]&#13;
PROCÉDURE X_TestDynamicCompilation(LOCAL sCode2Compile is a string)&#13;
LOCAL&#13;
	sResultofCompiledCode is a string&#13;
	sExecutedCode is a string&#13;
SWITCH True&#13;
 	CAS NoSpace(sCode2Compile)="" &#13;
		//	Nothing to do / On ne fait rien&#13;
		RESULT ""	&#13;
	OTHER CASE&#13;
		sResultofCompiledCode=Compile("w_procChacha",sCode2Compile)&#13;
		SELON sResultofCompiledCode&#13;
			CAS "" : sExecutedCode = ExécuteTraitement("w_procChacha", trtProcédure)&#13;
			CAS "ERR" : sExecutedCode = "Compilation impossible !!!!"&#13;
			AUTRE CAS : sExecutedCode = sResultofCompiledCode&#13;
		FIN&#13;
		RESULT sExecutedCode&#13;
END&#13;
[/code]&#13;
renvoie&#13;
[code:xml]&#13;
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;&#13;
&lt;SOAP-ENV:Body&gt;&#13;
&lt;SOAP-ENV:Fault&gt;&#13;
&lt;faultcode&gt;SOAP-ENV:Client&lt;/faultcode&gt;&#13;
&lt;faultstring/&gt;&#13;
&lt;detail&gt;Code erreur : 0 Niveau : pas d'erreur &lt;/detail&gt;&#13;
&lt;/SOAP-ENV:Fault&gt;&#13;
&lt;/SOAP-ENV:Body&gt;&#13;
&lt;/SOAP-ENV:Envelope&gt;&#13;
[/code]&#13;
&#13;
lorsque, par exemple, je lui envoie, comme chaine à compiler "Renvoyer 1+1"&#13;
&#13;
D'avance, merci pour vos lumières.&#13;
&#13;
--&#13;
Christophe Charron</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp</link><title>Compile dans un webservice</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>xof</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-231004/read.awp</comments><pubDate>21 Jun 2019 08:59:57 Z</pubDate><description>Bonjour,&#13;
merci pour vos réponses. &#13;
En fait, ce message survient, dans mon cas, lorsqu'un objet manque dans le wdu !!&#13;
Et comme…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-231004/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-231004/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp">Compile dans un webservice</source><title>Re: Compile dans un webservice</title></item><item><author>roumegou</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230809/read.awp</comments><pubDate>14 Jun 2019 09:39:23 Z</pubDate><description>xof a écrit :&#13;
&gt; est-il possible d'utiliser la fonction compile dans un webservice ?&#13;
&#13;
bonjour xof,&#13;
sans regarder ton code, et…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230809/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230809/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp">Compile dans un webservice</source><title>Re: Compile dans un webservice</title></item><item><author>Ndrj</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230800/read.awp</comments><pubDate>13 Jun 2019 18:01:52 Z</pubDate><description>Bonjour&#13;
[code:wl]&#13;
SWITCH NoSpace(sCode2Compile)&#13;
CAS "" &#13;
	renvoyer ""&#13;
OTHER CASE&#13;
sResultofCompiledCode=Compile("w_procChach…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230800/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230800/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp">Compile dans un webservice</source><title>Re: Compile dans un webservice</title></item><item><author>François C.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230799/read.awp</comments><pubDate>13 Jun 2019 17:58:00 Z</pubDate><description>X_TestDynamicCompilation est la procédure appelée via WS ?</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230799/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230799/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp">Compile dans un webservice</source><title>Re: Compile dans un webservice</title></item><item><author>Philippe Pasquali</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230789/read.awp</comments><pubDate>13 Jun 2019 16:28:06 Z</pubDate><description>Bonjour&#13;
je ne comprend pas pourquoi vous écrivez&#13;
[code:wl]&#13;
SWITCH True&#13;
END&#13;
[/code]&#13;
&#13;
pourquoi ne faite vous pas simplement…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230789/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice-230789/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/230787-compile-dans-webservice/read.awp">Compile dans un webservice</source><title>Re: Compile dans un webservice</title></item></channel></rss>
