receive multiple input in biztalk exposed restjson service RRS feed

  • Question

  • I want to expose a rest service, this can accept different json object and map to single common schema.

    please help me how can i achieve this.

    • Edited by DineshNad Wednesday, December 23, 2020 9:56 AM
    Wednesday, December 23, 2020 9:54 AM

All replies

  • What have you tried so far and what issue are you having?

    Your question is a bit broad.   

    Some examples of the JSON you want to use would be a start.

    Thursday, December 24, 2020 5:04 AM
  • hi collin,

    i have already  exposed a json service and in orchestration receive shape i have used a schema. but now i want to receive different json messages so what should be the receive shape message type and how to map these 3 different json messages to common schema.

    Thursday, December 24, 2020 2:10 PM
  • Note that the way the JSON decoder works is to just add a root node and change the JSON elements into XML ones.  So you could easily create a schema that just multiple different records for your different message types.   You haven't shown what actual problem you have.
    Friday, December 25, 2020 5:38 AM