bonjour tout le monde,
j'ai réalisé un web service en java, et j'ai créé un client en php, avec ce code :
mais quand je lance mon script j'obtiens cette erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 ini_set('soap.wsdl_cache_enabled', 0); $service=new SoapClient("http://site/services/Main?wsdl"); $taballservices = $service->Methode("param1", "param2"); print_r($taballservices);
voilà une partie du WSDLParsing WSDL: Missing <message> with name 'ns:null'
merci de m'aider pour trouver une solution.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://site.com" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax23="http://site.com/xsd" xmlns:ax21="http://io.java/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://site.com">







Répondre avec citation
Partager