Discussions tagged HTTPClient

Preparing to migrate our app to PB 2022, rewriting code using the discontinued SOAPConnection to use HTTPClient object.  Existing code uses conn.useintegratedwindowsauthentication(true) to connect with integrated windows authentication. How can this...
I am using the European VIES API to check the VAT number of European customers. I send the country and vat number and get back a response. All works well except for the main country that I need and that is Greece which returns the result in Greek. ...
I'm having some problems connecting to an old Radius server that is stuck on TLS1.0 I'm getting error -19 in HTTPClient mode and -33 in RESTClient = "TLS 1.3 error. The server does not support TLS 1.3." I've set both SecureProtocol and IgnoreServer...
Hello friends, I'm trying to address a WEB service with an httpclient-object and the get-method, but I always get the status message 401. I'm using the following code: HttpClient lnv_HttpClientlnv_HttpClient = Create HttpClientstring ls_u...
Hi all, From another post, I learned that the iNet object is now obsolete.  How do I open a file in a web-browser using HttpClient object? Is the even possible, or do I need to use the WebBrowser object? I don't need to do it now, but would like to...
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...
  • Page :
  • 1