How to connect the database using Middleware NxTera in PowerBuilder?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The whole point of middleware like NxTera is to not allow a client like PowerBuilder to connect directly to the database. Instead the client must call services (CORBA, SOAP, Java Web Services) offered by the middleware to obtain and manipulate data.
Starting with PB 11 Enterprise, the DataWindow can use a Web Service as a data source. In NxTera you would have SOAP web services to retrieve, and if desired to insert, delete, and update. You would create the DataWindow with a Web Service data source, and optionally specify the web services for Insert, Delete, and Update. See the PowerBuilder User’s Guide for details. The chapters are “Defining DataWindow Objects” and “Controlling Updates in DataWindows”.
Web Service Data Sources are only available in the Enterprise edition. If you’re not using Enterprise, you would have to define proxies for the web services, call the web service to retrieve the data yourself, copy the data into the DataWindow, and handle Insert, Update, and Delete yourself. We retrieve data this way for some non-updatable DataWindows because the web service doesn’t return data as an array of structures suitable for the DataWindow.