<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4937.800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=688482412-07062004><FONT face=Arial color=#0000ff size=2>You're 
asking in the wrong place: this list is dedicated to the xmlrpc library for PHP 
called phpxmlrpc</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Messaggio originale-----<BR><B>Da:</B> 
  phpxmlrpc-bounces@usefulinc.com [mailto:phpxmlrpc-bounces@usefulinc.com]<B>Per 
  conto di </B>Shajee<BR><B>Inviato:</B> luned́ 7 giugno 2004 23:53<BR><B>A:</B> 
  phpxmlrpc@usefulinc.com<BR><B>Oggetto:</B> [phpxmlrpc] Regarding XML RPC.Net 
  and PHPGroupware<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hello</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;Greetings of the Day!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  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.</FONT></DIV>
  <DIV><FONT face=Arial 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  now when i am invoking the login method it gives the following 
  error</FONT></DIV>
  <DIV><FONT face=Arial size=2>"Response From server was not a valid 
  XML"</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Below is the code that i am using</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT color=#0000ff size=2>
  <P>public</FONT><FONT size=2> </FONT><FONT color=#0000ff 
  size=2>struct</FONT><FONT size=2> structLogin</P>
  <P>{</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT 
  color=#0000ff size=2>string</FONT><FONT size=2> strDomain;</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT 
  color=#0000ff size=2>string</FONT><FONT size=2> strUserName;</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT 
  color=#0000ff size=2>string</FONT><FONT size=2> strPassWord;</P>
  <P>}</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> structLogin 
  objStructLogin;</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> 
  CookComputing.XmlRpc.XmlRpcResponse response = </FONT><FONT color=#0000ff 
  size=2>new</FONT><FONT size=2> XmlRpcResponse();</P>
  <P>[XmlRpcMethod("system.login")]</P>
  <P></FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> </FONT><FONT 
  color=#0000ff size=2>string</FONT><FONT size=2> login(structLogin 
  objStructLogin)</P>
  <P>{</P>
  <P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> (</FONT><FONT 
  color=#0000ff size=2>string</FONT><FONT 
  size=2>)xmlRpcClient.Invoke(</FONT><FONT color=#0000ff size=2>this</FONT><FONT 
  size=2>,"login",objStructLogin);</P>
  <P></P>
  <P>} </P>
  <P></FONT><FONT color=#0000ff size=2>private</FONT><FONT size=2> </FONT><FONT 
  color=#0000ff size=2>void</FONT><FONT size=2> btnLogin_Click(</FONT><FONT 
  color=#0000ff size=2>object</FONT><FONT size=2> sender, System.EventArgs 
e)</P>
  <P>{</P>
  <P>Label1.Text=xmlRpcClient.Url;</P>
  <P>objStructLogin.strDomain="default";</P>
  <P>objStructLogin.strUserName="a1";</P>
  <P>objStructLogin.strPassWord="pass";</P>
  <P></P>
  <P></P>
  <P></FONT><FONT color=#0000ff size=2>string</FONT><FONT size=2> strResult;</P>
  <P></FONT><FONT color=#0000ff size=2>try</P></FONT><FONT size=2>
  <P>{</P>
  <P>strResult = login(objStructLogin);</P>
  <P>LblSum.Text= strResult.ToString();</P>
  <P>}</P>
  <P></FONT><FONT color=#0000ff size=2>catch</FONT><FONT size=2> (Exception 
  ex)</P>
  <P>{</P>
  <P></FONT><FONT size=2>LblSum.Text=ex.Message + " " + ex.Source ;</P>
  <P></P>
  <P></P>
  <P>}</P>
  <P></P>
  <P></P>
  <P>}</P>
  <P>&nbsp;</P>
  <P><FONT face=Arial>I would appreciate any help in this regard.</FONT></P>
  <P><FONT face=Arial>Thanks in advance</FONT></P>
  <P><FONT face=Arial>Shajee</FONT></P></FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp; 
</FONT></DIV></BLOCKQUOTE></BODY></HTML>