[
http://jira.jboss.com/jira/browse/JBESB-1620?page=comments#action_12404866 ]
Tom Fennelly commented on JBESB-1620:
-------------------------------------
Sorry, the last comment on this was factually incorrect... those issues are not related at
all.
On this particular issue... "not being able to handle arrays with the
responseAsOgnlMap=true option"... it's not really feasible to use the
responseAsOgnlMap=true option where collections of data are present in the response. This
option is really only usable for simple responses.
To handle responses that contain collections, you need to use the XStream option e.g.
<action name="soapui-client-action"
class="org.jboss.soa.esb.actions.soap.SOAPClient">
<property name="wsdl"
value="http://localhost:18080/acme/services/OrderManagement?wsdl"/>
<property name="SOAPAction"
value="http://www.acme.com/OrderManagement/GetOrder"/>
<property name="paramsLocation" value="get-order-params"
/>
<property name="responseLocation"
value="get-order-response" />
<property name="responseXStreamConfig">
<alias name="customerOrder"
class="com.acme.order.Order"
namespace="http://schemas.acme.com/services/CustomerOrder.xsd" />
<alias name="orderheader" class="com.acme.order.Header"
namespace="http://schemas.acme.com/services/CustomerOrder.xsd" />
<alias name="item" class="com.acme.order.OrderItem"
namespace="http://schemas.acme.com/services/CustomerOrder.xsd" />
</property>
</action>
SOAPClient "Option #2" not handling arrays properly
---------------------------------------------------
Key: JBESB-1620
URL:
http://jira.jboss.com/jira/browse/JBESB-1620
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.2.1 CP1
Reporter: Tom Fennelly
Assigned To: Tom Fennelly
Fix For: 4.2.1 CP2
When the action is configured to return the result as an OGNL Map of values
(responseAsOgnlMap), only the last array entry is being returned.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira