|
Of course it was a problem with my understanding of xpath in camel.
local-name(/soap:Envelope/soap:Body/*[1])='getCommunitiesRequest' works but this xpath must be invoked on NameSpace object with soap prefix defined: Namespaces ns = new Namespaces("soap", "http://schemas.xmlsoap.org/soap/envelope/"); ... from(...) .choice() .when(ns.xpath( local-name(/soap:Envelope/soap:Body/*[1])='getCommunitiesRequest')) and now everything is ok... On 05.01.2012 15:02, Rafal Janik wrote: Thanks for your reply- it is reason why there are double tags. --
| ||||||||||||||||
Title: This email may contain confident
- double soap:Body and soap:envelope tags in cxf-bc response Rafal Janik
- Re: double soap:Body and soap:envelope tags in cxf-bc re... Freeman Fang
- Re: double soap:Body and soap:envelope tags in cxf-b... Rafal Janik
- Re: double soap:Body and soap:envelope tags in c... Rafal Janik
- Re: double soap:Body and soap:envelope tags ... Freeman Fang
