<img src="//trc.taboola.com/1222697/log/3/unip?en=page_view" width="0" height="0" style="display:none">


The Knowledgebase articles are deprecated. Please visit the new Guides and Resources here: https://www.uipath.com/developers/guides-and-resources.

Knowledge Base

Consuming a SOAP Service Using Custom Activities

    1. Open Visual Studio.
    2. Create a new Activity Library project and give it a custom name.
    3. In the Solution Explorer panel, right-click References and select the Add Service Reference option. The Add Service Reference window is displayed.
    4. In the Address field, input the web service URL and click Go. All the available methods for that service are displayed in the Services section. add_service_reference_window
    5. In the Namespace field, input a custom name and click OK. A confirmation dialog box is displayed and a Service References folder is added to the project. All configuration is contained in the app.config file.
    6. (Optionally) Double-click the .xaml file in the project, access the Toolbox panel to view the activities for each method.
    7. Right-click the project and select the Build option. The project is built.
    8. Navigate to your project root folder, bin/Debug or bin/Release (depending on your build options). You should have a .dll and a .config file.
    9. Create a new .nupkg package including those two files in a lib folder, as explained in this article.
    10. Install that package in UiPath Studio.
    11. In Visual Studio, open the app.config file. These files usually contain at least two types of elements (such as bindings and client).
    12. Navigate to the UiRobot.exe.config file (usually located in C:\Program Files (x86)\UiPath Robot) and open the file in an editor, such as Notepad++.
    13. Copy the information contained between the bindings and client elements from the app.config file to the UiRobot.exe.config one, in their corresponding elements (client in the client section, custom bindings in the bindings section).


  1. Save the file. You can now run the methods from the specified SOAP service as activities in UiPath Studio.