Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
1.6.4
-
None
-
None
-
JDK 1.8.51,axis2-1.6.4,apache-tomcat-7.0.54,Rampart module (rampart-1.6.4.mar),wss4j-1.6.16.jar
Description
I am getting an exception as "The message has expired" while my webservice is invoked by client having more than 5 minute time difference .Client is sending time in UTC and my service is expecting time in UTC format.If there is a time lag of 5 or more than to that of client request to that of server timing (webservice deployed) I am getting an exception as The message has expired .
Thus I am trying to increase the timestamp by adding an entry.
But it didn't work is always used to take 5 minute. Kindly let me know how can I increase the timestampTTL and timestampMaxSkew,
<ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy">
<ramp:timestampTTL>600000</ramp:timestampTTL> <ramp:timestampMaxSkew> 600000</ramp:timestampMaxSkew>
</ramp:RampartConfig>
Environment Details:
JDK 1.8.51,axis2-1.6.4,apache-tomcat-7.0.54,Rampart module (rampart-1.6.4.mar),wss4j-1.6.16.jar
Exception Details:
Find below the exception detail
[ERROR] The message has expired
org.apache.axis2.AxisFault: The message has expired
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)