Total Newbie needs a hand
"nardling1" <[email protected]> Wed, 18 Apr 2007 21:11:35 -0000
| Newsgroups | gmane.text.xml.rpc.specification |
|---|---|
| Message-ID | <[email protected]> |
Hi all. I have gotten stuck finishing a project and am running quite
short of time. I have a c++ client accessing a python server and I'm
using xmlrpc as a transport between the two. The calls are working
fine as long as they don't return values. When values are returned,
though, I'm having a very hard time understanding how to pull strings
out of the TypeStruct xmlRpcValue class object that comes back. In
truth, I'm not very experienced in c++, or python. I'm just trying
to hack my way through this sucker by Tuesday (when it's due). If
anyone can point me at some code examples or documentation, I'd
appreciate it greatly.
Here's the call:
xValues[0] = *UserName;
xValues[1] = "default";
xValues[2] = ButtonDate.FormatISODate();
x->execute("GetEvents", xValues, retValue);
and that executes a SQL statement on the Python server, which works
fine. It returns a retValue of typeStruct, and that's where things
fall apart. Thanks for the help.
-Dave
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/