Forum Discussion
iControl transaction problem
Hi joe, thank you for your reply.
At first, the first submit_transaction() on my code is just typo. I fixed it to start_transaction. sorry.
One question, What is the purpose of setting the "urn:iControl" headers? I believe the session id needs to be passed in with the "X-iControl-Session" HTTP or SOAP header if you want to use a unique session key for the current transaction.
I saw this post describing session as SOAP header for session identifier.
My problem is the second create_v2() could be executed through out of the transaction and succeeded.
- May 26, 2015For the header, you need the header name of "X-iControl-Session". I don't see that in your code. That is what I was getting at with my question on the header. As for the expiration, I believe if a transaction expires, then the state returns to auto-commit. So if you start a transaction, wait until the expiration and then issue a command it will auto-commit. If you start a transaction, issue a command before the timeout and do not end transaction it should not commit. I'll have to go back and do some testing...
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