Forum Discussion
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=";
- bhowe
Nimbostratus
Problem appears to be with this line:
http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/"; xmlns:wsu="; soapenv:mustUnderstand="true" wsu:Id="soapheader-1">
If I replace this with: ' target="_blank" rel="nofollow">http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/">;
The XML profile statistics show an inspected document.
Does this look like an issue with the XML formatting of the request or an issue with the F5 not being able to understand the request?
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