Tracking Service-Oriented and Web-Oriented Architecture

SOA & WOA Magazine

Subscribe to SOA & WOA Magazine: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get SOA & WOA Magazine: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

SOA & WOA Authors: TJ Randall, Lori MacVittie, Andreas Grabner, Dynatrace Blog, Cynthia Dunlop

Related Topics: SOA & WOA Magazine

SOA & WOA: Article

Working with SOA & Web Services in PowerBuilder

An introduction

If you examine the awseCommerceServicePort object, you will see it has an ItemSearch function that takes various arguments. We can call this function to send a request to our Web service and capture the response.

This is very similar to how you would make a call to a remote object using CORBA from within PowerBuilder (see Listing 4).

We have covered three techniques for making requests against a Web service. There are various pros and cons for the methods demonstrated. Table 1 summarizes the differences among these options.

The three methods presented here demonstrate the options available to the PowerBuilder developer with regard to Web services in the new SOA paradigm (for more information on SOA and Web services, see the sidebar SOA != Web Services). Those of you on older versions can use the GetURL/PostURL functions and the XmlHttp object, while the developers on supported versions can take advantage of the new Web Service Proxy object. The Web Service Proxy does a fantastic job of abstracting away Web services to the level of distributed method calls. This alone is worth the price of an upgrade if you are going to be working frequently with Web services. Remember, shiny new PowerBuilder CDs are the gift that keeps on giving.


More Stories By Doug H. Porter

Doug Porter is a software developer with DailyAccess Corporation. He is a Sun Certified Java Programmer and a Certified PowerBuilder Professional and was a speaker at TechWave 2004. He holds a BA in Spanish and an MS in CIS from the University of South Alabama where he has also worked as an adjunct instructor. Doug works extensively with EAServer, PowerBuilder, and Java developing client/server and Web applications for the financial industry.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
The Porter Method 02/13/06 10:13:35 PM EST

Trackback Added: PBDJ - Intro to WebServices in PowerBuilder; My first article has been published in the November issue of the PowerBuilder Developer’s Journal. A link to a PDF of the article is below:
So now I can add Doug Porter published author to my list of accomplishments....

Chance 01/27/06 01:04:23 PM EST

Great article!