Re: [Dev] ClassCastException when using datamapper

2016-06-21 Thread Keerthika Mahendralingam
Thanks Nuwan. After changing the input output type, it is working in the the ESB pack that you provided. Getting the same error in the ESB BETA pack. Thanks, Keerthika. On Tue, Jun 21, 2016 at 12:20 PM, Nuwan Pallewela wrote: > Hi Keerthika, > > You need to change the input

Re: [Dev] ClassCastException when using datamapper

2016-06-21 Thread Nuwan Pallewela
Hi Keerthika, You need to change the input and output type in the data mapper mediator as JSON. Thanks, Nuwan On Mon, Jun 20, 2016 at 5:10 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Hi Viraj, > > I used the schema from connector and also I tried to create the schema > from

Re: [Dev] ClassCastException when using datamapper

2016-06-20 Thread Keerthika Mahendralingam
Hi Viraj, I used the schema from connector and also I tried to create the schema from the exact payload that I received before the data mapper. In both cases I'm getting the same error. Please find the payload and input output schama: { "id":"PS9VE7M", "incident_number":3,

Re: [Dev] ClassCastException when using datamapper

2016-06-20 Thread Viraj Rajaguru
Hi Keerthika, It seems the schema and the received payload doesn't match each other. Can you send us the payload just before the datamapper mediator.(Log level="full") We will find input and output schemas from [1] and [2]. Hope connector store contains updated connectors with schemas. Or else

Re: [Dev] ClassCastException when using datamapper

2016-06-20 Thread Keerthika Mahendralingam
Hi Nuwan, Using ESB 5.0.0-BETA. Thanks, Keerthika On Mon, Jun 20, 2016 at 4:25 PM, Nuwan Pallewela wrote: > Hi Keerthika, > > What is the ESB version you are using? > > Thanks, > Nuwan > > On Mon, Jun 20, 2016 at 4:03 PM, Keerthika Mahendralingam < > keerth...@wso2.com>

Re: [Dev] ClassCastException when using datamapper

2016-06-20 Thread Nuwan Pallewela
Hi Keerthika, What is the ESB version you are using? Thanks, Nuwan On Mon, Jun 20, 2016 at 4:03 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Hi All, > > I am getting the following error when I used data mapper to create an > integration scenario. I installed the tool from >

[Dev] ClassCastException when using datamapper

2016-06-20 Thread Keerthika Mahendralingam
Hi All, I am getting the following error when I used data mapper to create an integration scenario. I installed the tool from http://builder1.us1.wso2.org/~developerstudio/devstudio-tooling-esb/5.0.0/Beta/composite/ and used input output schema from jira and pagerduty connector schema. I have