| Summary: | Implement REST service invocation for Javascript gen | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> |
| Component: | EDT | Assignee: | Joseph Vincens <jvincens> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | greer, mheitz |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
Rolling forward to I12 as agreed to by Joe. implemented implemented |
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.