Skip to main content
Nintex Community Menu Bar
Product: Kryon RPA
Product Version: All
Components: Kryon Studio
A web service is a function that can be accessed by other programs over the web (HTTP). The Kryon platform provides the ability to use web service through the Call Web Service Method advanced command in Kryon Studio. Read this article to learn how this advanced command works.
Prerequisites: None.
 
Steps: 

Using and Configuring the Call Web Service Method Advanced Command

After adding the Call web service method advanced command to your wizard, open it to edit its parameters.

 

24057iF0411CFF0DF3DC50.jpg

 

To add a Web Service URL, click on the Discover Services button.

In the Discover Web Service dialog, enter the Service URL and Protocol. Then click Discover.

If the Service and Method fields do not update with values, it means the selected protocol has not been recognized for the given web service and you must select a different protocol.

If there are multiple methods for the chosen service, you can select it from the drop-down list.

 

24058iE97781FB309E42D5.jpg

 

Click on the Select Service button. All fields are then filled in automatically in the Call web service method window:

 

24059i025B3241109BA6EE.jpg

 

Now, fill in the parameter values and click OK.

You can use this URL to implement the above example: http://www.dneonline.com/calculator.asmx   

 

Example: Get Exchange Rate per Date

Below you can find an example of using the Call web service method advanced command. We created a global group ‘Get Exchange Rate per Date’. First, we set Date and Currencies variables. Then, we implemented the web service method with defined variables.

 

24060i1F32BCB201157259.jpg

 

We saved the response from the web service into the result variable.

 

24061i268C1F6F6280FAE6.jpg

 

Since the result variable is a string (as you can see below), we must split the result value using the Split advanced command in order to extract the rate.

 

24062iC940E725420BF9EE.jpg

 

In this scenario, we could first use <decimal> as the delimiter, then perform a 2nd split using < as the delimiter to obtain just the numerical value.
 

Be the first to reply!

Reply