How to start Robot from .Net API


#1

Hi
I am trying to start the robot from .Net application wcf. Can anyone please share sample


#2

Hi @DeviE,

Refer this link,

Regards,
Arivu


#3

Hi,
I tried the ref https://www.uipath.com/kb-articles/start-process-from-.net-application and getting below error


#4

Hi @DeviE,

the error message showing you need to implement 3 methods.
you are inheriting the interface IUiPathRemoteDuplexContractCallback this class so you must give destination of the methods

    public void OnPackagesUpdated()
    {

    }
    public void OnLog(string value)
    {

    }
    public void OnTrackReceived(string value)
    {

    } 

you missed to add this namespace using System.Xml.Serialization;

Regards,
Arivu


#5

I just included the classes. Atlast it is throwing one exception
Error 1 ‘ROBOT_API.RobotClient’ does not implement interface member ‘ROBOT_API.ServiceBot.IUiPathRemoteDuplexContractCallback.OnTrackReceived(string)’. ‘ROBOT_API.RobotClient.OnTrackReceived(string)’ cannot implement ‘ROBOT_API.ServiceBot.IUiPathRemoteDuplexContractCallback.OnTrackReceived(string)’ because it does not


#6

you need to give definition of the methods i hope.

Regards,
Arivu


#7

Do you have that project build successful


#8

@DeviE, Not 100% sure

image

Reference:
Same link shared by Arivu

Regards,
Dom :slight_smile:


#9

It is possible in version 7