---
title: "soap function streaming · RUAL Documentation"
description: "Streams the output of the given function using the original WSDL"
canonical: https://docs.rual.nl/block-types/soap%20connection/soapconnection_request_function_streaming
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# soap function streaming

This block is part of the [`soap connection`](https://docs.rual.nl/block-types/soap%20connection) group and was last modified in core [`v14.0.1`](https://docs.rual.nl/core-versions/140001).

Streams the output of the given function using the original WSDL

- connection required `soapconnection`

- name required `value`

- request required `object`

- options required `v14.0.2` `object` Allows setting basic request options like timeout (ms)

- array name required `v15.0.0` `value` Dot-path to the array in the response to stream, e.g. `SupplyTradeLineItem`

- connection `soapconnection`

- error `value`

- Each result `execute_function`

Calls the SOAP function, extracts the array named by array_name from the response, and runs the wired function once per element with pins index and result (also passed as item, the key the Node core uses). A response carrying a single element is streamed as one item. Iterations run up to 10 at a time and each one's shared state is merged back into the run. error is COULD_NOT_FIND_FUNCTION when nothing is wired to the function pin, NO_CONNECTION without a connection, or the SOAP fault or transport error otherwise.

A typical wiring for [soap function streaming](https://docs.rual.nl/block-types/soap%2520connection/soapconnection_request_function_streaming): the function out pin wires to an [execute](https://docs.rual.nl/block-types/function%2520execution/function_custom_execute_from_trigger) block.

[![Studio canvas example for the soap function streaming block: typical wiring for soap function streaming.](https://docs.rual.nl/canvas-examples/soapconnection_request_function_streaming.png)](https://docs.rual.nl/canvas-examples/soapconnection_request_function_streaming.png?v=3)

## Version history

Introduced in [`v13.0.1`](https://docs.rual.nl/core-versions/130001).

Last modified in [`v14.0.1`](https://docs.rual.nl/core-versions/140001).

- [v15.0.0](https://docs.rual.nl/core-versions/150000): This block or one of its pins was updated in `v15.0.0`, click here to see the release notes.

- [v14.0.2](https://docs.rual.nl/core-versions/140002): This block or one of its pins was updated in `v14.0.2`, click here to see the release notes.

- [Back to `soap connection`](https://docs.rual.nl/block-types/soap%20connection): Return to the main group to view all sub-groups

- [Back to `request`](https://docs.rual.nl/block-types/soap%20connection?group=request): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
