The [XML_RPCCall] can be used to call an XML-RPC method on a remote server. The tag has three parameters.
-Host specifies the host which should be called. This usually includes a URL and path to the page or CGI that processes XML-RPC. For Lasso servers the host parameter should be of the form http://www.example.com/Lasso/RPC.LassoApp. If the -Host is omitted then the current server is called.
-Method specifies the method which should be called. Method names are usually of the form Test.Echo or System.ListMethods. A different set of methods may be supported by each server.
-Params allows an array of parameters to be passed to the method. -Params can be omitted if no parameters are required.
This tag uses the low-level [XML_RPC] data type to perform the call.
[XML_RPCCall: -host='http://127.0.0.1/Lasso/RPC.LassoApp',
-Method='Method.Name', -Params=(Array: ... )]
[XML_RPCCall: -Method='Method.Name', -Params=(Array: ... )]
Use the [XML_RPCCall] tag. The following example calls the Test.Echo method on the local machine.
[XML_RPCCall: -Host='http://127.0.0.1/Lasso/RPC.Lasso', -Method='Test.Echo', -Params='Hello World!']
Hello World!
Tag Link | [XML_RPCCall] | Category | XML |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | Array, Any | Security | Tag |
Implementation | LDML | Sets | Lasso 6.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft