Forum Discussion
keegan_morrison
Nimbostratus
Jun 09, 2008Generating IPPortDefinition in php
Hi. I'm stuck on something that seems so simple, yet has befuddled me for quite some time. Im trying to use LocalLB.PoolMember.wsdl to get statistics (specifically current connections) of a specific n...
Jun 19, 2008
I specifically haven't answered this one because I have zero experience working with PHP and especially the SOAP interface so I didn't want to mislead you.
From your first response, you did get back a timestamp so are you sure there is nothing in the statistics array returned? Is it zero length? The MemberStatistics array returned contains multiple MemberStatistics structures for each requested pool member. In each MemberStatistic structure, there is a MemberStatisticEntry array (the statistics variable you are displaying). This is not a scalar but an array of statistics for each member and an embedded list of statistics.
Did you verify that the MemberStatistics[0].statistics array was indeed empty?
A SOAP trace would help out, is that something the php toolkit can do?
If it is indeed an empty array, then you are not correctly serializing the 2-d array for the members parameter in the get_statistics() method.
Oh, and if you could provide the actual code where you are making the method call? It's hard to tell what you are passing in.
I can provide you samples in perl, .Net, or PowerShell relatively easily if that will help.
-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
