Question

1
Replies
38
Views
JayanthiK4197 Member since 2018 8 posts
Bank Of America
Posted: October 31, 2019
Last activity: October 31, 2019
Closed

Using a service reference in a robotic automation

I am trying to use a service reference in an automation. I made a console application to test it, and it works. I can not figure out how to use the ServiceClient from the toolbox (of course I have looked at the pega documentation for it), so I added a class library to the solution with the pega project for the purpose of using the service. the library is exactly the same as the console app, I have removed it and added it 3 or 4 times, it is the same code exactly. it has the same appconfig. when I run it in the pega project it throws

"Could not find default endpoint element that references contract 'LIQCED.IWSWrapper' 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."

If someone knows why this is happening or else how to actually use the ServiceClient, that is what I'm after. the endpoint address starts with net.tcp so I don't know if pega only knows how to query http WSDL files or something like that.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn