Discussions tagged Web API

We were using DataObjectFactory.LoadDataWindow(null) in the startup class of our xUnit project for our API.  I've discovered that our unit tests referencing datawindows are no longer working with an error message stating that the metadata for the dat...
In order to create a .NET API  I am trying to connect to Sybase ASE databases on our servers. They can connect in PowerPoint 2019 R2 but not in SnapDevelop. Is there any way to make the Connection via a Connection string etc. I am trying to Add a Dat...
We have migrated our web api to SnapDevelop 2.0.  It runs on a Windows 10 machine using an Oracle 11g database.  The api method below worked fine in SnapDevelop 1.0 but now after the migration we are getting the attached exception. During the migrati...
Is Powerbuilder HttpClient supported in a SnapDevelop 2019 R2? WebAPI project?  I am am migrating PowerScript to a C# WebAPI project.  When I declare 'HttpClient Http;' in my GlobalFunc, I receive this compiler message: The type or namespace name 'H...
I am in the process of migrating a web api from SnapDevelop R1 to R2.  We have about 50 datawindows that were exported to the api using the C# Model Generator.  The exported srd's and classes for these were in a 'DataWindows' folder along with the co...
I'm using Powerbuilder 2019 R2 Beta and SnapDevelop. I migrated a simple application to PB2019R2 and then built a Web API in SnapDevelop following the instructions in  https://docs.appeon.com/appeon_online_help/dwconverter2019r2/CRUD_Operations_wit...
I am creating a unit test (XUnit) for a service in SnapDevelop.  The service method takes a DataUnPacker object as a parameter.  This gets passed to the API from PowerBuilder using the jsonpackage object.  My question is how can I populate this in a ...
I have setup JWT Authentication in our SnapDevelop Web API using this as a guide: https://docs.appeon.com/appeon_online_help/snapdevelop2019/Secure_a_Web_API_with_JWT_Token/index.html It seems to be working well so far and I am getting a token back...
We are using PB/SnapDevelop 2019 build 2082 with an Oracle 12 database.  I created a datawindow/datastore object with a SELECT that matches the columns and datatypes of an external datawindow and then ported it to the API using the C# Model Generator...
I'm getting a parsing error when trying to port a datawindow to our Web API using the C# Model Generator.  The database is Oracle and the error is  Error: ORA-00952: missing GROUP keyword.  Below is the select statement being used.  It seems like the...
I am trying to deploy a web api I created with SnapDevelop from a development server to a production server and am getting the attached error when calling the api.  The api uses aspnetcore v2.1.1 (via nuget) and I had the client install that on produ...
Bonjour, Existe-il un composant browser compatible avec les derniers standards css, html5 et javascript (idéalement pour avoir un comportement comme dans google chrome). Nous travaillons en powerbuilder 2017, et nous voudrions afficher directement ...
In my PowerBuilder Client, I want to use the JsonPackage object to send the result sets of two datastores to our Web API that was created with SnapDevelop.  Here is my PB code: //set values of JSONPackage with API datastores ljpk_submit.setvalue( "...
Hello,   I try to migrate some of my PB2017 project to a web api, in my model generate with my datawindow i have a 'Clients' table with a primary key ID as string value called "Cd_Cl".   Here is the generated model:     public class Dw_Clients ...
Hi Team,   We deployed our application to web recently and we are facing the following error when we try to run the application through web. We were able to connect to the database while configuring the profile. ---------------------------Error---...
This may be more of a question I can post on the dotnet forums but I wanted to asked for the expert opinion from the Appeon community first. Lets say I create a web api from my data windows using the C# generator. I want to have a database for each ...
  • Page :
  • 1