Discussions tagged Web API
ASP .NET Core Web API project: problem with datawindow computed fields
- How-to
- Last updated 2 months ago
- FIlippo Donà replied 2 months 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 3 months ago
- Francisco Martinez @Appeon replied 3 months 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 4 months ago
- Zhang JX replied 4 months 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 4 months ago
- Miraben Apani replied 4 months 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 7 months ago
- Armeen Mazda @Appeon replied 7 months 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 7 months ago
- Armeen Mazda @Appeon replied 7 months 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...
Powerserver Web API
- Resolved
- Misc
- Last updated 9 months ago
- Armeen Mazda @Appeon replied 1 month ago
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 11 months ago
- David Xiong @Appeon replied 11 months 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 11 months ago
- Julie Jiang @Appeon replied 11 months 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 1 year ago
- Daryl Foster replied 1 year 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 1 year ago
- Kai Zhao @Appeon replied 1 year 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 1 year ago
- Heino Hellmers replied 1 year 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 1 year ago
- Alex Peters replied 1 year 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...
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 1 year ago
- Armeen Mazda @Appeon replied 1 year 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...
European VAT Number Validation
- How-to
- Last updated 1 year ago
- Chris Pollach @Appeon replied 1 year ago
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...
Efficient retrieval of nested data in Web API Model via .NET DataStore?
- Resolved
- Advice
- Last updated 1 year ago
- Roland Mühlberger replied 1 year ago
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...
CancellationToken in SnapDevelop
- How-to
- Last updated 1 year ago
- Francisco Martinez @Appeon replied 1 year ago
Per the SnapDevelop documentation, the RetrieveAsync method takes a cancellationtoken parameter to make an operation cancelable (see link below) and throws an exception in the TRY/CATCH block if that if that happens. How is that done in practice thou...
Expose a PB app as a REST end point for others to call.
- Resolved
- Advice
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
Hi my fellow PB friends,
Can I create a REST end point (PB application) so that other applications and services can call business logic written in PB ?
Thanks
Steen
...
- Page :
- 1