Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354979

Summary: Generated Java can not resolve eglx.services.ServiceLib
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Joseph Vincens <jvincens>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-08-17 12:18:32 EDT
=========  EDT handler Code ============

handler CreateResultFile
	
	private trService TestResultService{@dedicatedService{}};
	
	function createFile(fileDirectory String in, fullFileName String in, fileContent String in)	
		call trService.createFile(fileDirectory, fullFileName, fileContent) returning to fileCreated onException ServiceLib.serviceExceptionHandler;	
	end	
	
	private function fileCreated(absoluteFilePath string in)
		syslib.writeStdOut("The result file: " + absoluteFilePath + " is created");
	end
end

========== EDT service Code =============

service TestResultService

	function createFile(fileDirectory String in, fullFileName String in, fileContent String in) returns (String)

		return (fullFileName);
	end
end
Comment 1 Matt Heitz CLA 2011-08-26 15:42:43 EDT

*** This bug has been marked as a duplicate of bug 355575 ***