Skip to main content
Version: 12 - TBD

ConnectorTypeXMLRPC

class connector_types.connector_type_xmlrpc.ConnectorTypeXMLRPC

Call a XMLRPC service.

Input Schema

  • schema_version = '2026-07-07'

    Type: string

  • authentication

    Type: anyOf

  • scheme

    The scheme to use. https connections are encrypted with TLS/SSL and expose the TLS options.

    Type: anyOf

  • host

    The remote hostname or IP address.

    Type: string

  • port

    Type: anyOf

  • path

    The path of the XMLRPC endpoint.

    Type: string

    Default: /

  • query

    Will be urlencoded automatically

    Type: array

  • fragment

    The fragment of the URI.

    Type: string

  • mode

    Type: anyOf

  • encoding

    The encoding to use when binary data is returned by the server.

    Type: string

    Default: utf-8

  • idempotent

    Whether re-running this connection from the start is safe (no duplicate side effects). Controls recovery after the connection between Cloudomation and the remote system is lost and later re-established (network glitch, workspace restart, ...): repeatable connections are left running to be reattached or re-run, others are cancelled. Leave unset to let the connector decide based on the operation.

Output Schema

Constants

supports_reconnect = False

Example

import flow_api

def handler(system: flow_api.System, this: flow_api.Execution, inputs: dict):
result = this.connect(
connector_type='XMLRPC',
authentication={
'authentication_method': 'username_password_basic',
'username': '...',
'password': '...',
},
host='...',
path='...',
mode={
'mode_name': 'call_function',
'function_name': '...',
'args': [...],
'kwargs': {...},
},
).get('output_value')['result']