| Tag Link | [SOAP_DefineTag] | Category | Custom Tag |
|---|---|---|---|
| Type | Substitution | Source Available | No |
| Support | Preferred | Version | 8.0 |
| Change | Unchanged | Data Source | Any |
| Output Type | None | Security | None |
| Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0 |
[SOAP_DefineTag] creates a local custom tag that automatically calls a remote SOAP procedure. This allows a SOAP procedure on a server anywhere in the world to be called as easily as any tag in Lasso.
The tag requires several parameters:
The optional
An optional
[Var('WSDL' = XML(Include_URL('http://www.example.com/morse.asmx?WSDL')))]
[SOAP_DefineTag(
[Ex_MsgtoMorse: 'Howdy']
| Required Parameters | |
|---|---|
| -LocalTagName | The name of the local tag to be created. |
| -OperationName | The name of the remote SOAP procedure. |
| Optional Parameters | |
| -Namespace | Optional namespace for the local tag to be created. |
| -Defaults | Optional map of defaults. |
| -Procs | Optional array of procedures to apply to the SOAP return value. |
| -Username | If specified then HTTP authentication is used on the SOAP request. A |
| -Password | If specified then HTTP authentication is used on the SOAP request. A |
See the Lasso 8 Language Guide for examples of how to use this tag.