Question

AIG
US
Last activity: 21 Dec 2016 4:38 EST
CWWSS5502E: The target element: wsse:UsernameToken was not expected
Secure SOAP service with "WS-Security Profile, keystore, SOAP 1.2, TLS1.0 "; I am getting execption message of following, however can't be find with SOAP UI
security.wssecurity.WSSContextImpl.s02: com.ibm.websphere.security.WSSecurityException: Exception org.apache.axis2.AxisFault: CWWSS5502E: The target element: wsse:UsernameToken was not expected. ocurred while running action: com.ibm.ws.wssecurity.handler.WSSecurityConsumerHandler$1@5d285d28
Similer setup with WS-Security Profile, keystore, SOAP 1.2, TLS1.0 from SOAP UI works well.