From BizTalk 2013 R2 & upper version, BizTalk also provides in-build REST service capability. Before this, there was required custom coding for Json file and rest services. Now it’s easy to create schema from Json file.

Select JSON Schema Wizard, following window will open

Select Json file in instance file and change the root node name and click finished. It will create schema.
This JSON schema Wizard does not provide schema creation for array-list json files. for arraylist json file you need to create custom pipeline.
Click here for custom pipeline for below requirement
- Handle Non-List/Array json messages
- Handle List/Array json messages
- Remove special characters before json Decoder pipeline stage
https://vkbiztalk.com/2018/08/31/handle-array-list-json-messages-in-biztalk-receive-pipeline/

2 responses to “Create Schema from JSON files:”
[…] https://vkbiztalk.com/2020/03/11/create-schema-from-json-files/ […]
LikeLike
[…] So before jump into to configure the send port. You need to first create schema based on the json files and promoted properties if there are parameters in Rest Service URL. For creating schemas from json file click here. […]
LikeLike