• In keeping with the spirit of Web reuse, XML-RPC uses XML Schema data types to specify the parameter types of the procedure call.
• Data types include scalars, numbers, strings, and dates, as well as complex record and list structures.
ZwiftBooks and XML-RPC
• To allow other computer systems to query the ZwiftBooks server about the availability and delivery time of a badly needed book.
• The basic idea is that the user supplies an ISBN and a zip code and ZwiftBooks returns the guaranteed delivery time.
• Figure illustrates the use of XML-RPC over HTTP to trigger the execution of a procedure called getGuaranteedDeliveryTime based on ISBN number and zip code.

The XML-RPC specification places a number of minimal requirements on the XML, including the following:
• The XML payload must be well-formed XML and contain a single methodCall structure.
• The methodCall element must contain a methodName sub-item consisting of a string that names the method to be called.
• If parameters are required, the methodCall element must contain a params sub-item that contains individual param elements, each of which contains a single value.
No comments:
Post a Comment