I don't think you are using the right XPath and the right parameters for the evaluate.
Can you try to use below code ?

String s2 =
d.xpath("/sea:ESROrder/OrderDetails/ResponseDetails/Status", String.class).evaluate(e);

Willem

On 9/9/10 5:33 PM, mpogra wrote:

Sorry..the code that i changed it:

        String s2 =
d.xpath("/sea:ESROrder/sea:OrderDetails/sea:ResponseDetails/sea:Status").evaluate(e.getContext(),
e.getIn().getBody(String.class));

I have added namespace prefix to it.

Reply via email to