You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ws.apache.org by Damon Hill <da...@ifworld.com> on 2004/05/12 16:04:02 UTC
New to the technology
Good day.
I am new to using XML-RPC, however, it appears to fit a niche for a
current project I am developing.
The project is a wireless, handheld, data-gathering, java application.
The application will gather data on the handheld as well as images,
compile those into XML format, and then send them to a central server
over cellular modem for processing.
The server will accept simple HTTP requests.
The server will also, upon request, send XML data back to the handheld
for processing.
XML-RPC appears to be exactly what we are looking for to perform this
send/receive procedure.
Now, the questions I have are few and may become more and I read through
the spec for XML-RPC.
To begin:
1) All of the examples I see for XML-RPC include the calling of a
method to perform some action and return a result for that action. In
my example, I am just curious if instead of sending some arguments
to process, I simply want to send files as my arguments for the server
to handle. I would assume this is quite easy to perform, but just
wanted to know if others had done this. Thoughts?
2) In correlation to #1 I am looking to send across images as well
that would relate to information in the XML file. I would assume once
again that this is quite similar if not identical to the
implementation above. Has anyone had experience using XML-RPC for this
type of
procedure?
Thanks in advance for any insight and advice.
Sincerely,
<http://www.ifworld.com/> "If Stupidity got us into this mess,
then why can't it get us out?" -- Will Rogers
M Damon Hill
Senior Technical Lead IFWORLD, Inc.
One Corporate Square
4058 North College Drive
Suite 250
Fayetteville, AR 72703
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=4058+North+College+Drive
&csz=Fayetteville%2C+AR+72703&country=us>
damon@ifworld.com tel:
fax:
mobile: 479-582-5100
479-582-5599
479-236-4232
Signature powered by Plaxo <http://www.plaxo.com/signature> Want a
signature like this? <http://www.plaxo.com/signature>
Add me to your address book...
<https://www.plaxo.com/add_me?u=12884943031&v0=81445&k0=77159526>
Re: New to the technology
Posted by Bret McMillan <br...@redhat.com>.
On Wed, May 12, 2004 at 09:04:02AM -0500, Damon Hill wrote:
> 1) All of the examples I see for XML-RPC include the calling of a
> method to perform some action and return a result for that action. In
> my example, I am just curious if instead of sending some arguments
> to process, I simply want to send files as my arguments for the server
> to handle. I would assume this is quite easy to perform, but just
> wanted to know if others had done this. Thoughts?
We've done xmlrpc over http(s), and have a utility that used to
transfer some files in that fashion. It was terribly slow. Much
better to use xmlrpc for file metadata, and send the file via a normal
http post request or something. But, YMMV.
--Bret