I developed web-service, that imprints registration number into body of document, attached to the workflow. My web-service uses .NET versions of WorkflowService to determine ID of Attachments container and DocumentManagementService to download document and add new imprinted version to it. I also developed CLR stored procedure for MS SQL Server, that calls my web-service. When I executed my stored procedure from SQL Server Management Studio everything works fine. I developed the workflow EventScript, that calls my stored procedure, using CAPI.Exec and assigned it to the step of my workflow. When I start to test this, I found the following: the EventScript successfully calls my stored procedure, which successfully calls my web-service. Then web-service calls WorkflowService.GetProcessData(...) method and everything stops untill timeout occurs. This doesn,t happens if I call stored procedure (or my web-service) directly. The error is reproducible when I run Builder or Livelink Server so it's doesn't connected with single- or multithreading execution, so I can make conclusion, that EventScript execution prevents execution of WorkflowService and I receive some kind of deadlock. Am I right and does somebody faced with similiar issues with Enterprise Web Services 9.7.1?
P.S. I use SQL Server 2008 R2 and WCF 3.5