Uploaded image for project: 'ZZZ-WSO2 Data Services Server'
  1. ZZZ-WSO2 Data Services Server
  2. DS-1244

InMemoryDSSample - incorrect data displayed.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Not a bug
    • Affects Version/s: None
    • Fix Version/s: 3.5.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Minor
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      When we build this InMemoryDSSample and invoke the 'getAllUsers' operation, it returns data as follows:

      "<Vehicles xmlns="http://ws.wso2.org/dataservice">
      <Vehicle>
      <ID>1</ID>
      <Name>Will Smith</Name>
      </Vehicle>
      <Vehicle>
      <ID>2</ID>
      <Name>Denzel Washington</Name>
      </Vehicle>
      </Vehicles>"

      The <Vehicles> and <Vehicle> elements should be <Users> and <User>.

        Attachments

          Activity

            People

            • Assignee:
              manurip@wso2.com Manuri Amaya Perera
              Reporter:
              nilmini@wso2.com Nilmini Perera
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: