Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML-RPC Servlet

 
Brian Nice
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks
Brian
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic