cancel
Showing results for 
Search instead for 
Did you mean: 

WSSecurityException running 'FirstWebServiceClient' example

jjmartinez
Champ in-the-making
Champ in-the-making
Hello to all.

I'm having problems to run the example FirstWebServiceClient.java from the alfresco SDK (3.2).
It throws the following error message:

WSDoAllReceiver: security processing failed; nested exception is:
   org.apache.ws.security.WSSecurityException: The message has expired (WSSecurityEngine: Invalid timestamp The security semantics of message have expired)

The exception occurs while executing this line:

UpdateResult[] result = WebServiceFactory.getRepositoryService().update(cml);

¿Any idea?

Thanks in advice.
jj
2 REPLIES 2

openpj
Elite Collaborator
Elite Collaborator
Have you tried to follow this thread?

http://forums.alfresco.com/en/viewtopic.php?f=27&t=4949

It could be a problem related to your timezone or your timeout settings.

Hope this helps.

jjmartinez
Champ in-the-making
Champ in-the-making
ops! I missed that thread…

And you're right, the server had a diferent timezone.
Now it's working.

Thank you very much!
jj