I would like to provide the brief idea of handling the ODATA adapter in HCI. Below is the IFlow used for query C4C ODATA service.
com.sap.gateway.core.ip.component.odata.exception.OsciException: Not Found : 404 Service with name '&codpeople&' does not exist
Otherwise you may see below error.
com.sap.gateway.core.ip.component.odata.exception.OsciException: Not Acceptable : 406 : HTTP/1.1 <?xml version="1.0" encoding="utf-8"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>00145E5B1CC71EE19AA7192A1CD80294</code><message xml:lang="en">The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request</message></error>
Usually In the real time, you are required to query ODATA service provider dynamically.. Not a static URL. In this case use content modifier to dynamically pass the value to ODATA query that you get from the SOAP message.
For eg: below is my SOAP input.
In highlighted tag, I am providing the input value that I would like to query ODATA.
Extract the value from this tag using XPATH condition in Content modifier.
Same has to be called while forming the ODATA URL in communication channel.
execute this interface, you will get only data for this account number.
Note: in case if you want to use the existing EDMX file which was already created in the system previously, make sure you are changing address in connection details also.. else you may get 404 error as below..
Fault:Not Found : 404 : HTTP/1.1 "Resource not found for the segment ''."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
9 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |