xml-rpc specification
updated 6/30/03 dw 【程序编程相关:ToolBar的模样自己画(二) 】
tue, jun 15, 1999; by dave winer. 【推荐阅读:ToolBar的模样自己画(四) 】
updated 1/21/99 dw 【扩展信息:ToolBar的模样自己画(一) 】
updated 10/16/99 dw
this specification documents the xml-rpc protocol implemented in userland frontier 5.1.
for a non-technical explanation, see xml-rpc for newbies.
this page provides all the information that an implementor needs.
overview
xml-rpc is a remote procedure calling protocol that works over the internet.
an xml-rpc message is an http-post request. the body of the request is in xml. a procedure executes on the server and the value it returns is also formatted in xml.
procedure parameters can be scalars, numbers, strings, dates, etc.; and can also be complex record and list structures.
request example
heres an example of an xml-rpc request:
post /rpc2 http/1.0 user-agent: frontier/5.1.2 (winnt) host: betty.userland.com content-type: text/xml content-length: 181<?xml version="1.0"?> <methodcall> <methodname>examples.getstatename</methodname> <params> <param> <value><i4>41</i4></value> </param> </params> </methodcall>
header requirements
... 下一页