Help with LocalLB::NodeAddress set_connection_limit
Having looked at the API docs I am doing the following;
push @addresses, $address;
$limitsHash =
{
high => 0,
low => 1
};
push @limits, $limitsHash;
$soapAddresses = SOAP::Data->name(node_addresses => [@addresses]);
$soapLimits = SOAP::Data->name(limits => [@limits]);
$soapResponse = $s->{interface}->set_connection_limit($soapAddresses, $soapLimits);
checkResponse($soapResponse)
The above code is responding with the following error;
Fault Code: SOAP-ENV:Server, Fault String: Could not find element by name: high
Fault Code: SOAP-ENV:Server, Fault String: Could not find element by name: limits
I must be constructing the data structure wrong, and I have tried several combinations but no luck.
Any help would be appreciated.