Moodle
  1. Moodle
  2. MDL-28988

SOAP server should generate WSDL with fully detailed arrays

    Details

    • Rank:
      18817

      Description

      History of the issue can be followed there: MDL-20804

      Summary: the SOAP server does not generate a detailled phpdoc for arrays. And so it does not generate generate a WSDL with fully detailled arrays. Arrays need to be fully detailled in the WSDL in order to be JAVA compatible (from my understanding of SOAP with JAVA).
      By fully detailled I mean the array content that could be objects, arrays or primitive type need to be described.

      At this moment we could try to generate an detailled phpdoc for array but I'm not sure if it's possible. If it's not possible then the solution would to parse the description and generate the WSDL without using the Zend reflection that look to the generated phpdoc.
      Also in this case we need to think if we prefer to have a new JAVA SOAP server and keep the current one or to change the current one.

      1. server.php.xml
        34 kB
        Luis de Vasconcelos

        Issue Links

          Activity

          Jérôme Mouneyrac created issue -
          Jérôme Mouneyrac made changes -
          Field Original Value New Value
          Priority Minor [ 4 ] Major [ 3 ]
          Jérôme Mouneyrac made changes -
          Affects Version/s 2.0 [ 10122 ]
          Affects Version/s 2.1.1 [ 10750 ]
          Jérôme Mouneyrac made changes -
          Link This issue has been marked as being related by MDL-20804 [ MDL-20804 ]
          Michael de Raadt made changes -
          Summary SOAP server should generate WSDL with fully detailled arrays SOAP server should generate WSDL with fully detailed arrays
          Fix Version/s DEV backlog [ 10464 ]
          Labels triaged
          Jérôme Mouneyrac made changes -
          Parent MDL-29276 [ 47385 ]
          Issue Type Bug [ 1 ] Sub-task [ 5 ]
          moodle.com made changes -
          Assignee Jerome Mouneyrac [ jerome ] Aparup Banerjee [ nebgor ]
          Fix Version/s STABLE Sprint 14 [ 11050 ]
          Fix Version/s DEV backlog [ 10464 ]
          Filter Manager made changes -
          Fix Version/s DEV backlog [ 10464 ]
          Fix Version/s STABLE Sprint 14 [ 11050 ]
          Filter Manager made changes -
          Assignee Aparup Banerjee [ nebgor ] Jerome Mouneyrac [ jerome ]
          Jérôme Mouneyrac made changes -
          Parent MDL-29276 [ 47385 ]
          Issue Type Sub-task [ 5 ] Task [ 3 ]
          Jérôme Mouneyrac made changes -
          Link This issue has a non-specific relationship to MDL-28989 [ MDL-28989 ]
          Jérôme Mouneyrac made changes -
          Link This issue has a non-specific relationship to MDL-29837 [ MDL-29837 ]
          Jérôme Mouneyrac made changes -
          Assignee Jerome Mouneyrac [ jerome ] moodle.com [ moodle.com ]
          Luis de Vasconcelos made changes -
          Attachment server.php.xml [ 29463 ]
          Adam Olley made changes -
          Labels triaged netspot partner triaged
          Jérôme Mouneyrac made changes -
          Labels netspot partner triaged dev_docs_required netspot partner patch triaged
          Affects Version/s Future Dev [ 12153 ]
          Jérôme Mouneyrac made changes -

            People

            • Votes:
              20 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated: