| By Doug H. Porter | Article Rating: |
|
| January 22, 2006 10:15 AM EST | Reads: |
27,966 |
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).
Comparison
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.
Conclusion
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.
Resources
- SOA: http://en.wikipedia.org/wiki/Service-oriented_architecture
- Web Service: http://en.wikipedia.org/wiki/Web_service
- REST: http://en.wikipedia.org/wiki/REST
- SOAP: http://en.wikipedia.org/wiki/SOAP
- Amazon Web Services: http://aws.amazon.com
- Microsoft MSXML Download: www.microsoft.com/downloads/details.aspx?familyid= 3144b72b-b4f2-46da-b4b6-c5d7485f2b42&displaylang=en#filelist
Published January 22, 2006 Reads 27,966
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
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.
![]() |
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: |
||||
![]() |
Chance 01/27/06 01:04:23 PM EST | |||
Great article! |
||||
- Why SOA Needs Cloud Computing - Part 1
- Cloud Expo and The End of Tech Recession
- The Transition to Cloud Computing: What Does It Mean For You?
- A Rules Engine Built in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- How PowerBuilder Got Its Groove Back
- The Cloud Has Cross-Border Ambitions
- Ulitzer Names The World's 30 Most Influential Virtualization Bloggers
- Ulitzer Named "New Media" Partner of Greatly Anticipated iStrategy Event in Berlin
- Risks and Enterprise Mobility?
- Steps for Success in Enterprise Mobility?
- Are Mobile Luddites Resisting Mobility?
- The Difference Between Web Hosting and Cloud Computing
- Sybase CTO to Speak at 4th International Cloud Computing Expo
- Why SOA Needs Cloud Computing - Part 1
- Cloud Expo and The End of Tech Recession
- The Transition to Cloud Computing: What Does It Mean For You?
- Five Reasons to Choose a Private Cloud
- Seeding The Cloud: The Future of Data Management
- The Threat Behind the Firewall
- Economy Drives Adoption of Virtual Lab Technology
- Tips for Efficient PaaS Application Design
- A Rules Engine Built in PowerBuilder
- Sybase Named “Silver Sponsor” of iPhone Developer Summit
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- Custom Common Dialogs Using SetWindowsHookEx
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- DataWindow.NET How To: Data Entry Form
- Book Excerpt: Sybase Adaptive Server Anywhere
- Sybase ASE 12.5 Performance and Tuning
- Working with SOA & Web Services in PowerBuilder
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App
- Dynamically Creating DataWindow Objects

































