cancel
Showing results for 
Search instead for 
Did you mean: 

REST sender adapter synchronous with multiple operation mapping using GET method

former_member190239
Participant
0 Kudos

Hello Experts,

I have a scenario Rest to Proxy sync , the REST service will be called using GET operation using below links

http://abc.def/scenario1/inp1/inp2

http://abc.def/scenario2/inp1/inp2

I have followed this https://blogs.sap.com/2015/10/26/exposing-rest-service-with-multiple-operations-in-sap-po-with-rest-... and is it successful using PUSH , but fails with GET

Unable to parse XML message payload to extract operation for receiver determinationorg.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.

I have followed this scenario for GET which is with single operation alone

https://blogs.sap.com/2018/07/17/rest-sender-adapter-get-and-post-examples/

Can you please share your thoughts on this

Accepted Solutions (1)

Accepted Solutions (1)

former_member190293
Active Contributor

Hi!

I guess, you should use URL pattern, something like /{scenario_id}/inp1/inp2, save scenario_id to "resource" variable to bind message type on "Operation Determination" tab.

For example, value of variable "resource" is used:

egards, Evgeniy.

Answers (0)