Invite friends as web services

I tired invite friends as web services but when i try to hit i am getting {"status":-1,"message":"invite_friends('42','47') returned no value."}. i know that it returns null value but i dont know how to correct it...please help me nd correct me...thanks in advance