Discussions tagged Web API

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...
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...
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    ...
Hi all, hope this wasn't asked before: Creating the web api sample project from snap development 2021 I get a service listening on localhost:5000. Connecting with a test program consuming on this address works fine. When I change the IP address in ...
In offline mode of the PB R2 License, I am not able to see Appeon web demo. (5 lessons are there to covert desktop application to web application) . Basically, need to know the lessons or guidance for converting desktop to web based application. Req...
My API has a method with an optional parameter, that is passed as path: api/v1/ISV/Credits/[Channel] It is marked as [HttpGet("{customer?}")] and is declared as: public string Credits(string channel="") in the WebAPI Tester, it is listed ...
Are there any samples or guidance for securing a ASP.NET Core 3.1 Web API as templated by SnapDevelop?   For example, I am working from the following fine sample: ASP.NET Core 3.1 - Simple API for Authentication, Registration and User Management | ...
Hi, I'm trying to set a timeout on the RESTClient.At the moment if the API is unavailable the application waits for 20 seconds (this is a default action(?), I haven't changed anything). I want this time to be reduced to 3 seconds.When I set client ...
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...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom