SDICOOP trasmissione test - 403 ERROR

Ecco il codice che uso per la trasmissione della fattura:

Quando invio la fattura danno questi errori:

WebException: The remote server returned an error: (403) Forbidden.
MessageSecurityException: ‘The HTTP request was banned with the client authentication scheme’ Anonymous ‘.’

Qualcuno può aiutarmi?

Ciao, con molte probabilità c’è qualcosa di errato nei certs (mi dava lo stesso 403 quando dal mio PHP non passavo certificati buoni). Ti rimando ad un altro topic dove parlano, mi sembra, della stessa cosa:

Grazie, ho già capito che il certificato era sbagliato.

Ora l’errore che dà è:

System.ServiceModel.FaultException: Internal Error

Server stack trace:
em System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
em System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
em System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
em System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
em System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
em System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
em WindowsFormsApp1.SdiRiceviFile.SdIRiceviFile.RiceviFile(RiceviFileRequest request)