operation.setUndefined(false);
Input input = WSDLFactory.eINSTANCE.createInput();
operation.setInput(input);
Output output = WSDLFactory.eINSTANCE.createOutput();
operation.setOutput(output);
portType.addOperation(operation);
Message inputMessage = WSDLFactory.eINSTANCE.createMessage();
inputMessage.setQName(new QName(operation.getEnclosingDefinition().getTargetNamespace(), operationName));
inputMessage.setUndefined(false);
input.setMessage(inputMessage);
wsdlDef.addMessage(inputMessage);