Hi Saran,
No need to to do all that.You can find the Testlink Java API from here and in your TestLink Config file Config.inc.php Change the following to true
$tlCfg->api->enabled = TRUE;
Once you have your API keys in order the code to do all that is as simple as
public static void reportResult(String TestProject,String TestPlan,String Testcase,String Build,String Notes,String Result) throws TestLinkAPIException{
TestLinkAPIClient api=new TestLinkAPIClient(DEVKEY, URL);
api.reportTestCaseResult(TestProject, TestPlan, Testcase, Build, Notes, Result);
}
edit:
The above java class method can be called within TestComplete as
JavaClasses.com_package_AutomatedUpdateExample.reportResult(testProject, testPlan, testCase, build, notes, result)
This assumes that you have already went through the TestComplete Java bridge setup process