Close
    logoCloudomation Docs

    TaskSOAP

    class tasks.task_soap.TaskSOAP

    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
    execution_idintThe ID of the task execution
    messagestrThe ended message for the task. If the task ended with an error, the message will contain information about what went wrong
    statusstrThe ended status for the task. Either "success" or "error".

    Constants

    input_list = ['args', 'kwargs', 'method', 'password', 'username', 'wsdl_url']output_list = ['log', 'result']version = 1

    Methods

    run ()

    Example

    import flow_api
    def handler(system: flow_api.System, this: flow_api.Execution):
    this.task(
    'SOAP',
    # TBD
    )
    return this.success('all done')
    Previous
    TaskSMTP
    Next
    TaskSQLMSSQL