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