[PHP] Soap / Wsdl Beginner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux