Authenticating http request using WS-Security Username extension

I’m trying to access web service that requires using WS-Security Username extension for authentication. Using simple authentication with username and password results in response with authentication error message.

How should I configure the HTTP request activity properly?

P.S. I’m using UiPath Studio 2017

@wendorio

I hope this scenario needs the credentials in headers. Can you check that way?

I am not sure how to find that out as I’m quite new to this but I’ve tested the request with Wizdler add-on for Firefox. It woks when I set authentication settings to “WSSE PasswordText Authentication” and fill in username and password

It turns out, that I only needed to insert authentication directly into request body as plain text:

<Header>
	<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
		<UsernameToken>
			<Username>????</Username>
			<Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">????</Password>
		</UsernameToken>
	</Security>
</Header>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.