Skip to Content
author's profile photo Former Member
Former Member

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

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.

Image1.JPG (27.2 kB)
Image2.JPG (32.6 kB)
Image3.JPG (41.0 kB)
Image4.JPG (37.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jun 13, 2016 at 10:45 PM

    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"

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 14, 2016 at 02:25 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 07:49 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 09:13 AM

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

    Best regards,
    Vadym

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.