Client Bindings
soap:client — SOAP Client
Defines SOAP operations from a WSDL.
Syntax
XML
<soap:client wsdl="https://example.com/service?wsdl">
<soap:bind var="myFunc">OperationName</soap:bind>
</soap:client>
<call func="myFunc" var="result" />
rest:client — REST Client
Defines RESTful resources.
Syntax
XML
<rest:client url="https://api.example.com">
<rest:header>Authorization: Bearer $token</rest:header>
<rest:bind var="getItem" method="GET">/items/:id</rest:bind>
</rest:client>
<call func="getItem" var="item">
<param var="id">123</param>
</call>
Route Parameters
parameters passed to <call> fill the :name placeholders in the route path.