3.1.4.12 Update

The WSDL definition of the Update operation is as follows:

 <wsdl:operation name="Update">
   <wsdl:input wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/Update"
     message="tns:IWorkflowInstanceManagement_Update_InputMessage" />
   <wsdl:output wsaw:Action="http://schemas.datacontract.org/2008/10/
     WorkflowServices/IWorkflowInstanceManagement/UpdateResponse" 
     message="tns:IWorkflowInstanceManagement_Update_OutputMessage" />
 </wsdl:operation>

The Update operation SHOULD provide the durable program instance with the opportunity to update its identity. A GUID MUST be passed to the operation as the value of the <instanceId> element to identify the durable program instance on which the operation is to be performed. The operation SHOULD return a SOAP fault message if one or more of the following conditions exist:

  • The value of the <instanceId> element is not in the correct format, as specified in [MS-DTYP] section 2.3.4.

  • The <instanceId> element is absent.

  • The value of the <instanceId> element does not exist in the Durable Program Instance Table on the server.