Part part = inputParts[i];
if (WsdlUtils.isAttachmentInputPart(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 {
if (wsdlContext.hasSchemaTypes()) {