Application Development Notes

The Web service is run when a record in the workflow table is saved in DPS.

When the Web service runs, the transaction may be still pending if there are other tables that need be saved by DPS as part of the same transaction.

The processing of the Web service is independent of the successful completion of a Save transaction in DPS. If a Save transaction fails because of problems encountered while saving changes to other tables (after processing changes for the workflow table), the Save transaction is rolled back in DPS. However, the Web service would have already run, and it cannot be rolled back.

The Web service (Web method) can return an XML string back to DPS so that a message can be displayed in DPS. The message can be a warning type or it can be an error. The format for return XML message is detailed in the following example. If an empty string or empty error XML is returned, it means that there were no errors or warnings when the Web service was run.