1. Ying Chin
  2. PowerBuilder
  3. Thursday, 21 April 2022 20:54 PM UTC

I am using PB2017 R3 to create web service. I tried to use the Base64Encode in CoderObject:

    CoderObject lnv_CoderObject
    lnv_CoderObject = Create CoderObject

    ls_Base64Str = lnv_CoderObject.Base64Encode(lblb_data)

There was no error when I saved the program. However, there was error when I tried to deploy the web service to IIS: 

     C0001: Illegal data type: coderobject

 

Please help. Thanks a lot.

Ying Chin Accepted Answer Pending Moderation
  1. Friday, 22 April 2022 14:51 PM UTC
  2. PowerBuilder
  3. # 1

Is the SnapDevelop web service be able to create pdf letter using datawindow saveas pdf function?

Comment
  1. Chris Pollach @Appeon
  2. Friday, 22 April 2022 15:01 PM UTC
Hi Ying .. No as Snap is working in C# and thus no SaveAs() command is supported (aka PowerScript). You would have to use a .NET solution instead for that.
  1. Helpful 1
There are no comments made yet.
Ying Chin Accepted Answer Pending Moderation
  1. Friday, 22 April 2022 14:33 PM UTC
  2. PowerBuilder
  3. # 2

I use the web service to create pdf letter. Is the SnapDevelop web service be able to create pdf letter using datawindow saveas pdf?

Also, will SnapDevelop be discontinued like PowerBuilder web service? Is there any documentation on the roadmap for SnapDevelop?

Thank you.

Comment
  1. Chris Pollach @Appeon
  2. Friday, 22 April 2022 14:44 PM UTC
Hi Ying .... https://www.appeon.com/developers/roadmap

Just scroll down about 3/4 of the way in that webpage to see the SD product roadmap. HTH
  1. Helpful
There are no comments made yet.
Ying Chin Accepted Answer Pending Moderation
  1. Thursday, 21 April 2022 21:55 PM UTC
  2. PowerBuilder
  3. # 3

Thank you.

Comment
There are no comments made yet.
Ying Chin Accepted Answer Pending Moderation
  1. Thursday, 21 April 2022 21:32 PM UTC
  2. PowerBuilder
  3. # 4

Anything that I can use to encode a blob to Base64 string in web service?

BTW, is PB web service not being supported anymore?

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 21 April 2022 21:51 PM UTC
Hi Yin;

Yes, the PB WS feature was deprecated in PB2017. At that time, Appeon stopped enhancing & supporting the PB WS feature but it was still in the product. The replacement for the PB WS feature was the new WS API feature found in the new SnapDevelop product. Note that the SD WS feature is all C# based (no PowerScript). The PB WS feature is still there today (basically, "use at own risk"). It will be removed all together in PB2022.

Regards ... Chris
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 21 April 2022 21:09 PM UTC
  2. PowerBuilder
  3. # 5

This feature is only supported on the client side in PowerScript.  You can’t use it in the Web services.  

Comment
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.