problem with running DrupalXmlRpc.NET package
"deepali_tatkar27" <[email protected]> Thu, 10 Sep 2009 11:09:17 -0000
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
Hi
i have downloaded the DrupalXmlRpc.NET. framwok from sourceforge.net
and tried running the same example.
i just changed the wensite address to my drupal site which i m trying to connect.
Connect command is woking fine but it throws TypeMismatch exception when you try to Login.
It throws Exception as "response contains string value
where struct expected [response]".
i dont uderstand why response is returng an string value, or
do i have to make some changes to code inorder to avoid this exception.
Below is is code snippet,where exception is thown as it tries to call EndLogin method.
public void LoginCallBack(IAsyncResult result)
{
try
{
LoginInfo = Service.EndLogin(result);
RaiseOnAsycFinish(result, new DrupalXmlRpcServiceEvent(LoginInfo, DrupalRpcCommand.Login));
}
catch (Exception ex)
{
RaiseOnAsycFinish(GetExceptionMessage(ex),
new DrupalXmlRpcServiceEvent(DrupalRpcCommand.AsyncError));
}
}
Please advice.
thanx in advance
deepali
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xml-rpc/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xml-rpc/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/