Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29276 META- Web service improvements for 2.2
  3. MDL-29843

Access control exception are not properly "catched" by the SOAP demo client

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
      None
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      Call SOAP demo client with any access control exception (missing soap capability, valid until date expired on the token...)

      When the SOAP client requests the WSDL (new SoapClient($serverurl), the server will throw an exception during the WSDL generation. This exception is converted by the server into a SOAPFAULT. Somehow the client does not recognize this format.

      It could be an error on the client (maybe a setup) or it could be the server that returned a format not recognized by PHP SOAP Client.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: