These are not conceptually equivalent things, per se. REST does not define/specify a format. Nor a protocol. REST is an architectural style that defines various principles to which an architecture would follow.
Of course “REST” has been abused and now is more generally thought to mean “JSON over HTTP”, without any regard to following any of the principles of the REST architectural style. As an industry, we morph terms that have perfectly good meanings into something completely different.
In any case, beware the constraints that you may need to address when transforming XML (SOAP enveloped or or not) to JSON. Single element arrays, attribute naming, complex elements, etc. are things you may need to be aware of and explicitly address, depending upon the complexity/nature of the XML that needs to be processed.
#mocking#Monday-challenge#webMethods#API-Management#API-Gateway