13.9.12. Extract SOAP response data to an OGNL Keyed Map

Procedure 13.5. Task

  • Replace the "responseXStreamConfig" property with the "responseAsOgnlMap" property:
    <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
        <property name="wsdl" value="http://localhost:18080/acme/services/RetailerService?wsdl"/>
        <property name="operation" value="GetOrder"/>
        <property name="get-payload-location" value="get-order-params" />
        <property name="set-payload-location" value="get-order-response" />
        <property name="responseAsOgnlMap" value="true" />
    </action>

    Note

    To return the raw SOAP message as a string, simply omit both the "responseXStreamConfig" and "responseAsOgnlMap" properties.