in reply to Re^2: Displaying SOAP Request and Response
in thread Displaying SOAP Request and Response
I showed that here
for (6963..6965){ push @items,SOAP::Data->name( "item"=> \SOAP::Data->value( SOAP::Data->name("Item"=> $_) )); }; . . "SelectItems" => $items,
Just change the 6963..6965 to an array @device of your own device numbers. If they are in a file then use something like this perhaps
open IN,'<', $path_file or die "Could not open $path_file : $!"; my @device = (); while (<IN>){ if (m/(SEP[0-9A-Z]+)/i){ push @device,$1; } } close IN;
Note you have a error (extra comma) in this line
my $data = SOAP::Data->name('CmSelectionCriteria' , => \%select);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Displaying SOAP Request and Response
by adamZ88 (Beadle) on Mar 09, 2017 at 16:33 UTC | |
by poj (Abbot) on Mar 09, 2017 at 16:56 UTC | |
|
Re^4: Displaying SOAP Request and Response
by adamZ88 (Beadle) on Mar 09, 2017 at 16:37 UTC |