The provided URI scheme 'https' is invalid; expected 'http'

Problem.

Getting following error in ComAx when connecting with D365 business central using web api.

{"The provided URI scheme 'https' is invalid; expected 'http'.\r\nParameter name: via"}

Solution.

  1. First make sure wsdl reference is updated in ComAx Project.
  2. Provide user name & API password [Not account password] in ComAx configuration.