1. damian jimenez
  2. PowerServer 2020 or older (Obsolete)
  3. Friday, 24 February 2023 13:18 PM UTC

Hello, good day community
I have an old application in powerbuilder whose main project is .Net Web Service.

Works ok locally, the problem is that I need the address of the local server prior to the build. And we need the client to be able to change the server with the application already created and delivered (easy solution in web Api net core with its Json config file)

 After Build, the application works internally in IIS (for example in http://192.168.150.258/WTP/WTP.asmx?WSDL) to serve another internal application of the organization (not powerbuilder).

That is, the Powerbuilder application does not communicate with an external web service, it only performs a protocol translation function so that this other internal application can query the external web service.
My powerbuilder application, has two functions and in both it receives a string and returns a string
- The first function receives a String in JSON format and returns another String in XML format(with information in HL7 V2 format between one of its tags)
 - The second function, receives an String with XML format , it performs some validations and returns a String with JSON format to the application that called it.

I am trying to port this project (now with PB 2022),
is there a way to avoid rewriting the program to a  C# ?

Could it be feasible that from a new web api created with Snapdevelop, call my powerbuilder application and resolve the result of that string?

Or is there a better option ?


thanks

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 24 February 2023 17:51 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

The PB.NET Web service target was discontinued in PB 2022 and instead we did native C# implementation that is more robust and performant.  If you don't want to migrate the Web service to C# right now, I would suggest staying with PB 2019 R3  until some point in future you replace this Web service.

Comment
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.