Last post Jul 31, 2012 04:32 AM by RikkiMo
Jul 30, 2012 10:24 AM|RikkiMo|LINK
In my mvc 4 project a wan't to validate vatnumbers through this wsdl reference.
Is it possible to do this with the new async method?
I want to check 100 to 1000 numbers in one call in my application, but this would be 100 to 1000 calls to the vat vies webservice.
Jul 30, 2012 10:38 AM|santa_1975|LINK
Will that validation result be displayed on the screen? If yes, the end user will need to wait for the result anyway. Can you do it through a scheduled job (may be nightly basis) to validate all these vatnumbers and update the database along with the status
(validated/not-validated) and display it to the user accordingly? You can set the frequency appropriately if you would like to validate the data more frequently.
Hope this helps.
Jul 30, 2012 10:59 AM|RikkiMo|LINK
It would be perfect if the results are realtime being updated to the client, i was thinking about signalR?
Jul 31, 2012 04:32 AM|RikkiMo|LINK
Hmm when i try to do 20 async calls to the webservice, about 4/20 requests fails with error "SERVER_BUSY". When i do the 20 call synchronous every call succeeds.