I have a WCF client, that asks for order confirmation and WCF service with two methods:
1) UpdateOrder - updates order data in database (UpdateOrder call comes from external service)
2) GetConfirmationResult - which holds return of result till order status will change from pending to something else.
Question is, how to make notification from UpdateOrder to GetConfirmationResult, that order status has changed, in WCF?
Update: would be best, if I could leave InstanceContextMode as Per-Call.
Update 2: Let's say possible order statuses are Pending, Confirmed, Rejected. ConfirmOrder may change order status to Confirmed or Rejected, GetConfirmationResult should not return result until it is changed by Confirm order.
Update 3: I've changed image with sequence to display whole stack.