Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » ValueMap, XmlRpc and RpcTest
ValueMap, XmlRpc and RpcTest [message #7063] Sun, 10 December 2006 22:29 Go to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
I need xml-rpc calls and implemented a client.

For this i needed a Map with at least the data beeing Value so i wrote the ValueMap (pretty much a copy of ValueArray with some changes).

And to test it i have RpcTest, a small App to execute xml-Rpc calls at some servers.

Suggestions etc are welcome, have fun.

Bas

[edit:] see http://www.xmlrpc.com/spec or http://en.wikipedia.org/wiki/XML-RPC for more informations about xml-rpc

[Updated on: Mon, 11 December 2006 12:29]

Report message to a moderator

Re: ValueMap, XmlRpc and RpcTest [message #7065 is a reply to message #7063] Mon, 11 December 2006 01:10 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 696
Registered: December 2005
Location: Budapest, Hungary
Contributor
Cool!
My favourite line is:
http.AddHeaders(xml);

Good idea for POSTing xml as body Wink
Re: ValueMap, XmlRpc and RpcTest [message #7066 is a reply to message #7065] Mon, 11 December 2006 01:46 Go to previous messageGo to next message
Ulti is currently offline  Ulti
Messages: 108
Registered: September 2006
Experienced Member
No Message Body

[Updated on: Mon, 11 December 2006 01:46]

Report message to a moderator

Re: ValueMap, XmlRpc and RpcTest [message #7070 is a reply to message #7065] Mon, 11 December 2006 12:40 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
zsolt wrote on Mon, 11 December 2006 01:10

Cool!
My favourite line is:
http.AddHeaders(xml);

Good idea for POSTing xml as body Wink


thanks

uploaded some changes (at the first post)
RpcTest:
* added the button "check for methods", which calls the "system.listMethods" function on the listed server and inserts them into the DropDownList of method
* added the server value at the bottom, which parses the call that is sent

XmlRpc:
* removed a Bug that came up when a struct containes a struct as value
* implemented ParseMethodCall(String s)

ValueMap:
* only Core-Package is added as dependency

index.php?t=getfile&id=396&private=0

usage:
1. choose a host, path and its port and push "check for methods" if the server supports it the methods will be in the drop down of method
2. choose a method (or enter it) and add Param(s) as needed
3. press "execute" and have a look at the answers:

- sent is the xml data sent to the server
- reply is the raw xml data received from the server
- client is Value.ToString() of the Value returned by XmlRpcClient::Execute(XmlRpcCall c)
- server is Value.ToString() of the Value returned by XmlRpcParser::ParseMethodCall(String s)
  • Attachment: xmlrpc.jpg
    (Size: 24.88KB, Downloaded 693 times)
Re: ValueMap, XmlRpc and RpcTest [message #7163 is a reply to message #7070] Sat, 16 December 2006 17:40 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
for the ones of you interested in XML RPC:

have a look at www.fallingdutch.de
the current version of XmlRpc, ValueMap and RpcTest are there, including a doxygen documentation of XmlRpc

[edit:] added sample server, too
Bas

[Updated on: Sat, 16 December 2006 17:49]

Report message to a moderator

Re: ValueMap, XmlRpc and RpcTest [message #7218 is a reply to message #7163] Mon, 18 December 2006 18:45 Go to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
New version online:
-now supports SSL communication

Bas
www.fallingdutch.de

Previous Topic: ChartDirector
Next Topic: New UPT: Standard Application
Goto Forum:
  


Current Time: Fri Apr 19 03:53:24 CEST 2024

Total time taken to generate the page: 0.04374 seconds