views:

73

answers:

1

I'm using the WCF PollingDuplexHttpBinding channel to push notifications to Silverlight clients. For the most part it works well but I'm fighting it to get a few basis session management functions to work properly.

The biggest problem I've got is trying to let the server know the client has finished with a session and no longer requires any notifications. The CloseAsync call on the client stops the client side of the channel from sending requests for new notifications for that session only and it also sends a CloseSession SOAP request to the server. The problem is the server side of the channel sends back a 404 saying it doesn't recognise the CloseSession action. As far as I can see that error is from the internals of the PollingDuplexHttpBinding channel and doesn't make it up to the application so that the session closure can be properly taken care of.

Has anyone else come across this issue and perhaps found a way around it?

A: 

Can't be done by the looks, Gripes on PollingDuplexHttpBinding.

sipwiz