From your code, it appears that you are calling findKeys service operation. Did you select this while creating AIF service? If it is AX 2009, you can check this under AOT > Services > InventOnhandDim > Operation.
If it is not there, then you may want to run the update document service and select findKeys service operation.