Bonjour,
- je développe un site de Ecommerce (PHP) fonctionnant en parallele avec un logiciel de gestion (WinDEV).
- Des procédures pour les stocks et autres sont toutes faites sur le logiciel, j'ai créé des Webservices grace a WinDEV et j'aimerais pouvoir les utiliser grace a un serveur SOAP
-j'ai configuré mon apache, j'ai téléchargé le script nusoap.php
-ensuite j'ai placé mon fichier XML dans WWW comme il etait indiqué
-j'ai ensuite réalisé la page suivante, pour tester simplement avec la procédure sNombreEnLettre qui apres avoir recupéré un nombre l'ecrit en tout lettre voici donc mon code :
-Mais cela m'a affiché les lignes suivantes :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <? $chiffre=20; require ('nusoap.php'); $s = new soap_server; $s -> register('sNombreEnLettre'); function sNombreEnLettre($chiffre){ if (empty($chiffre)) return new_soap_fault("Client", "Pas d entree", "'chiffre' doit etre rempli"); } $s -> service($HTTP_RAW_POST_DATA); ?>
Si vous pouviez m'orienter, ou m'aider par ce que
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 Notice: Undefined variable: HTTP_RAW_POST_DATA in c:\easyphp\www\testecom\index.php on line 11 Notice: Undefined index: content-type in c:\easyphp\www\testecom\nusoap.php on line 3813 Notice: Undefined index: content-type in c:\easyphp\www\testecom\nusoap.php on line 3814 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp\www\testecom\index.php:11) in c:\easyphp\www\testecom\nusoap.php on line 3778 SOAP-ENV:Clientmethod '' not defined in service![]()
Partager