1. Menna Pablo Javier
  2. PowerBuilder
  3. Monday, 17 October 2022 14:58 PM UTC

Hi, 

I attach a document with the steps and questions about .NET web service.

Thank you

Attachments (1)
Menna Pablo Javier Accepted Answer Pending Moderation
  1. Thursday, 27 October 2022 13:18 PM UTC
  2. PowerBuilder
  3. # 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

Attachments (1)
Comment
  1. John Fauss
  2. Thursday, 27 October 2022 13:59 PM UTC
Would you please post the text of your question(s) directly instead of attaching a document that contains the question(s)? The Community can then see the beginning of your post in the preview to help them decide whether or not they wish to read it, and it also allows a search request to potentially match keywords in your post. Thank you!
  1. Helpful 1
  1. Menna Pablo Javier
  2. Thursday, 27 October 2022 14:19 PM UTC
Thank you John.

I already modified the question.

Regards
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 17 October 2022 16:51 PM UTC
  2. PowerBuilder
  3. # 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 

Comment
  1. Menna Pablo Javier
  2. Tuesday, 18 October 2022 15:32 PM UTC
Thanks Armeen for quick response.

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
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 18 October 2022 15:38 PM UTC
Yes, correct. Web Deploy is to directly deploy to the server from the IDE. In case of delivering to client you probably need to provide them package rather than directly access their environment. File system is the way to create package that could just directly run on the server. If your client is using Docker then you would use the Docker option it would create a container for you that you could deliver to your client.
  1. Helpful
  1. Menna Pablo Javier
  2. Tuesday, 18 October 2022 19:53 PM UTC
Excellent, thank you very much Armeen and all those who answered me, best regards
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.