Jim_Gore_43214
Oct 03, 2006Nimbostratus
LocalLB.ProfileStream.set_target_string ??
Hello,
I have the following perl subroutine that I am testing to set the target in a stream profile:
sub setTarget()
{
push (@profileName, "ocm_reject_stream");
$targetValue = "\@test1\@test2\@";
$defaultFlag = FALSE;
$newTarget =
{
value => $targetValue,
default_flag => $defaultFlag
};
$soapResponse = $LocalLBProfileStream->set_target_string
(
SOAP::Data->name(profile_names => [@profileName]),
SOAP::Data->name(targets => [$newTarget])
);
&checkResponse($soapResponse);
}
When I run this I don't get any errors but the stream profile's target is not replaced but is reset to nothing.
Any help would be greatly appreciated!
Jim