cancel
Showing results for 
Search instead for 
Did you mean: 

Successfactor (RCM-OData API) --->HCI--->On Premise WS

mf_haq
Active Participant
0 Kudos

Hi Experts,

At present I am working on below integration flow and unable to see ODATA API's in HCI using Sender Success-factor adapter. Please share your ideas on configuration steps on below interface design.

Scenario: Success factor (RCM-OData API) --Adapter Type and M.protocol???---->HCI (Eclipse)------SOAP----->On Premise WS

Environment: Eclipse Luna

And also suggest for HCI custom developments which environment has more futures either Eclipse or Web UI

Regards,

Muhammad Shah

Accepted Solutions (1)

Accepted Solutions (1)

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Mohammed.

Please find the below details.

1) Approach.

You can use SuccessFactors( OData V2) or OData adapter to pull the message from SuccessFactors and use SOAP adapter at receiver side to push the same to on premise system.

You can add a Timer Event to schedule the IFLow and have request reply. Use receiver SuccessFactors adapter to pull the required data from SF. If you are unable to see the entities in HCI then also check with SuccessFactors to make sure required entities are made visible in SF front.

http://help.sap.com/saphelpiis_cloud4hr/EN/SuccessFactors_HCM_Suite_OData_API_Reference_en.pdf

Below blogs will help you to create a IFLow

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/05/26/starting-with-hana-cloud-integrat...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/06/22/starting-with-hana-cloud-integrat...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/11/04/building-your-first-iflow--part-1...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/11/04/building-your-first-iflow--part-2...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/11/11/building-your-first-iflow--part-3...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2015/11/11/building-your-first-iflow--part-4...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2016/02/03/building-your-first-iflow--part-5...

http://scn.sap.com/blogs/pault/2015/10/01/hci-first-steps-part-6--identifying-issues

http://scn.sap.com/community/pi-and-soa-middleware/blog/2016/02/03/building-your-first-iflow--part-7...

http://scn.sap.com/community/pi-and-soa-middleware/blog/2016/02/03/building-your-first-iflow--part-8...

2) WEB UI or Eclipse ?

   WEBUI is preferable if you are using any standard integration provided by SAP.

   Eclipse is more preferred custom integration option since the options which are available Eclipse is not available in WEBUI ( For Ex Exception Sub process ).

Regards,

Sriprasad Shivaram Bhat

mf_haq
Active Participant
0 Kudos

Hi Sriprasad,

First of all, Thanks for the quick response.

I have tried below approaches in HCI. Yes you are right either sender/receiver Successfactor or ODATA adapters can pull ODATA API's from SF.

1) Approach:

while configuring sender Successfactor adapter, Unable to see ODATA V2 message protocol. How to enable this option or is there any limitation in HCI

2) Approach:

As suggested, I followed second approach using Receiver Successfactor adapter (Req/Reply) unable to connect SF due to below error.

Cross checked and able to login in SF using CompanyID, User name and password.

Please suggest on how to get PROXY configuration details (HOST and PORT)???

Error: Failed to Connect to OData system, reason [Connection failure. HTTP status code 401]. Please check service URL and proxy settings

3 Approach:

Sender OData adapter configuration:


EDMX - Please suggest on where to download EDMX file and if any changes required in the file (I know how to add in I.Designer).


Please suggest any changes or configurations or more user access required in Successfactor to use and enable ODATA API's in Successfactor from HCI.


Once again thanks for time and information.


Regards,

Muhammad Shah

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Mohammed,

You can follow the below approach which would be very easy ( from my understanding perspective).

1) Model your integration process like below.

In start timer event you can schedule your IFlow(Run Once or on specific day or time )

2) Click on the OData adapter and configure like below

3) Both EDMX and XSD of the selected entity will be created automatically with query and rest of the details.

In case if you still  want to use sender OData adapter instead of above approach  you can follow above model operation process and generate the edmx and then you have to manually build the query[ FYI there is no model operation which can help you to build query and generate required xsd available in sender OData adapter ]

Regards,

Sriprasad Shivaram Bhat

Former Member
0 Kudos

Hi Sriprasad,

As above suggested, I try to connect both the way using SF and ODAT adapters. With the same user credentials i can login to SF application.     Please find attached screen shot.

Error: Failed to Connect to OData system, reason [Connection failure. HTTP status code 401]. Please check service URL and proxy settings

Regards,

Muhammad Shah

mf_haq
Active Participant
0 Kudos

Hi Sriprasad,

As suggested above, try to connect SF Odata API's using Receiver Successfactor and ODATA adapters. Please find below error while connecting and using same credentials can able to connect SF application.

Is this is related to User authorization or something wrong in channel configuration

Error: Failed to Connect to OData system, reason [Connection failure. HTTP status code 401]. Please check service URL and proxy settings

Below connections are using to connect SF:

Address: https://successfactors.eu/odata/v2

User Name: XXXX

Password:  XXXX


Regards,

Muhammad Shah

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Mohammed,

Address which you are using is incorrect. Use the proper API server available in the list.

Note : Server address depends the Data Server where SF instance is hosted.

HCM Suite OData API

Regards,

Sriprasad Shivaram Bhat

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Fazul,

Please share the screenshot.

Regards,

Sriprasad Shivaram Bhat

mf_haq
Active Participant
0 Kudos

Hi Sriprasad,

Thank you for your valuable time. I have successfully completed one flow.

Regards,

Muhammad Shah

mf_haq
Active Participant
0 Kudos

Hi Sriprasad,

At present I am working on Web service-->HCI-->SF integration using Eclipse LUNA 4.4 IDE.

Entire scenario has been designed and configured. While testing from SOAP UI below error popping in SOAP UI response tab. Please do the needful.

SOAP Authorization: Basic (User Name and Password) --> Is this work, because endpoint starts with HTTPS, If HTTPS with certificate please guide.

java.version=1.8.0_102 (It seems 1.7 Java version compatible for LUNA 4.4) Java 1.7 has been added installed JRE's in ECLIPSE, But it still consdering 1.8 version. Please share your suggestions.

SOAP UI Resp Error:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

   <soap:Body>

      <soap:Fault>

         <faultcode>soap:Server</faultcode>

         <faultstring>An internal error occurred during message processing. For error details check the tail log in Integration Operations and the audit log.</faultstring>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>

HCI Tail Log Error:


!SESSION 2016-10-04 17:07:03.229 -----------------------------------------------

eclipse.buildId=4.4.2.M20150204-1700

java.version=1.8.0_102

java.vendor=Oracle Corporation

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN

Framework arguments:  -product org.eclipse.epp.package.java.product

Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

This is a continuation of log file C:\Users\abcd\workspace\.metadata\.bak_0.log

Created Time: 2016-10-04 17:08:29.021

!ENTRY com.sap.adt.tools.base 4 -1 2016-10-04 17:08:29.024

!MESSAGE Skipped rest resource filters for object type com.sap.adt.ddic.typegroups because of invalid registration information

!STACK 1

org.eclipse.core.runtime.CoreException: Plug-in com.sap.adt.ddic was unable to load class com.sap.adt.ddic.typegroups.internal.TypeGroupPropertyRestResourceFilter.

Caused by: java.lang.NoClassDefFoundError: com/sap/adt/compatibility/filter/AbstractCompatibleRestResourceFilterAdapter

Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle com.sap.adt.compatibility (496).

Caused by: org.osgi.framework.BundleException: Exception in com.sap.adt.compatibility.internal.Activator.start() of bundle com.sap.adt.compatibility.

Caused by: java.lang.NoClassDefFoundError: com/sap/mw/jco3/eclipse/Registry

Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle com.sap.conn.jco.eclipse (644).

Caused by: java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

Best Regards,

Muhammad Shah

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Muhmmad,

Check the below links

SAP HANA Cloud Integration :: Webservice &amp;lt;-&amp;... | SCN

And future wise you can see more things in WEB UI as you can see the pre packaged content and updates in WEB UI .But development wise it depends on your comfort level.