You need to sign in to do that
Don't have an account?

Getting Wsse:security error while making webservice callout
Hi,
I am trying to invoke the webservice and getting the below error message.
Web service callout failed: WebService returned a SOAP Fault: An error was discovered processing the <wsse:Security> header faultcode=ns1:InvalidSecurity faultactor=
This is how inputeHeaders are constructed.
aa.inputHttpHeaders_x.put('sessionID', userinfo.getSessionId());
aa.inputHttpHeaders_x.put('serverURL', serverUrl);
And here, i have the code for invoking the webservice.
Can anyone let me know why this issue is faced?
Any suggestions or response will be appreciated.
Thanks in advance.
Should Authorization parameter be set in InputHttpHeaders along with sessionId, serverUrl?
Any help or suggestion on this will be appreciated.