Bonjour,

Quand j'essaye d'appeler mon service windows comme ceci :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
InvitationService.InvitationServiceClient client = new Crystal.InvitationService.InvitationServiceClient();
 
client.SendInvitations(CrystalSecurity.CurrentUserCode, code, files);

Je tombe sur cette erreur :

The message could not be processed. This is most likely because the action 'http://tempuri.org/IInvitationService/SendInvitations' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding.
Après de longues recherches sur Internet, je ne trouve aucune solution à mon problème.

Avez-vous des solutions à me proposer ?

Merci