<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>7 Sep 2020 17:03:53 Z</lastBuildDate><pubDate>7 Sep 2020 17:03:53 Z</pubDate><description>Je souhaite me connecter à un WebService directement depuis Windev.&#13;
&#13;
En PHP, cela fonctionne:&#13;
[code:xml]&#13;
&lt;?php&#13;
require_once( "NuSOAP/nusoap-0.9.5/lib/nusoap.php" );&#13;
$wsdl = "https://ws.Antoine.top.com:4234/ws/mv/gestion.php?WSDL";&#13;
$client = new nusoap_client($wsdl,False);&#13;
$err = $client-&gt;getError();&#13;
&#13;
$datos = array("user" =&gt; "Antoine", "pass" =&gt; "Antoine" , "actif" =&gt; "OUI");&#13;
$result = $client-&gt;call("getOK", array($datos));&#13;
&#13;
[/code]&#13;
Avec Windev:&#13;
[code:wl]&#13;
SOAP.Nom[1] = "user"&#13;
SOAP.Valeur[1] = "Antoine"&#13;
SOAP.Type[1] = SOAPTypeChaîne&#13;
SOAP.Nom[2] = "pass"&#13;
SOAP.Valeur[2] = "Antoine"&#13;
SOAP.Type[2] = SOAPTypeChaîne&#13;
SOAP.Nom[3] = "actif"&#13;
SOAP.Valeur[3] = "OUI"&#13;
SOAP.Type[3] = SOAPTypeChaîne&#13;
&#13;
ResExécution = SOAPExécute( "https://ws.Antoine.top.com:4234/ws/mv/gestion.php?WSDL" ,"getOK" )&#13;
[/code]&#13;
&#13;
Cela ne fonctionne pas car il manque tout le traitement de codification et sérialisation que réalisé par NuSOAP sur les paramètres envoyés.&#13;
&#13;
Existe t'il une version de NuSOAP pouvant-être exécuté directement par Windev, sans serveur Web?, une CLASSE NuSOAP Windev?&#13;
&#13;
--&#13;
Olé</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/242413-connecter-client-windev-webservice-avec-nusoap/read.awp</link><title>Connecter un client Windev à un WebService avec NuSOAP</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
