]
Magesh Kumar B closed JBESB-1946.
---------------------------------
Resolution: Done
trunk: 33488
Soapclient ognl soapenc:array support
-------------------------------------
Key: JBESB-1946
URL:
https://jira.jboss.org/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
Assignee: Magesh Kumar B
Fix For: 4.9
Attachments: OGNLUtils.java.patch
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: