on 04-10-2017 11:30 AM
Dear All,
We have following scenario using REST adapter. We'd like to expose Driver Master details functionality in ECC for 3rd party system. 3rd party system will Create, Read, Update and Delete driver details using REST API. SAP ECC will be the provider using proxy approach for all CRUD operations.
We created one sender service interface for 3rd party with multiple operations a sshown below.
We created sender channel like below and want more than one REST URL to be bound to a single channel.
I'm getting below error. I referred below blogs but I couldn't make out how to dynamically route the operations using since interface.
<html>
<head>
<title>Error</title>
</head>
<body>
<h1>Error</h1>
</b>No channel found to handle "POST" request to "/DriverMaster/"
</b>
<pre>Exception occurred. See log trace with id: n/a</pre>
</body>
</html>
I appreciate that I'm too late, but just in case someone else is having a similar issue, I think I know what the problem is. At least based on your screenshots.
In the tab "REST Resources", in the field "Pattern" you need to include a placeholder for the value that you want to pass to the dynamic attribute.
So you need to write this into the pattern field: /{resource}
Now the dynamic attribute, with the "Value Source" of "URL Pattern Element", knows where to look for the value which it will place in the REST {service} element. This can then be used in the tab "Operation Determination", as you have implemented it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Did you find any solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.