[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, http://ws.apache.org/ns/synapse"; messageStore="A"> I receive this message to a proxy defined in ESB, and the message has this namespace. E.g. http://ws.apache.org/ns/synapse";> myftphost

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. "/ns1:file/ns

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 wrote: > Hi Lahiru, > > You can run an Xpath in the usual way for this message also

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 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 issue. > >

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:- http://ws.apache.org/ns/synapse']"/> Cheers, Anjana. On Mon, Oct 6, 2014 at 9:36 AM, Lahiru Sandaruwan wrote: > Created a Jira for this... https://wso2.org/jira/browse/ESBJAVA-3350 > > On Mon,

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 wrote: > H Lahiru, > > Yeah, I see, for this, we can give the namespace in the Xpath itself, like > the following:- > > expression="//*[local-name()='host' and > namespace-uri()='http://ws.apache.org/ns/synapse']