1) New -->start by creating a REST API
2)give name, check radio button import resources and operations ->next button
3)check radio button select from a file system to get the .json file.
Generating JSON sample message from xml/soap request..
1)copy soap request/JSON message in the the link to generate JSON from xml message http://www.freeformatter.com/xml-to-json-converter.html#ad-output
2)Remove Body{ and at the end closing bracket } from the message and update the first letter of the each field with small letter.
Validating JSON at the below link..
No comments:
Post a Comment