Forum Discussion

bhowe's avatar
bhowe
Icon for Nimbostratus rankNimbostratus
Oct 24, 2017

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=";

 

1 Reply

  • bhowe's avatar
    bhowe
    Icon for Nimbostratus rankNimbostratus

    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?