.net - WCF SOAP Idempotent -
i might getting myself confused here want service idempotent. is, receiving same request more once not change state of system. makes sense me when receiving messages in disconnected integration system. example, receiving messages on msmq , having form of service dealing messages being received. want service in consistent state if receives 10 duplicate messages.
what struggling head around standard wcf soap service performs crud operations. idempotency question come affect if asynchronous call? syncrhonous call nature idempotent? looking @ crud operations, 1 not idempotent create. can have duplicate create calls wcf?
thanks
i guess depend on define (in domain) duplicate. once defined can run checks before creating record. e.g. have person
firstname
, lastname
, etc... duplicate person identified firstname + lastname
.
what kind of duplicate messages expect service receive? same client 'clicking submit button twice'? or 2 different clients trying update record @ same time?
Comments
Post a Comment