Skip to main content
Version: 11 - TBD

ConnectorTypeSOAP

class connector_types.connector_type_soap.ConnectorTypeSOAP

Call a SOAP 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 to the WSDL document.

    Type: string

  • mode

    Type: anyOf

Output Schema

Example

import flow_api

def handler(system: flow_api.System, this: flow_api.Execution, inputs: dict):
# call SOAP service calculator with Add method
result = this.connect(
connector_type='SOAP',
authentication={
'authentication_method': 'username_and_password',
'username': '...',
'password': '...',
},
**flow_api.parse_url('http://www.dneonline.com/calculator.asmx?wsdl', return_query_string_in_path=True),
mode={
'mode_name': 'call_soap_service',
'method': 'Add',
'args': [100, 200],
},
).get('output_value').get('result')
# result: 300
return this.success(message=result)