Re: [SOAP] [PHP] Soap / Wsdl Beginner
| From: | bkrqpzef | Date: | Mon, 22 Nov 2010 13:38:01 +0000 |
| Subject: | Re: [SOAP] [PHP] Soap / Wsdl Beginner | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3135@lists.php.net to get a copy of this message | ||
There it is :
https://wspar51.april.fr/WSSante/WSSante.asmx?wsdl
And some other informations : (I need only "Tarif" for the moment)
https://wspar51.april.fr/WSSante/WSSante.asmx?op=Tarif
RQuadling wrote:
>
> On 22 November 2010 11:35, bkrqpzef <bjornulf.frode@gmail.com> wrote:
>>
>> 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.
>
> Tarif() requires parameters. You have to fill them in.
>
> If you can supply the wsdl file URL, I'll send back the code you need
> to start working.
>
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
View this message in context: http://old.nabble.com/-PHP--Soap---Wsdl-Beginner-tp30277723p30278615.html
Sent from the Php - Soap mailing list archive at Nabble.com.