if (method == null) {
method = pt.addNewMethod();
}
method.setMethodName(op.getMethodName());
method.setMethodDescription(op.getMethodDescription());
ApplicationType appType = method.getApplication();
if (appType == null) {
appType = method.addNewApplication();
}
appType.setParamValuesOnly(true);
ApplicationName appNameType = appType.getApplicationName();
if (appNameType == null) {
appNameType = appType.addNewApplicationName();
}
QName appName = new QName(serviceInfo.getObjectNamespace(),
serviceInfo.getApplicationName());
appNameType.setStringValue(appName.getLocalPart());
appNameType.setTargetNamespace(appName.getNamespaceURI());
appType.setApplicationDescription(op.getMethodDescription());
// Boolean parameters from Service screen
if (op.isStageOutputDataFiles()) {
method.setStageOutputDataFiles(true);
}
if (op.isForceFileStagingToWorkDir()) {
method.setForceFileStagingToWorkDir(true);
}
if (op.isUseLEADNameListFile()) {
appType.setUseLEADNameListFile(true);
}
if (op.isUseLEADNameListPropertiesFile()) {
appType.setUseLEADNameListPropertiesFile(true);
}
InputParameterType[] inputs = method.getInputParameterArray();
HashMap<String, InputParameterType> inputMap = new HashMap<String, InputParameterType>();
if (inputs != null) {