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 Sub-task
    • Status: Closed
    • Priority: Blocker 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
    • Rank:
      19320

      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.

        Issue Links

          Activity

          Aparup Banerjee created issue -
          Aparup Banerjee made changes -
          Field Original Value New Value
          Assignee Anthony Borrow [ aborrow ] Jerome Mouneyrac [ jerome ]
          Jérôme Mouneyrac made changes -
          Priority Minor [ 4 ] Critical [ 2 ]
          Jérôme Mouneyrac made changes -
          Link This issue will help resolve MDL-29276 [ MDL-29276 ]
          Jérôme Mouneyrac made changes -
          Priority Critical [ 2 ] Blocker [ 1 ]
          Jérôme Mouneyrac made changes -
          Summary with SOAP protocol access not allowed, SOAP client has SOAPfault fatal error Access control exception are not properly catch by the SOAP demo client
          Description following on from MDL-29825 , the SOAP client in https://github.com/moodlehq/sample-ws-clients will die fatally when it doesn't receive a proper WSDL. (please see MDL-29825) Call SOAP demo client with any access control exception (missing soap capability, valid until date expired on the token...)

          When the 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.
          Jérôme Mouneyrac made changes -
          Link This issue will help resolve MDL-29825 [ MDL-29825 ]
          Jérôme Mouneyrac made changes -
          Summary Access control exception are not properly catch by the SOAP demo client Access control exception are not properly "catched" by the SOAP demo client
          Description Call SOAP demo client with any access control exception (missing soap capability, valid until date expired on the token...)

          When the 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.
          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.
          Jérôme Mouneyrac made changes -
          Project Non-core contributed modules [ 10033 ] Moodle [ 10011 ]
          Key CONTRIB-3219 MDL-29843
          Workflow jira [ 100872 ] MDL Full Workflow [ 100894 ]
          Affects Version/s 2.1.2 [ 10851 ]
          Affects Version/s 2.1.2 [ 11256 ]
          Component/s Web Services [ 10425 ]
          Component/s  Add a project here [ 10142 ]
          Jérôme Mouneyrac made changes -
          Parent MDL-29276 [ 47385 ]
          Issue Type Bug [ 1 ] Sub-task [ 5 ]
          Jérôme Mouneyrac made changes -
          Status Open [ 1 ] Development in progress [ 3 ]
          Jérôme Mouneyrac made changes -
          Status Development in progress [ 3 ] Closed [ 6 ]
          Resolution Not a bug [ 7 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: