cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to API to IDT

former_member334960
Participant
0 Kudos
348

Hi All,

I have an API as https://attest-dev.XXXXXXXXXXXXXX/api/v2/usersAll

I am trying to connect to this API in IDT. Can you pls suggest if I need to use XML file connector or Web service in IDT.

I used XML and the connection is success but I get host name cannot be null when I try to create dfx.

Below is the API file format

untitled11111.png

Can someone please help.

Thank you

Poojitha

denis_konovalov
Active Contributor
0 Kudos

I have fixed your tag. Please select more careful next time.
Also, you should fix your title/description as you're not connecting from API to ITD, you're connecting from IDT to a web service.

Accepted Solutions (0)

Answers (1)

Answers (1)

ayman_salem
Active Contributor
0 Kudos

See the example in the SAP Help (Data Access Guide - XML driver)

https://help.sap.com/viewer/aa4cb9ab429349e49678e146f05d7341/4.2.7/en-US/ec32c3346fdb101497906a7cb0e...

....

Define your XML driver connector as remote. The "http" protocol is supported.

...

hope that answers your question

former_member334960
Participant
0 Kudos

I get the below error I connect :Host name cannot be null
capture.jpg

ayman_salem
Active Contributor
0 Kudos

http not https