}
bindingInput.addExtensibilityElement(inputExtension);
bindingOperation.setBindingInput(bindingInput);
}
if (operation.getOutput() != null) {
BindingOutput bindingOutput = definition.createBindingOutput();
configureBindingOutput(bindingOutput, operation.getOutput());
ExtensibilityElement outputExtension =
definition.getExtensionRegistry().createExtension(BindingOutput.class, soapBody);
if (requiresSOAP12) {
((SOAP12Body)outputExtension).setUse("literal");
} else {
((SOAPBody)outputExtension).setUse("literal");
}
bindingOutput.addExtensibilityElement(outputExtension);
bindingOperation.setBindingOutput(bindingOutput);
}
for (Iterator fi = operation.getFaults().values().iterator(); fi.hasNext();) {
Fault fault = (Fault)fi.next();
BindingFault bindingFault = definition.createBindingFault();