phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] XML RPX in PHPGroupware


From: Shajee
Subject: Re: [Phpgroupware-developers] XML RPX in PHPGroupware
Date: Wed, 9 Jun 2004 21:19:45 -0700

Dear Markus
Hello!
                        Thanks for the reply. I have gone by the process you
told in your mail for invoking the login method of PHP Groupware.But the
errors are there
Below is the code I am using

[XmlRpcMethod("system.login")]

public string login(CookComputing.XmlRpc.XmlRpcStruct XMLRPCLogin)

{

return (string)xmlRpcClient.Invoke(this,"login",XMLRPCLogin);


}

private void btnLogin_Click(object sender, System.EventArgs e)

{


CookComputing.XmlRpc.XmlRpcStruct XMLRPCLogin = new
CookComputing.XmlRpc.XmlRpcStruct();


XMLRPCLogin.Add("domain","default");

XMLRPCLogin.Add("username","admin");

XMLRPCLogin.Add("password","netxmlr");




string strResult;

try

{

strResult = login(XMLRPCLogin);

LblError.Text= strResult;

}


catch (Exception ex)

{

LblError.Text=ex.Message + " " + ex.Source ;



}



}



On executing the above code it gives the following error

"Response from server does not contain valid XML. CookComputing.XmlRpc"

I am using

XMLRpcClient.url=http://pgw.tegradev.net/phpgroupware/xmlrpc.php

Thanks & Regards

Shajee




reply via email to

[Prev in Thread] Current Thread [Next in Thread]