Could some explain the error above? What is the root cause of this error. The same code works fine in Windows Environment. But when I tested the same in Linux Ubuntu 8.04.02 JDK 1.6.07_b6 environment, I got the above said error. Please help me out. I am using Spring WS 1.5.5, Spring framework 2.5.6, spring security 2.0.4 and tomcat 6.0.18.Code:2009-02-15 00:58:33,322 WARN [org.springframework.ws.soap.security.xwss.XwsSecurityInterceptor] - Could not validate request: com.sun.xml.wss.impl.WssSoapFaultException: The creation time is older than currenttime - timestamp-freshness-limit - max-clock-skew; nested exception is com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.WssSoapFaultException: The creation time is older than currenttime - timestamp-freshness-limit - max-clock-skew 2009-02-15 00:58:33,322 DEBUG [org.springframework.ws.soap.server.endpoint.interceptor.SoapEnvelopeLoggingInterceptor] - Fault: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring xml:lang="en">com.sun.xml.wss.impl.WssSoapFaultException: The creation time is older than currenttime - timestamp-freshness-limit - max-clock-skew; nested exception is com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.impl.WssSoapFaultException: The creation time is older than currenttime - timestamp-freshness-limit - max-clock-skew</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
The following is my webservices request using usernametoken and password digest configured in SOAP UI.
securityPolicy.xmlCode:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://eis/services/knowledgeTest/schema" xmlns:sch1="http://eis/services/common/schema"> <soapenv:Header/> <soapenv:Body> <sch:knowledgeTestSearchRequest> <sch:searchRequest> <sch1:clientId>103</sch1:clientId> <sch1:region>T</sch1:region> <sch:firstName>Fred</sch:firstName> <sch:middleName></sch:middleName> <sch:lastName>Smith</sch:lastName> <sch:dateOfBirth>2009-14-02</sch:dateOfBirth> <sch:citizenFlag>Y</sch:citizenFlag> <sch:ssn>222222222</sch:ssn> <sch:alienNumber>?</sch:alienNumber> <!--1 or more repetitions:--> <sch:testType>DIE</sch:testType> </sch:searchRequest> </sch:knowledgeTestSearchRequest> </soapenv:Body> </soapenv:Envelope>
We have to give this to testing on Monday and I am kind of desperate. I tested the service using SOAP UI to send the request to the server both in Windows and LINUX.Code:<xwss:SecurityConfiguration dumpMessages="false" xmlns:xwss="http://java.sun.com/xml/ns/xwss/config"> <xwss:RequireUsernameToken passwordDigestRequired="true" nonceRequired="true"/> </xwss:SecurityConfiguration>


Reply With Quote