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

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
deb1bhu
TestLink user
Posts: 7
Joined: Mon May 09, 2011 9:33 am

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

Post 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
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

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

Post by fman »

Give a look to
http://mantis.testlink.org/view.php?id=4780

think can solve your problem
Locked