Questions? Feedback?powered byOlark live chat software
Bug 2714

SaveNativePDFToBlob within a webservice 14 May, 2019

Aart Onkenhout
13 May, 2019
Product: PowerBuilder Category: PowerScript
Version: 2017 R3 Publishing: Public
Status: Closed Priority: P3
Classification: Unsupported Resolution: WONTFIX
Mark Lee 14 May, 2019
Hi Aart,

Thanks for your understanding! We will proceed to close this ticket. You are welcome to open a new ticket if you have any other issue. 

Regards,
Mark Lee
Aart Onkenhout 14 May, 2019
(In reply to Mark Lee from comment #4)
Hi Aart,

Thanks for the information!
We totally understand the situation. The issue in ticket #400 is actually a
feature from PB 2017 GA, while the SaveNativePDFTOBLOB function is a new
feature from PB 2017 R3 1858. So this is not a regression. You may refer to
the link below for more information:
https://www.appeon.com/support/documents/appeon_online_help/pb2017r3/
whats_new/ch01s05.html
 
So we suggest you avoid using this new feature in your Webservice.
Appreciate your understanding!

Regards,
Mark Lee
You're right, I thought bug 400 was about the savenativepdftoblob function. We have to figure out an alternative then.
Mark Lee 14 May, 2019
Hi Aart,

Thanks for the information!
We totally understand the situation. The issue in ticket #400 is actually a feature from PB 2017 GA, while the SaveNativePDFTOBLOB function is a new feature from PB 2017 R3 1858. So this is not a regression. You may refer to the link below for more information:
https://www.appeon.com/support/documents/appeon_online_help/pb2017r3/whats_new/ch01s05.html
 
So we suggest you avoid using this new feature in your Webservice. Appreciate your understanding!

Regards,
Mark Lee
Aart Onkenhout 13 May, 2019
(In reply to Mark Lee from comment #2)
Hi Aart,

Thanks for reporting this problem!
We reproduced it on our end. This SaveNativePDFToBlob is a new feature,
which is not supported in a Webservice project. So we suggest that you
comment the associated code.

BTW, the Webservice feature is obsoleted in PB 2019 and will be replaced by
the new C# feature.
https://www.appeon.com/support/documents/appeon_online_help/pb2019/whats_new/
index.html
 https://www.appeon.com/support/documents/appeon_online_help/pb2019/
deploy_net/ch03s02.html

Regards,
Mark Lee
Hi Mark, Thank you for your feedback. I didn't expect to get this answer as it has been working previously (you mentioned it yourself on bug https://www.appeon.com/standardsupport/search/view?id=400). So, actually, it's kind of a regression.
Mark Lee 13 May, 2019
Hi Aart,

Thanks for reporting this problem!
We reproduced it on our end. This SaveNativePDFToBlob is a new feature, which is not supported in a Webservice project. So we suggest that you comment the associated code.

BTW, the Webservice feature is obsoleted in PB 2019 and will be replaced by the new C# feature.
https://www.appeon.com/support/documents/appeon_online_help/pb2019/whats_new/index.html
 https://www.appeon.com/support/documents/appeon_online_help/pb2019/deploy_net/ch03s02.html

Regards,
Mark Lee
Aart Onkenhout 13 May, 2019
Webservice.zip (5KB)

*Phenomenon:
When deploying a webservice I get an error stating:

' ---------- Error messages:    (09:39:54)
c:\users\aartonkenhout\downloads\projects\webservice\webservice.pbl(w_test).w_test.open.35  C0051: No overload for method 'savenativepdftoblob' takes '1' arguments.
 ---------- Finished    (09:39:54)
'

*Reproduce Steps:
Deploy attached sample webservice. 

Remarks:
OS:
Windows 10 
Platform:
64-bit 
Database Type:
Microsoft SQL Server 
Database Version:
2016