for (int i = 0; i < inputParts.length; i++) {
Part part = inputParts[i];
if (WsdlUtils.isAttachmentOutputPart(part, bindingOperation)) {
if (iface.getSettings().getBoolean(WsdlSettings.ATTACHMENT_PARTS)) {
XmlCursor c = cursor.newCursor();
c.toLastChild();
c.beginElement(part.getName());
c.insertAttributeWithValue("href", part.getName() + "Attachment");
c.dispose();
}
} else {