File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes XML-RPC vs SOAP vs Custom Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "XML-RPC vs SOAP vs Custom" Watch "XML-RPC vs SOAP vs Custom" New topic

XML-RPC vs SOAP vs Custom

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 782

SOAP is an overkill for my needs. So currently we're looking at writing our own custom XML transfer using servlets/URLconnection etc..
Could anyone who has some experience of using XML-RPC comment on its ability to validate types within the XML instance ? We're looking at sending:
money (e.g. BigDecimal)
Also we need to be able to send a vector/struct like representation of stuff.


Devrim Turker

Joined: Jan 14, 2002
Posts: 14
XML - RPC has
integer, boolean, string, double, date/time,
base 64 types
<?xml version="1.0"?>
a java Client sample
XmlRpcClient xmlrpc= new xmlRpcClient
Vector params =new Vector();
Integer retVal= (Integer) xmlrpc.execute("GetCurrentBalance", params);
I agree. Here's the link:
subject: XML-RPC vs SOAP vs Custom
It's not a secret anymore!