Consuming a Service Reference



I am trying to consume a Service Reference, as described in this post:

Current Behavior:

Although I am following the steps of the guide, I get the following error message:
Could not find default endpoint element that references contract [NAME OF REFERENCE] in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.

In UiRobot.exe.config there is no client section or bindings section, which is weird. I tried to create them myself, but I still got the same error message as written above.

I got it working with Studio ver. 2016.2.6274 and 2018.1.4, but not with 2018.2.0

Studio/Robot/Orchestrator Version:



Hi @TDagsvik,
You are right. I have handled this in a different way without using the app.config. Below I have attached the source. and nuget package. Code: (33.3 KB)

UiPath xml : (1.7 KB)

Nuget Package :BalaReva.Calculator.Activities.1.0.0.nupkg (4.8 KB)


How to invoke api BARCODE detector in uipath?

Thanks @balupad14 it’s work…


I also had the same problem after upgrading to 2018.2. It’s because the process that executes when a bot runs is now UiPath.Executor.exe (was previously UiRobot.exe), so the app is looking to UiPath.Executor.exe.config for the binding info instead of UiRobot.exe.config.

I added the <System.serviceModel> section to UiPath.Executor.exe.config and it worked like prior to the upgrade.