ODE
  1. ODE
  2. ODE-865

getVariableInfo() returns invalid response

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.5
    • Component/s: Management API
    • Labels:
      None

      Description

      I'm posting this on behalf on a colleague who posted this bug on the ode-users mailing list.

      I've generated instance management clients from pmapi.wsdl and the wsdl supplied by the instance management service. The method getVariableInfo() of such a client always returns null. The response message is not empty, we could verify this using SoapUI and tcpmon. The same problem exists with a generated C# client, so a bug in JAX-WS / JAXB is highly unlikely. We figured there's something wrong with the response message.

      1. instance-api-bug.zip
        70 kB
        Stefan Schreiber

        Activity

        Hide
        Stefan Schreiber added a comment -

        test case

        Show
        Stefan Schreiber added a comment - test case
        Hide
        Stefan Schreiber added a comment -

        Proposed fix by Daniel Willig:

        in pmapi.wsdl change this section

        <message name="getVariableInfoOutput">
        <part name="scope-info" type="typ:tVariableInfo"/>
        </message>

        into:

        <message name="getVariableInfoOutput">
        <part name="variable-info" type="typ:tVariableInfo"/>
        </message>

        Show
        Stefan Schreiber added a comment - Proposed fix by Daniel Willig: in pmapi.wsdl change this section <message name="getVariableInfoOutput"> <part name="scope-info" type="typ:tVariableInfo"/> </message> into: <message name="getVariableInfoOutput"> <part name="variable-info" type="typ:tVariableInfo"/> </message>
        Hide
        Tammo van Lessen added a comment -

        fixed. Thanks!

        Show
        Tammo van Lessen added a comment - fixed. Thanks!
        Hide
        Hudson added a comment -

        Integrated in ODE-trunk-jdk6 #390 (See https://hudson.apache.org/hudson/job/ODE-trunk-jdk6/390/)
        fixing ODE-865, thanks to Daniel Willig and Stefan Schreiber.

        Show
        Hudson added a comment - Integrated in ODE-trunk-jdk6 #390 (See https://hudson.apache.org/hudson/job/ODE-trunk-jdk6/390/ ) fixing ODE-865 , thanks to Daniel Willig and Stefan Schreiber.
        Hide
        Hudson added a comment -

        Integrated in ODE-trunk #401 (See https://hudson.apache.org/hudson/job/ODE-trunk/401/)
        fixing ODE-865, thanks to Daniel Willig and Stefan Schreiber.

        Show
        Hudson added a comment - Integrated in ODE-trunk #401 (See https://hudson.apache.org/hudson/job/ODE-trunk/401/ ) fixing ODE-865 , thanks to Daniel Willig and Stefan Schreiber.

          People

          • Assignee:
            Tammo van Lessen
            Reporter:
            Stefan Schreiber
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development