This script below is the user function in Powerbuilder to convert Binary number into Decimal number.
Create function name: f_bintodec, set Integer as return value, and add sBin as parameter. sBin should be String type, and choose Value as Pass By.
Wednesday, September 12, 2012
Wednesday, September 5, 2012
Calling Web Service from Powerbuilder
On the last post, I explained how to make web service with Powerbuilder. This time I will explain how to access the web service via PowerBuilder. I am using the Classic version of PowerBuilder 12.5.
The scenario is you have a windows application created with PowerBuilder and you want to access a web service over the internet within the Powerbuilder application.
All you need is certainly a web service that is ready to use. You can get it for free on the internet, or create your own web service. In this example I will create a self service web applications using Visual Studio 2008 and run. NET framework 3.5. In the web service, there is a function that we named of_add2value which serves to add 2 numbers through which we put on the parameters of these functions.
The scenario is you have a windows application created with PowerBuilder and you want to access a web service over the internet within the Powerbuilder application.
All you need is certainly a web service that is ready to use. You can get it for free on the internet, or create your own web service. In this example I will create a self service web applications using Visual Studio 2008 and run. NET framework 3.5. In the web service, there is a function that we named of_add2value which serves to add 2 numbers through which we put on the parameters of these functions.
Subscribe to:
Posts (Atom)