User Profile
Collapse
-
ok i do in java... and it's work!!! -
I think it's almost this ...
Code:#!/usr/bin/perl use SOAP::Lite +trace; $login='log'; $passwd='passwd'; $domain='dom'; sub SOAP::Transport::HTTP::Client::get_basic_credentials { return $login => $passwd; } $tab = SOAP::Lite -> service('http://url.wsdl') ->getDomUsedQuota($domain);Leave a comment:
-
-
i try this
but i get this :Code:$service = SOAP::Lite -> service('http://betasoap.protecmail.com/ws_protecmail.wsdl','login'=> $login,'password'=> $passwd,'exception s'=>'1');
help please ;)Code:Can't call method "new" on an undefined value at /usr/share/perl5/SOAP/Lite.pm line 3364.
Leave a comment:
-
-
here is my code but it doesn't work...
how can y give the login and the passwd like in the php code?Code:#!/usr/bin/perl use SOAP::Lite; $tab = new SOAP::Lite -> service('http://login:passwd@url.wsdl') -> getProtectedDomains(); print "$tab\n"; foreach my $info (@{$tab}) { print "$info\n"; }Leave a comment:
-
Soap : need help
Hello
a customer ask me to write this php code in perl...
can someone help me please ?
[CODE=PHP]<?
$login='votre_l ogin';
$passwd='votre_ mot_de_passe';
$domain='votre_ domaine';
$client = new SoapClient('htt ps://url.wsdl',array ('login'=> $login,'passwor d'=> $passwd,'except ions'=>'1'));
$used_quota=$cl ient->getDomUsedQuot a($domain);
print "Le quota consommé...
No activity results to display
Show More
Leave a comment: