Package | Description |
---|---|
org.wso2.carbon.connector.core.util |
Modifier and Type | Method and Description |
---|---|
static void |
PayloadUtils.preparePayload(org.apache.axis2.context.MessageContext messageContext,
String xmlString)
Converts the XML String to XML Element and sets in message context
|
static void |
PayloadUtils.setContent(org.apache.axis2.context.MessageContext messageContext,
InputStream inputStream,
String contentType)
Builds content according to the content type and set in the message body
|
static void |
PayloadUtils.setPayloadInEnvelope(org.apache.axis2.context.MessageContext axis2MsgCtx,
org.apache.axiom.om.OMElement payload)
Sets the OMElement in the message context
|
Copyright © 2021 WSO2. All rights reserved.