Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A8AE10F28 for ; Wed, 30 Apr 2014 12:27:17 +0000 (UTC) Received: (qmail 65574 invoked by uid 500); 30 Apr 2014 12:27:16 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 65554 invoked by uid 500); 30 Apr 2014 12:27:15 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 65541 invoked by uid 99); 30 Apr 2014 12:27:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 12:27:15 +0000 Date: Wed, 30 Apr 2014 12:27:15 +0000 (UTC) From: "Allan Cheong Tyng Huei (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CXF-5474) The message has expired MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985413#comment-13985413 ] Allan Cheong Tyng Huei edited comment on CXF-5474 at 4/30/14 12:26 PM: ----------------------------------------------------------------------- I recently encountered this issue and spent a day digging into apache ws.security package and found out that in DateUtil, the SimpleDateFormat that is parsing the "created" date is set to "UTC" time zone. I was using JBoss Fuse 6.1 with dependencies version 2.12.0-redhat-610379. As a workaround, all my SOAP requests are created with "UTC" time zone. was (Author: allancth): I recently encountered issue and spent a day digging into apache ws.security package and found out that in DateUtil, the SimpleDateFormat that is parsing the "created" date is set to "UTC" time zone. I was using JBoss Fuse 6.1 with dependencies version 2.12.0-redhat-610379. As a workaround, all my SOAP requests are created with "UTC" time zone. > The message has expired > ----------------------- > > Key: CXF-5474 > URL: https://issues.apache.org/jira/browse/CXF-5474 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime, WS-* Components > Affects Versions: 2.7.9 > Environment: Environment : > Apache CXF 2.7.8 > Jboss EAP 6 > SoapUI for testing client Side > Reporter: Mahesh Narke > Labels: cxf, soap, soapui > Fix For: NeedMoreInfo > > Original Estimate: 10h > Remaining Estimate: 10h > > I tried to implement for simple authentication i.e with password simple text type, it is working but when i tried to implement for password digest type ,then giving me exception: > unwinding now: org.apache.cxf.binding.soap.SoapFault: The message has expired org.apache.ws.security.WSSecurityException: The message has expired > I am giving new nonce value for each request and time within five min diff > WSS4JInInterceptor Bean class defination: > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:jaxws="http://cxf.apache.org/jaxws" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> > > > > > > class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"> > > > > > > > > > > > > > Client xml request Code: > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ord="http://order.demo/" > xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" > xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> > > > > joe > PE7F51/oyWFVMsiZURuUwjoZVPY= > > efPSkfHXTM6NFDDD1CJHsw== > 2013-12-23T12:17:15Z > > > > > > > > > 234 > > 0908923 > 23423 > 1000 > > > > > When i tried to call the service i am getting exception as > > > > ns1:MessageExpired > The message has expired > > > > Can any one tell me where i am making mistake? -- This message was sent by Atlassian JIRA (v6.2#6252)