cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Rest Adapter

rasjoshi
Active Contributor
0 Kudos

Hi All,

I am trying to use Rest adapter to pick JSON messages.

I see message in delivered status but I dont see the fields getting populated here.

Source Payload -

{

   "Records": {

      "Emp_ID": "1",

      "Emp_Name": "Rashmi",

      "Emp_Surname": "Joshi"

   }

}

Target Payload -

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_ImportData xmlns:ns0="urn:xxxx.com:RashmiRest"></ns0:MT_ImportData>

Where is my data?? why fields are not getting mapped?? My Mapping in ESR is saved and active.

Below are Sender Comm. Channel Confi -

Data Format - JSON

Character Set - Manual

Character Set Name - UTF-8

Convert to XML - Checked

QoS - EO

Endpoint - Provided

Rest Operation - HTTP Operation

BR,

Rashmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Have you taken the actual source payload after the sender adapter has picked it up and run it thru the mapping?

Please also check cache.

Regards,

Jannus Botha

rasjoshi
Active Contributor
0 Kudos

Issue resolved

BR,

Rashmi

Former Member
0 Kudos

Hi,

Yes, always remember to test your mapping with the source payload. That is why you got that error.

Please also reward guys that helped you. Because if you dont you wont receive help anymore.

Regards,

Jannus Botha

rasjoshi
Active Contributor
0 Kudos

Thanks Jannus, but it wasnt a mapping error otherwise I would have given you points

It was a channel issue.

BR,

Rashmi

Former Member
0 Kudos

Hi,

Assumed it was because you didnt give a detailed resolution for the problem?

Can you please paste the solution here.

Regards,

Jannus Botha

Answers (0)