pls try with no data in the symbol tag like

<m:symbol sessionID="one" />


Mixtped pn my iphne

On Jun 23, 2009, at 2:25 PM, indika kumara <[email protected]> wrote:

Bill , I have tested your scenario with the following mediator configuration and the message. It worked.

Mediator configuration

<filter xmlns="http://ws.apache.org/ns/synapse"; xpath="boolean(// m:GetQuote/m:symbol/@sessionID)" xmlns:m="http://www.webserviceX.NET/ ">
    <log level="custom">
<property name="sessID" expression="//m:GetQuote/m:symbol/ @sessionID" xmlns:m="http://www.webserviceX.NET/"/>
    </log>
</filter>

Message

<m:GetQuote xmlns:m="http://www.webserviceX.NET/";>
<m:symbol sessionID="one">IBM</m:symbol>
</m:GetQuote>

Out put

sessID = one

Thanks
Indika

Reply via email to