I have an application that needs to receives messages in sequence. The
server is sending the messages in sequence, but the SoapReceiver.Receive
method does not get them in sequence. I began logging the ThreadID in the
Receiver method and noticed it was different. This means it's multi-threaded.
I thought of using a sequence number on the server has lots of issues. How
to put them back order. What to do if a sequence number is never recieved
and how long to wait for it.
I also tried using SoapReceiver.DispatchModel = MessageDispatch.Serial.
This doesn't work. The messages still came out of sequence.
Any ideas?
Hi,
What version of WSE are you using ?. There is a WS-ReliableMessaging
implementation for WSE 3.0 in this url
http://msdn.microsoft.com/webservices/default.aspx?pull=/library/en-us/dnwse/htm
l/wseandws-rm.asp#wseandws-rm_topic5
WS-ReliableMessaging solves all problems you have (Message lost, Message
secuence, etc)
Regards,
Pablo Cibraro
www.lagash.com
>I have an application that needs to receives messages in sequence. The
> server is sending the messages in sequence, but the SoapReceiver.Receive
[quoted text clipped - 11 lines]
>
> Any ideas?