Perl Tutorials - Herong's Tutorial Examples - Version 5.40, by Dr. Herong Yang
Receiving Returning Values as a HTTP Response
This section describes how to receive the returning value XML message from the remote machine.
The last item of the XML-RPC specification is about how to returning values of remote method call can be received as a HTTP response.
XML-RPC defines that the returning values must be delivered as a HTTP response back to the local host with the following rules:
Here is an example of an XML-RPC response:
HTTP/1.1 200 OK Connection: close Content-Length: 200 Content-Type: text/xml <?xml version="1.0"?> <methodResponse> <params> ...... </params> </methodResponse>
Table of Contents