[SOAP] [PHP] Soap / Wsdl Beginner

From: Date: Mon, 22 Nov 2010 11:35:23 +0000
Subject: [SOAP] [PHP] Soap / Wsdl Beginner
Groups: php.soap 
Request: Send a blank email to php-soap+get-3131@lists.php.net to get a copy of this message
Hello, I have never use SOAP/WSDL before. I need to access to a webservice to get some informations. I don't understand the technical documentation i got. I need to use the method "Tarif" it should be like that (according to the technical documentation) : <Tarif> <Clef></Clef> <TarifParams IdCo=""> <Devis> <Personne> <Nom> </Nom> <Prenom>Prenom</Prenom> <Numero></Numero> <Type>Adherent</Type> <DateNaissance></DateNaissance> </Personne> <Parametres> <DateEffet></DateEffet> <CodePostal></CodePostal> <Produit> </Produit> <Garanties> <Garantie> <Libelle> </Libelle> </Garantie> </Garanties> </Parametres> </Devis> </TarifParams> </Tarif> But i'm not able to do it. :s I have something like : $client = new SoapClient('https://adresseweb.com/file.asmx?wsdl'); $result = $client->Tarif(); Whatever i put into the "()" of "Tarif" I have a : Server was unable to process request. ---> Object reference not set to an instance of an object. Thx for your help and sorry for my english. -- View this message in context: http://old.nabble.com/-PHP--Soap---Wsdl-Beginner-tp30277723p30277723.html Sent from the Php - Soap mailing list archive at Nabble.com.

« previous php.soap (#3131) next »