!有WCF错误(An error occurred when verifying security for the message)

在线等!有WCF异常(An error occurred when verifying security for the message)
公司最近系统在调用外部的WCF服务是总是报 An error occurred when verifying security for the message 错误!提交堆栈信息和WCF客户端配置信息给大神帮忙研究下产生原因,不胜感激。

堆栈信息:
System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. 
See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException: An error occurred when verifying security for the message. 
--- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at 
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at DX.CSTS.SIAPI.CIC.ICICService.GetCustomerIDByEmail(GetCustomerIDByEmailRequest request) at DX.CSTS.SIAPI.CIC.CICServiceClient.GetCustomerIDByEmail(GetCustomerIDByEmailRequest request) in E:\源码\CSTS_SVN\turnk\src\Csts\DX.CSTS.SIAPI\Service References\CIC\Reference.cs:line 9458 at DX.CSTS.SIAPI.CICServiceClient.GetCICIDByEmail(String email, SiteIDType site) in E:\源码\CSTS_SVN\turnk\src\Csts\DX.CSTS.SIAPI\CICServiceClient.cs:line 130System.ServiceModel.FaultException: An error occurred when verifying security for the message.

客户端配置:
<binding name="BasicHttpBinding_ICICService" closeTimeout="00:01:00"
          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
          allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
          maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
          messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
          useDefaultWebProxy="true">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <security mode="TransportWithMessageCredential">
            <transport clientCredentialType="None" proxyCredentialType="None"
              realm="" />
            <message clientCredentialType="UserName" algorithmSuite="Default" />
          </security>
 </binding>
<endpoint address="https://svcml01.dxqas.com/CIC/v3.0prd/Services/CICService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICICService" contract="CIC.ICICService" name="BasicHttpBinding_ICICService" />

调用服务的代码段:
CIC.CICServiceClient client = new CIC.CICServiceClient();
client.ClientCredentials.UserName.UserName = CICConfig.CICUser;
client.ClientCredentials.UserName.Password = CICConfig.CICPassword;
GetCustomerIDByEmailResponse response = client.GetCustomerIDByEmail(new GetCustomerIDByEmailRequest()
{
         Email = email,
         SiteId = site
});
                if (response != null)
                {
                    return response.CustomerID;
                }
                client.Close();
                return -1;
------解决方案--------------------
 <security mode="TransportWithMessageCredential">