Skip to main content
Solved

SAP Cloud for Customer Connector Error

  • September 17, 2024
  • 5 replies
  • 84 views

Forum|alt.badge.img

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.SendServiceRequest[C](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.

Best answer by Thomas Lind

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.

View original
Did this topic help you find an answer to your question?

5 replies

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • September 18, 2024

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.


Forum|alt.badge.img
  • Author
  • Participant
  • 17 replies
  • September 18, 2024

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. 

 


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • Answer
  • September 18, 2024

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.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

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


Forum|alt.badge.img
  • Author
  • Participant
  • 17 replies
  • September 23, 2024

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings