Hello,
We are trying to us an in house Web Service in our PB application. The WS works in PB IDE, but when we installed
it on our Citrix and TS-Plus environment, i am getting the following error,
"Unresolvable external httpclient when linking reference at line....."
I am using PB 2017 R3 with SQL Server 2008. Here is the code that I have,
string ls_url
string ls_pic_id
httpclient http
integer li_rc
Blob lblb_photo, lblb_NextData
ls_url = 'https://companyname-staging.azurewebsites.net/api/file/v1/FileDownload/Public/'
ls_pic_id = this.GetItemString(row,"pic_id")
ls_url = ls_url + ls_pic_id
http = create httpclient
li_rc = http.ClearRequestHeaders ( )
http.AutoReadData = false
li_rc = http.setrequestheader('X-API_KEY','266E5EE3-E447')
li_rc=0
li_rc = http.sendrequest( 'GET', ls_url)
//string ls_text
//long ll_code
//
//ls_text = http.getresponsestatustext()
//ll_code = http.GetResponseStatusCode()
//MessageBox('',ls_text)
//MessageBox('',string(ll_code))
if li_rc = 1 and http.GetResponseStatusCode() = 200 then
do while true
li_rc = http.ReadData(lblb_NextData, 1024*16)
if li_rc = 0 then exit // Finish receiving data
if li_rc = -1 then exit // Error occurred
lblb_photo += lblb_NextData
loop
else
MessageBox('Error','Unable to view th picture at this time.')
Return
end if
p_image.show()
//p_image.originalsize=true
p_image.setpicture(lblb_photo)
I would appreciate your help.
Thanks
Can i get a list of the PB 2017 DLL's?
Open the PB Help and do a Search for the key work "deployment". Then select the "Deployment Techniques" link. That should take you to the "PB Runtime Files" link - which will be a comprehensive list of all the PB "run-time" files that have deploy (by feature) for your PB App.
HTH
Regards ... Chris