String fName = part.getName();
String fType = ProcessorUtil.resolvePartType(part, jaxbModel);
String fNamespace = ProcessorUtil.resolvePartNamespace(part);
String fPackageName = ProcessorUtil.parsePackageName(fNamespace, env.mapPackageName(fNamespace));
JavaField fField = new JavaField(fName, fType, fNamespace);
fField.setQName(ProcessorUtil.getElementName(part));
if (!method.getInterface().getPackageName().equals(fPackageName)) {
fField.setClassName(fPackageName + "." + fType);
}
if (!fType.equals(ProcessorUtil.resolvePartType(part))) {
fField.setClassName(ProcessorUtil.resolvePartType(part, jaxbModel, true));
}
expClass.addField(fField);
}
model.addExceptionClass(name, expClass);