|Constructor and Description|
|Modifier and Type||Method and Description|
Process a message.
Process a MIME multipart message and initialize the message context.
public OMElement processDocument(InputStream inputStream, String contentType, MessageContext messageContext) throws AxisFault
The raw content of the message is provided as an input stream. It is the responsibility of the caller (typically a transport implementation) to close the stream after the message has been processed (more precisely after the SOAP infoset returned by this method is no longer used). This implies that implementations are not required to consume the input stream during the execution of this method. This enables deferred parsing of the message.
public OMElement processMIMEMessage(Attachments attachments, String contentType, MessageContext messageContext) throws AxisFault
attachments- the MIME message
contentType- the content type of the root part, as specified by the type parameter in the content type of the MIME message
messageContext- the message context
Copyright © The Apache Software Foundation. All Rights Reserved.