Microsoft KB Archive/888752

= You may receive an &quot;HwsServiceSoapException&quot; exception error message when you call the GetActivityFlowInfo method immediately after you add an activation block to an activity flow in BizTalk Server 2004 =

Article ID: 888752

Article Last Modified on 3/13/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Standard Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Developer Edition

-





SYMPTOMS
In Microsoft BizTalk Server 2004, when you call the Activity Model Designer API GetActivityFlowInfo method to obtain Human Workflow Services (HWS) activity flow information, you may receive an HwsServiceSoapException exception error message.

Typically, this problem occurs after you add an activation block to an activity flow that contains more than one step and then you immediately call the GetActivityFlowInfo method.



CAUSE
This problem occurs when the tracking information is not available because of a latency issue. Therefore, when you call the GetActivityFlowInfo method immediately after you add the activation block, an exception is returned because the activity flow information is not yet available.



WORKAROUND
To work around this problem, you must wait for a while after you add the activation block and before you call the GetActivityFlowInfo method.



MORE INFORMATION
For more information about the GetActivityFlowInfo method, visit the following Microsoft Developer Network (MSDN) Web sites:

http://msdn2.microsoft.com/en-us/library/ms993277.aspx

http://msdn2.microsoft.com/en-us/library/ms948428.aspx

Additional query words: BTS2004

Keywords: kbbtshws kbtshoot kbnofix kbprb KB888752

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.