part.setHeader(true);
} else {
throw new IllegalStateException("Unbound part: " + part.getName());
}
}
output.addPart(part);
}
if (operation.getStyle() == Style.RPC) {
output.setElementName(new QName(output.getNamespace(), operation.getName().getLocalPart() + "Response"));
}
operation.setOutput(output);