xml routing - xml profile configuration
I am trying to perform xml routing based on SOAP content using an xml profile and iRule with XML_CONTENT_BASED_ROUTING, however am unable to get the iRule to trigger or xml profile to show any statistics.
I have tried with and without namespace mapping in the xml profile. I am trying to perform routing based on the ns2:Service element.
My XML profile is:
ltm profile xml /Common/xml_test { app-service none defaults-from /Common/xml multiple-query-matches enabled namespace-mappings { { mapping-namespace \"http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/\" mapping-prefix ns2 } } xpath-queries { //ns2:service } }
Below is a sample of the xml content:
http://www.w3.org/2003/05/soap-envelope"> xmlns:eb="; xmlns:wsu="; soapenv:mustUnderstand="true" wsu:Id="soapheader-1">2017-10-17T22:20:55.852ZA1508223423444http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/">2017-10-17T22:20:55.852ZA1508223423444 type=";