[esb-issues] [JBoss JIRA] Created: (JBESB-1946) Soapclient ognl soapenc:array support

Joakim Sandström (JIRA) jira-events at lists.jboss.org
Mon Aug 18 09:15:00 EDT 2008


Soapclient ognl soapenc:array support
-------------------------------------

                 Key: JBESB-1946
                 URL: https://jira.jboss.org/jira/browse/JBESB-1946
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web Services
    Affects Versions: 4.4
            Reporter: Joakim Sandström


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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the esb-issues mailing list