An Integration Procedure uses an HTTP action to make a REST API call. The response must be converted into XML before sending to another external web service. How should the procedure be configured?

Study for the OmniStudio Developer Test. Focus with flashcards and multiple-choice questions, each with hints and explanations. Get ready for your exam!

Multiple Choice

An Integration Procedure uses an HTTP action to make a REST API call. The response must be converted into XML before sending to another external web service. How should the procedure be configured?

Explanation:
Converting a REST API response from JSON to XML is best done with a DataRaptor Transform because this tool is designed to reshape and format data inside an Integration Procedure. You can take the JSON returned by the HTTP action and define an XML structure in the Transform, mapping each JSON field to the corresponding XML elements. The result is an XML payload that can be passed to the next external service via another HTTP action. Using a Remote Action would imply invoking server-side Java/XML APIs that aren’t how OmniStudio handles data formatting, and DataRaptor Extract isn’t intended for transforming a REST response into XML. The XML conversion isn’t achieved simply by a checkbox on an Output JSON Path in Extract, since that option relates to extraction behavior rather than formatting the data into XML.

Converting a REST API response from JSON to XML is best done with a DataRaptor Transform because this tool is designed to reshape and format data inside an Integration Procedure. You can take the JSON returned by the HTTP action and define an XML structure in the Transform, mapping each JSON field to the corresponding XML elements. The result is an XML payload that can be passed to the next external service via another HTTP action.

Using a Remote Action would imply invoking server-side Java/XML APIs that aren’t how OmniStudio handles data formatting, and DataRaptor Extract isn’t intended for transforming a REST response into XML. The XML conversion isn’t achieved simply by a checkbox on an Output JSON Path in Extract, since that option relates to extraction behavior rather than formatting the data into XML.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy