Skip to Content
0

Error in Channel Using SFSF REST Adpter While Calling LMS APIs (SearchStudents)

Mar 15, 2017 at 12:07 AM

109

avatar image
Former Member

Hi PI Experts

I created 2 simple interfaces, In first interface, I used the following URL

https://<LMS_SERVER>/learning/public-api/rest/v1/current-user/curricula?creationDate=1400507439999∾tive=true in Resource Path in sender channel using SFSF REST adapter.

This interface works fine. However when I tried the URL below to search Students

https://<LMS_SERVER>/learning/odatav4/searchStudent/v1/Students?$filter=criteria/isActive%20eq%20true

It throws the error below

com.sap.aii.adapter.sfsf.ra.xi.util.SFSFAdapterException: REST_CALL_ERROR:An error occurred while calling rest service. Please check the logs.

I have tried all permutations and combinations by creating a synchronous interface and putting the API in receiver channel instead of the sender but it throws the same error.

Is there anyone who has been able to call the LMS APIs successfully? Please assist.

10 |10000 characters needed characters left characters exceeded
Former Member

Did you solve this issue?

I m facing the same problems..

Thanks

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Alim Ahmed Momin Feb 07 at 01:33 PM
0

Former Member

Hi Sonal,

Could you please help if you were able to resolve that issue and how?

Alim

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 17 at 01:32 AM
0

Hi All,

My colleague found SAP NOTE 2549565 and it says that ODATA v4 calls were not supported by the current SFSF Adapter with Rest Protocol. Please see below details.

When should you use SFSF Adaptor? SFSF Adaptor allows for SOAP and REST calls and with new extensions can make OData calls such as those made to Success Factors EC OData API. However, it does not support newer OData v4 calls which means it no longer supports integration to LMS OData API until it gets upgraded and it becomes compatible with the latest OData libraries (v4 onwards).

Why should you use newer OData/REST Adaptor? The newer adaptor supports OData V4 and gives you free access to consume all available LMS OData APIs where all operations are available.

Regards,

Rigie

Share
10 |10000 characters needed characters left characters exceeded