Rank: Newbie
Joined: 2/8/2007 Posts: 9 Location: Monaco (MC)
|
I have to call a JSON REST web service using the POST verb.
My parameters are in the format below:
{ userWs : { id :"some-id", password :"some-password" }, cod : " 95", form : "31/03/2019", to : "29/09/2019", contr : "xyz", typeRec : "abc" }
Please could someone address me how to do the above call in XMLSpy and MapForce ?
Thank you in advance ! Ivano
|
Rank: Advanced Member
Joined: 6/16/2006 Posts: 486 Location: AT
|
Use XMLSpy to create and edit a JSON schema for your parameter structure. Then, in MapForce, you can simply assign that JSON schema to the web service call component's request side and map the parameter contents into the component.
|