logo       

Re: XML-RPC Java Call: msg#00006

Subject: Re: XML-RPC Java Call
On Aug 18, 2004, at 0:32, Christoph Guse wrote:
i want to write my diploma thesis about Macromedia Flex and OpenGroupware. Further information can be found on http://guse.conquer.de .

Interesting idea! I'm curious to see how an OGo Flash interface would look like :-)

In order to provide Ogo Data to Macromedia Flex i want to use Java and XML-RPC. Today i managed to configure the Ogo server properly, so simple XML-RPC calls work fine. But i'm not able to execute a more complex call like person.fetch, because i'm not able to give over the complex argument. The example i found in the xml-rpc-de.pfd is for python.

The Python code actually maps almost 1:1 to the actual XML-RPC structures, so I guess its probably the best way to see how those are constructed.

Eg if you have something like this in Python:
  persons.fetch( { 'name': 'abc', 'phones': ( 1, 2, 3) } );

The "{" mark dictionaries, the "(" arrays. So the XML-RPC struct for that would be something like:
  <struct>
    <name>name</name>
    <value>abc</value>
    <name>phones</name>
<value><array><value>1</value><value>2</value><value>3</value></value>
  </struct>
(I think I'm wrong with some tag names ;-)

You can also discover the actual XML-RPC transmissions done by either Python or JOGI by starting the XML-RPC Server with the

  -WOHttpAdaptor_LogStream YES

argument. This will dump all HTTP traffic.

Let us know if you need further help!

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



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

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | 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