Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354979 - Generated Java can not resolve eglx.services.ServiceLib
Summary: Generated Java can not resolve eglx.services.ServiceLib
Status: CLOSED DUPLICATE of bug 355575
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joseph Vincens CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 12:18 EDT by Kathy Carroll CLA
Modified: 2017-02-23 14:16 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***