Forum Discussion
Richard__Harlan
Dec 01, 2004Historic F5 Account
get_proxy_target
Haveing a little problem with get_proxy_target. Below is the code snip. Once this is done my whole iContorl script will be done. So any help would be great.
foreach $proxy_def (@proxy_d...
Dec 01, 2004
The signature for get_proxy_target() is:
IPPortDefinition[] get_proxy_target(
in IPPortDefinition[] proxies
);
The inbound parameter is an array of IPPortDefinition structures, in your code you are passing a singular value. Change your code to the following and you should be set:
$soapproxy = $proxy->get_proxy_target
(
SOAP::Data->name(proxies => [$pserv])
);
One question I have is why are you converting the $proxy_def into a string, splitting the string, and then rebuilding the structure in $pserv? Can't you just pass in $proxy_def into the call like this:
$soapproxy = $proxy->get_proxy_target
(
SOAP::Data->name(proxies => [$proxy_def])
);
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects