We’re excited and frustrated at what and how we’re supposed to build the back-end things to power the KendoUIB apps. The docs and WBT seem to be as of 11.6.3 and there seems to be significant changes in 11.7. I’m sure not sure we’re doing it right.
The steps outlined in the 2 resources below do not match what we see in PDSOE 11.7. So we guessed at what we should be doing. The attached zip files contain the screen prints of two paths we took and the problems encountered on each path.
• KUIB sample workflow: documentation.progress.com/.../index.html
• WBT: “Developing Business Entities for Progress OpenEdge Data Object Services”
• Path 1: Creating an OpenEdge Project, PASOE with a WEB transport but not selecting “Create a Data Object Service (Generate a JSDO catalog)”. This creates the project with a valid propath, but when we create the business entity, there are two services created Order9EntryService and Order9EntryService1. The KUIB app will work only with Order9EntryService1.
o This link (below) indicates we should right click the OrderEntryService and Edit. When we do this on Order9EntryService, we can’t click on Next to select the CustomerBE.cls. But the Next option does work when we edit Order9EntryService1.
documentation.progress.com/.../kuib-service.html#kflow/editing-the-data-object-service.html#
• Path 2: Creating an OpenEdge Project, PASOE with a WEB transport but we DO select “Create a Data Object Service (Generate a JSDO catalog)”. This SEEMS to create the project with a valid propath, but when we check the project properties after creating the project, the propath is blank. When we try to Create a Business entity class, we get a “super class…does not exist” error, likely because of the propath issue.
The screen prints show the options we took, which are guesses where the docs don’t match the screens. Where the docs and screens match, we follow the docs’ instructions.
I’m also not clear whether we should be selecting WEB or REST transports. I thought from the KUIB workshop at PUG Challenge/Exchange we should use WEB, but some of the screens then indicate “Webspeed”, which we’re not doing.
Please advise on the recommended path to create the back-end/business entities and services.
Thank you.
Carl
[View:/cfs-file/__key/communityserver-discussions-components-files/255/CreatingProgressOEDataObjectServicesForKUIB_2D00_CreatingAnABLWebAppProject_2D00_08_2D00_02_2D00_17.zip:320:240]
Hi Carl,
Hope all is well with you!!! I understand your challenge and I will try to record a video showing this process step-by-step whenever I get the opportunity (I've been traveling non stop).
I encourage others to share (since my knowledge is limited and I am from Sales [:D]), but the more reasonable approach to me seems to be your second attempt. One thing I've noticed on your screen shots was that on the second screen of your second attempt, you did not select the OEPAS1 under Supported Servers for your new project. Please make sure that on that second screen you check the box in front of the OEPAS1 Application Server.
Both REST and Web project types using the Data Object Service/JSDO should work! REST uses the RPC and Web uses a WebHandler for the message transport layer.
I personally prefer the Web project because the WebHandler provides an additional level where you can customize the header and body of the REST messages that are being exchanged. But with that said, I've seen some customers that had issues creating projects when using the Web project type.
Ideally you should open a Technical Support call and work on that issue with them. But a possible workaround to try to move forward, would be to create it as a REST Project and make sure you select the OEPAS1 on the second screen. If that does not work, there is something wrong with the install/environment and Technical Support should be able to help.
All the best,
Ricardo
Hi Ricardo and Anil,
Thank you for your helpful replies. The process definitely works better when you select oepas1 under Supported Servers!
Anil, thank you for your excellent step-by-step instructions. We followed the steps several times for building the backend for different tables, including for one of our own database tables, and were successful. Seeing it all work helps us to understand how the various pieces work together. We are making the last two steps (displaying the catalog and showing the data coming from the Business Entity) part of our standard procedure to confirm the backend before building the KUIB app. We appreciate your taking time to create this detailed doc and we're excited again!
Thanks and Regards,
Carl
Hi Anil/Ricardo,
We are right now in progress 11.4 and we have an app designed using webspeed. We are planning to revamp it using Kendo UI and design the backend services. I have couple of questions;
1. What are the demerits if we decide to stay with 11.4? Or in other words what can't be done in 11.4 and why should we move to either 11.6.3 or 11.7? Which one would you suggest?
2. I guess if we have to move to a higher version for time being its okay to move the front end to higher version and leave the db running on 11.4 and migrate it later. Or do you foresee any issues with this approach.
Regards,
Saravanakumar B
|