R: [phpxmlrpc] Regarding XML RPC.Net and PHPGroupware

Gaetano Giunta giunta.gaetano at sea-aeroportimilano.it
Mon Jun 7 13:25:47 BST 2004


You're asking in the wrong place: this list is dedicated to the xmlrpc library for PHP called phpxmlrpc
  -----Messaggio originale-----
  Da: phpxmlrpc-bounces at usefulinc.com [mailto:phpxmlrpc-bounces at usefulinc.com]Per conto di Shajee
  Inviato: lunedì 7 giugno 2004 23:53
  A: phpxmlrpc at usefulinc.com
  Oggetto: [phpxmlrpc] Regarding XML RPC.Net and PHPGroupware


  Hello
   Greetings of the Day!

                 I am a newbie to XML RPC. I trying to invoke a phpgroupware login API through a client written in ASP .Net. For this purpose I am using XML RPC.Net distributed by Cookcomputing.
                now when i am invoking the login method it gives the following error
  "Response From server was not a valid XML"

  Below is the code that i am using

  public struct structLogin

  {

  public string strDomain;

  public string strUserName;

  public string strPassWord;

  }

  public structLogin objStructLogin;

  public CookComputing.XmlRpc.XmlRpcResponse response = new XmlRpcResponse();

  [XmlRpcMethod("system.login")]

  public string login(structLogin objStructLogin)

  {

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


  } 

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

  {

  Label1.Text=xmlRpcClient.Url;

  objStructLogin.strDomain="default";

  objStructLogin.strUserName="a1";

  objStructLogin.strPassWord="pass";



  string strResult;

  try

  {

  strResult = login(objStructLogin);

  LblSum.Text= strResult.ToString();

  }

  catch (Exception ex)

  {

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



  }



  }



  I would appreciate any help in this regard.

  Thanks in advance

  Shajee

     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.usefulinc.com/pipermail/phpxmlrpc/attachments/20040607/add5bef6/attachment.html


More information about the phpxmlrpc mailing list