1. Gary Ault
  2. PowerBuilder
  3. Friday, 18 August 2023 19:11 PM UTC

Hi,

  We have a Powerbuilder 2019 R3 .NET web service that we use to create PDF reports for web application users. We decided to use the .NET web service in order to to preserve the extensive PB code that we had previously run on desktop applications.  I was trying to enhance this service by adding a HTTPClient call to a .net web api. It compiles fine and runs in the PB IDE, but when I try to deploy I get this error:

C0001: Illegal data type: httpclient

Is there any workaround to this error or is it a limitation of the .NET web service target?

Will PowerBuilder 2022 R2 allow us to continue to deploy this application? I realize we cannot create new .NET web service targets, but am wondering if PB 2022 R2 will allow us to deploy existing ones.

Thanks for any guidance you can give.

 

 

 

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 18 August 2023 20:58 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Gary;

  No ... Unfortunately, PB 2019 was the last release to support the old .Net 2.0 Web Server deployment for NVUO's via its old SOAP protocol implementation.

Regards ... Chris 

Comment
  1. Gary Ault
  2. Saturday, 19 August 2023 21:40 PM UTC
Thanks for the clarification, Chris.
  1. Helpful
There are no comments made yet.
mike S Accepted Answer Pending Moderation
  1. Saturday, 19 August 2023 02:41 AM UTC
  2. PowerBuilder
  3. # 1

" preserve the extensive PB code"

 

Topwiz Software - TopwizWeb (topwizprogramming.com)

or

Topwiz Software - PowerSharp (topwizprogramming.com)

with powersharp you would write the webservice in c# and use it to call your pb code

Comment
  1. Gary Ault
  2. Saturday, 19 August 2023 21:40 PM UTC
Thanks, Mike. I will look into those tools.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.