public interface Payload
extends java.io.Serializable
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);
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getData() |
void |
setData(java.util.Map data)
Specifies the payload data Payload data is a map of WSDL message part names to the matching data.
|