Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Consuming large volume of projects using AIF WCF Service over .NET

$
0
0

We have a WCF service that brings back all the related fields for a project based on a query.  This is exposed via an inbound port over WCF Services.  We consume this from C# using findkeys followed by read.  This works but is taking too long.  Each one takes .04 seconds and we have 60,000 which means a full extract takes about 7 hours.  I've tried altering the number of keys I read doing it in 10s, 100s or even a 1000.  100 is optimal but it doesn't make a huge difference.  I don't think its a sqlserver issue, but the ax32srv.exe (AOS) process consumes one core continuously whilst this is running.  Anyone got any suggestions as to how I might speed this up.  I have a similar thing for Customers and it takes about 1/3 rd the time.  I can extract 50,000 in 2 hours.  That's still slow compared to SQL, but I can live with it.  In the data policy I tried to untick all fields and just get the ones I wanted, but there are a lot of mandatory fields.  I'm wondering what the AOS is actually doing?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>