in reply to Re: pb with Soap::lite
in thread pb with Soap::lite
And herre is the php code... if it can help you (me not)#!/usr/bin/perl use SOAP::Lite +trace; $login='log'; $passwd='pass'; $domain='dom' $tab = SOAP::Lite -> service('http://url.wsdl','login'=>$login,'password'=> $pass +wd,'exceptions'=>'1') ->getDomUsedQuota($domain); print "$tab\n";
I try "+trace", but it doesn't help me... i'm too novice in perl and soap... ;-) Thanks in advance<? $login='votre_login'; $passwd='votre_mot_de_passe'; $domain='votre_domaine'; <code> $client = new SoapClient('https://url.wsdl',array('login'=> $login,'pa +ssword'=> $passwd,'exceptions'=>'1')); $used_quota=$client->getDomUsedQuota($domain); print "Le quota consommé est $used_quota <br>"; ?>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: pb with Soap::lite
by olus (Curate) on Feb 21, 2008 at 12:07 UTC | |
by manuds (Initiate) on Feb 21, 2008 at 17:31 UTC |