cancel
Showing results for 
Search instead for 
Did you mean: 

REST Channel: Variable "service" is not defined in resource mapping

Former Member
0 Kudos

Hello All,

I have a REST scenario with this configuration:

And when I send the test, I get this error "Variable "service" is not defined in resource mapping"

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear Sandra,
refer to SAP Note #2334636. I believe it will fix your issue.

Best regards,
Vadym

0 Kudos

We have the same problem here, We had a working situation, until last friday when we upgraded to 7.5. It looks like a bug.

Former Member
0 Kudos

Hi

Try to mimic the scenario with help of this blog. Somehow I believe the issue can be related to defining the operation and expression. As per blog it says the operation is basically point to message type name and expression is name operation or may other way round. Please try both and see if it works.

http://scn.sap.com/docs/DOC-60858

Snavi
Active Participant
0 Kudos

Hi Sandra,

your configuration looks correct.

in your sender channel , you have defined resource endpoint as "ConsultasOTI", whereas when you are testing using REST client your URL points to resource "ConsultasOTI2"

do you have 2 different resources, can you share the screenshot of "REST Resources" tab for channel configured to resource "ConsultasOTI2"

check if channel with "ConsultasOTI2" endpoint has correct configuration in "REST Resources"