Discussions tagged Web API
SQL Server login issue with PowerServer Web App
- Issue
- Last updated 1 month ago
- Mike Sinclair replied 1 month ago
I apologize if this is a basic question, or if I leave out significant details, but this is my first time creating a PowerApp. I did search the forums and the web, but did not find a good answer.
I am creating a new PowerApp using Powerserver 2022...
Hi Powerbuilder friends,
I have this code where I need to send data to our payment partner. It successfully requests a token, but no data is transferred, and there's an authorization error with the JWT token request.
String ls_jwttoken, ls_PostData...
Build issues after migrating SnapDevelop from 2021 to 2022R2
- Resolved
- Issue
- Last updated 10 months ago
- mike S replied 10 months ago
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 ...
how do i create an API server
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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...
ASP .NET Core Web API project: problem with datawindow computed fields
- How-to
- Last updated 1 year ago
- FIlippo Donà replied 1 year ago
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...
SESSION CREATION FAILED POWERSERVER
- Issue
- Last updated 1 year ago
- Francisco Martinez @Appeon replied 1 year ago
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...
How to work with Azure Blob Storage
- Resolved
- How-to
- Last updated 1 year ago
- Zhang JX replied 1 year ago
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...
Web API transaction management and multiple DWs update in single transaction.
- How-to
- Last updated 1 year ago
- Miraben Apani replied 1 year ago
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...
SnapDevelop & DevMagic question.
- Resolved
- Misc
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
SnapObject Project to connect to Sybase ASE
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
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...
How to use unicode characters on a powerserver cloudapp
- Resolved
- Issue
- Last updated 2 years ago
- David Xiong @Appeon replied 2 years ago
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...
PowerServer 2021 Build Error - Duplicate Objects
- Resolved
- Issue
- Last updated 2 years ago
- Julie Jiang @Appeon replied 2 years ago
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...
Problem passing XML to Web API using HttpClient
- Resolved
- Advice
- Last updated 2 years ago
- Daryl Foster replied 2 years ago
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...
GetJWTToken vs SendPostRequest
- Resolved
- Advice
- Last updated 2 years ago
- Kai Zhao @Appeon replied 2 years ago
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...
Using addToLibraryList function in powerserver cloud app
- Advice
- Last updated 2 years ago
- Heino Hellmers replied 2 years ago
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...
How can I determine the WebAPI Url from my application in my application
- How-to
- Last updated 2 years ago
- Alex Peters replied 2 years ago
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...
PowerServer 2021 Transaction Error
- Issue
- Last updated 2 years ago
- Thomas Rolseth replied 2 years ago
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.
...
DateTime data type error with PowerServer WebAPI
- Issue
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
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...
- Page :
- 1