R
Ramadevi Dhavala
Guest
Hi, The problem is during ‘.pidl’ file generation, the special character ‘-‘ is being ignored. Replacing the table name with correct name in .pidl will resolve the issue. As a workaround please follow the below steps: If you have already published your service, 1. From the Progress Developer Studio, go to the project explorer. 2. Click on ‘View Menu’ icon. From the drop down list select ‘Customize View…’. 3. ‘Available Customizations’ window will be opened. From that window, deselect ‘resources’ checkbox. So that ‘.services’ folder inside project explorer will be visible. 4. Expand “project Name”-> .services -> AppServer. There you can see the respective ‘.pidl’ file for each business entity. 5. Select your ‘BusinessEntity.pidl’ and open it with text editor. 6. Find the table name without ‘-‘ and replace it with the exact name (with ‘–‘). 7. Right click on OE Web Server and select ‘Clean’ operation. 8. Once the republish is completed, accessing your rest service from your rest client will display the proper data from the database. Caution: Every time the ‘.pidl’ will get regenerated if the verb associations are changed from the REST Resource URI Editor. In this case again we have to replace the table names and republish the services. Hope this will solve your problem, Thanks & Regards, Rama
Continue reading...
Continue reading...