Forum Discussion
Tyler_Robinson_
Nimbostratus
Sep 26, 2006retreiving members from a specific pool...
All I want to do is to get the members that belong to a certain pool group. This is the first time I've worked with iControl, or even an F5 product. Below is the script that I'm working with: ...
Sep 26, 2006
The issue you are having is that you aren't naming the parameter (as indicated by the "could not find element by name" error). SOAP works by named elements and since perl is a dynamic language, you need to specify the parameter names in the code.
$soapResponse = $Pool->get_member( SOAP::Data->name(pool_names => [@poolName]) );
There is an example in the SDK that does a lot with pool members:
sdkroot/sdk/samples/soap/perl/soaplite/LocalLB/poolMember.pl
You might try looking through the samples in the SDK and in the iControl CodeShare section of the site to get a feeling for how the SOAP::Lite toolkit works. You can also go to the toolkits site for more documentation
http://www.soaplite.com
Click here
Good luck!
-Joe
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
