For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

notscud's avatar
notscud
Icon for Nimbostratus rankNimbostratus
Oct 22, 2013

Retrieve 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