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

Bug 362169

Summary: Fire Java errors when call dedicated service in EDT
Product: z_Archived Reporter: Yu Hao <yuhaodl>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED INVALID QA Contact:
Severity: critical    
Priority: P3 CC: jeffdouglas, jinfahua, jqian, jvincens, yuhaodl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Includes service, interface and client none

Description Yu Hao CLA 2011-10-27 05:07:24 EDT
Build Identifier: 201110262101

Call dedicated service in EDT, there are java errors:
Description	Resource	Path	Location	Type
com.ibm.javart cannot be resolved to a type	mypgm.java	/test/generatedJava/common	line 32	Java Problem
ezeProgram cannot be resolved	mypgm.java	/test/generatedJava/common	line 32	Java Problem
ezeProgram cannot be resolved to a variable	mypgm.java	/test/generatedJava/common	line 32	Java Problem


Reproducible: Always

Steps to Reproduce:
1.Create a EGL web service project
2.Create a service and extract its interface
3.Create a egl program to call this service, there will fire java errors

I attached the egl files for your reference
Comment 1 Yu Hao CLA 2011-10-27 05:13:16 EDT
Created attachment 206061 [details]
Includes service, interface and client
Comment 2 Joseph Vincens CLA 2011-10-27 09:18:35 EDT
For 0.7.0 service invocations are only supported from JS gen.
Comment 3 Jing Qian CLA 2011-10-27 10:49:18 EDT
p.s. program can only be generated in java, not javascript. so you can not use call... returning to ... on exception in a program, this call service statement can only be used in a javascript client
Comment 4 Yu Hao CLA 2011-10-27 21:13:13 EDT
verified