1. Fernando Leal
  2. PowerBuilder
  3. Thursday, 9 April 2020 16:20 PM UTC

How Can I create web service in powerbuilder? 

I need to create a web service directed to the web page http://labelary.com/viewer.html, has anyone already done it? can you share the code?

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 April 2020 20:43 PM UTC
  2. PowerBuilder
  3. # 1

Hi Fernando;

     From the URL you gave us, it looks like their web-service interaction is all by using the HTTPS protocol. Thus, you would need to use the new PB HTTPClient object class. It would perform the same basic functionality as the Java example given on the web-service vendor's website. You will notice that the methods & functionally in the PB Class are similar to Java's "HTTPClient " object class in the example.

HTH

Regards ... Chris

Comment
  1. Fernando Leal
  2. Monday, 13 April 2020 12:30 PM UTC
Hi Chris, I will check this. I don´t know how.



thanks and regards,

Fernando.

  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 April 2020 17:21 PM UTC
  2. PowerBuilder
  3. # 2

Are you trying to call the Web services provided by http://labelary.com/service.html?

If yes, these are standard REST API and you can use the RESTClient object of PowerBuilder to call them.

Please note that we recommend you upgrade to PowerBuilder 2019 R2 so you have the most REST-related features possible as well as enhancements to the RESTClient object.

Comment
  1. Fernando Leal
  2. Monday, 13 April 2020 12:33 PM UTC
Hi Armeen MAzda, very good link.

Do you know how Can I downlod R2? what is the link?

thanks and regards,

Fernando.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Monday, 13 April 2020 14:58 PM UTC
  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.