The Axd document does not support this action in ax 2012 AIIF

Hi,

I have generated document services for “x” table through AIF wizard in ax 2012.i have attached invent dim table in the query as a second data source.it created respective document classes and service also.I have added few new methods in axd document class as per requirement .While calling this new method from c# it says “The Axd document does not support this action”.what could be the issue??

Thanks…