> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Format to XML-RPC

> Wraps your data in an XML-RPC method call and converts it to XML.

Turns your data into an XML-RPC request. XML-RPC is a simple protocol for calling a function on a remote system over the web. This formatter wraps your data as the arguments of the function you name and produces the XML the remote system expects, with a `methodCall` element at the top.

If your data already contains a `params` section, that section is used as the call arguments; otherwise your whole payload is used as the arguments.

This documentation describes: [Schema](/schemas/serializer/xmlrpc-serializer)

## Fields

**Remote Procedured**

Required

The name of the function to call on the remote system, for example `stock.update`. This field accepts [placeholders](/references/placeholders), so you can build the name from your data, such as `&{operation}`.

## Sample data

| Field | Value |
| - | - |
| Remote Procedured | `stock.update` |

Input:

```json theme={null}
{
    "sku": "A1",
    "quantity": 5
}
```

Output:

```xml theme={null}
<?xml version="1.0"?>
<methodCall><methodName>stock.update</methodName><params><sku>A1</sku><quantity>5</quantity></params></methodCall>
```

```json Configuration theme={null}
{
  "prototype": "xmlrpc-serializer",
  "parameters": {
    "methodName": "stock.update"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.