6 Replies Latest reply on Apr 11, 2013 11:33 AM by jaigates vg

    CBR using SOAP with Namespaces

    toby saville Novice

      Hello,

      I am trying to route a SOAP message using CBR. The SOAP is:

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:om="http://com.easynet/om">
       <soapenv:Header/>
       <soapenv:Body>
       <om:dslCheck>
       <order>
       <solutions>
       <services>
       <customer>
       <phoneNumber>02072740056</phoneNumber>
       <address>
       <postCode>sw48dx</postCode>
       </address>
       </customer>
       </services>
       </solutions>
       </order>
       </om:dslCheck>
       </soapenv:Body>
      </soapenv:Envelope>
      


      My CBR rule is:
      rule "dslchecker"
       when
       xpathMatch "/om:dslCheck"
       then
       Log : "DSLChecker";
       Destination : "om:dslchecker";
      end
      


      It doesn't work. However, if i remove the om: namespace from both the SOAP mesasge and the CBR rule, it works.

      any suggestions why this might be?

      cheers,
      Toby