03-08-2006 08:27 AM
03-08-2006 09:02 AM
03-12-2006 12:28 PM
03-27-2006 06:13 AM
what is this : WSDoAllReceiver: security processing failed (actions number mismatch) !!
04-04-2006 03:24 AM
I receive the same error:
Mar 12 12:23:18 mystech apache2: An error was encountered when calling web service: WSDoAllReceiver: security processing failed; nested exception is: ^Iorg.apache.ws.security.WSSecurityException: An error was discovered processing the <wsseecurity> header. (WSSecurityEngine: Invalid timestamp The security semantics of message have expired)
I have Alfresco repository 1.2 and the alfresco 1.2 php library installed. This is on Ubuntu Linux with Tomcat. I realize that you have stated elsewhere that the php libraries have been tested exclusively on Windows, could this be the issue?
05-07-2006 06:14 PM
05-07-2006 06:17 PM
Did anyone find a fix to the error in the previous post?
I have the same issue on alfresco 1.2, php lib 1.2, tomcat5.5, SUSE linux.
The code is in:
alfresco/webservice/WebServiceUtils.php
function addSecurityHeader($client, $user, $ticket)
Thanks!
05-09-2006 09:59 AM
$createdDate = date("Y-m-d\TH:i:s\Z");
$expiresDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));
$created =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Created', false, $createdDate);;
$expires =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Expires', false, $expiresDate);;
$timestamp =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp', false, array($created, $expires));
05-09-2006 10:08 AM
An error was encountered when calling web service: WSDoAllReceiver: security processing failed; nested exception is: \n\torg.apache.ws.security.WSSecurityException: An error was discovered processing the <wsseecurity> header. (WSSecurityEngine: Invalid timestamp The security semantics of message have expired)
// $createdDate = date("Y-m-d\TH:i:s\Z");
// $expiresDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));
$createdDate = date("Y-m-d\TH:i:s");
$expiresDate = date("Y-m-d\TH:i:s", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));
$createdDate .= "-08:00"; //your timezone
$expiresDate .= "-08:00";
$created =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Created', false, $createdDate);;
$expires =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Expires', false, $expiresDate);;
$timestamp =& new SOAP_Value('{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp', false, array($created, $expires));
05-09-2006 10:45 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.