cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Web Services HTTP Authentication | Automatic Password Changes

swind
Level 2

Hi, 

I'm working for a major client on a robot which uses SOAP Web Services to access and update an online database. It uses HTTP Authentication with username and password of the user account of the robot.  For security reasons, all robots (and user accounts) have to change their password every 60 days.

For now, I can only hard-code the password of the HTTP authentication in the system of BP. This causes the error 'You are not authorised to call this webservice' everytime the password of the robot changes. 

Is there any way to make the password a data-item so that it can be accessed from the credential fault or alternatively, is there any documentation on how to configurate SSL authentication for SOAP in BP? 

Thanks in advance for your help!



------------------------------
Sarah Wind
------------------------------
5 REPLIES 5

PvD_SE
Level 12
Hi Sarah,

There is a data type Password. So yes, you can handle the password in a secure manner in a process or object.

You can also use data items of type Text to handle a password, but this is something that must be avoided at all cost. That said, it can be handy to test your development.

------------------------------
Happy coding!
---------------
Paul
Sweden
------------------------------
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

Hi Paul, 

Thanks for your answer. I'm aware of the possibility of categorizing my data-item to the password type and adding it to the credential fault. However, in the SOAP webservice you can only add the password itself, and not a data-item. Furthermore, for the action in the process the only input variables I can give are:
- listName [text]
- listItemID [text]
- fileName [text]
- addAttachment [Binary]

My question is specifically on how to set up SOAP with HTTP authentication with a password from the credential fault. Hope you can help me further. 



------------------------------
Sarah Wind
------------------------------

Hi @swind,

Unfortunately, there's no option for dynamically updating the password entry of a SOAP service defined using the SOAP Web Services wizard. ​What I would suggest is to look at AutomateC.exe (the command line utility available in the BP installation folder). This utility includes options for registering a SOAP web service and a flag called /wsauth that allows you to specify the username and password to use with the web service.

You could potentially use a script once a month to update the password that way.

I would tell you to just update it in the database, but it looks like the password for a SOAP service is encoded within the field dbo.BPAWebService.settingsXML.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi @ewilson

I have similar issue.  My SOAP service needs authentication and for some reason unable to load in to BluePrism, Where can we read more about the AutomateC utility ? I unbale to find any relevant technical material online. Could you please guide me



------------------------------
LAKSHMIGANESH Velayudham
------------------------------
VL Ganesh
Tech Arch RPA

@sastharpa ,

See the online help: https://bpdocs.blueprism.com/bp-7-1/en-us/helpCommandLine.htm

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------