Source:
public WorkunitInfo getWUInfo(String wuid, boolean includeResults, boolean includeGraphs, boolean includeSourceFiles, boolean includeApplicationValues, Boolean includeDebugValues, Boolean includeExceptions, Boolean includeVariables, Boolean includeXmlSchemas, Boolean includeTimers, boolean unarchive) throws Exception { if (wsWorkunitsServiceSoapProxy == null) throw new Exception("wsWorkunitsServiceSoapProxy not available"); else { WUInfoRequestWrapper request = new WUInfoRequestWrapper(); request.setWuid(wuid); request.setIncludeGraphs(includeGraphs); request.setIncludeResults(includeResults); request.setIncludeResultsViewNames(includeResults); request.setSuppressResultSchemas(!includeResults); request.setIncludeSourceFiles(includeSourceFiles); request.setIncludeApplicationValues(includeApplicationValues); request.setIncludeDebugValues(includeDebugValues); request.setIncludeExceptions(includeExceptions); request.setIncludeTimers(includeTimers); request.setIncludeVariables(includeVariables); request.setIncludeXmlSchemas(includeXmlSchemas); WUInfoResponseWrapper resp = soapWrapper.WUInfo(request); this.throwWsWUExceptions(resp.getRawArrayOfEspExceptions(), "Could not retrieve workunit:"); WorkunitInfo wk = resp.getWorkunit(); if (unarchive && wk != null && wk.getArchived() != null && wk.getArchived()) { doWorkunitAction(wuid, ECLWUActions.Restore); return getWUInfo(wuid, includeResults, includeGraphs, includeSourceFiles, includeApplicationValues, includeDebugValues, includeExceptions, includeVariables, includeXmlSchemas, includeTimers, false); } if (wk==null) { return null; } wk.setResultViews(resp.getResultViews()); return wk; } }

Target:
public WorkunitInfo getWUInfo(String wuid, boolean includeResults, boolean includeGraphs, boolean includeSourceFiles, boolean includeApplicationValues, Boolean includeDebugValues, Boolean includeExceptions, Boolean includeVariables, Boolean includeXmlSchemas, Boolean includeTimers, boolean unarchive) throws Exception { getSoapProxy(); WUInfoRequestWrapper request = new WUInfoRequestWrapper(); request.setWuid(wuid); request.setIncludeGraphs(includeGraphs); request.setIncludeResults(includeResults); request.setIncludeResultsViewNames(includeResults); request.setSuppressResultSchemas(!includeResults); request.setIncludeSourceFiles(includeSourceFiles); request.setIncludeApplicationValues(includeApplicationValues); request.setIncludeDebugValues(includeDebugValues); request.setIncludeExceptions(includeExceptions); request.setIncludeTimers(includeTimers); request.setIncludeVariables(includeVariables); request.setIncludeXmlSchemas(includeXmlSchemas); WUInfoResponseWrapper resp = soapWrapper.WUInfo(request); this.throwWsWUExceptions(resp.getRawArrayOfEspExceptions(), "Could not retrieve workunit:"); WorkunitInfo wk = resp.getWorkunit(); if (unarchive && wk != null && wk.getArchived() != null && wk.getArchived()) { doWorkunitAction(wuid, ECLWUActions.Restore); return getWUInfo(wuid, includeResults, includeGraphs, includeSourceFiles, includeApplicationValues, includeDebugValues, includeExceptions, includeVariables, includeXmlSchemas, includeTimers, false); } if (wk==null) { return null; } wk.setResultViews(resp.getResultViews()); return wk; }