Used by Soap marshallers to convert from the javax.xml.transform.Source used in
the NormalizedMessage into the Axiom OM model used by Axis2.
Also retrieves any attachments from the NormalizedMessage to be included in the
Soap message.
Converts from a Source into an OMElement tree
Parameters: source - The Source from the NormalizedMessage Parameters: attachments - Attachment map containing all attachments from the NormalizedMessage Parameters: useMTOM - true if MTOM is to be used Parameters: useSwA - true if SwA is to be used throws: MessagingException -