The WSHttpBinding with name {0} failed validation because it contains a BindingElement with type {1} which is not supported ...

The WSHttpBinding with name {0} failed validation because it contains a BindingElement with type {1} which is not supported in partial trust. Consider disabling the message security and reliable session options, using BasicHttpBinding, or hosting your application in a full-trust environment.