Skip to main content
Version: 11 - TBD

ConnectorTypeXMLRPC

class connector_types.connector_type_xmlrpc.ConnectorTypeXMLRPC

Call a XMLRPC service.

Input Schema

  • schema_version

    Type: string

  • authentication

    Type: anyOf

  • scheme

    The scheme to use.

    Type: anyOf

  • host

    The remote hostname or IP address.

    Type: string

  • port

    Type: anyOf

  • tls

    If to connect using TLS/SSL.

    Type: anyOf

  • path

    The path of the XMLRPC endpoint.

    Type: string

    Default: /

  • mode

    Type: anyOf

  • encoding

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

    Type: string

    Default: utf-8

Output Schema

  • result

    Data

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']