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

SOAP server should generate WSDL with fully detailed arrays

    Details

      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.

        Gliffy Diagrams

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

          Issue Links

            Activity

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

              People

              • Votes:
                21 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated: