addressingFeatureInfo.setResponses(AddressingFeature.Responses.valueOf(addressing.getResponses().name()));
}
}
if (port.getEnableMtom() != null || port.getMtomThreshold() != null) {
MTOMFeatureInfo mtomFeatureInfo = portInfo.getMtomFeatureInfo();
if (mtomFeatureInfo == null) {
mtomFeatureInfo = new MTOMFeatureInfo();
portInfo.setMtomFeatureInfo(mtomFeatureInfo);
}
if (port.getEnableMtom() != null) {
mtomFeatureInfo.setEnabled(port.getEnableMtom());
}
if (port.getMtomThreshold() != null) {
mtomFeatureInfo.setThreshold(port.getMtomThreshold());
}
}
if (port.getRespectBinding() != null && port.getRespectBinding().getEnabled() != null) {
RespectBindingFeatureInfo respectBindingFeatureInfo = portInfo.getRespectBindingFeatureInfo();