Forum Discussion
Omachonu_Ogali1
Dec 20, 2006Historic F5 Account
Can't disable a pool member via PHP/SOAP+WSDL
I'm trying to disable a pool member, but not having any luck. I've called both the set_monitor_state() and set_session_enabled_state() functions, but the member is never disabled.
Is there a...
Dec 20, 2006
I haven't used the PHP interface and don't know the language so well, but what I do see is that you are passing in a 1-D array for the first parameter and a 1-D array for the second parameter.
The signature for set_session_enabled_state() is as follows:
struct MemberSessionState {
IPPortDefinition member;
EnabledState session_state;
};
void LocalLB::PoolMember::set_session_enabled_state(
in String[] pool_names,
in MemberSessionState[][] session_states
);
You'll need to pass in a 1-D array for the pool_names parameter and a 2-D array for the session_states structures (the first dimension equates to each pool in the pool_names list, the second dimension is for all of the pool members in that given pool).
Sorry I can't be more help. Let us know when you get it working.
Also, if you could come up with a HTTP trace of this call, that would also help in diagnosing what other issues might be.
-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