if (null != pType && null != (operation = pType.getOperation(opName))) {
if (input) {
WsdlPortTypeInput messageRef = operation.getInput();
if (null != messageRef && null != messageRef.getMessage()) {
WsdlMessage message = wsdlDefinitions.getMessage(messageRef.getMessage().getLocalPart());
if (null != message) {
return new QName(wsdlDefinitions.getTargetNamespace(), message.getName(), key);
}
}
} else {
xsul5.wsdl.WsdlPortTypeOutput messageRef = operation.getOutput();
if (null != messageRef && null != messageRef.getMessage()) {
WsdlMessage message = wsdlDefinitions.getMessage(messageRef.getMessage().getLocalPart());
if (null != message) {
return new QName(wsdlDefinitions.getTargetNamespace(), message.getName(), key);
}
}
}
}