Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-1946

Soapclient ognl soapenc:array support

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.4
    • Fix Version/s: 4.9
    • Component/s: Web Services
    • Labels:
      None

      Description

      The current ognl implementation doesn't handle the following response correctly. Only the last findBySomethingReturn item is returned.

      i.e.
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
      <ns1:findBySomethingResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://mydomain">
      <findBySomethingReturn soapenc:arrayType="ns2:customer[2]" xsi:type="soapenc:Array" xmlns:ns2="urn:sys" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
      <findBySomethingReturn xsi:type="ns2:customer">
      <id xsi:type="xsd:int">1</id>
      <name xsi:type="xsd:string">one</name>
      </findBySomethingReturn>
      <findBySomethingReturn xsi:type="ns2:customer">
      <id xsi:type="xsd:int">2</id>
      <name xsi:type="xsd:string">two</name>
      </findBySomethingReturn>
      </findBySomethingReturn>
      </ns1:findBySomethingResponse>
      </soapenv:Body>
      </soapenv:Envelope>

        Attachments

          Activity

            People

            Assignee:
            mageshbk Magesh Bojan (Inactive)
            Reporter:
            sanjoa Joakim Sandstroem (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: