Page 1 of 1

Failed to parse servers response: xmlrpc.php can not connect

Posted: Wed May 11, 2011 6:52 pm
by deb1bhu
Hi all, very strange problem, when i execute this code,
ArrayList<Object> params = new ArrayList<Object>();
Hashtable<String, Object> executionData = new Hashtable<String, Object>();
executionData.put("username", pUserName);
executionData.put("password", pPassword);
executionData.put("script_key", ConfigurationManager.getDevKey());

params.add(executionData);
Object Response=rpcClient.execute("tl.authorizeUser",params);
if (Response!=null){System.out.println("WELCOME TO TESTLINK");}

i am getting this error
Failed to parse servers response: Expected methodResponse element, got br
it seems that I am unable to connect to xmlrpc.php


any help would be highly appreciated, as I am very new here so please forgive me, if my post is not at all have any quality.

Thanks

Re: Failed to parse servers response: xmlrpc.php can not con

Posted: Sun Oct 23, 2011 2:34 pm
by fman
Give a look to
http://mantis.testlink.org/view.php?id=4780

think can solve your problem