Appeon Comunidad
Preguntas y Respuestas Comunidad de Appeon-
HttpClient Object
Hi all
I am using HttpClient object to a WS .
One of the WS needs Authorization with the UseIntegratedWindowsAuthentication
I wrote that : lnv_HttpClient.SetRequestHeader("Authorization", 'Basic ' + CurentUserName + currentUserPassword)
The ws vendor explains that its not working beccuse there should be a way to tell HttpClinet object to use the IntegratedWindowsAuthentication.
In the HttpClient Help i did not find anything about that ( only in SOAP )
Can someone tell me how do i do that ?
Thanks
-
RESTful service: HttpClient vs. RestClient
We are switching from SOAP to REST and I am asking myself which implementation/class is the best: HttpClient or RestClient? Which one should i choose and why?
I started with RestClient but run into difficulties loading a file (octet-stream) into PowerBuilder.
The following works fine as long as the request returns a string into ls_json. It works fine with text files. But when the request returns a PDF file or similar it fails.
inv_restclient.SendGetRequest(ls_url, ls_json)
I found out that HttpClient offers the possibility to return a blob which works perfectly:
BLOB lbl_filecontent
lhc_HttpClient.SendRequest("GET", ls_url)
lhc_HttpClient.GetResponseBody(lbl_filecontent)
With other words: so far HttpClient is my first choice.Which way have you choosed? And why?
Kind regards!
Olaf -
window function
PB2023 R3 Windows 10
Hi All
I am having an issue where when I edit or create a window function the fields that allow you to name the function or sett the return value or arguments are now now not showing
I have tried removing the layout from the registry but that hasnt worked
regards and thanks
Andrew
-
window function - missing fields to allow setting return etc
Hi all
PB2023r3 Windows 10
I am sure this is an easy one - but i cant find it !
When i add or edit a window function - the screen does not show the section that allows you to enter the return type or the function name
I tried reseting the layout in the registry but that didnt work ?
any help as always much appreciatedl
regards
Andrew
-
Preventing webbrowser navigating away
Using the webbrowser control is there a way to load a url then prevent the user from navigating to any links other than ones in a list of approved urls ?
Which events should I be looking at to code
I looked at scripting in 'addresschange' and 'navigationstart' events
in addresschange event i found i could evaluate the uri variable in addresschange and using wb_1.StopNavigation()
is this the right approach?
Frank.