Exception handling doesn't work in AIF service

Hi ,

I have a requirement to get XML as a string and loop through multiple records in XML and process something.

C# will pass XML as a parameter through AX AIF service. 

The issue is if I am lopping with 10 records and if error comes in 4 th record it stops there. I tried with try catch ,

but catch block is not getting executed. 

I actually want to process all 10 records and display error in error log.

Example: Out of 10 records, 7 records will be successful and 3 records might be failed and these should be shown in error log.

Any idea how to proceed.

Thanks

Related
Recommended