Which statement accurately describes how to use SOA Suite to create a REST interface for a provider application that does not support REST?

Which statement accurately describes how to use SOA Suite to create a REST interface for a
provider application that does not support REST?

Which statement accurately describes how to use SOA Suite to create a REST interface for a
provider application that does not support REST?

A.
Oracle Service Bus must be used. An HTTP proxy service is created and a pipeline is added
with a conditional branch for each HTTP verb that the interface will serve. If there is any non-XML
payload, such as JSON, an external parser service must be used to translate it to XML.

B.
Use Oracle Service Bus or BPEL Process Manager and utilize the REST binding that is
available for both. The RESTbinding will automatically translate a REST payload from JSON or
XML to SOAP/XML for processing in the middleware layer.

C.
Use a BPEL process with a REST binding and utilize the nXSD activity to translate the native
JSON payload to XML for processing.

D.
Use the HTTP transport in Oracle Service Bus for the REST interaction and use nXSD to
translate the JSON payload to XML for processing.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


JamesCorner

JamesCorner

C

Maggi

Maggi

I think it is B, because both OSB and SOA provides REST support

Omar

Omar

Both support REST it’s true BUT, does it transform to xml automatically?

Pim

Pim

B, Oracle documentation says something about transforming REST/JSON internally to SOAP/XML (in 12.1.3):
“By default, the new REST service/reference binding uses WADL. However, select this option if you need to use the 12.1.3–style composite that internally maps REST resources and verbs to WSDL operations and XML schemas, and translates the incoming payload into XML. You would also want to select this checkbox if your composite uses components like the Mediator, which supports only WSDL-based operations.”
https://docs.oracle.com/middleware/1221/soasuite/develop/GUID-F11C4900-67D6-4434-83AC-8EB1D52BE238.htm#SOASE88070