I’ve experimented with this example and it works fine.
However i tried to implement this in a project and it is currently not working it only gives me the error Message: Object is read-only.
I’ve also tried using the SOAP activity however the error that it gives is different it says that i’m triyng to authenticate as “Anonymous” (I´ve tried Basic and Windows Credential Authentication) and it should be “Negotiate,NTLM” can someone help with this please?