Skip to main content

Hi,

I have used the SAP Cloud for Customer Connector to connect SAP C4C and setted up following parameters Getting the error, Need your help on the same as  I have a demo tomorrow

 

But I am getting Error as 

Service request failed: Exception has been thrown by the target of an invocation. (System.Exception)

Details:

Service request failed: Exception has been thrown by the target of an invocation. (System.Exception)
Module: TimeXtender.ODX.Engine
TimeXtender.ODX.Engine.ODXFaultException
   at TimeXtender.ODX.Engine.ODXEngine.SendServiceRequestRC](WcfServerSettings serverSettings, Action`2 action)
   at TimeXtender.DataManager.ConnectingThread.ExecuteConnectingThread(Object dummy)

Service request failed: Exception has been thrown by the target of an invocation. (System.Exception)
Module: timeXtender
TXModelInterface.ExceptionWrapperException
   at TimeXtender.DataManager.ConnectingThread.HandleError()
   at TimeXtender.DataManager.ConnectingThread.Execute(String title, Int32 progressSteps, List`1 actions)
   at TimeXtender.DataManager.ConnectingThread.ExecuteFastAction(String title, Action action, IWin32Window parentForm, CancelBehaviors cancelBehavior, ErrorBehaviors errorBehavior, String callerName)
   at TimeXtender.DataManager.EditDataSourceCommand.Dialog_OnTestConnection(Object sender, EventArgs e)

Time: 2024-09-17 14:28:22
UTC: 2024-09-17 08:58:22
Title: ODXNew - TimeXtender Data Integration
Application: 6745.1
User: Dell
Domain: GLEEVOAZ-032A37
Login user: Kaustubha Pimplikar (kaustubha.pimplikar@gleevoaz.com)
OS: Microsoft Windows 11 Pro
OS version: Microsoft Windows NT 6.2.9200.0
Machine name: GLEEVOAZ-032A37
CPU count: 4
Build: 64 bit
Exception has been thrown by the target of an invocation.

Hi @pkaustubha 

If you need to use OAuth, you need to set the Auth Scheme field to be equal to OAuth. Basic is user and password and the error seems to state that you do not have access.

The OAuth option requires a callback URL, but the app you use for it also need to use the same URL in the setup.


Hi Thomas,

There is no OAuth option, it is either BASIC OR AZURE AD.

What should I do. Can you also list the steps for me to connect with both SAP HANA and SAP Cloud of Customer using CDATA Connector. This will be helpful. 

 


We only got the guides provided by CData.

SAP HANA -> https://cdn.cdata.com/help/SNK/ado/pg_connection.htm

SAP Cloud for Customer → https://cdn.cdata.com/help/OHK/ado/pg_connection.htm

Also if you read the above it writes that Azure AD is what you use when you want to use OAuth and BASIC is when you do not use the APP. Also, when you do not use the APP, Initiate OAuth should be set to OFF, to avoid it attempting to use that method.


Hi @pkaustubha please let us know if you have any follow up questions


Hi Christian,

It is working with SAP HANA now. We can close the ticket, In case I need any additional information, will once again send the query.


Reply