Discussions tagged HTTPClient
Calling a WS using httpClient with a text with accent cause error
- Issue
- Last updated 3 weeks ago
- Arnd Schmidt replied 3 weeks ago
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...
Problem passing XML to Web API using HttpClient
- Resolved
- Advice
- Last updated 2 months ago
- Daryl Foster replied 2 months 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...
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...
Client Certificates with HTTPClient or RESTClient
- Advice
- Last updated 8 months ago
- mike S replied 8 months ago
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,
...
HTTPClient - Send soap with attachments
- How-to
- Last updated 1 year ago
- René Ullrich replied 1 year ago
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...
httpclient.sendrequest fails when deployed but works in development mode
- Resolved
- Issue
- Last updated 1 year ago
- Gayathri Narayanan replied 1 year ago
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...
HttpClient POST methods and gZip compression
- Resolved
- How-to
- Last updated 2 years ago
- Mark Lee @Appeon replied 2 years ago
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...
HTTPClient in SnapDevelop - Is this supported?
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
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...
Calling a Web Service in PB Classic (2017 R2) using an SSL certificate
- How-to
- Last updated 2 years ago
- Gregory Rusak replied 2 years ago
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. ...
HTTP GET seems to be reading from cache, unless exit PB or application
- Resolved
- Issue
- Last updated 2 years ago
- Roland Smith replied 2 years ago
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 server side or client side ?
- Advice
- Last updated 2 years ago
- mike S replied 2 years ago
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...
SOAP call using PB2019 Httpclient not working
- Advice
- Last updated 2 years ago
- John Killeen replied 2 years ago
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 ...
Parsing JSON numbers and decimal point character
- Resolved
- Advice
- Last updated 2 years ago
- Sverre Tvedt replied 2 years ago
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...
create httpclient on Windows Server 2019
- Resolved
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
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...
Send file from Mobile by Http
- Resolved
- How-to
- Last updated 2 years ago
- Kai Zhao @Appeon replied 2 years ago
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...
Using Auth 2.0 in Powerserver Web (CoderObject)
- How-to
- Last updated 2 years ago
- Julie Jiang @Appeon replied 2 years ago
Hello.
We are in the migration proccess from server-client to powerserver Web. We have a new necessity for our application that is calling an API using Auth 2.0
We have look out the help reference and we have seen that there are two example ways...
- Page :
- 1