Class SoapOutputPayload
java.lang.Object
org.mule.runtime.extension.api.soap.SoapOutputPayload
A simple container object that carries the SOAP envelope information and the attachments bounded to the response.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionSoapOutputPayload(org.mule.runtime.api.metadata.TypedValue<InputStream> body, Map<String, org.mule.runtime.api.metadata.TypedValue<InputStream>> attachments, Map<String, org.mule.runtime.api.metadata.TypedValue<String>> headers) -
Method Summary
Modifier and TypeMethodDescriptionMap<String,org.mule.runtime.api.metadata.TypedValue<InputStream>> org.mule.runtime.api.metadata.TypedValue<InputStream>getBody()toString()
-
Constructor Details
-
SoapOutputPayload
public SoapOutputPayload(org.mule.runtime.api.metadata.TypedValue<InputStream> body, Map<String, org.mule.runtime.api.metadata.TypedValue<InputStream>> attachments, Map<String, org.mule.runtime.api.metadata.TypedValue<String>> headers)
-
-
Method Details
-
getBody
- Returns:
- The xml response body. Represents the <SOAP:BODY> element
-
getAttachments
- Returns:
- A set of attachments bounded to the response, an empty map if there is no attachments.
-
getHeaders
- Returns:
- A set of XML SOAP headers. Represents the content inside the <SOAP:HEADERS> element.
-
toString
-