if (soap11) {
SOAPBody body = new SOAPBodyImpl();
body.setUse("literal");
in.addExtensibilityElement(body);
} else {
SOAP12Body body = new SOAP12BodyImpl();
body.setUse("literal");
in.addExtensibilityElement(body);
}
bindingOp.setBindingInput(in);
}
if (operation.getOutput() != null) {
BindingOutput out = def.createBindingOutput();
out.setName(operation.getOutput().getName());
if (soap11) {
SOAPBody body = new SOAPBodyImpl();
body.setUse("literal");
out.addExtensibilityElement(body);
} else {
SOAP12Body body = new SOAP12BodyImpl();
body.setUse("literal");
out.addExtensibilityElement(body);
}
bindingOp.setBindingOutput(out);
}
for (Iterator<?> itf = operation.getFaults().values().iterator(); itf.hasNext();) {