Skip to Content

XML to JSON Conversion Custom Rules - REST Receiver Adapter

Hi Community,

I am facing an issue with rest receiver adapter .

The scenario is PROXY - > REST

1. While passing number in a string formatted field , JSON takes it as a number

2. Array with one single record is considered as a structure so square brackets are omitted.

I am on PO 7.5 and also using XML to JSON conversion custom rules.

I know this is a widely discussed topic and i have already made progressed with help of such earlier questions as the tab for 'custom conversion' wasn't appearing earlier and after refreshing the REST adapter it started appearing on the channel..

Any clues on what else can be done or is missed ?

Pasting Receiver Channel screenshots for ready reference !

Thanks much !

Sachin Soni

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 02, 2019 at 04:32 PM

    Hi @Sachin Soni,

    See my settings...


    rest01.png (33.5 kB)
    rest02.png (14.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2019 at 08:36 AM

    Hi Alexandre,

    Do you see any major differences apart from the check box "Add Wrapper Element" in my case?

    Thanks,

    Sachin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2019 at 06:42 AM

    Can anyone throw some light here ? Michal Krawczyk - Can you help ? I have raised an OSS to SAP but its under Medium category so will take its own time.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2020 at 01:09 PM

    Hi

    Can you please share your solution?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.