lefty29er has asked for the wisdom of the Perl Monks concerning the following question:
I'm new to Perl but learning as I go. Any help is appreciated! Thanks#!/usr/bin/perl + use SOAP::Lite; use Data::Dumper; my $cucmip = "10.186.78.4"; my $axl_port = "8443"; my $user = "PerlAXL"; my $password = "Pa$$word"; my $axltoolkit = "AXLAPI.wsdl"; BEGIN { sub SOAP::Transport::HTTP::Client::get_basic_credentials { return ($user => $password) }; } my $cm = new SOAP::Lite encodingStyle => '', uri => "$axltoolkit", proxy => "https://$cucmip:$axl_port/axl/" ; my $res = $cm->updatePhone( SOAP::Data->name('name' => 'SEP123456123456'), SOAP::Data->name('lines' => SOAP::Data->name('line' => SOAP:: +Data->name('index' => '1'), SOAP: +:Data->name('description' => 'Perl Rocks') ) ) ); unless ($res->fault) { } else { print join ', ', $res->faultcode, $res->faultstring; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Get data from file and loop
by lefty29er (Novice) on Oct 28, 2011 at 02:53 UTC |