Forum Discussion
xml profile
Hi Folks,
I have an issue with xml profile and require some help. The xml content is not hitting my xml profile. As you can see from the xml content, i am trying to grab this value on ws:url "eboltjvm1 or eboltjvm2" and thereby routing the traffic to the correct pool. From my xml profile stats, i can see documents being scanned but not matched. I know something is wrong with my namespace but i just cant get it right. Hope that someone can enlighten me on this. many thanks.!!
A9AB398E8B5D258C8B85D31B16DD59AC.eboltjvm1 http://10.128.10.10/ws/InvocationService;jsessionid=A9AB398E8B5D258C8B85D31B16DD59AC.eboltjvm1 eboltStartIncomingCall 1234567890
i configured my profile as follows:
ltm profile xml /Common/xml_cbr { app-service none defaults-from /Common/xml namespace-mappings { { mapping-namespace http://www.jacada.com mapping-prefix jac } } xpath-queries { //ws:url } }
And my irule as follows:
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 {([matchclass $XML::values($i) contains eboltjvm1])} { pool pool1 } else { pool pool2 } } }
Ltm::XML Profile: xml_cbr
Virtual Server Name N/A
Inspected Documents 10 Documents With One Match 0 Documents With Two Matches 0 Documents With Three Or More Matches 0 Documents With No Matches 10 Malformed Documents 0
1 Reply
- ehtan_139395Historic F5 AccountA9AB398E8B5D258C8B85D31B16DD59AC.eboltjvm1 http://10.128.10.10/ws/InvocationService;jsessionid=A9AB398E8B5D258C8B85D31B16DD59AC.eboltjvm1 eboltStartIncomingCall 1234567890
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