• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

6. Power XML for Web Pages > 66. Work with Mozilla XML-RPC Services

Work with Mozilla XML-RPC Services

Want web service scripting, but don’t need SOAP’s complexity? Use XML-RPC.

XML-RPC is a way for you to run methods on a server from a remote client. All commands and responses are formatted as XML. It’s similar to SOAP [Hack #65] , and both are intended to solve the same sorts of problems. However, XML-RPC is a much simpler protocol.

Tip

XML-RPC was developed by UserLand Software. The specification is at http://www.xmlrpc.com/spec.

There are two major differences between XML-RPC and SOAP. First, XML-RPC has only eight data types: int, boolean, string, double, dateTime.iso8601, base64, array, and struct, whereas SOAP has many more data types and more can be added via XML Schema. Second, XML-RPC has no standardized discovery mechanisms, such as SOAP’s WSDL or UDDI.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint