Forum Discussion
'STATISTIC_CURRENT_SESSIONS' is not a valid value for CommonStatisticType
I am using the latest iControl Windows SDK 11.1 via WSDL and SOAP to connect to an BIG-IP_v11.4.1. When I make the call to return the statistics using:
LocalLB_PoolMember.LocalLBPoolMemberMemberStatistics[] memberStats = _F5Member.get_all_statistics(pools);
I get the following error in return:
Instance validation error: 'STATISTIC_CURRENT_SESSIONS' is not a valid value for CommonStatisticType.
I am guessing this is due to a mis-match between the SDK I am using and the newer 11.4.1 F5. Is there a newer version of the SDK to support the newer 11.4.1?
I see references on the forum to upgrade the .NET iControl assembly, but I am using the SOAP interfaces so this does not apply.
1 Reply
- Mike_Thompson_9
Nimbostratus
So I fixed this myself :-) Instead of using the LocalLB.PoolMember class from the 11.1 SDK, I pulled it directly off the F5 using:
Seems to be working fine now. Thanks anyway for any and all that took a look and I hope this helps others.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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