Forum Discussion
notscud
Nimbostratus
Oct 22, 2013Retrieve pool_name for wideip in php
I am having an issue retrieving the pool name using get_wideip_pool.
I have looked at the WSDL and understand that it is trying to return a 3 element array. However var_dump($pool_name); shows that it is returning no data at all. Here is my code sample.
Thanks in advance for your help!!!
try { $client_wideip = new SoapClient($wsdl,array('location'=>$location,'login'=>$username,'password'=>$password)); $pool_name=$client_wideip->get_wideip_pool($userWideIP); var_dump($pool_name); echo "The pool for $userWideIP is $pool.\n"; } catch (Exception $e) { echo "Error! "; echo $e -> getMessage (); } ?>
No RepliesBe the first to reply
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