<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Feb 2019 14:59:19 Z</lastBuildDate><pubDate>31 Jan 2019 10:36:06 Z</pubDate><description>Bonjour,&#13;
&#13;
J'ai réalisé un petit Webservice SOAP qui a pour finalité de transmettre à l'application appelante un fichier (zip, pdf, ou autre).&#13;
Ça fonctionne en ayant recours à la fonction BufferVersHexa().&#13;
&#13;
Existe t'il une autre alternative à l'utilisation du BufferVersHexa() ?&#13;
&#13;
Merci&#13;
&#13;
&#13;
Code du Webservice :&#13;
[code:wl]&#13;
buffTmp	est un Buffer  = fChargeBuffer(GF_sWSInstallFolder+"\UPDATE.ZIP")&#13;
SI Taille(buffTmp)&gt;0 ALORS&#13;
	RENVOYER SOAPEncodeRésultat(BufferVersHexa(buffTmp,SansRegroupement),SOAPTypeChaîneNormalisée)&#13;
FIN&#13;
[/code]&#13;
&#13;
Code côté client :&#13;
[code:wl]&#13;
bufByBuffer est un Buffer = SOAPPrépare(IT_Install_WS.TestDL)&#13;
SI SOAPExécuteXML("http://xxxxx.pcscloud.net/IT_INSTALL_WS_WEB/IT_Install_WS.awws", bufByBuffer,"urn:IT_Install_WS/TestDL") ALORS&#13;
	bufFResult = SOAPDonneRésultat(SOAPRésultatXML)&#13;
	SI Taille(bufFResult)&gt;0 ALORS&#13;
		bufFResult = HexaVersBuffer(XMLExtraitChaîne(bufFResult,"TestDLResult"))&#13;
		SI fSauveBuffer(sFichier,bufFResult) ALORS&#13;
			Info("terminé : OK")&#13;
		SINON&#13;
			Erreur("terminé : Echec")&#13;
		FIN&#13;
	FIN&#13;
FIN&#13;
[/code]</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223721-wd24-webservice-soap-recuperation-fichier/read.awp</link><title>[WD24] Webservice SOAP : récupération d'un fichier</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Lionel H.</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223721-wd24-webservice-soap-recuperation-fichier-224314/read.awp</comments><pubDate>27 Feb 2019 14:59:19 Z</pubDate><description>Bonjour,&#13;
je rebondis sur votre post pour vous poser une question.&#13;
&#13;
j'ai développer comme vous un web service SOAP. mon souci …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223721-wd24-webservice-soap-recuperation-fichier-224314/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223721-wd24-webservice-soap-recuperation-fichier-224314/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/223721-wd24-webservice-soap-recuperation-fichier/read.awp">[WD24] Webservice SOAP : récupération d'un fichier</source><title>Re: [WD24] Webservice SOAP : récupération d'un fichier</title></item></channel></rss>
