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

    Forum Stats

  • 3,701,020 Users
  • 2,239,262 Discussions
  • 7,834,977 Comments

Discussions

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

40790174079017 Posts: 3
edited August 4 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.