Package oracle.soa.api.message
Interface Payload<T>
- All Superinterfaces:
Serializable
Message content representation
Example:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
Document doc =
dbf.newDocumentBuilder().parse(new InputSource(new StringReader(payloadXML)));
// Prepare the payload for inclusion in the Message object
Map<String, Element> msgParts = new HashMap<String, Element>();
msgParts.put("msgPart", doc.getDocumentElement());
Payload<Element> payload = PayloadFactory.createXMLPayload(msgParts);
-
Method Summary
-
Method Details
-
setData
Specifies the payload data Payload data is a map of WSDL message part names to the matching data.- Parameters:
data- WSDL message part data
-
getData
- Returns:
- WSDL message part data
-