I am currently exploring the SOAP API call functionalities within UiPath. The WSDL link is publicly available, and requires no authentication whatsoever.
Unfortunately, the UiPath activity doesn’t give me the same output an online API test tool does (Via https://wsdlbrowser.com/). Attached, I have included two screenshots showing: 1. The results via WSDL browser
and 2. via UiPath. As you can see, the WSDL browser does provide me with the all the desired data, while UiPath only provides the date.
Intrestingly, date is the only missing variable in the UiPath overview but is the only output presented when ‘invoked’. Removing the other three variables (Valid, Name & Address) from the overview corrupts the whole request (Method ‘CheckVatPortTypeClient.checkvat’ not found).
Thanks for the investigation, I really appreciate it! I agree with the conclusion that the activity is probably not functioning as it should, since the VAT Check only requires two parameters to be submitted (countryCode & vatNumber), instead of 5, for a succeful API call. I will contact UiPath and hope they will be able to fix it.
UiPath Ticket provided me with the following response:
Kindly be informed that we have seen such issue with few of the WSDL files.
As a workaround you can either use http request activity, Code activity or create custom code to write the VB code for calling the SOAP request.
Please find the below the link as a reference:
Where is used The variable name “SOAPAction” ? I understand that It contains the method name but I didnt find where you used the variable. I followed your steps but the request does not contain any data. If I send the request in SOAP, It returns me the correct string
However, there is still something bugged somewhere, because when you hit “Ok” from the wizard it doesnt populate the parameters collection in activity properties as you would expect, and you’ve got to fill in, making sure you list all the 5 arguments with the correct variable type