Forum Discussion
May 06, 2008
The method prototype is the following:
MemberObjectStatus [] [] GlobalLB.PoolMember.get_object_status(
in String [] pool_names,
in Common__IPPortDefinition [] [] members
);
You are passing in 1-d arrays for both paramters. You'll need to convert the second parameter into a 2-d array.
Something like this:
$members =
{
address => $address,
port => $port
};
push @List, $members;
push @Lists, @List
$soapResponse = $POOLMEMBER->get_object_status(
SOAP::Data->name(pool_names => [ @mpools ]),
SOAP::Data->name(members => [ @Lists ])
);
You'll just want to make sure that you do one push on the Lists array for each pool in your mpools array.
-Joe