Forum Discussion
Jun 24, 2013
I believe the error is coming from the 3rd "session_states" parameter. The API calls for a 2-d array of Common.EnabledState enums.
https://devcentral.f5.com/wiki/iControl.LocalLB__Pool__set_member_session_enabled_state.ashx
set_member_session_enabled_state(
in String [] pool_names,
in Common__AddressPort [] [] members,
in EnabledState [] [] session_states
);
EnabledState is an enum with a value of "STATE_ENABLED" or "STATE_DISABLED". You are passing in what looks like a 2-d array of structures containing a member and state.
The server is most likely trying to parse the value of the enum and is coming across a structure instead.
-Joe