consuming AIF web service with Https://

Hello All,

I am consuming this AIF web service in D365. I have already written the code to consume the AIF web service in C#. also my app.config is also created. but when i try to push the data

i am getting below error : 

"The provided URI scheme 'https' is invalid; expected 'http'. Parameter name: via"

For your reference i am using below url : In the name of Xyz.. i have my server name information..this is just a sample. for you guys


Please suggest me the solution for this..where i have to change exactly and what needs to be change?