Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

NSBoolNumber (instance) does not recognize count info: msg#00011

cms.opengroupware.xmlrpc.devel

Subject: NSBoolNumber (instance) does not recognize count info

I'm getting an error when I attempt to delete an enterprise via
enterprise.delete.

Jan 19 21:27:16 ogo-xmlrpcd-1.1 [10207]: >DirectAction> turn exception
into fault: (Exception name:<nil> class:ObjcRuntimeException
reason:NSBoolNumber (instance) does not recognize count info:<nil>)

Anyone seen that one?

The request looks like -
<?xml version="1.0"?>
<methodCall>
<methodName>enterprise.delete</methodName>
<params>
<param>
<value>
<string>1583710</string>
</value>
</param>
</params>
</methodCall>

And the response is -

<?xml version='1.0'?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>0</int></value>
</member>
<member>
<name>faultString</name>
<value><string>ObjcRuntimeException: NSBoolNumber (instance)
does not recognize count</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>

What count? I've verified that 1583710 is the id of the newly created
enteprise object.

I'm mapping this method (C#) as taking a single paramater (string)
which is the primary key of the object.

/// \brief Proxy for enterprise.delete
[XmlRpcMethod("enterprise.delete")]
int DeleteEnterprise(string id);

This is xmlrpcd build r1489

I can create and update enterprise objects, but it fails when I attempt
to delete an object.
Server = new Whitemice.MOGI.RPC2.Server();
Server.Hostname = args[0];
Server.Credentials = new NetworkCredential(args[1], args[2]);
IEnterprise newEnterprise =
(IEnterprise)Server.Get("Document/Enterprise/0");
newEnterprise.Description = "New Enterprise";
newEnterprise.Bank = "New Bank";
newEnterprise.BankCode = "New Bank Code";
newEnterprise.URL = "New URL";
Console.WriteLine("Name of new enterprise:{0}", newEnterprise.Name);
Server.Put(newEnterprise);
Console.WriteLine("Name of new enterprise:{0}", newEnterprise.Name);
newEnterprise.Description="Updated Enterprise";
Server.Put(newEnterprise);
Server.Remove(newEnterprise);

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation