| Summary: | Migrate EGL REST RPC config file generation from RBD | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Joseph Vincens <jvincens> | ||||
| Component: | EDT | Assignee: | Yun Feng Ma <mayunf> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | chenzhh | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Joseph Vincens
The output of this generation is a -uri.xml file. The generator from RBD can be migrated to EDT (see com.ibm.etools.egl.deploy.j2ee.internal.solution.generators.services.ServiceUriMappingGenerator). This file will be used by the org.eclipse.edt.javart.services.servlet.rest.rpc.ServiceServlet. This servlet is registered in the web.xml and defines to the servlet the URI it is 'watching' and the service that URI maps to. ensure that the file name is <Context root>-uri.xml the contents of the file are wrong you are generating <uri httpmethod="POST">/servicesHelloWorld</uri> <contextroot>/ABC/restservices</contextroot> it should be <uri httpmethod="POST">/HelloWorld</uri> <contextroot>/RestRpcTest/restservices</contextroot> Created attachment 201886 [details] Patch Fixed the issues reported by Joe in Comment #2. Thanks. code committed Resolved. completed |