I encountered this error while executing the following snippet,
factory.CreateChannel().Issue(rst) // Here the rst is a RequestSecurityToken object and
// factory is a WSTrustChannelFactory object
It seems that this was due to incorrect clock skew between my machine (client) and the server (where the WCF service was running). After correcting the time of my machine the error went away.
An unsecured or incorrectly fault error WCF
Related Posts:
An unsecured or incorrectly fault error WCFI encountered this error while executing the following snippet, factory.CreateChannel().Issue(rst) // Here the rst is a RequestSecurityToken object and … Read More
Basic Elements of WCF Appconfig All config items should be inside , <system.serviceModel> This is the WCF namespace provided by Microsoft. Inside the <system.serviceModel> element you have the <services> element. This is where… Read More
DataContract vs Serializable WCFWhen applied to a class Serializable attribute serializes everything inside of it including private fields thus the developer has no control as what to expose. When DataContract attribute is applied to a class it will serial… Read More
ServiceContract Name property WCFThis property can give your contract a name which is different from the actual interface name. So this way if you decide to change the interface name of a already running WCF service your client wont break. Ex: [Servi… Read More
0 comments:
Post a Comment