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

Bug 346144

Summary: Implement REST service invocation for Javascript gen
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Joseph Vincens <jvincens>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: greer, mheitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Joseph Vincens CLA 2011-05-17 14:56:08 EDT
A service invocation will take the form of
    srvc IMyInterface;
    http HttpREST{request.method=POST,request.uri="http://...";, request.encoding=JSON, request.charset="UTF-8", response.encoding=XML, response.charset="useContentTypeCharset"};
    http.headers.myValue="some random text";
    ServiceLib.bind(srvc, http);
    call srvc.interfaceFunction1(param1,  param2, param3) returning to handleResonse onException exceptionHandler

function handleResonse( param4 MyRecord, retResult string in)
    http HttpREST = ServiceLib.getHttpREST();
end


I've attached the start of the EGL records and enumerations needed for this, I'm sure they will change as we get further along.
Comment 1 Scott Greer CLA 2011-08-08 11:11:11 EDT
Rolling forward to I12 as agreed to by Joe.
Comment 2 Joseph Vincens CLA 2011-09-12 08:12:50 EDT
implemented
Comment 3 Joseph Vincens CLA 2011-09-13 08:22:49 EDT
implemented