cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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&a... 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%20tru...

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.

Former Member
0 Kudos

Did you solve this issue?

I m facing the same problems..

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

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

Former Member
0 Kudos

sonal.mangla2

Hi Sonal,

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

Alim