]
Joakim Sandström updated JBESB-1946:
------------------------------------
Attachment: OGNLUtils.java.patch
modified assertIsCollection method that checks for a xsi:type="soapenc:Array"
attribute.
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
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: