Skip to main content
Version: 7 - Gugelhupf

ConnectorTypeSOAP

class connector_types.connector_type_soap.ConnectorTypeSOAP

Call a SOAP service.

Inputs

NameTypeDefaultDescription
argslistNonePositional arguments to pass to the method call
kwargsdictNoneKeyword arguments to pass to the method call
methodstrThe method to call
passwordstrNoneThe password used to authenticate
usernamestrNoneThe username used to authenticate
wsdl_urlstrThe URL to the WSDL

Outputs

NameTypeDefaultDescription
loglist
resultobject

Constants

input_list = ['args', 'kwargs', 'method', 'password', 'username', 'wsdl_url'] output_list = ['log', 'result'] ssl_context_inputs = ['check_hostname', 'client_cert', 'client_key', 'server_ca'] version = 1

Methods

execute

log

one_of_inputs

run

Example

import flow_api

def handler(system: flow_api.System, this: flow_api.Execution):
# call SOAP service calculator with Add method
result = this.connect(
connector_type='SOAP',
wsdl_url='http://www.dneonline.com/calculator.asmx?wsdl',
method='Add',
args=[100, 200]
).get('output_value').get('result')
# result: 300
return this.success(message=result)