Discussions tagged Web API

Hello,  I recently upgraded PB and SnapDevelop from PB2021 to PB2022R2. No real issues, but a couple of items that I don't know if might cause problems at some point or not. 1. With 2021, my SnapDevelop publish setting had "portable" as the Target ...
Hi, I am not sure if i have worded this correctly. I usually connect to sites and get data from or send data to them using httpclient.  However in this case i need a client to connect to my Powerbuilder application / system, so it can pick up info...
Hello, I have implemented an ASP .NET Core Web API project that uses datawindows created in PowerBuilder to read data.Following the tutorial I was able to easily create an API which, after converting the datawindow into a C# Model, reads the data fro...
Hola, buenas tardes. Se generó el siguiente error al ejecutar la aplicación en algunos clientes en línea. SESSION CREATION FAILED CAUSE: SERVER HAS BEEN SHUTDOWN (HTTP STATUS CODE: 503).(WEB API: HTTP://XXX.XXX.XXX.XXX:451/POWERSERVER/API/SERVERAPI...
Hi all, We are facing issue with documents/files accessing via ftp after enabling Azure Fortigate Firewall. The alternative solution is either to use SFTP or moving to Azure Blob Storage then dealling with those application with attachment document...
Hi, I have converted two Datawindows into C# using Snap Develop, have two .NET Datastores, created a WEB API(c#) .I am using ODBC data connection. Working on Transaction management at API side, how to pass multiple DWs from PB (Client side) to API s...
Hi. I've found that DevMagic Studio preview version is available (Download DevMagic Studio | DevMagic Website). Can it be installed on a computer where SnapDevelop is already installed or there may be any conflict? Also what are Appeon's plans abou...
Hi all, I'm banging my head against the wall here.  I'm been working with snapdevelop and visual studio to migrate our old client server application [Front end connects to ASE directly]. hoping to evolve to an architecture where front end interact...
Sorry if this is a dumb question. I've been away from PB coding for a couple years now and trying to get back up to speed, especially on the new PowerServer functionality. When I deploy PS for an app does that also essentially give me a web api that...
Hello,    i am trying to consume a WCF service and i am getting status code 400(Bad Request)  in httpclient response. can anyone guide me what is wrong in consuming / calling the service ? i want to call "GetCMSWorkQueue"method of service wkfqueue...
Hi, is it possible to use unicode characters on powerserver cloudapp? On a native powerbuilder app we have to append "DisableBind=0,NCharBind=1" to the DBParm, if we don't use that, some chars are recognized as questions marks (?). Example: The fol...
I’m getting errors when building a PowerServer 2021 project for a client application – see attached.  Apparently, you can’t have duplicate objects in different libraries.  It looks like PowerServer doesn’t know which one to parse when that is the cas...
Does anyone have either any successful examples of using HTTPClient to consume a .Net Web API that requires XML to be passed to it? OR know why I’m receiving the error\issues below when trying to pass the XML? I’m using PowerBuilder 2021 Profe...
Hello, I just want to know if there is any special reason for GetJWTToken function if it's doing (almost) exactly the same as SendPostRequest. I see that GetJWTToken has extra return status:  "-5 -- Failed to get token" (and has SendPostRequest "-1...
Hi, we are using the addToLibraryList() function to dynamically extend the library list of our application, to dynamically use other/new powerbuilder objects like datawindows etc. This seems to be not fully supported anymore when deploying a powerse...
Hello!I have a probably small problem . I would like to get the url of the WebAPI of my PowerServer application. Reason is that I would like to access the PowerServer Management APIs of my application in my application. Unfortunately I can't find a...
I've deployed a PB application to PowerServer 2021.  The application uses SQL Server for the backend database and is hosted on a remote AWS web server running IIS.  The deployment process went fine and I can launch the app w/o issue using the CAL.   ...
I am getting a datawindow error when retrieving a datawindow that is part of a tab page on a window.  See attached image to view the error.  The database is SQL Server and the application has been been deployed to PowerServer 2021.  The datawindow ha...
Hello everyone!   I am using PB 2021 and ASA 17   I need to do validation of  VAT number from Vies database in my PB application before I can create sales invoice to customers, which all around EU.  Do any of you have solution for this?  Do you...
Dear .NET DataStore users, we have a Web API based on the .NET Datastore that - especially in one case - uses heavily structured objects derived from DataObjects with nested objects which then get added as Properties in the Model annotated as DwRepo...
  • Page :
  • 1