question updating SendTo field of HttpClass Profile in ASM
I have a need to update the Send to field in of the ASM module. The intent is to update the pool name to point to a different pool. In using the web service calls defined in LocalLB.ProfileHttpClass.wsdl I am able to query the data, but the call to set_pool_name within that same wsdl, while it does not return an error, also does not update the pool name, when I check it via the GUI. Is this the correct function to do this? Is there another way via the web service? Eventually, I would also like to update the Send To field to "Redirect URL" also...Local Traffic -> Profiles->Protocol->HttpClass->className->Actions
An example code snippet:
print "Setting @profiles to $pool\n";
my $soapResponse = $self->{soap}->uri("urn:iControl:LocalLB/ProfileHttpClass")->set_pool_name(
SOAP::Data->name(
profile_names => [@profiles]),
SOAP::Data->name(
pool_names => (
LocalLB::
ProfileString => {
'value' => $pool,
'default_flag' => 1
})
)
);