Mike_Nepomny
Jun 20, 2012Nimbostratus
get_policy_list stopped working in v11.1
Hi,
I was using get_policy_list method in v10.1. Same code returns only one policy in v11.1. My web app has one active policy and one policy in recycle bin.
How to get all policies for web app in v11.1 ?
Thank you
my (@webapp_names) = @_;
my $soapResponse = $AppInterface->get_policy_list
(
SOAP::Data->name(webapp_names => [@webapp_names])
);
&checkResponse($soapResponse);
my @PolicyList = @{$soapResponse->result};
my $policy_count = @PolicyList ;
print "---->policy_count $policy_count\n" ;
my $p = @PolicyList[0];
my @policies = @{ $p }; array of hashes