function xmlrpc_message

7.x xmlrpc.inc xmlrpc_message($message)
6.x xmlrpc.inc xmlrpc_message($message)

Constructs an object representing an XML-RPC message.

Parameters

$message: A string containing an XML message.

Return value

object An XML-RPC object containing the message.

See also

http://www.xmlrpc.com/spec

3 calls to xmlrpc_message()
XMLRPCBasicTestCase::testInvalidMessageParsing in drupal-7.x/modules/simpletest/tests/xmlrpc.test
Ensure that XML-RPC correctly handles invalid messages when parsing.
xmlrpc_server in drupal-7.x/includes/xmlrpcs.inc
Invokes XML-RPC methods on this server.
_xmlrpc in drupal-7.x/includes/xmlrpc.inc
Performs one or more XML-RPC requests.

File

drupal-7.x/includes/xmlrpc.inc, line 149
Drupal XML-RPC library.

Code

function xmlrpc_message($message) {
  $xmlrpc_message = new stdClass();
  // The stack used to keep track of the current array/struct
  $xmlrpc_message->array_structs = array();
  // The stack used to keep track of if things are structs or array
  $xmlrpc_message->array_structs_types = array();
  // A stack as well
  $xmlrpc_message->current_struct_name = array();
  $xmlrpc_message->message = $message;
  return $xmlrpc_message;
}