Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/rpc/Service.js

  • Provides:

    • dojox.rpc.Service
  • dojox.rpc.Service

    • type
      Function
    • parameters:
      • smd: (typeof 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
    • summary
      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
    • description
      dojox.rpc.Service must be loaded prior to any plugin services like dojox.rpc.Rest
      dojox.rpc.JsonRpc in order for them to register themselves, otherwise you get
      a "No match found" error.
  • dojox.rpc.Service.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • smd: (typeof 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
    • summary
      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
    • description
      dojox.rpc.Service must be loaded prior to any plugin services like dojox.rpc.Rest
      dojox.rpc.JsonRpc in order for them to register themselves, otherwise you get
      a "No match found" error.
  • dojox.rpc.Service._generateService

    • parameters:
      • serviceName
      • method
    • type
      Function
  • dojox.rpc.Service._getRequest

    • parameters:
      • method
      • args
    • type
      Function
  • dojox.rpc.Service._smd

  • dojox.rpc.Service._executeMethod

    • parameters:
      • method
    • type
      Function
  • dojox.rpc.Service._options

    • type
      Object
  • dojox.rpc.Service._requestId

    • type
      Number
  • dojox.rpc.getTarget

    • parameters:
      • smd
      • method
    • type
      Function
  • dojox.rpc.toOrdered

    • parameters:
      • parameters
      • args
    • type
      Function
  • dojox.rpc.transportRegistry

    • type
      Object
  • dojox.rpc.envelopeRegistry

    • type
      Object
  • dojox.rpc.Service._nextId

    • type
      Number
  • dojo._contentHandlers.auto

    • parameters:
      • xhr
    • type
      Function
  • dojo._contentHandlers

    • alias - dojo._contentHandlers
  • dojox.rpc

    • type
      Object
  • dojox

    • type
      Object