Skip to main content

revXMLRPC_SetMethod

Type​

command

Summary​

Sets the name of the method in an XML-RPC document structure.

Syntax​

revXMLRPC_SetMethod <XMLRPCdocumentID>,<methodName>

Description​

Use the revXMLRPC_SetMethod command to set the method name to be called upon execution of an existing XML-RPC document.

Where the path of the XML-RPC document tells the server which resource will handle the request, the method name tells that resource which method is being called specifically within that resource.

Parameters​

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

methodName

string

The the method name to be called upon execution of the XML-RPC documents documentID.

Examples​

revXMLRPC_SetMethod theRequest,"sample.elizabethanInsult"

Value​

NameTypeDescription

the result

string

If the revXMLRPC_SetMethod command encounters an error, the result is set to an error message beginning with "xmlerr" or "xmlrpcerr".

command: revXMLRPC_SetPath, revXMLRPC_GetMethod

function: result, revXMLRPC_CreateRequest

glossary: LiveCode custom library, Standalone Application Settings, standalone application, command, XML-RPC document, XML-RPC

library: XML-RPC library

Compatibility and Support​

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?