Processing XML with Perl | Michel Rodriguez |
XML for data | Related Standards |
XML-RPC
XML-RPC is a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet. It's remote procedure calling using HTTP as the transport and XML as the encoding. It's designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned.
- this can be DANGEROUS! you are effectively using HTTP to bypass any firewall that could protect the server
- XML-RPC is implemented in Perl in the Frontier::<foo> modules
- similar remote calls areprovided by SOAP
An XML-RPC method call:
<methodCall> <methodName>examples.getstatenames</methodName> <params> <param><value><i4>1</i4></value></param> <param><value><i4>2</i4></value></param> </params> </methodCall> |
An XML-RPC method response:
<methodResponse> <params> <param><value>foo</value></param> </params> </methodResponse> |
XML for data | Related Standards |