Listing 1. Web services invocation

// Execute the Web Service
checkddress AddressVerificationService
    using address1 = i_address1, 
          address2 = i_address2, 
          city = i_city
          state = i_state
          zip = i_zip, 
    returning checkAddressResult = l_checkAddressResult
    
// Check the response
if l_checkAddressResult.responseCode = 0 then
    i_isAddressValid = true
else
    i_isAddressValid = false
end