Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346144 - Implement REST service invocation for Javascript gen
Summary: Implement REST service invocation for Javascript gen
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Joseph Vincens CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-17 14:56 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:17 EST (History)
2 users (show)

See Also:


Attachments

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