After upgrading to BW 5.12 or later version, service with UsernameToken authentication fails and returns SOAP Fault with faultstring 'Exception thrown while trying to deserialize the SOAP message'
book
Article ID: KB0079342
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
5.12, 5.13.x, 5.14
Description
After upgrading to BW 5.12 or later version, service with UsernameToken authentication that uses Custom Password Lookup fails and returns SOAP Fault with faultstring 'Exception thrown while trying to deserialize the SOAP message'.
Exception thrown while trying to deserialize the SOAP message ..... caused by: java.lang.NoSuchMethodError: org.apache.ws.security.WSPasswordCallback.getIdentifer()Ljava/lang/String;
BW 5.12 and later versions use a newer version of WSS4J. In the newer version, the method org.apache.ws.security.WSPasswordCallback.getIdentifer() has been replaced with getIdentifier(). Custom Password Lookup code fails due to this change in method name.
Issue/Introduction
After upgrading to BW 5.12 or later version, service with UsernameToken authentication fails and returns SOAP Fault with faultstring Exception thrown while trying to deserialize the SOAP message
Resolution
Replace the call to the method getIdentifer() with a call to the method getIdentifier() in Custom Password Lookup code.