dojox.rpc.Service
dojo.require("dojox.rpc.Service");
defined in dojox/rpc/Service.js
Take a string as a url to retrieve an smd or an object that is an smd or partial smd to use as a definition for the service
Usage
function (/*Object*/ smd, options) (view source)
parameter | type | description |
---|---|---|
smd | Object | Takes a number of properties as kwArgs for defining the service. It also accepts a string. When passed a string, it is treated as a url from which it should synchronously retrieve an smd file. Otherwise it is a kwArgs object. It accepts serviceUrl, to manually define a url for the rpc service allowing the rpc system to be used without an smd definition. strictArgChecks forces the system to verify that the # of arguments provided in a call matches those defined in the smd. smdString allows a developer to pass a jsonString directly, which will be converted into an object or alternatively smdObject is accepts an smdObject directly. |
options |
FunctionsBack to top

