Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-29 Thread Riyafa Abdul Hameed
Hi, Your issue has been fixed and shall be included in future releases. Thanks, Riyafa On Fri, Jan 19, 2018 at 1:39 PM, aditya shivankar < shivankar.adit...@gmail.com> wrote: > Respected SirThis issue does not exist in wso2ei-6.1.1 > But is present in wso2ei-6.1.1-update7

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-19 Thread aditya shivankar
Respected SirThis issue does not exist in wso2ei-6.1.1 But is present in wso2ei-6.1.1-update7 wso2ei-6.1.1-update16 I cannot migrate to older version because I am using some fixes which are done in wso2ei-6.1.1-update7. Raised issue ://jsonOject and $ are printing different jsons (different data

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread aditya shivankar
Please provide the link to download the latest version wso2 EI. With Regards, Aditya On Fri, Jan 19, 2018 at 10:18 AM, Riyafa Abdul Hameed wrote: > Hi Aditya, > > We observed this behavior. As I mentioned in my previous reply can you > report an issue? > > Regards, > Riyafa >

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread Riyafa Abdul Hameed
Hi Aditya, We observed this behavior. As I mentioned in my previous reply can you report an issue? Regards, Riyafa On Fri, Jan 19, 2018 at 10:09 AM, aditya shivankar < shivankar.adit...@gmail.com> wrote: > Hi , > > My Question is while printing //jsonObject I am able to print enriched > value

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread aditya shivankar
Hi , My Question is while printing //jsonObject I am able to print enriched value tag "Value" as well. But while printing $ "value" element is missing . While both logs are printed at same location in flow. Log print of *//jsonObjec*t after enrichment: d8ccf265-6651-468f-8d1f-d935c3c7d857

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread Riyafa Abdul Hameed
Hi Aditya, We tested your scenario and observed that the log and the payload factory are missing the "value" part. Can you please report an issue on this[1]. Please make sure to indicate the complete steps to reproduce by including the synapse configurations. Can you also check if the issue

Re: [Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread Senduran Balasubramaniyam
Hi Aditya, //jsonObject is an XPATH expression. When you apply an XPATH evaluation on a JSON, ESB / EI internally convert the JSON to XML, that's why you are seeing XML for //jsonObject xpath evaluation. Since you are sending a JSON payload it is good to use $ (which is a JSON path) Regards

[Dev] //jsonOject and $ are printing different jsons (different data content) at same location in API.

2018-01-18 Thread aditya shivankar
Respected Sir, //jsonOject and $ are printing different jsons at same location in API. Are not both suppose to have latest json payload, //jsonObject - latest json payload in xml format $ - latest json payload in json format ? Input json: { "token":