- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- Query about .NET webservice
- Menna Pablo Javier
- PowerBuilder
- Monday, 17 October 2022 14:58 PM UTC
- Thursday, 27 October 2022 13:18 PM UTC
- PowerBuilder
- # 1
The service that was working on private network under IIS. We deploy the app on IIS (PB2017) but only works deploying directly on IIS. When trying to generate the executable MSI file it gives us an error.
We want to generate a deliverable executable for the client who has his own server without the need to install Powerbuilder to perform the deployment on server client.
It is a protocol translator that is used by other applications. this app, queries the database for client data and configurations and performs translation into HL7 format to interoperate using SOAP service. Has two functions, translate request and translate response. The Java App only need a string in Json Format( translate response) or a string XML format response (translate request), but always is an String. Light blue represent XML Format.
The Powerbuilder app do not directly use the service as a client Powerbuilder, the service client is used by other applications, it Access to Powerbuilder app and make requests.
As plan B would be refactoring and that it is the powerbuilder app that performs the consumption of the external service (with HTTPClient), but would generate more development.
QUESTIONS:
1. From what I have seen so far the migration processes start from a powerserver Project. This would not be the main application but an intermediate one to maintain operability Will it necessarily be a Powerserver application or can it be a web API? I understand that the consumption of powerserver has a cost of use, the web API would have it?
2. Currently it has no main access window and there is only one Datawindow in the entire app that has only one String which is the response of the service To perform the migration process, it occurs to me to create an access window, perform the migration and then modify controller and service generated by scaffolding process, and then, the Java app Access them by REST API ? or the only way I should follow is to create a PowerServer application ?
3. Since PB2022 with DotNetAssembly can invoke an event that has been previously registered with RegisterObject and delegate the response of the powerbuilder event to the generated assembly. Is there a way to delegate from the Web API the response of the powerbuilder application ?
Thanks a lot
- Monday, 17 October 2022 16:51 PM UTC
- PowerBuilder
- # 2
Hi Menna;
It looks like your using the old SOAP based web services. This feature was deprecated in PB 2019 (but should still work in PB 2019 R3 ) & then actually removed in PB 2022. I do not think that the old SOAP web service feature worked any more in PB 2021.
Note that the replacement for the old PB based .Net Web Service feature found in PB 2019R3 in the newer PB 2021/2022 (& onward) versions is the new Web API web service feature as found in the "Cloud" edition.
HTH
Regards .... Chris
- Menna Pablo Javier
- Tuesday, 18 October 2022 15:32 PM UTC
So, after refactoring the application there are three ways to publish the service: Web deploy, File System, docker. I understand that selecting the second choice (file system) would generate the package that could be delivered to the client. After they executing it, they could publish it in IIS to obtain the service, am I correct?
Thanks a lot
-
Helpful Loading... Helpful 0
- Armeen Mazda @Appeon
- Tuesday, 18 October 2022 15:38 PM UTC
-
Helpful Loading... Helpful 0
- Menna Pablo Javier
- Tuesday, 18 October 2022 19:53 PM UTC
-
Helpful Loading... Helpful 0
- Page :
- 1
However, you are not allowed to reply to this question.
I already modified the question.
Regards