Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60033

XML-RPC client fails for username and password authentication in the URL

XMLWordPrintable

    • MOODLE_33_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • wip-MDL-60033-master
    • Hide
      1. Documentation on enabling web services: https://docs.moodle.org/33/en/Using_web_services
        • Enable web services
        • Enable XML-RPC protocol
        • Enable the "Web services authentication" plugin (site administration > plugins > authentication > manage authentication)
        • Add capability webservice/xmlrpc:use to authenticated user role
        • Create a new WS with necessary functions (see #2) and a token
      2. Use Web services test client to call a WS function using XML-RPC , try both simple and token authentication (Site administration > Development > Web service test client)

      P.S. create_course_category for some reason does not work with parent=0, use parent=1 (fixed in MDL-60091 master-only)

      Show
      Documentation on enabling web services: https://docs.moodle.org/33/en/Using_web_services Enable web services Enable XML-RPC protocol Enable the "Web services authentication" plugin (site administration > plugins > authentication > manage authentication) Add capability webservice/xmlrpc:use to authenticated user role Create a new WS with necessary functions (see #2) and a token Use Web services test client to call a WS function using XML-RPC , try both simple and token authentication (Site administration > Development > Web service test client) P.S. create_course_category for some reason does not work with parent=0, use parent=1 (fixed in MDL-60091 master-only)

      Easy to reproduce with the built-in test client, if you select simple XML-RPC authentication it fails saying "password is not provided"

            marina Marina Glancy
            marina Marina Glancy
            Jun Pataleta Jun Pataleta
            Jake Dallimore Jake Dallimore
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.