I generated web logic web service client for the generated WSDL file. It worked fine a week ago. Now if I run the same client application it's throwing the following exception. I could not get the meaning of it. Please help me.
Exception in thread "main" java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}InvalidSecurityToken] FaultString [Security token failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@4474c840[status: false][msg UNT Error:Message older than allowed MessageAge]] FaultActor [null]No Detail; nested exception is:
weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Security token failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@4474c840[status: false][msg UNT Error:Message older than allowed MessageAge]
at examples.webservices.wsdlc.client.SIMPortType_Stub.lookupItemDetail(SIMPortType_Stub.java:89)
at TestClient.main(TestClient.java:64)
Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Security token failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@4474c840[status: false][msg UNT Error:Message older than allowed MessageAge]
-KM
H Paul
Ranch Hand
Joined: Jul 26, 2011
Posts: 228
posted
0
If it helps in terms of what:
1. Your SOAP Message sent from the client to the Web Service Provider: Message Level Security + UNT.
A SOAP message with a timestamp that does not expire is vulnerable to replay attacks.