Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

User_W2CZBAug 4 2020 — edited Aug 4 2020

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

Comments
Post Details
Added on Aug 4 2020
0 comments
210 views