Discussions tagged HTTPClient

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...
hello all We are using this code to call a WebService :Please help  lo_client = Create httpClient lo_client.SetRequestHeader("Content-Type", "text/xml;charset=UTF-8") lo_client.SetRequestHeader("SOAPAction", ls_soap_action) lo_client.SetRequestH...
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...
I'm running PB 2019 R3 Build 2703.  I'm using RESTClient object to call SendGetRequest().  If the URL I'm passing exceeds 1325 characters in length, then  SendGetRequest() returns -2.  This equates to Invalid URL.  I've tested the URL outside of PB w...
Hi Appeon Support, It looks this Feature has been requested for sometime.  Is Appeon Powerbuilder HTTPClient (With Certificate) going to include this feature in the near future? or it will be completely NOT in the roadmap.   Thanks and Regards, ...
Hi all, May I know is it support to send soap request with attachment (MIME type) using HttpClient object?   I have checked the SendRequest function but seems no way to add the attachment. And the PostData function is unable to send with soap bod...
Hi all   I need to pass an IntegratedAuthrization username + password to a Rest api ( 2017 r3 ) 1. Bolb(username + password , Encoding....) 2. Decoding64 ( blob) 3. httpcleint.SetReqeustHeader( "Authrization" , "Basic " + ( ....)) The system ad...
Hi.   Is there any known limitations in HttpClient.sendrequest() when it comes to the size of the "payload"? I have successfully managed to invoke a SOAP WS service using HTTPClient now. There are to methods available - GetVersion (no args) and C...
Here is my code. The block in red  returns 1 (success code) in development  and also in the exe when deployed on  a machine which has PowerBuilder 2017 R3 installed   But when attempting to run this on a user machine without PowerBuilder, it return...
I am consuming a REST API from PowerBuilder 2019 R2. For this I use the HttpClient class. When running the API from Posman, Insomnia and SoapUI the response is immediate (thousandths of a second)   However, when I run it from PowerBuilder, at be...
Hi all I have a small IIS service that has several GET methods and some (in progress) PUT/POST methods. All my requests have Accept-Encoding: gzip on the header, as pb documentation recommends. This works great on GET methods, however, when I use P...
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...
Hi! I'm attempting to connect to an internal .net Web Service using a certificate file.  I see that the old SoapConnection object had the SetClientCertificateFile method, but can't find the same (or similar) method in the RESTClient or HTTPClient.  ...
Hi, I am having an issue with an specific web-service GET, that seems to return me results from a cache, unless I exit from PB dev enviroment or close the application. The process to make the call looks normal to others I use and follows most PB sa...
Hi, I am using the following code to read data from a web service. However, i get the same Picture every time. How do i clear the Blob to get the new picture? I am using PB 2018 R3 Build 1858. Thanks http = create httpclientli_rc = http.ClearReq...
Is HTTPClient a client side call or server side call as we are not seeing any call on server side for HTTP CLient while calling a REST API from code deployed on Powerser Web ?   If client side call then can you please share how security will work a...
Hi, I am looking to upgrade my environment to PB 2019 from PB 10.5 and i have to migrate some third party product that is currently integrated into the applications. The new environment will use SOAP calls a few functions. Currently I can use 2 web ...
PB 2017 R3 I'm consuming a third party REST service using httpclient and when parsing the returned JSON-string I do it with JsonParser. The number values in the returned JSON string are always supplied with a dot (".") for decimal point. It seems l...
In Powerbuilder 2017 R3 Build 1858, I am attempting to create a small executable that parses a json API result and then both populates a database and writes image files to the local file system of the server. I will be running it as a scheduled job s...
Greetings to the community, I need to send a photo via HTTP, using the post method to a server in C #, this photo is captured by the camera in powerbuilder on the device with appeon mobile and is stored in the cell phone memory.   Thank you...

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