REST ADAPTER -OPERATION BINDINGS-POST-RESPONSE(JSON) — oracle-tech

    Forum Stats

  • 3,715,714 Users
  • 2,242,841 Discussions
  • 7,845,505 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

REST ADAPTER -OPERATION BINDINGS-POST-RESPONSE(JSON)

4079017
4079017 Member Posts: 3
edited August 2020 in SOA Suite Discusssions

Hi Oracle SOA folks,

Please help me below queries

1.From source(REST Service) when I would like to send JSON response to the customer-In BPEL do I need to use Translate activity ?,because while testing in postman -I am unable to view JSON response without translate activity

2..From source(REST Service) when I am sending JSON response to the customer-the JSON body is like

<Root-Element xmlns="http://TargetNamespace.com/IN_REST_DEKO_UPLOADSO_UPLOADSO_response">

{

  "httpCode" : 200,

  "status" : "SUCCESS",

  "message" : "SOUPLOAD SUCCESSFULLY"

}

</Root-Element>

above one is POSTMAN(RAW VIEW)

but customer is only expecting only JSON body

{

  "httpCode" : 200,

  "status" : "SUCCESS",

  "message" : "SOUPLOAD SUCCESSFULLY"

}

Please help how to remove root tags while sending to customer

Sign In or Register to comment.