Forum Discussion
XML_CONTENT_BASED_ROUTING Help
Hi All
I am trying to search a soap message for a particular session id and based on the first 2 values in in the ID send to a pool.
I am using an XML profile and Irule to do this. The rule has no hits. Below is the xml profile and irule and a snap of the soap message. Any ideas on where I am going wrong here.
Below is the irule
when XML_CONTENT_BASED_ROUTING { for {set i 0} { $i < $XML_count } {incr i} { log local0. $XML_queries($i) log local0. $XML_values($i) if {($XML_queries($i) contains "sessionid")}{ if {($XML_queries($i) starts_with "01")} { pool pool_server1
} else {pool pool_server2} } } }
below snap of soap message
Below is a snap of the xml profile
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