Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-06 Thread Lahiru Sandaruwan
Created a Jira for this... https://wso2.org/jira/browse/ESBJAVA-3350 On Mon, Oct 6, 2014 at 10:16 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Hi Anjana, I tried that. But when i save, declaration of namespace http://ws.apache.org/ns/synapse; goes away(does note get saved). That is the

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-06 Thread Anjana Fernando
H Lahiru, Yeah, I see, for this, we can give the namespace in the Xpath itself, like the following:- property name=host expression=//*[local-name()='host' and namespace-uri()=' http://ws.apache.org/ns/synapse']/ Cheers, Anjana. On Mon, Oct 6, 2014 at 9:36 AM, Lahiru

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-06 Thread Lahiru Sandaruwan
Thanks Anjana. On Mon, Oct 6, 2014 at 7:15 PM, Anjana Fernando anj...@wso2.com wrote: H Lahiru, Yeah, I see, for this, we can give the namespace in the Xpath itself, like the following:- property name=host expression=//*[local-name()='host' and

[Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Lahiru Sandaruwan
Hi guys, Is $subject a bug? Store get changed to following automatically, axis2ns9:store xmlns:axis2ns9=http://ws.apache.org/ns/synapse; messageStore=A/axis2ns9:store I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. file

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Anjana Fernando
Hi Lahiru, You can run an Xpath in the usual way for this message also; In the place you define the expression, simply first declare the namespace http://ws.apache.org/ns/synapse; with a namespace prefix, e.g. ns1, and you can put Xpath expressions with that namespace prefix, e.g.

Re: [Dev] Store mediator defined in sequence template adds a namespace to the message automatically

2014-10-05 Thread Lahiru Sandaruwan
Hi Anjana, I tried that. But when i save, declaration of namespace http://ws.apache.org/ns/synapse; goes away(does note get saved). That is the issue. Thanks On Mon, Oct 6, 2014 at 6:53 AM, Anjana Fernando anj...@wso2.com wrote: Hi Lahiru, You can run an Xpath in the usual way for this