Unable to complete a process call with WS Security enabled

Hello,

I am currently trying to complete a call using flowable. This call works perfectly fine when I have WS Security disabled within my SOAP headers, but when WS Security is enabled, I encounter the following error.

2022-10-26 14:36:25.718  INFO 34268 --- [nio-2443-exec-9] c.a.f.process.core.WsDelegateBase        : process: FormatManagerNISTService.wsdl operation: parse
2022-10-26 14:36:25.784 ERROR 34268 --- [nio-2443-exec-9] c.a.f.process.core.WsDelegateBase        : Error in process receiveEmailRequest:1:6adac675-553a-11ed-9280-448a5b759da0 while invoking FormatManagerNISTService.wsdl
Authentication of Username Password Token Failed
org.flowable.common.engine.api.FlowableException: Authentication of Username Password Token Failed

Is there an issue with Flowable and WS Security? A few things that I noticed after doing some debugging is that it looks like the password gets dropped while communicating with Flowable. Not sure what that would point to. Any help would be greatly appreciated.

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

I am also adding the security header we’re using for our SOAP calls for more clarification on the situation.

I figured out the solution. No need to for assistance.