Application Development Notes

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

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

The processing of the Web service is independent of the successful completion of a Save transaction in Vantagepoint. 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 Vantagepoint. 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 Vantagepoint so that a message can be displayed in Vantagepoint. 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.