Output output = definition.createOutput();
Message outputMessage = definition.createMessage();
operation.setOutput(output);
output.setMessage(outputMessage);
BindingOperation bindingOperation = definition.createBindingOperation();
SOAPOperation soapOperation = (SOAPOperation) extensionRegistry.createExtension(BindingOperation.class, new QName("http://schemas.xmlsoap.org/wsdl/soap/", "operation"));
soapOperation.setSoapActionURI("actionURI");
soapOperation.setStyle("rpc");
bindingOperation.addExtensibilityElement(soapOperation);
bindingOperation.setOperation(operation);
bindingOperation.setName(operation.getName());
BindingInput bindingInput = definition.createBindingInput();
SOAPBody inputBody = (SOAPBody) extensionRegistry.createExtension(BindingInput.class, new QName("http://schemas.xmlsoap.org/wsdl/soap/", "body"));