Show Table of Contents
13.9.10. Dealing with SOAP Response Messages
The SOAP response object instance can be attached to the ESB Message instance in one of the following ways:
- On the default body location (Message.getBody().add(Map))
- In a named body location (Message.getBody().add(String, Map)), where the name of that body location is specified as the value of the "set-payload-location" action property.
The response object instance can be populated (from the SOAP response) in one of three ways:
- as an Object Graph created and populated by the XStream toolkit. We also plan to add support for unmarshaling the response using JAXB and JAXB Annotation Introductions.
- as a set of String based key-value pairs(<String, String>), where the key is an OGNL expression identifying the SOAP response element and the value is a String representing the value from the SOAP message.
- if Options one or two are not specified in the action configuration, the raw SOAP response message (String) is attached to the message.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.