Error while calling sharepoint function.

A call to SharepointIntegrationClass.SharepointIntegrationClass.MoveScanDocFromNav failed with this message: The type of one or more arguments does not match the method's parameter type.---------------------------OK---------------------------

Its really weird that error is coming while calling it from the NAV.I have created a function in sharepoint MoveScanDocFromNav with three parameter of string type and same data type I am passing,while calling from the Navision.