Formalizing Data-Centric Web Services by Iman Saleh

Formalizing Data-Centric Web Services by Iman Saleh

Author:Iman Saleh
Language: eng
Format: epub
Publisher: Springer International Publishing, Cham


7.3.2.3 Module (3): The Global Contract

Listing 7.3 is the implementation of the PayPal Express Checkout flow along with its data contract using the Dafny language. The flow returns the payer information on success and an empty string on failure. Again, some redundant assertions are added into the contract to compensate for some of the verifier limitations.

Listing 7.3The Dafny implementation and specification of the PayPal Express Checkout flow

7.3.3 Verification Results

Table 7.1 summarizes the verification results obtained by applying the Boogie verifier to the Dafny code. As can be seen in the table, the verifier fails to prove the postconditions of the three PayPal services since their implementations are not provided. This can be however safely ignored since modular verification can still be applied to the service composition.Table 7.1Verification results using the Boogie verifier



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.