if (mimeHelper.getAttachmentSpecType().equals(MTOMConstants.MTOM_TYPE)) {
/*
* Creates the MTOM specific MTOMStAXSOAPModelBuilder
*/
builder = new MTOMStAXSOAPModelBuilder(streamReader, mimeHelper, null);
} else if (mimeHelper.getAttachmentSpecType().equals(MTOMConstants.SWA_TYPE)) {
builder = new StAXSOAPModelBuilder(streamReader,
SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
}