}else if (extension.getClass().equals(MIMEMultipartRelated.class) &&
(type.equals(SOAPBody.class) || type.equals(MIMEContent.class)
|| type.equals(MIMEPart.class))) {
for (MIMEPart part : ((MIMEMultipartRelated)extension).getParts()) {
//bug fix: 5024001
TWSDLExtension extn = getExtensionOfType(part, type);
if (extn != null)
return extn;
}
}
}