Forum Discussion

minoseah629's avatar
minoseah629
Occasional Contributor
7 years ago
Solved

soapui mockservice https

System.ArgumentException The provided URI scheme 'http' is invalid; expected 'https'. Parameter name: via at System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) at Sy...
  • minoseah629's avatar
    7 years ago

    Since no one replied, I eventually figured it out. 

     

    Steps taken: 

    1. Start up mock Service.

    2. Create a console app. 

    3. Added Service Reference to mock Service wsdl.

    4. With this new Service Reference, app.config is generated. 

    5. Copied over appropriate binding and client endpoint to test project app.config.

    6. Ran test.