i need to do a message mapping from Json (Kafka) to SOAP WSDL in SAP CPI .
The built-in message mapping feature from SAP CPI only supports XML/WSDL or Swagger JSON Content.
Is there another way to to the message mapping to populate the WSDL?
Is it possible to convert the json to an xml and then create a XML for the message mapping?
The JSON i get is also not static in term of content. This means there can be many children like:
`{
"item_list": [
{
"item_id": "T1",
"item_text": "Test1"
},
{
"item_id": "T2",
"item_text": "Test2"
},
{
"item_id": "T3",
"item_text": "Test3"
"item_color": "red",
"item_subtext": "testing"
},
{
"item_id": "T4",
"item_text": "Test4"
"item_material": [
{
"item_id": "T4.1",
"item_text": "Test4.1",
"item_color": "red"
},
{
"item_id": "T4.2",
"item_text": "Test4.2",
"item_color": "green"
}
]
}
]
}
}`
Do you have a clue how to do the mapping and maybe have an example for that ?
Thank you !
I tried the message mapping through the standard message mapping. But my Jason Response was not accepted. With the WSDL there was no problem.
Nakai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.