Click here to Skip to main content
15,886,422 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am getting the following error when I try to consume a Web Service.

"An error occurred when verifying security for the message."

I have gone through many web sites and tried to implement their suggestions, but the error still persists. So can anyone help me out in this regard.

Thank you
Posted
Updated 15-May-15 2:26am
v3
Comments
Andy Lanng 14-May-15 11:09am    
Could you please "Improve Question" and add to your question:
The end point you are using
The code you use to consume the web service (if it's third party make sure to remove the real url)
Member 11185261 15-May-15 8:23am    
Hi,

Thanks for the reply

The error was raised because the system time and the internet time were not in sync. The system time and the internet time were few minutes apart. I changed the system time and the error was solved.
Andy Lanng 15-May-15 8:24am    
Glad you got it sorted ^_^

Please update the question and add "[Solved]" to the front of the title
Suganya J 14-Jun-21 2:54am    
Thank you. Its helped.
ZurdoDev 14-May-15 14:30pm    
Do what Andy suggests but I would also guess there is more to the error message, or even an InnerException.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900