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

XML-RPC Servlet

Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
I read in Java and XML that you could do XML-RPC via a servlet. How does this happen? Does the XML-RPC still marshall the method parameters and pass to the servlet via XML? or is it somehow done via URL parameters since it is going to a servlet?
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Typically the XML (eg. for a SOAP packet) is passed in the body of the HTML request (where the POST parameters would go), and returned in the body of the reply. For sending complex data, SOAP-with-attachments makes use of the same multipart mime type as is used for file uploads.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: XML-RPC Servlet
It's not a secret anymore!