User Profile

Collapse

Profile Sidebar

Collapse
manuds
manuds
Last Activity: Mar 11 '08, 01:03 PM
Joined: Feb 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • manuds
    replied to Soap : need help
    in Perl
    ok i do in java... and it's work!!!
    See more | Go to post

    Leave a comment:


  • manuds
    replied to Soap : need help
    in Perl
    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);
    See more | Go to post

    Leave a comment:


  • manuds
    replied to Soap : need help
    in Perl
    no one can help me please?
    See more | Go to post

    Leave a comment:


  • manuds
    replied to Soap : need help
    in Perl
    i try this
    Code:
    $service = SOAP::Lite
                   -> service('http://betasoap.protecmail.com/ws_protecmail.wsdl','login'=> $login,'password'=> $passwd,'exception
    s'=>'1');
    but i get this :
    Code:
    Can't call method "new" on an undefined value at /usr/share/perl5/SOAP/Lite.pm line 3364.
    help please ;)
    See more | Go to post

    Leave a comment:


  • manuds
    replied to Soap : need help
    in Perl
    I don't find any answers... but i think it's not so hard...
    See more | Go to post

    Leave a comment:


  • manuds
    replied to Soap : need help
    in Perl
    here is my code but it doesn't work...


    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";
    }
    how can y give the login and the passwd like in the php code?
    See more | Go to post

    Leave a comment:


  • manuds
    started a topic Soap : need help
    in Perl

    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é...
    See more | Go to post
    Last edited by eWish; Feb 15 '08, 04:38 PM. Reason: Please use [CODE][/CODE] tags
No activity results to display
Show More
Working...