Forum Discussion
imperalix_38422
Nimbostratus
Feb 08, 2011set_session_enabled_state
I am trying to set_session_enabled_state to STATE_DISABLED for two or more nodes at a time in one call. I am seeing that only the first node gets disabled. Am I doing something wrong? Thanks!
Edit: Looks like the xml was stripped. I put the request on my dropbox: http://dl.dropbox.com/u/145446/sample.txt
2 Replies
- hoolio
Cirrostratus
Here's the xml wrapped in [ code ] [/ code ] tags:10.0.0.61 10.0.0.62 STATE_DISABLED
Aaron - What toolkit are you using? Hopefully you aren't hand rolling the XML on your own...
The LocalLB.NodeAddress's set_enabled_state method takes two parameters: node_addresses, and states. Both of which are arrays. In your trace, only the node_addresses has a single entry. Also, I don't see the correct encoding format for the arrays. They are missing the "item" entries. Here's a trace from perl's SOAP::Lite showing enabling the state for two nodes1.1.1.1 2.2.2.2 STATE_ENABLED STATE_ENABLED
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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