synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Re: XPath doesn't return attribute value
Date Wed, 10 Jun 2009 15:09:03 GMT
Hi Bill
> <log level="custom">
>   <property name="sessID"  
> expression="//cfl:LoginResponse/cfl:LoginResponseData/@sessionID" 
> xmlns:cfl="http:www.test.com/cfl <http://www.test.com/cfl>" />
> </log>
>
> The message body is:
>  <soapenv:Body>
>   <cfl:LoginResponse xmlns:cfl="http://www.test.com/cfl">
>    <cfl:LoginResponseData sessionID="250446AD43C0EEF3ED2F3172F8FA0A3D" 
> statusCode="0"/>
>   </cfl:LoginResponse>
>  </soapenv:Body>
The namespaces in the log mediator for cfl is "http:..." (note the 
missing "//") and is thus different from what you see in the message.. 
was this a mistake?

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com





Mime
View raw message