Workflow Soluiton

 View Only
  • 1.  Workflow Async Webservice Issues

    Posted Oct 26, 2010 01:10 PM

    I have n instances of a Workflow web service (Master Controller) that are being called from a particular action in our CMDB.  That web service decides which web service it needs to call and calls it (RDP in the case shown below).  The first call seems to work and all subsequent calls fail.  Both the Master Controller and RDP web services return right away so that whatever called it does not have to wait for it to finish.

    The common exceptions that I am seeing are "An item with the same key has already been added" and "Object reference not set to an instance of an object" both of which are coming from the System.Collections.Generic.Dictionary`2 class and seem to be related to thread safety.  The exceptions themselves occur the first time the Workflow tries to read from a SQL Server database table.

    Has anybody else seen this occur?  Can somebody please provide some insight on how to solve the problem?



  • 2.  RE: Workflow Async Webservice Issues

    Posted Nov 16, 2010 10:37 AM

    I am experiencing something similar.  It could be something to do with the way the code handles multiple connections.  Anybody seen issues when calling a workflow webservice multiple times at the same time?